Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more radio stations #49

Open
logix2 opened this issue Mar 10, 2021 · 1 comment
Open

Show more radio stations #49

logix2 opened this issue Mar 10, 2021 · 1 comment
Labels
enhancement help wanted Please implement this

Comments

@logix2
Copy link

logix2 commented Mar 10, 2021

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.

@kingosticks
Copy link
Owner

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 kingosticks added enhancement help wanted Please implement this labels Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted Please implement this
Projects
None yet
Development

No branches or pull requests

2 participants