Re: [LAU] use your pc as an music player (and safe energy)

From: Olivier Guilyardi <ml@email-addr-hidden>
Date: Tue Mar 31 2009 - 17:19:59 EEST

david wrote:
> Grammostola Rosea wrote:
>> david wrote:
>>> Grammostola Rosea wrote:
>>>
>>>
>>>>>>> Is there a command line multimedia music player?
>>>>>>>
>>>>>>>
>>>>>> If by multimedia you mean audio + video I am not sure, there is
>>>>>> mplayer but it does not do playlists as far as I know,
>>>>>>
>>>>> mplayer -playlist NameOfPlaylistHere
>>>>>
>>>>> It supports a simple one-file-per-line playlist. An article on Linux
>>>>> Journal says it also supports ASX, M3U and other popular playlist formats.
>>>>>
>>>> And is it possible to switch to, for example number 12 of the list?
>>>>
>>> Sorry, I have no idea!
>>>
>> Then this is a disadvantage compared to using a gui. But isn't it
>> possible to solve this?
>
> I have no idea unless there's some kind of programming interface to
> mplayer that could be used?
>

I think it should be quite easy to write a bash script that reads a file list,
plays them sequentially, and responds to keyboard events for switching between
songs. 20 lines maybe?

-- 
  Olivier
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Mar 31 20:15:01 2009

This archive was generated by hypermail 2.1.8 : Tue Mar 31 2009 - 20:15:02 EEST