[MPlayer-users] Mplayer playlist question
The Wanderer
inverseparadox at comcast.net
Thu Oct 18 12:52:46 CEST 2007
P J P wrote:
> Hey, hi again!
>
> On Fri, 12 Oct 2007, The Wanderer wrote:
>
>> And how is MPlayer supposed to know what sources to use to update
>> (or, rather, re-create) this list?
>
> Well, ideally it should refer to the first source from which it
> created the list first time. A playlist file for example. However, I
> understand that in case of `*.mp3' that won't be possible.
My somewhat speculative understanding is that MPlayer does not pay
attention to sources in this respect at all. It simply knows "I have a
list of filenames", and does not keep track of where it got them from.
>> If you want to manipulate MPlayer's "internal" playlist, then you
>> have to keep track of what you want to add to it (etc.) on your
>> own, and even then AFAIK you can only "add" or "replace wholesale"
>> rather than being able to e.g. selectively remove.
>
> Who wants to remove? I'm only talking about adding new tracks to the
> playlist.
In that case, if you're willing to keep track of "what files are new"
separately, the 'loadfile' slave command might suit better than
'loadlist', although how it will interact with '-shuffle' I don't know.
(I did understand that you were not discussing removing tracks from the
list; I mentioned that simply as an example of a basic
playlist-management feature which is not provided by MPlayer.)
>> Who said anything about a switch? moosic is a playlist-handling
>> program, which can use any kind of program to handle the files to
>> be played. You could very easily use MPlayer as the actual playback
>> program, and just use moosic to handle the playlist.
>
> Oh, I thought it's a different media player itself, sorry. This
> should be interesting.
>
> Thanks!
You're quite welcome.
Note: If you do want to use MPlayer as the playback program, you will
very likely need to make sure that the MPLAYER_VERBOSE environment
variable is set low enough to suppress all text output, or else
whichever terminal you use to start moosic will see repeated spew of the
initial banner text. (Or, alternately, I suppose it would work to simply
start moosicd in a new terminal and then close the terminal...)
--
The Wanderer
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
Secrecy is the beginning of tyranny.
More information about the MPlayer-users
mailing list