Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1
    Senior Member
    Join Date
    Dec 2005
    Location
    Brussels, Belgium
    Posts
    295

    Is there any Radioplayer plugin for LMS?

    French speaking Belgian radios have (temporarily I hope) abandoned Tunein in favour of Radioplayer (maradio.be).
    It seems it's a trend that some state radios are moving to: http://www.radioplayerworldwide.com/
    Apparently they have just integrated it to Sonos. Is there anything implemented yet on the LMS side?

    Thx for the feedback!
    Transporter + Cambridge Audio 651R + Q Acoustics Concept 40 --- Touch + Onkyo TX-SR309 + Morel Applause MKII --- SB2, SB3, Duet, 2 Boom, 7 Radios --- Ipeng --- LMS 7.9.2 - 1537430919 / Max2Play --- Qobuz

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,252

    Is there any Radioplayer plugin for LMS?

    > French speaking Belgian radios have (temporarily I hope) abandoned
    > Tunein in favour of Radioplayer (maradio.be).
    > It seems it's a trend that some state radios are moving to:
    > http://www.radioplayerworldwide.com/
    > Apparently they have just integrated it to Sonos. Is there anything
    > implemented yet on the LMS side?


    I've seen this coming (people included @mysqueezebox on Twitter). But
    no, I don't even know whether they have an API, or how they model works.
    Will try to find more information.

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,181
    Quote Originally Posted by mherger View Post
    > French speaking Belgian radios have (temporarily I hope) abandoned
    > Tunein in favour of Radioplayer (maradio.be).
    > It seems it's a trend that some state radios are moving to:
    > http://www.radioplayerworldwide.com/
    > Apparently they have just integrated it to Sonos. Is there anything
    > implemented yet on the LMS side?


    I've seen this coming (people included @mysqueezebox on Twitter). But
    no, I don't even know whether they have an API, or how they model works.
    Will try to find more information.

    --

    Michael
    For Irish site Radioplayer.ie and UK Radiopplayer.co.uk and Belgium maradio.be the following URL returns program info in JSON
    where XXX is your query string and epoch time is then end parameter.

    http://search.radioplayer.ie/qp/v3/suggest?query=XXX&callback=radioplayer.search.rece iveSuggest&serviceNameSize=128&nameSize=128&_=1499 610580

    To get realtime program metadata the following only works for UK URL - maybe a variation willwork for other countries. - rpid identifier station and is retrieved from the query result
    http://np.radioplayer.co.uk/qp/v3/onair?rpIds=343&nameSize=100&artistNameSize=100&de scriptionSize=100

    edit:

    The BBCiplayer plugin uses the Radoplayer metadata for live streams for some information..
    Last edited by bpa; 2017-07-09 at 10:19.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,252

    Is there any Radioplayer plugin for LMS?

    > For Irish site Radioplayer.ie and UK Radiopplayer.co.uk and Belgium
    > maradio.be the following URL returns program info in JSON
    > where XXX is your query string and epoch time is then end parameter.


    What would that query be?

    These calls don't cover the station discovery, do they? It seems those
    stations are no longer listed in TuneIn at all. And some people rely on
    TuneIn or favorites set there to listen to their stations.

    --

    Michael

  5. #5
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,181
    Quote Originally Posted by mherger View Post
    > For Irish site Radioplayer.ie and UK Radiopplayer.co.uk and Belgium
    > maradio.be the following URL returns program info in JSON
    > where XXX is your query string and epoch time is then end parameter.


    What would that query be?

    These calls don't cover the station discovery, do they? It seems those
    stations are no longer listed in TuneIn at all. And some people rely on
    TuneIn or favorites set there to listen to their stations.
    AFAICT The query matches any of Radioplayer "resources" which can be a personality, a station name or a program title . The results marked as "live" are likely to be stations (and further comparison with name can be done in a plugin) so easy to separate - for example. Search UK for query "Cla" as a beginning to "Classic" returns the following - The Radio 2 result is because at the time the "Claire Maxim Radio show" is playing. I have only done a little examination of API as I was more interested in realtime metadata for BBC.

    Query
    http://search.radioplayer.co.uk/qp/v3/suggest?query=cla&callback=radioplayer.search.receiveSuggest&servic eNameSize=128&nameSize=128&_=1499610580
    Code:
    {
      "keywords": [
        {
          "name": "claire martin"
        },
        {
          "name": "claudia winkleman"
        },
        {
          "name": "clare balding"
        }
      ],
      "live": [
        {
          "rpId": "256",
          "serviceName": "Classic FM",
          "description": "The World's Greatest Music",
          "url": "http:\/\/www.classicfm.com\/radio\/player",
          "imageUrl": "https:\/\/ukrpimagecache.s3.amazonaws.com\/image\/256_86x48_2017-03-07-17-00-42-740.png"
        },
        {
          "rpId": "1003",
          "serviceName": "Manx Radio FM ",
          "name": "Claare ny Gael",
          "description": "Bob Carswell",
          "url": "http:\/\/www.manxradio.com\/radioplayer\/",
          "imageUrl": "http:\/\/mm.gmstatic.net\/147\/720035.jpg",
          "startTime": "1499626800"
        },
        {
          "rpId": "1002",
          "serviceName": "Manx Radio AM",
          "name": "Claare ny Gael",
          "description": "Bob Carswell",
          "url": "http:\/\/www.manxradio.com\/radioplayer\/am\/",
          "imageUrl": "http:\/\/mm.gmstatic.net\/147\/720035.jpg",
          "startTime": "1499626800"
        },
        {
          "rpId": "1368",
          "serviceName": "Castledown FM",
          "name": "Claire Maxim Sunday Show",
          "description": "We are at the very heart of the Tidworth Community Area and give local people, groups and organisations an opportunity to have their voices heard within our community.",
          "url": "http:\/\/www.castledownfm.com\/radioplayer\/",
          "imageUrl": "https:\/\/ukrpimagecache.s3.amazonaws.com\/image\/1368_86x48_2017-03-28-10-15-24-178.png",
          "startTime": "1499626800"
        },
        {
          "rpId": "342",
          "serviceName": "BBC Radio 2",
          "name": "Claudia on Sunday : Ore Oduba sits in",
          "description": "Ore Oduba sits in for Claudia Winkleman to banish the blues on a Sunday night.",
          "url": "http:\/\/www.bbc.co.uk\/radio\/player\/bbc_radio_two",
          "imageUrl": "http:\/\/ichef.bbci.co.uk\/images\/ic\/86x48\/p050fz3s.jpg",
          "startTime": "1499623200"
        },
        {
          "rpId": "104",
          "serviceName": "Absolute Classic Rock",
          "name": "Non-stop Classic Rock",
          "description": "Non-Stop music on Absolute Classic Rock, playing Rock's greatest hits from AC\/DC to ZZ Top. Get involved at facebook.com\/AbsoluteClassicRock",
          "url": "http:\/\/player.absoluteradio.co.uk\/core\/radioplayer\/ac\/",
          "imageUrl": "http:\/\/network.absoluteradio.co.uk\/core\/player\/djs\/radioplayer\/rock.jpg",
          "startTime": "1499626800"
        }
      ],
      "onDemand": [
        {
          "rpId": "353",
          "serviceName": "BBC Radio Ulster",
          "name": "Classical Connections with John Toal : A James Bond Special",
          "description": "Featuring the Ulster Orchestra performing Bond classics, from Goldfinger to Skyfall. With soloists Matt Ford and Alison Jiear, and conductor Stephen Bell.",
          "url": "http:\/\/www.bbc.co.uk\/radio\/player\/b08xcjgh",
          "imageUrl": "http:\/\/ichef.bbci.co.uk\/images\/ic\/86x48\/p0581g78.jpg",
          "startTime": "1499616000"
        },
        {
          "rpId": "320",
          "serviceName": "BBC Radio Manchester",
          "name": "Mike Sweeney : Sweeney's Sixties Classics (09\/07\/2017)",
          "description": "Mike plays more great songs from the 1960s, including some of his forgotten gems.",
          "url": "http:\/\/www.bbc.co.uk\/radio\/player\/p0572tqr",
          "imageUrl": "http:\/\/ichef.bbci.co.uk\/images\/ic\/86x48\/p02m8fml.jpg",
          "startTime": "1499608800"
        },
        {
          "rpId": "1390",
          "serviceName": "Upload Radio Wrexham, Chester and Liverpool",
          "name": "CDNX - A Selection of Classic, New & Upfront Indie Alternatives ft.The Drums, Cardiacs, Elvis Costello and Milk Music",
          "description": "CDNX with The Bravery, Ride and Dodgy: A Selection of Classic, New & Upfront Indie Alternatives ft.The Drums, Cardiacs, Elvis Costello and Milk Music",
          "url": "http:\/\/beta.uploadradio.com\/player\/wrexhamchesterliverpool\/?rpAodUrl=https:\/\/s3-eu-west-1.amazonaws.com\/uploadradio\/listen-again\/3853c08231a90b696bcc5044b1349ddded05eb8e.mp3",
          "imageUrl": "http:\/\/s3-eu-west-1.amazonaws.com\/uploadradio\/images\/180fa8286d5d15a2f0ec0f04eada1f456534043f-thumb.png",
          "startTime": "1499605200"
        },
        {
          "rpId": "1391",
          "serviceName": "Upload Radio Surrey and South London",
          "name": "CDNX - A Selection of Classic, New & Upfront Indie Alternatives ft.The Drums, Cardiacs, Elvis Costello and Milk Music",
          "description": "CDNX with The Bravery, Ride and Dodgy: A Selection of Classic, New & Upfront Indie Alternatives ft.The Drums, Cardiacs, Elvis Costello and Milk Music",
          "url": "http:\/\/beta.uploadradio.com\/player\/surreyswlondon\/?rpAodUrl=https:\/\/s3-eu-west-1.amazonaws.com\/uploadradio\/listen-again\/3853c08231a90b696bcc5044b1349ddded05eb8e.mp3",
          "imageUrl": "http:\/\/s3-eu-west-1.amazonaws.com\/uploadradio\/images\/180fa8286d5d15a2f0ec0f04eada1f456534043f-thumb.png",
          "startTime": "1499605200"
        }
      ]
    }
    Last edited by bpa; 2017-07-09 at 12:19.

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,181
    Just found a better API which returns a station list

    http://search.radioplayer.co.uk/qp/v3/stations
    http://search.maradio.be/qp/v3/stations
    http://search.radioplayer.ie/qp/v3/stations

    edit:

    Not sure how to get a playable stream from a station list - the actual Radioplayer player could be using websockets for the stream.
    Last edited by bpa; 2017-07-09 at 12:33.

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,252

    Is there any Radioplayer plugin for LMS?

    Thank you very much! Where did you find this information?!?

    --

    Michael

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,181
    Quote Originally Posted by mherger View Post
    Thank you very much! Where did you find this information?!?l
    I've messed about with Radioplayer before from an Irish point of view and also getting realtime info for BBCiPlayer.

    Usual approaches:
    1. google "radioplayer co uk v3" and other variations to see if anybody has written anything down
    2. Use debug console on Chrome (i.e "Inspect" and look at Network tab). Radioplayer has a Chrome extension.

    I don't believe Radioplayer relays the audio so then it is likely that either a station has a special browser Radioplayer for themselves (e.g. BBC http://www.bbc.co.uk/radio/player/bbc_radio_two ) which can then play according their own streaming protocol DASH or Flash or use a variation of Radioplayer supplied html player which takes the stations own Flash or MP3 stream (e.g. http://www.three.fm/radioplayer ) and playable URL may be in definition of the the JS variable audioURL.

    Except for the metadata rather than develop a Radioplayer plugin - it may easier just to create an opml file of stations (basis of list is the API return) and then find associated playable URLs.

    edit:

    Just found another API - this one returns available programs ondemand. Doesn't work in Ireland but I thuink may not that useful. Example below is for BBC Radio 3 which is RPID of 343
    http://np.radioplayer.co.uk/qp/v3/od?callback=xx&rpId=343&nameSize=100000&serviceNam eSize=100000&artistNameSize=100000&descriptionSize =100000&_=1499632335116
    Last edited by bpa; 2017-07-09 at 13:39.

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,252

    Is there any Radioplayer plugin for LMS?

    > Usual approaches:
    > 1. google "radioplayer co uk v3" and other variations to see if anybody
    > has written anything down
    > 2. Use debug console on Chrome (i.e "Inspect" and look at Network tab).
    > Radioplayer has a Chrome extension.


    Did you ever try to get in touch with them? As Sonos has some level of
    integration I would assume they do have an API we could use... the
    station list you found a URL for would only point to the web page
    player. From there to the actual stream URL some web page parsing is
    still involved. Ugly and prone to errors...

    --

    Michael

  10. #10
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,181
    Quote Originally Posted by mherger View Post
    > Usual approaches:
    > 1. google "radioplayer co uk v3" and other variations to see if anybody
    > has written anything down
    > 2. Use debug console on Chrome (i.e "Inspect" and look at Network tab).
    > Radioplayer has a Chrome extension.


    Did you ever try to get in touch with them? As Sonos has some level of
    integration I would assume they do have an API we could use... the
    station list you found a URL for would only point to the web page
    player. From there to the actual stream URL some web page parsing is
    still involved. Ugly and prone to errors...l
    I didn't contact them. It is not a service I was too interested in. Before the reference to Sonos - I thought the way they provides player was essentially a browser app (i.e.html+JS) which just looked similar for each station - the only real addon was the realtime metadata.

    Because of the ugly parsing which is time consuming and also not always possible because each Radioplayer app might be different (although looking similar) and because there are relatively few stations - I suggested just put together an OPML list as it will weed out the unspported ones (e.g. Flash)

Posting Permissions

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