Kodi Community Forum

Full Version: [RELEASE] Sveriges Radio
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I wanted to listen to some x-mas music on the Swedish radio channel "Bjällerklang" so I made a generic addon for all live channels from Sveriges Radio

Go and grab the latest release from here or from the official repo.

Release
0.0.3 - First commit


Image
Great, thanks! Big Grin
nice!
.. extend the plugin to also include all the stored radio in sverigesradio play function as described at http://sverigesradio.se/sida/artikel.asp...el=3496760

Then I would be happy happy because I could listen to spanarna and mammas nya kille whenever Big Grin
rytmisk Wrote:.. extend the plugin to also include all the stored radio in sverigesradio play function as described at http://sverigesradio.se/sida/artikel.asp...el=3496760

Then I would be happy happy because I could listen to spanarna and mammas nya kille whenever Big Grin

You mean just to re-write their player for XBMC? You are free to contribute with your code ;D
This is what I can work with....
That was what I was referring to as well: As it says on the page: If you want to create a software that plays the latest programs from any program the tools are there:
The list of programs:
http://api.sr.se/api/program/programfeed.aspx
Identify the strings like for spanarna
Code:
<unitlink>
http://sverigesradio.se/sida/default.aspx?ProgramId=516
</unitlink>
Then you take that programID (516) and go to
http://api.sr.se/api/program/broadcastfe...unitid=516
and there the latest spanarna links are.

Not easy perhaps, but if I knew how to code I do believe it would be doable.

All the best
Ketil
Definitely doable, I just have to find the time...
I'll wait patiently!!

Ketil
Popeye Wrote:Definitely doable, I just have to find the time...

I have hacked together something that works for me. How to proceed?

/D
dodoadoodoo Wrote:I have hacked together something that works for me. How to proceed?

/D

Do a pull request on my git. Is it for Eden or Dharma?
Popeye Wrote:Do a pull request on my git. Is it for Eden or Dharma?

Okidoki, pull request sent. I have only tested with eden.

If somebody else wants to give it a whirl, you can find the code at https://github.com/dodoadoodoo/xbmc-sverigesradio
Caveat: This seems to work on my pre-eden, xbmc-live machines (I haven't tried that many shows), but YMMV.

/D
Thanks. Will do some modifications due to eden requiers python 2 and a mayor revision bump...
Popeye Wrote:Thanks. Will do some modifications due to eden requiers python 2 and a mayor revision bump...

No prob. Let me know if you need assistance. My bits are not that well documented...

/D
With much appreciated help from dodoadoodoo, the addon is now updated with stored program listing (Program A-Ö). It's available for both Dharma and Eden in the official addon repo.
Popeye Wrote:With much appreciated help from dodoadoodoo, the addon is now updated with stored program listing (Program A-Ö). It's available for both Dharma and Eden in the official addon repo.

Nice work, thank you!
Pages: 1 2 3 4