2014-08-17, 21:11
This is a simple addon which allows the user to access links to CBC Music's online stations.
Description:
An addon to access the CBC (Canadian Broadcasting Corporation) Music's online radio stations. The links to the stations are stored locally so it does not scrape from their website, but parses a file based on the html downloaded at http://music.cbc.ca/#/streams.aspx. This is because the links are expected to remain constant but perhaps not the markup on the site.
GitHub link:
https://github.com/superphunthyme/xbmc-cbc-plugin
What has been done:
There is some info in the changelog but here is an overview.
- Took HTML from http://music.cbc.ca/#/streams.aspx, and made some slight modifications
- Created parser(CBCParse.py in lib) for modified HTML from CBC site
- Created addon.py, which creates directories and populates links
- Added fanart and icons
What remains to be done for this version:
- Settings are incomplete, I am not sure they will actually be needed, so I may remove them
- While I have done nothing yet for icimusique (CBC Music's french counterpart), French translation will be available for this addon as soon as I look into translation support with Kodi
- Add this to a repository, possibly the official one if requirements are met
- Add appropriate license
Future features:
- Music and video search is available on CBC's site, this could be implemented
Note that this is my first time developing an addon for XBMC/Kodi, and my first time on these forums. As well, I do not have a great deal of experience with python or developing software in general. Please be forgiving for any mistakes, and I will endeavour to take any advice into account.
If you appreciate this addon, suggestions on how to give it greater exposure, perhaps by adding it to a popular repository, would be welcome.
If the streams do not work outside of Canada, please let me know.
Thanks!
Description:
An addon to access the CBC (Canadian Broadcasting Corporation) Music's online radio stations. The links to the stations are stored locally so it does not scrape from their website, but parses a file based on the html downloaded at http://music.cbc.ca/#/streams.aspx. This is because the links are expected to remain constant but perhaps not the markup on the site.
GitHub link:
https://github.com/superphunthyme/xbmc-cbc-plugin
What has been done:
There is some info in the changelog but here is an overview.
- Took HTML from http://music.cbc.ca/#/streams.aspx, and made some slight modifications
- Created parser(CBCParse.py in lib) for modified HTML from CBC site
- Created addon.py, which creates directories and populates links
- Added fanart and icons
What remains to be done for this version:
- Settings are incomplete, I am not sure they will actually be needed, so I may remove them
- While I have done nothing yet for icimusique (CBC Music's french counterpart), French translation will be available for this addon as soon as I look into translation support with Kodi
- Add this to a repository, possibly the official one if requirements are met
- Add appropriate license
Future features:
- Music and video search is available on CBC's site, this could be implemented
Note that this is my first time developing an addon for XBMC/Kodi, and my first time on these forums. As well, I do not have a great deal of experience with python or developing software in general. Please be forgiving for any mistakes, and I will endeavour to take any advice into account.
If you appreciate this addon, suggestions on how to give it greater exposure, perhaps by adding it to a popular repository, would be welcome.
If the streams do not work outside of Canada, please let me know.
Thanks!