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

Add Radio support #162

Closed
wants to merge 1 commit into from
Closed

Conversation

dagwieers
Copy link
Collaborator

@dagwieers dagwieers commented Apr 30, 2019

As a work-in-progress, I also added Radio stream support as a separate Music addon. I know we already discussed we did not want this in this addon, and it is quite easy to separate this from the other code into a completely different project if needed. (Probably because we want to do this under a different name?)

@dagwieers dagwieers added the enhancement New feature or request label Apr 30, 2019
@dagwieers dagwieers force-pushed the radio-support branch 11 times, most recently from 4df1292 to 7b97d8f Compare May 1, 2019 01:23
@dagwieers dagwieers changed the title WIP: Add Radio support Add Radio support May 1, 2019
@dagwieers dagwieers force-pushed the radio-support branch 4 times, most recently from c716d72 to 34abc4f Compare May 1, 2019 10:25
@dagwieers dagwieers requested a review from pietje666 May 1, 2019 10:25
@dagwieers
Copy link
Collaborator Author

Ideas for the future:

  • Stream selection (based on preference)
  • Working song/artist support for streams other than MP3
  • Artwork/fanart support for playing song

@pietje666
Copy link
Collaborator

Yes indeed a separate addon would be alot better imo

@dagwieers
Copy link
Collaborator Author

It currently acts as 2 addons, have you tried it?

@pietje666
Copy link
Collaborator

No i did not, was looking into it now how do is pass content type as a param? because it still uses the same addon.py right and same logo etc? Did not look into detail

@mediaminister
Copy link
Collaborator

mediaminister commented May 1, 2019

I'm not against this when VRT integrates audio into VRT NU. But VRT NU is a video service.
For now I think it's better to create a separate project for audio.

@dagwieers
Copy link
Collaborator Author

dagwieers commented May 1, 2019

Ok, I was torn. We already include non VRT NU services (like the live streams) and the Radio streams are exactly like the live streams. So if we wanted to do this we may have wanted to rename the addon to just "VRT" instead.

But having both the same addon for Video and Music with the same name and logo could be confusing. If we were going to do this, I would have probably added shortcuts from TV to Radio and back. (Something we could still do from the Settings, so people can easily install one from the other)

But I liked the fact that the PR was so simple and clean, and we reuse the same CHANNELS database as there is some overlap (e.g. we do have Radio-related video streams etc.).

@dagwieers
Copy link
Collaborator Author

dagwieers commented May 1, 2019

So welcome to plugin.audio.vrt.radio :-)

A central database of all channels is very useful, and opens up the
possibility to fall back when web scraping fails.

It also makes it possible to start adding audio streams, or studio
translations.
@dagwieers dagwieers added the question Further information is requested label May 1, 2019
@dagwieers dagwieers closed this May 2, 2019
@dagwieers dagwieers added this to the 1.9.0 milestone May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants