Ticket #2191 (new enhancement)
Add some user-friendly way to play music (eg.: using mplayer)
Reported by: | harvie | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | Future Releases |
Component: | mc-core | Version: | master |
Keywords: | Cc: | gotar@…, zaytsev | |
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
i have similar configuration in .mc/bindings
regex/\.([mM][pP]3)$
Open=mplayer %t %f
so i can play my music directly from mc, but i think it's not so user friendly and mplayer blocks me from working in mc during playback... MC can be great media player for console... why not add some feature/plugin which will enable me to launch mplayer on background and control it remotely from menu or using some shortcuts? there can be some directory like ~/.mc/playlist which will contain symlinks to files in playlist or maybe it can be just regular file playlist.m3u... It should also have streaming capabilities using VFS...
I know there are many players like mocp, but they are just copying MC and i think MC should be complete user interface in text-mode environment so why not have some fun while doing something serious?
Having embeded media player in mc would be great.
Change History
comment:1 Changed 15 years ago by andrew_b
- Version changed from version not selected to master
- Milestone changed from 4.7 to Future Releases
comment:3 Changed 14 years ago by gotar
- Cc gotar@… added
I'm using:
Open=if [ -z "$DISPLAY" ]; then mplayer -nocache -vc null -vo null -quiet %s; else xterm -name xterm-mplayer -T mplayer:" %s" -e mplayer -nocache -vc null -vo null -quiet %s & fi
Maybe sth similar with openvt or screen would be suitable.
comment:4 Changed 14 years ago by birdie
I strongly disagree with this feature request.
Leave this task to pure media players, don't make MC a swiss knife of everything.
comment:5 Changed 14 years ago by zaytsev
- Cc zaytsev added
I think that one thing that would be of great help is to fix forking new instances so that they won't be terminated when mc is closed. And them implement some kind of control pipeline for supported media players, e.g. send playlist to the player, play current file etc.
Embedding media player in mc is a braindead idea unless it's implemented as a plugin. Why not tetris then...?
comment:6 Changed 14 years ago by harvie
gotar, zaytsev: exactly. we need something generalized enough so it will be simple to implement features like this one.
playlist managment should be left to the player itslef (or some wrapping scripts),
but we should have some way for enqueueing music to playlist, manipulating it and controlling the playback in background process. it's not only about playing music, it can be everything else what needs pipe to backgroun process. also some user-defined shortcuts and menus for those pipes would be awesome (eg.: you hit some shortcut or button in menu and to pipe with mplayer (-slave) is sent "pause\n").