This is brilliant stuff PasTim! Now BBC iPlayer now works perfectly on both live stream and catch-up. Many thanks, too, to Triode and bpa for their work on the plugins. :D
PasTim wrote: > With the recent changes to the BBC Internet Radio streams, two sets of > solutions for LMS users have been developed by the amazing people here > on the LMS forum. Note that users of the "BBC Radio" applet (not using > LMS) on Logitech Radios and Touch devices should instead look at > http://forums.slimdevices.com/showthread.php?103293-Fix-to-BBC-Radio-Applet-Listen-Again&p=810788&viewfull=1#post810788 > > The first uses a new plugin called 'PlayHLS' and some related fixes. > This set of solutions is described in the thread starting at > http://forums.slimdevices.com/showthread.php?103312-BBCiPlayer-plugin-a-guick-fix-guide&p=811346&viewfull=1#post811346. > > A second set of solutions has been developed by Triode and bpa, > requiring two updated plugins (including one updated on 31st March > 2015), coming from two new 'repositories'. Note that the PlayHLS plugin > is NOT required. This set of solutions provides one method of playing > Live streams, and two separate ways of listening to 'On Demand' (Listen > Again) streams. I find the two different techniques for searching for > previous programmes both have their uses, so I use both. There are also > some differences in the quality provided for Radio 3 On Demand (BBC > iPlayer Extras giving higher quality). > > As of late October 2015 one additional patch is required to get > BBCiPlayer "Listen Again" working. > > Also as of late October 2015 some station icons disappeared. To get > them back, see post #2 below. > > I hope to keep this first post up to date with corrections and > improvements where possible, and would prefer that the thread doesn't > grow too much, otherwise it becomes almost impossible for people to > follow. *-I therefore ask that if you have any corrections or > suggestions (polite or otherwise), please pm me in the first instance > and I'll try to edit this post.-* > > I have assumed use of the 'Default' interface on the LMS GUI. > > 1) INSTALL UPDATED 'ALPHA' VERSION OF TRIODE'S BBC IPLAYER PLUGIN - > VERSION V1.3.1ALPHA3 (LATEST ON 31ST MARCH 2015 INCORPORATING MANY > IMPROVEMENTS OVER ALPHA2) > > - Go to the Settings, Plugins page on the LMS GUI. > - Go to 'Additional Repositories' near the bottom. If this is not > available, there should be an option to enable third party plugins. > Tick this, and press 'Apply' at bottom right. > - Add the following line to the list of additional repositories: > > Code: -------------------- > > > http://triodeplugins.googlecode.com/svn/trunk/testrepo.xml > -------------------- > > > - Press 'Apply' at bottom right. > - Restart LMS. > - You should now find that either the new BBCiPlayer plugin is now > already available and installed, or there is a box you can tick near > the bottom of the plugins list (under "Triode's Squeezecenter Plugins > (Test Versions)") to make it available on the next LMS restart. If > the latter, tick it and restart LMS. > > > 2) INSTALL UPDATED VERSION OF BPA'S BBC IPLAYER EXTRAS PLUGIN - > VERSION V1.8 > > Repeat the instructions in step 1 except use the repository below, and > ensure that the BBC iPlayer Extras plugin version 1.8 is selected and > installed. > > Code: -------------------- > > > http://bpaplugins.googlecode.com/svn/trunk/repo-short.xml > -------------------- > > > The plugin will either be installed straight away after a restart, or > you need to tick it against "bpa's Squeezecenter Plugins Short". > > This method of listening to On Demand streams usually provides a > better quality stream for Radio 3. > > 3) INSTALL UPDATED BBCXMLPARSER.PM FILE TO FIX A PROBLEM WITH BBC > IPLAYER \"LISTEN AGAIN\" (BBC IPLAYER EXTRAS WORKS WITHOUT THIS > PATCH). > > See > http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)&p=834111&viewfull=1#post834111 > for the patched program. There is currently no automated way of > updating this file. You therefore have to replace this file in the > BBCiPlayer folder. On ubuntu linux this is in > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/BBCiPlayer . > For other platforms you need to to find the file. In all cases you > need to check that the access rights for the file are the same as for > other files in the same folder (so that LMS can run it). It is > regrettably not possible to give detailed instructions here given the > (wonderful) variety of platforms LMS runs on. > > 4) IF YOU HAVE PROBLEMS THERE ARE A FEW OPTIONS TO CHECK: > > a) Go to Settings, Advanced, BBC iPlayer. Unless you have a good > reason not to, the 1st two options should read HLS > MP3 > FlashAAC > > FlashMP3 > > b) Go to Settings, Advanced, File Types. Under AAC you should have > > Code: -------------------- > > > AAC Native > FLAC faad/flac > MP3 faad/lame (assuming you have already installed lame for MP3s) > PCM faad > -------------------- > > > Some have found that there can be a pitch change if your system is > set up in a way that it uses AAC to PCM, so you could try disabling > PCM in this list if that happens to you. > > c) For *Windows Users Only* - you may find some programmes don't play. > A patched version of faad.exe is available and attached here - > 17798. Find your old copy, take a backup, and, > entirely at your own risk, copy this one, making sure the access > rights for the program are the same as the old one. It is hoped this > will become part of the standard LMS release at some point. In the > mean time, *if you update LMS you may well lose this fix and have to > re-apply it*. So I suggest you either stop updating LMS for now, or > write a small batch file to run to update faad.exe each time you > update LMS. > > d) On *ubuntu 13.04 and newer, and possibly other linux distros*, > running LMS prior to 7.9, you may find that streams do not play on > older SB devices such as SliMP3, SB1, SB2, SB3, Transporter, Boom, > Classic and Duet, and some software devices such as squeezeslave and > Softsqueeze. This may be due to problems with the faad and flac > transcoders being unable to run to convert aac to flac. This problem > does not occur using devices such as the LMS Touch or squeezelite > since they can process aac natively. If this happens you have two > possible ways to improve matters. > > i) You could update to LMS 7.9. However 7.9 is a beta release and may > not suit those who prefer a stable release with which they are > familiar. > > ii) Update your versions of faad and flac as follows: > - Go to > https://github.com/Logitech/slimserver/tree/public/7.9/Bin/x86_64-linux > and download flac and faad from there. > - In /usr/share/squeezeboxserver/Bin/i386-linux on your LMS server > rename the two files flac and faad, and replace them with the two > files you've downloaded > - make sure that the two new files have the same ownership and > permissions as the previous versions, using chown and chmod commands > as appropriate. > - Restart the server. > > e) If you have 'buffering' problems, especially on a low powered > device such as a Pi, check the CPU load. If high, and you have extra > services enabled, consider disabling them. One user has reported that > including the LMS UPnP plugin caused problems since his TV was tending > to try and access it and increasing the load. Disabling such plugins > may help. > > f) If some stations don't work, but some do, straight after installing > the plugins, wait for an hour or two. There is a cache holding recent > station addresses (URLs) that will get cleared after a while. > Alternatively, if you have direct access to your server and can find > the 'cache.db' file in the LMS 'cache' directory, stop LMS, delete the > file, and restart. > > *5)* In the UK using BBC iPlayer you can now listen to high quality > Live streams of almost all stations, and moderate quality On Demand > streams. Outside the UK, the quality of Live streams using the > separate menu item 'Listen Live (Non UK)', and of On Demand streams, > is reduced, but at least the stations mostly exist. Using BBC iPlayer > Extras you can find On Demand streams in a different way, and listen > to high quality Radio 3 programmes. > > *6)* Send thanks to bpa, Triode, utgg, bonze, Parky, and many others > who have contributed patches and suggestions that have led to the > current stable solution. > > *7)* I have tried to resist providing much technical information in > this description. I will therefore just add that Triode's BBC iPlayer > plugin uses 'HLS' as a streaming protocol, which the BBC have been > talking a lot about, and should exist for some time to come. bpa's > BBC iPlayer Extras plugin uses 'RTMP' as a streaming protocol, which > the BBC have been very quiet about, and might disappear at any time. > A third protocol (MPEG DASH) is promised for the future. As far as I > know all current and planned streams now use the AAC codec. Some > legacy streams have been temporarily provided using MP3, but neither > of these LMS plugins use that. ------------------------------------------------------------------------ blowers's Profile: http://forums.slimdevices.com/member.php?userid=32176 View this thread: http://forums.slimdevices.com/showthread.php?t=103435 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins