Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
needed: player that play url directly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue May 02, 2006 12:21 am    Post subject: needed: player that play url directly Reply with quote

It's often boring where I work, but since I don't really want an ipod (not sure what's the support on that as far as linux is concern), I wanted to play audio files I have at home (mp3/ape mostly). I have try to use webdav to host the file, but there is some iconv issue with respect to filename. I have also tried to configure icecast, but that doesn't work for me either. I found that I can simply copy/paste the link to the file url (by hosting the files via apache with basic authentication) into mplayer and it will play it just fine. xmms freezes when I try to do that. The problem with mplayer is that I can't do this with a playlist manager, so I can only play one file at a time. Is there other player solution?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1709

PostPosted: Tue May 02, 2006 1:04 am    Post subject: Reply with quote

If you want streaming audio, I personally use VLC, which will also record, by the way. But if you want a playlist, I don't think that'll help you. I think that if you use EsounD then you can stream audio across a network, but I haven't tried it yet.
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue May 02, 2006 1:48 am    Post subject: Reply with quote

alienjon wrote:
If you want streaming audio, I personally use VLC, which will also record, by the way. But if you want a playlist, I don't think that'll help you. I think that if you use EsounD then you can stream audio across a network, but I haven't tried it yet.


As far as I know, the only player I have some success in doing this is the old winamp in Windows. That's long time ago though...
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue May 02, 2006 2:08 am    Post subject: Reply with quote

I think Xine will handle URL's in its playlist. They call them MRL's and are a generalization of URL's. Find a xine man page on the web for an overview. Details of the MRL format are described in "man 5 xine" on my system but I can't find that page on the web.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue May 02, 2006 4:45 am    Post subject: Reply with quote

mplayer can do this too, I believe.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue May 02, 2006 5:01 am    Post subject: Reply with quote

codergeek42 wrote:
mplayer can do this too, I believe.


I am pretty happy with mplayer playing URL, but I don't know how to make it play url playlist. Do I just have to make like an m3u file with each entries being the url??
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Tue May 02, 2006 5:23 am    Post subject: Reply with quote

mathfeel wrote:
I am pretty happy with mplayer playing URL, but I don't know how to make it play url playlist. Do I just have to make like an m3u file with each entries being the url??

Try it. I just tried with a 2 song list. Mplayer downloaded both songs but only played the 2nd one. Maybe it will work better for you, or maybe there are some extra command line options I need to give it.

I know amaroK handles this well. It is a great sound player, especially if you already have KDE installed. Xine handles it well too. They both stream the mp3's so there is no noticeable startup delay. When I tried with mplayer it downloaded then entire clip before starting to play it.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue May 02, 2006 6:15 am    Post subject: Reply with quote

mathfeel wrote:
codergeek42 wrote:
mplayer can do this too, I believe.


I am pretty happy with mplayer playing URL, but I don't know how to make it play url playlist. Do I just have to make like an m3u file with each entries being the url??
That's pretty much it, yes. Just add one URL per line to a file called "foo.pls" (or another name of your choice :P) and run:
Code:
$ mplayer -playlist foo.pls

_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue May 02, 2006 8:30 pm    Post subject: Reply with quote

codergeek42 wrote:
mathfeel wrote:
codergeek42 wrote:
mplayer can do this too, I believe.


I am pretty happy with mplayer playing URL, but I don't know how to make it play url playlist. Do I just have to make like an m3u file with each entries being the url??
That's pretty much it, yes. Just add one URL per line to a file called "foo.pls" (or another name of your choice :P) and run:
Code:
$ mplayer -playlist foo.pls


Thanks, It does work except in mplayer there doesn't seem to be a way to just tell it to play certain track on the playlist, but only follow order with '>' and '<' on the keyboard.
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Fri Jun 30, 2006 7:05 pm    Post subject: Reply with quote

Try mpd

http://www.musicpd.org/

but i think with ssh is pretty easy to do what you want.
Just access your home and play your files tougth ssh.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum