2013-01-08, 10:57
Hey all,
I'm absolutely new to plugin development in xbmc, so please excuse a maybe dumb question :-).
For a seminar paper, I want to implement a recording functionality for radio streams (amongst other
things, for example capture video streams, but this is another topic...). I suppose it shouldn't be that
hard, as it is no problem to call - for instance - streamripper from a python script.
So my question is more of a design issue: I'm wondering how to implement a list of radio streams
that can be changed by the user. I'm thinking of something like:
<radio station 1> : <url of radio stream 1>
<radio station 2> : <url of radio stream 2>
I could implement this by adding each station as a setting to the settings.xml, however this would mean that the user
cannot add new radio stations, as there seems to be no xbmc function to add new settings. I also think
this is not the right place to store such information, but how would you guys do this?
In the end I'm thinking of presenting the user a list of radio stations and he can choose which one to record
and for how long (or even at what time to start recording).
So it would be great if you could give me some hints where to start, or if there is some plugin with an already similar
functionality? (at least I didn't find one)
Thanks in advance for helping...
Kind regards
Tobias
I'm absolutely new to plugin development in xbmc, so please excuse a maybe dumb question :-).
For a seminar paper, I want to implement a recording functionality for radio streams (amongst other
things, for example capture video streams, but this is another topic...). I suppose it shouldn't be that
hard, as it is no problem to call - for instance - streamripper from a python script.
So my question is more of a design issue: I'm wondering how to implement a list of radio streams
that can be changed by the user. I'm thinking of something like:
<radio station 1> : <url of radio stream 1>
<radio station 2> : <url of radio stream 2>
I could implement this by adding each station as a setting to the settings.xml, however this would mean that the user
cannot add new radio stations, as there seems to be no xbmc function to add new settings. I also think
this is not the right place to store such information, but how would you guys do this?
In the end I'm thinking of presenting the user a list of radio stations and he can choose which one to record
and for how long (or even at what time to start recording).
So it would be great if you could give me some hints where to start, or if there is some plugin with an already similar
functionality? (at least I didn't find one)
Thanks in advance for helping...
Kind regards
Tobias