Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 125 1231151101 ... LastLast
Results 1 to 10 of 1245
  1. #1
    Senior Member
    Join Date
    Aug 2014
    Location
    UK
    Posts
    678

    Announce : BBC Sounds Plugin

    The BBC Sounds plugin aims to provide the full BBC Sounds experience on LMS.

    It provides access to:
    • All Station networks (live and 30 catch-up schedules)
    • "My Sounds"
    • Search
    • Promoted Content
    • Recommended Content
    • Subscribing and Bookmarks
    • Music Mixes
    • Category Browsing
    • Podcasts etc.

    You can find and install the plugin from the list of 3rd Party plugins within LMS in settings->plugins.

    Full details can be found in the wiki here : https://github.com/expectingtofly/LM...ds_Plugin/wiki

    You will need to sign in on the LMS setting page for the plugin with your BBC account credentials. When you click apply on the settings page the system will go and get a token from the BBC that lasts for a couple of years.
    Sign in is required to use the plugin.

    The plugin is open source and is managed on the following github repository : https://github.com/expectingtofly/LMS_BBC_Sounds_Plugin
    You can report an issues/feature requests here : https://github.com/expectingtofly/LM..._Plugin/issues

    The Change Log is available here.

    Sometimes there are experimental beta releases. These experimental test versions are available from the following repository : http://plugins.expectingtofly.co.uk/betarepo.xml
    Last edited by expectingtofly; 2022-08-06 at 03:03.

  2. #2
    Senior Member SpiderJon's Avatar
    Join Date
    Dec 2008
    Location
    Cardiff, Wales, UK
    Posts
    281
    Quote Originally Posted by expectingtofly View Post
    ... for those that would like the "Sounds" experience.

    It currently provides the overall access to the Search capability, the Daily picks (promoted content), Music Mixes and curated/categorised content. I plan to continue to develop it to provide access to the personalised and subscribed content.

    If anyone wants to join me on this experiment and is happy to try out stuff in development...
    I'm not actually a fan of "Sounds" Ś I was too used to iPlayer Radio, and I'm too old and set in my ways ;-)

    But your plugin is worth it just for the search capability Ś thanks!

    And access to personal subscribed/bookmarked content would be terrific.

    So, very happy to try it out as you continue to develop it.
    Duet x 3, via various hi-fi. LMS running on Raspberry Pi OS (Debian 10) + OMV on a Pi4 (4GB RAM) in an Argon Neo case.

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    21,776
    I think this is the right sort of way to extend BBC listening - users of certain BBC features develop specific plugins to suit their needs using BBCiPlayer as the playing engine.

    The preferred interface to BBCiplayer would be the "iplayer://" URL. I presume BBC Sounds plugin eventually plays "iplayer://aod" type URLs. No live streams.

    A quick look through the code and I noticed the Sounds plugin has hooked directly into the BBCiPlayer PlaylistParser routine. This is an internal dependence which might break your plugin in the future - however usually the need to change that sort of BBCiPlayer routine is because BBC has changed internals and so has already broken BBCiPlayer.

  4. #4
    Senior Member
    Join Date
    Aug 2014
    Location
    UK
    Posts
    678
    Quote Originally Posted by bpa View Post
    I think this is the right sort of way to extend BBC listening - users of certain BBC features develop specific plugins to suit their needs using BBCiPlayer as the playing engine.
    Yes, I think you are right, although I guess we need to make sure that there doesn't end up a smorgasbord of plugins!

    Quote Originally Posted by bpa View Post
    The preferred interface to BBCiplayer would be the "iplayer://" URL. I presume BBC Sounds plugin eventually plays "iplayer://aod" type URLs. No live streams.
    Yes, correct, it uses "iplayer://aod".

    Quote Originally Posted by bpa View Post
    A quick look through the code and I noticed the Sounds plugin has hooked directly into the BBCiPlayer PlaylistParser routine. This is an internal dependence which might break your plugin in the future - however usually the need to change that sort of BBCiPlayer routine is because BBC has changed internals and so has already broken BBCiPlayer.
    No, I created my own playlist parser in a "BBCIplayerCompatability" module that works in a similar way to the Iplayer one, but it is self contained within the plugin.
    Last edited by expectingtofly; 2020-10-11 at 07:02.

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    21,776
    Quote Originally Posted by expectingtofly View Post
    Yes, I think you are right, although I guess we need to make sure that there doesn't end up a smorgasbord of plugins!
    It would be great to have a large smorgasbord.
    In AlienBBC we tried to have multiple parsers (for different stations using RealAudio) in same plugin but maintenance & testing proved awkward with many updates as each station changed at a different rate.

    I think having separate plugins for separate "program finding" functionality will make for more direct menus and easier maintenance.

    Since you are using "parser" in opml menus, there is a potential LMS issues with Favorites if the menu item is playable and a favorite saved from the menu item. Not sure if issue will show up with your plugin. Main symptom is: "Touch to Play" the Favorite may not work on Jiveplay/Touch/Squeezeplay . This is due to the "onselect => 'play'" not being retained. I am working through a LMS fix request.

  6. #6
    Senior Member
    Join Date
    Aug 2014
    Location
    UK
    Posts
    678
    Quote Originally Posted by bpa View Post
    Since you are using "parser" in opml menus, there is a potential LMS issues with Favorites if the menu item is playable and a favorite saved from the menu item. Not sure if issue will show up with your plugin. Main symptom is: "Touch to Play" the Favorite may not work on Jiveplay/Touch/Squeezeplay . This is due to the "onselect => 'play'" not being retained. I am working through a LMS fix request.
    I'm not using the OPML "parser" in that sense. I'm using a direct link to sub routine with a callback, so hopefully that issue doesn't apply.
    Last edited by expectingtofly; 2020-10-11 at 13:44.

  7. #7
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    21,776
    Quote Originally Posted by expectingtofly View Post
    I'm not using the OPML "parser" in that sense. I'm using a direct link to sub routine with a callback, so hopefully that listen doesn't apply.
    OK. Just figured out I've been looking at old prototype code. I followed the sourceforge link in the repo XML and assumed the file were the latest. My bad.

  8. #8
    Senior Member
    Join Date
    Aug 2014
    Location
    UK
    Posts
    678
    Quote Originally Posted by bpa View Post
    OK. Just figured out I've been looking at old prototype code. I followed the sourceforge link in the repo XML and assumed the file were the latest. My bad.
    oh yes! whoops, that is very old prototype code. In fact I believe it worked in an entirely different way.
    I've fixed that link, now. thanks.
    Last edited by expectingtofly; 2020-10-11 at 13:46.

  9. #9
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,817
    FYI
    On LMS startup
    Code:
    Warning: [09:13:30.1237] "my" variable $title1 masks earlier declaration in same scope at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/BBCSounds/BBCSoundsFeeder.pm line 364.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  10. #10
    Senior Member
    Join Date
    Jan 2013
    Location
    Derbyshire
    Posts
    396
    Hi, this is an interesting development - particularly with the ability to browse by category. Having said that, if I browse by category - say, Drama, the results which are returned exceed 3,000 - too many to browse through. The official Sounds website just lists the latest episode with the option to view others. Also, it allows browsing by sub-categories, e.g. Soaps, Crime, Thrillers & etc. Including this functionality in the plugin would be tremendous.

    Thanks for your work to date! I am also one who does not particularly like the Sounds site (I preferred it when radio was included in iPlayer) but use the search facilities to browse available content.

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •