MPC and BBC pls

There are many, many clients for MPD. Many of them are old and unsupported, but maybe someone here can help you with them anyway...
Post Reply
xandy
Posts: 3
Joined: January 18th, 2013, 6:35 pm

MPC and BBC pls

Post by xandy » January 18th, 2013, 6:46 pm

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

Qball
Forum team
Posts: 54
Joined: January 15th, 2013, 4:03 pm

Re: MPC and BBC pls

Post by Qball » January 18th, 2013, 7:43 pm

What command did you issue to load the playlist?

xandy
Posts: 3
Joined: January 18th, 2013, 6:35 pm

Re: MPC and BBC pls

Post by xandy » January 19th, 2013, 12:45 pm

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

Qball
Forum team
Posts: 54
Joined: January 15th, 2013, 4:03 pm

Re: MPC and BBC pls

Post by Qball » January 19th, 2013, 3:22 pm

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>

xandy
Posts: 3
Joined: January 18th, 2013, 6:35 pm

Re: MPC and BBC pls

Post by xandy » January 19th, 2013, 4:09 pm

Ok, thanks Ill have a go. I am sorry to ask such stupid questions thanks for your patience and help.

regards

Andy

DuffyMoon
Posts: 11
Joined: May 12th, 2015, 10:31 pm

Re: MPC and BBC pls

Post by DuffyMoon » May 12th, 2015, 11:18 pm

Did you get this to work?

Post Reply