You are not logged in.

#1 2014-09-21 16:47:40

nicoo
Member
Registered: 2014-08-23
Posts: 7

mplayer : one instance, adding file to the playlist ?

Hi,
is it possible to do with mplayer the same like vlc, having only one instance at a time ?

Also, I would like when mplayer is called trough an application or when I click on a media file, not playing the media but adding it to a "dynamic" playlist, like vlc does.


@ Blake Judd : stop heroin, I need Nachtmystium!

Offline

#2 2014-09-21 17:08:08

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: mplayer : one instance, adding file to the playlist ?

 You could write a little script that would check if mplayer is already running and use it to add to a playlist file, but I think mplayer would have to reread the file to accept new elements, which probably occurs only on launch. Check out mpv.

Offline

#3 2014-09-21 18:19:11

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: mplayer : one instance, adding file to the playlist ?

Check how to use slave mode protocol, then use this:
http://www.mplayerhq.hu/DOCS/tech/slave.txt

loadfile <file|url> <append>
    Load the given file/URL, stopping playback of the current file/URL.
    If <append> is nonzero playback continues and the file/URL is
    appended to the current playlist instead.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB