mopidy-tunein icon indicating copy to clipboard operation
mopidy-tunein copied to clipboard

Show more radio stations

Open logix2 opened this issue 3 years ago • 1 comments

Would it be possible to show more than 25 radio stations per category? E.g. https://github.com/DanielSchuette/curseradio-improved shows a "More Stations" item at the end of the 25 station list per category, and there it lists 25 more radio stations, followed by a "More Stations" button, as well as a "Find by Name" button.

logix2 avatar Mar 10 '21 11:03 logix2

It would be possible for someone to submit a PR to do that. The "More Stations" link is part of the data Tunein provides in its directory listing, for example at https://opml.radiotime.com/Browse.ashx?id=c100001676

<opml version="1">
  <head>
    <title>Classic Hits</title>
    <status>200</status>
  </head>
  <body>
    <outline text="Local Stations (10)" key="local">
      <outline type="audio" text="MFR 2 (Inverness)" URL="http://opml.radiotime.com/Tune.ashx?id=s86684" bitrate="112" reliability="100" guide_id="s86684" subtext="Wham! - Club Tropicana" genre_id="g2755" formats="mp3" playing="Wham! - Club Tropicana" playing_image="http://cdn-albums.tunein.com/gn/Q640XBRC7Td.jpg" item="station" image="http://cdn-radiotime-logos.tunein.com/s86684q.png" now_playing_id="s86684" preset_id="s86684"/>
      ... loads more <outline type="audio" ... /> elements ...
      <outline type="link" text="More Stations" URL="http://opml.radiotime.com/Browse.ashx?offset=26&id=c100001676&filter=s" key="nextStations"/>
    </outline>
  </body>
</opml>

Someone just needs to expose that in Mopidy-Tunein.

kingosticks avatar Mar 10 '21 23:03 kingosticks