LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question: text-based mp3 player for subversioned mp3s (https://www.linuxquestions.org/questions/linux-newbie-8/question-text-based-mp3-player-for-subversioned-mp3s-757956/)

SouthernSoul 09-26-2009 01:55 PM

Question: text-based mp3 player for subversioned mp3s
 
Hi there,

I'm searching for a text-based mp3 player with the possibility to play mp3 files from a svn repository (directly from the repo, not from a working dir).

After googlin' a bit, I found an app called "mp3blaster", but apparently it doesnt do what I want..

Anybody knows if there's sutch thing?

Thanks in advance..

superdog 09-26-2009 05:32 PM

Wouldn't any application that reads data from a remote server have to download it anyway to play it. I mean when you stream video or music it is downloaded to your PC to view/listen.

Anyhow, I'm pretty sure mpg123 will do this, though i can't say for sure having never tried it, I always use local directories. I'm sure it will accept a URL though.

Good luck

travishein 09-26-2009 10:52 PM

sure you can, with the svn client

svn cat ${remoteUrl} | mpg123 -

where the svn cat fetches the head revision of the file from the remote subversion repository, and the pipe of it to mpg123 where the "-" means play from standard input.

Not elegant, but functional.

SouthernSoul 09-27-2009 02:33 PM

Great answers,
Well, I was thinking of something a bit more like what mp3blaster does. It handles playlists and stuff like that.
Perhaps writing some script, that downloads the files in a temporary dir and plays them would do the trick.

Thanks again.


All times are GMT -5. The time now is 05:38 PM.