Kodi Community Forum
[RELEASE] Sveriges Radio - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: [RELEASE] Sveriges Radio (/showthread.php?tid=116735)

Pages: 1 2 3 4


[RELEASE] Sveriges Radio - Popeye - 2011-12-12

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


- Blueblack - 2011-12-12

Great, thanks! Big Grin


- jolid - 2011-12-12

nice!


Great - now if you'd only... - rytmisk - 2011-12-13

.. extend the plugin to also include all the stored radio in sverigesradio play function as described at http://sverigesradio.se/sida/artikel.aspx?formatid=108&programid=3630&artikel=3496760

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


- Popeye - 2011-12-13

rytmisk Wrote:.. extend the plugin to also include all the stored radio in sverigesradio play function as described at http://sverigesradio.se/sida/artikel.aspx?formatid=108&programid=3630&artikel=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....


exactly! - rytmisk - 2011-12-14

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/broadcastfeed.aspx?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


- Popeye - 2011-12-15

Definitely doable, I just have to find the time...


That would be awesome!!! - rytmisk - 2011-12-18

I'll wait patiently!!

Ketil


- dodoadoodoo - 2012-02-22

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

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

/D


- Popeye - 2012-02-22

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?


- dodoadoodoo - 2012-02-23

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


- Popeye - 2012-02-23

Thanks. Will do some modifications due to eden requiers python 2 and a mayor revision bump...


- dodoadoodoo - 2012-02-23

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


- Popeye - 2012-02-28

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.


- jolid - 2012-02-29

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!