Page 1 of 1

MPC and BBC pls

Posted: January 18th, 2013, 6:46 pm
by xandy
Hi, Im new to mpd and using mpc as client.

I want to stream BBC internet radio. They have pls files like http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls. The content is

[playlist]
NumberOfEntries=2
File1=http://bbcmedia.ic.llnwd.net/stream/bbc ... 3a11b168a6
Title1=No Title
Length1=-1
File2=http://bbcmedia.ic.llnwd.net/stream/bbc ... 84d4a85398
Title2=No Title
Length2=-1

which looks fine.

The pls plugin should read this OK I guess.

The playback doesnt work and outputs this message to lof

mad: Input does not appear to be a mp3 bit stream.

BUT adding the URL from the pls directly is fine

"http://bbcmedia.ic.llnwd.net/stream/bbc ... 3a11b168a6"

This plays well !!

I guess the content is AAC and MPD assumes its mp3 ??

regards

Andy

Re: MPC and BBC pls

Posted: January 18th, 2013, 7:43 pm
by Qball
What command did you issue to load the playlist?

Re: MPC and BBC pls

Posted: January 19th, 2013, 12:45 pm
by xandy
Hi,

trying the playlist first of all I did:

mpc add "http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls"

and mpc play 1

this got the "mad: Input does not appear to be a mp3 bit stream." message in the log. Clearing the playluist and doing

mpc add "http://bbcmedia.ic.llnwd.net/stream/bbc ... 3a11b168a6"

which is the File1: in the pls content followed by mpc play 1 works OK. Looking at the playlist plugin code, its definitley expecting a pls file formatted the way that this one is and it looks like it will extract the url File1 and File2 correctly.

regards

Andy

Re: MPC and BBC pls

Posted: January 19th, 2013, 3:22 pm
by Qball
you add the playlist, but that is not what you want. You cannot play-back a playlist.
You want to load the entries in the playlist

try

mpc load <url to pls>

Re: MPC and BBC pls

Posted: January 19th, 2013, 4:09 pm
by xandy
Ok, thanks Ill have a go. I am sorry to ask such stupid questions thanks for your patience and help.

regards

Andy

Re: MPC and BBC pls

Posted: May 12th, 2015, 11:18 pm
by DuffyMoon
Did you get this to work?