You are not logged in.

#1 2009-10-11 15:16:03

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

[Solved] MPD + NCMPCPP and how to set listening to web radio.

Hello.
I use MPD + NCMPCPP and MPC.
I want to listen to stream from my favorite web radio that provide asx and pls files.
I copied them to my music dir but they are not finded and I can't listen to them sad
Anyone know how to set MPD for that?

Last edited by SpeedVin (2009-10-13 13:37:27)


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#2 2009-10-11 15:23:28

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

SpeedVin wrote:

Hello.
I use MPD + NCMPCPP and MPC.
I want to listen to stream from my favorite web radio that provide asx and pls files.
I copied them to my music dir but they are not finded and I can't listen to them sad
Anyone know how to set MPD for that?

open the asx and pls files.. there are direct links to the streams.
those you can put in m3u files and place them in your playlist directory


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#3 2009-10-11 15:24:06

Nokkasiili
Member
Registered: 2009-08-15
Posts: 6

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

you have open the .pls with text editor and copy the ip to ncmpcpp
edit:always too slow sad

Last edited by Nokkasiili (2009-10-11 15:24:31)

Offline

#4 2009-10-11 15:38:28

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

When I add IP to the NCMPCPP it can't be played (It is ignored to play).
When I type mpc play ip I got 2 errors:

error parsing song numbers from: ip
ERROR: problems decoding "ip"

Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#5 2009-10-11 16:03:17

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Try this and see if that helps.

Good luck!
Scott

Offline

#6 2009-10-11 16:11:52

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

firecat53 wrote:

Try this and see if that helps.

Good luck!
Scott

I do the following things (file adds automaticly to playlist) but it's still have been ingnored sad


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#7 2009-10-11 16:26:17

Nokkasiili
Member
Registered: 2009-08-15
Posts: 6

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

what are you trying to play ?

Offline

#8 2009-10-11 16:41:53

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

www.di.fm - Trance channel wink


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#9 2009-10-11 20:26:22

teacha
Member
From: Poland
Registered: 2008-04-22
Posts: 58

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

hi
I know it's been said twice here but I just went over to that site and I can play the streams ok with ncmpcpp. Try putting this (that's from the techhouse.pls file)

http://72.26.204.18:6354

into a file and save it as, let's say, techhouse.m3u in your mpd playlist folder -

~/.mpd/playlists

in my case. Then select this in ncmpcpp (F3) and that should be it.

Good luck. Btw, this techhouse channel is not that bad tongue

Rafal

Last edited by teacha (2009-10-11 20:30:04)

Offline

#10 2009-10-11 20:41:37

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

@teacha

Cool!

It works for me too, thanks.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

#11 2009-10-11 23:02:06

quarkup
Member
From: Portugal
Registered: 2008-09-07
Posts: 497
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

@teacha

really THANKS !!!



AWESOME !!!


If people do not believe that mathematics is simple, it is only because they do not realize how complicated life is.
Simplicity is the ultimate sophistication.

Offline

#12 2009-10-12 13:52:51

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

teacha wrote:

hi
I know it's been said twice here but I just went over to that site and I can play the streams ok with ncmpcpp. Try putting this (that's from the techhouse.pls file)

http://72.26.204.18:6354

into a file and save it as, let's say, techhouse.m3u in your mpd playlist folder -

~/.mpd/playlists

in my case. Then select this in ncmpcpp (F3) and that should be it.

Good luck. Btw, this techhouse channel is not that bad tongue

Rafal

Ok Thanks but this only works with one link stream and Trance channel have 2 links in pls file what I should do now to have this working?


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#13 2009-10-12 19:02:06

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Create one playlist for each URL?


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#14 2009-10-12 19:50:33

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Rasi wrote:

Create one playlist for each URL?

No this doesen't working ;(


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#15 2009-10-12 21:24:40

teacha
Member
From: Poland
Registered: 2008-04-22
Posts: 58

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Hi again,

This is what you find in trance.pls from your site:

[playlist]
NumberOfEntries=10
File1=http://scfire-ntc-aa07.stream.aol.com:80/stream/1003
Title1=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length1=-1
File2=http://scfire-dtc-aa06.stream.aol.com:80/stream/1003
Title2=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length2=-1
File3=http://scfire-ntc-aa06.stream.aol.com:80/stream/1003
Title3=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length3=-1
File4=http://scfire-dtc-aa07.stream.aol.com:80/stream/1003
Title4=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length4=-1
File5=http://scfire-dtc-aa01.stream.aol.com:80/stream/1003
Title5=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length5=-1
File6=http://scfire-ntc-aa04.stream.aol.com:80/stream/1003
Title6=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length6=-1
File7=http://scfire-ntc-aa01.stream.aol.com:80/stream/1003
Title7=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length7=-1
File8=http://scfire-ntc-aa05.stream.aol.com:80/stream/1003
Title8=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length8=-1
File9=http://scfire-mtc-aa06.stream.aol.com:80/stream/1003
Title9=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length9=-1
File10=http://scfire-ntc-aa02.stream.aol.com:80/stream/1003
Title10=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length10=-1
Version=2

