
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Simple widget that stores a list of radio streaming urls and plays any of them using mplayer
INSTALLATION: Uncompress the .tar.gz in some directory. Then open Superkaramba and select Add Local Theme. Browse for the .theme file you just decompressed and add it to your desktop.
USAGE: Add your favorite radios using the + button. A line edit box will show up. Type a short name for that radio to be displayed in the list and then type enter. Another line edit box will pop up. Paste the stream url there and press enter. The radio will be stored.
Play any radio by clicking on its name, or click with the middle button and select play.
Stop the stream by clicking the stop button, or clicking another radio to start playing.
Remove any radio by clicking it with the middle button and selecting Remove.
Edit any radio by clicking it with the middle button and selecting Edit.
WARNING: This version might be buggy.I tested it and seems to work ok, but if you find any problem please report it here. If the program hangs (check cpu usage) kill superkaramba typing killall superkaramba in a terminal and report the problem.
NOTE: Actually, this theme is a playlist for mplayer because it can play any file that mplayer handles, but its usage is for managing online radios, mainly because it doesn't continue with the next file in the list after the previous has stopped (if it is an online radio, it shouldn't stop)
It obviously requires mplayer
13 years ago
v0.51:
* Re written code for fetching song name and artist
* If no previous configuration found, a default configuration with various radios is copied to ~/.superkaramba
v0.5:
* Added support for displaying song name and artist, if StreamTitle string is supplied by the server (Shoutcast format I think). If it is not supplied it shows radio name and author, also if available.
v0.2:
* Added option to edit radio entries
* Moved pop up menu some pixels down for not removing entries accidentally
* Update interval reduced to 5000ms, but also improved some configuration updates
v0.1:
First Release
13 years ago
v0.51:
* Re written code for fetching song name and artist
* If no previous configuration found, a default configuration with various radios is copied to ~/.superkaramba
v0.5:
* Added support for displaying song name and artist, if StreamTitle string is supplied by the server (Shoutcast format I think). If it is not supplied it shows radio name and author, also if available.
v0.2:
* Added option to edit radio entries
* Moved pop up menu some pixels down for not removing entries accidentally
* Update interval reduced to 5000ms, but also improved some configuration updates
v0.1:
First Release
sbruno
13 years ago
The source for 0.5 is still available for the curious that can explain me why it works if superkaramba is started on the command line.
Report
sbruno
13 years ago
I was testing that way, to get debug output in the console.
Now I see that if I start superkaramba from de kde menu, when you click on any radio cpu usage goes to 100%
I will fix this as soon as I can, and if I cannot fix it I will upload last version again...
Report
OldGaf
13 years ago
One suggestion:
It would be great to display the artist and track info like amarok does...
Report
sbruno
13 years ago
Report
davepb
13 years ago
Any ideas of any PyQT or PyKDE programming for customizable settings like adding stations, skins, fonts etc...
I wander whether it could be integrated with Aero AIOhttp://www.kde-look.org/content/show.php/Aero+AIO?content=24626
as it already has a customizable interface.
Great work and all the best
Dave
Report
sbruno
13 years ago
I would like to make it more configurable but, I don't know much of PyQT for integrating a gui for settings or something like that.
The input boxes look really awful, but that's the best I could do with karamba api.
And it would be nice also to make the .skz install the widget in ~/.superkaramba like liquidweather++ and other widgets does, so the icons in the menu will appear, but I don't know how to do that neither.
Thanks for the comment!
Report
davepb
13 years ago
I think I may learn python as it's been a while since I programmed anything and that was programming for windows. I looked at the Aero AIO stuff and it doesn't look to hard to port it into. Actually the torrent AIO is a good exmaple. Found here http://www.kde-look.org/content/show.php/Ktorrent+Aero+AIO?content=60355
I've just taken your code and added a mute button to the program and changed the icons. Do you want me to email it back to you?
Cheers
Dave
my email add is dave_p_b(at)hotmail(dot)com if you want to get in contact :)
Report
vaxxipooh
13 years ago
Report