Go andpick one url, e.g.

http://scfire-dtc-aa01.stream.aol.com:80/stream/1003

and save it as a .m3u playlist, like I said in my first post. All these links in the .pls file refer to the same stream, so it doesn't really matter which one you pick. It does work.

Rafał

Offline

#16 2009-10-13 08:53:26

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

He's right...it does work. wink

Offline

#17 2009-10-13 13:36:21

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

teacha wrote:

Hi again,

This is what you find in trance.pls from your site:

[playlist]
NumberOfEntries=10
File1=http://scfire-ntc-aa07.stream.aol.com:80/stream/1003
Title1=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length1=-1
File2=http://scfire-dtc-aa06.stream.aol.com:80/stream/1003
Title2=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length2=-1
File3=http://scfire-ntc-aa06.stream.aol.com:80/stream/1003
Title3=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length3=-1
File4=http://scfire-dtc-aa07.stream.aol.com:80/stream/1003
Title4=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length4=-1
File5=http://scfire-dtc-aa01.stream.aol.com:80/stream/1003
Title5=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length5=-1
File6=http://scfire-ntc-aa04.stream.aol.com:80/stream/1003
Title6=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length6=-1
File7=http://scfire-ntc-aa01.stream.aol.com:80/stream/1003
Title7=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length7=-1
File8=http://scfire-ntc-aa05.stream.aol.com:80/stream/1003
Title8=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length8=-1
File9=http://scfire-mtc-aa06.stream.aol.com:80/stream/1003
Title9=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length9=-1
File10=http://scfire-ntc-aa02.stream.aol.com:80/stream/1003
Title10=D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
Length10=-1
Version=2

Go andpick one url, e.g.

http://scfire-dtc-aa01.stream.aol.com:80/stream/1003

and save it as a .m3u playlist, like I said in my first post. All these links in the .pls file refer to the same stream, so it doesn't really matter which one you pick. It does work.

Rafał

Heh thanks that's work (I got strange *.pls file)
Just look at my pls file:

  1 [playlist]
  2 NumberOfEntries=2
  3 File1=http://94.232.114.240:9200
  4 Title1=D I G I T A L L Y - I M P O R T E D - Trance channel!
  5 Length1=-1
  6 File2=http://72.26.204.18:6006
  7 Title2=D I G I T A L L Y - I M P O R T E D - Trance channel!
  8 Length2=-1
  9 Version=2

Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#18 2009-10-13 21:11:40

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

SpeedVin wrote:

Heh thanks that's work (I got strange *.pls file)
Just look at my pls file:

  1 [playlist]
  2 NumberOfEntries=2
  3 File1=http://94.232.114.240:9200
  4 Title1=D I G I T A L L Y - I M P O R T E D - Trance channel!
  5 Length1=-1
  6 File2=http://72.26.204.18:6006
  7 Title2=D I G I T A L L Y - I M P O R T E D - Trance channel!
  8 Length2=-1
  9 Version=2

i cant see anything strange with this.. i can add those just fine in mpd too


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#19 2009-10-15 06:05:19

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

btw.. the next mpd release will have native pls support and probably much more. (possibly asx and even m3uext).
pls support is already working in mpd-git


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#20 2010-12-06 15:27:32

virus_found
Member
From: Moscow
Registered: 2009-05-22
Posts: 51
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Rasi wrote:

btw.. the next mpd release will have native pls support and probably much more. (possibly asx and even m3uext).
pls support is already working in mpd-git

mpd-git still doesn't recognize pls.

Offline

#21 2010-12-06 15:57:11

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

virus_found wrote:
Rasi wrote:

btw.. the next mpd release will have native pls support and probably much more. (possibly asx and even m3uext).
pls support is already working in mpd-git

mpd-git still doesn't recognize pls.

lies!

carnager@freebox /mnt/md0/Audio/.mpd/playlists 
(1) > mpc load bla.pls
loading: bla.pls
carnager@freebox /mnt/md0/Audio/.mpd/playlists 
> mpc play
D I G I T A L L Y - I M P O R T E D - European Trance, Techno, Hi-NRG... we can't define it!
[playing] #1/1   0:00/0:00 (0%)
volume: n/a   repeat: off   random: off   single: off   consume: off

He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#22 2010-12-06 16:07:50

virus_found
Member
From: Moscow
Registered: 2009-05-22
Posts: 51
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Didn't try with mpc. I meant, placing pls into playlist dir won't work. But placing m3u - works. Anyway, teacha's (aforementioned) method works.

EDIT> we with Rasi figured out, that it was ncmpcpp's fault (not recognizing pls in the playlist dir)

Last edited by virus_found (2010-12-06 16:24:16)

Offline

#23 2010-12-06 16:55:56

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [Solved] MPD + NCMPCPP and how to set listening to web radio.

Told virus_found on irc already, just so that everyone reading this thread knows it too:

mpd does see the pls files in your playlist folder. Its the clients that are missing support for it. AFAIK mpc and gmpc are the only ones that work. ncmpc might work too, but i am not sure. ncmpcpp seems to miss support by now.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB