*** Dog-Radio ***
Yet another internet radio stream program, this one uses yad with icons GUI and tray-icon.
It started as a request from a friend who has touch screen and wanted easy 'touch' any icon to play a radio stream of choice and displaying the metadata, e.g. artist - title, through a ticker or/and popup.
For me it was an experience to learn more about the 'yad magic' and I like the final result, so I thought to share it, but any suggestions to improve are welcome!
Only mplayer, yad and conky are required to run it.
The 'ticker' requires to have conky installed, right-click on the tray-icon for settings, e.g. enable/disable ticker or foreground/background color, or 'conky ticker settings' to enable/disable on-top, transparency, border etc...
(see also for more info through the 'Information' button from the main GUI)
Some presets are included, which can be removed ( button Add/Remove, also to add new items).
A directory ~/.dogradio will be created when running first time from menu "DogRadio' with these presets (.desktop files) in ~/.dogradio/data
Attached: dogradio_0.0.1_i386.deb.tar (remove fake .tar extension)
Edit: New version 0.0.2, Info/changes:
Major change is the choice of many radiostations to add (which was lacking in first version) by 'Add/Remove' > Add,
Inspired by 'simple-gtk-radio', see here:
http://www.murga-linux.com/puppy/viewtopic.php?t=90842
for e.g: format: 'playlist.<Category>' to load different categories to play/add.
If the file ~/.dogradio/v0.0.2 exists the ~/.dogradio directory will not be replaced.
If it doesn't exist, ~/.dogradio from an earlier version needs to be replaced because of many changes in the structure of v 0.0.2.
Changes in v 0.0.2:
- Added 'playlist' folder with different category files named playlist.* listing many different radio stations.
(these can be added (multiple items) to the main GUI by Add/Remove > Add, streams can be played by double-clicking an item from the list displaying from a category)
The playlist 'playlist.RadioSure' has more then 28000 streams, not all will play though, and it's to large to load as one of the category-playlist.
However the search option (see below) will search inside it, so in fact there's choice of around 20000 stations!
- The .desktop launchers in ~/.radiodog/data are named now after the radio station (in previous version these had a random numbered name)
- Conky ticker displays now also name of the radio station
- More playlists extensions are supported now, these are now: .m3u, .pls, asx, .ram, .asp, .pls?id=* (shoutcast)
- Added simple search option (Add/Remove > Add > fill in search keyword(s))
A new category-playlist can be created from the search results by clicking 'Save'
Recommended is to install the latest yad (version 0.28 now)
Mostly because of the added playlist files the .deb became much larger (700Kb, install size 3Mb) so it can't be attached here, download from here:
<Removed link see
Edit6 for latest version>
Edit1: Re-uploaded with very small fix, for correct icon when adding from search.
Edit2: New version uploaded v. 0.0.3 with changes/additions:
- Search has been improved, when typing multiple words, e.g. 'jazz canada' will give now only results for 'jazz' AND 'canada' in a station name (not 'jazz' OR 'canada'.
To clarify: In previous version it gave all results for 'jazz' in a name and also all results for 'canada' in a name.
- Added button 'Update Index', (for search index, containing more than 20000 stations) that will download the latest database from "
http://www.radiosure.com/rsdbms/stations2.zip" and convert to dogradio compatible format. Add/Remove > Add > Update-Index
- Added url that's now playing to Stream Info (right-click on tray-icon > Stream Info URL : ...)
Download:
<Removed link see
Edit6 for latest version>
Or to install latest version from DD repository from terminal:
Code: Select all
apt-get update
apt-get install dogradio
Or with synaptic package manager
Edit3:
New version 0.0.4:
Changes:
- Supports non-english locale characters now, e.g. russian or e.g. greek characters will display in category or search list, if package 'locales' is installed and the locale has been set, or when UTF-8 is supported by the system in any other way.
(the search index may need to be updated for that: 'Add/Remove' > 'New' > 'Update Index')
- Choice for themed interface (or no themed interface, using system theme), light or dark color theme, smaller font. Choose from right-clicking tray-icon menu > Theme Settings.
(see below screenshot, using dark theme, conky-ticker on-top, no-border and color adjusted to the theme color)
(small dependency 'gtk2-engines-murrine' added to the package for providing the theme choices)
- Pressing the 'Add/Remove' button gives a item list at first view now instead of a drop down box. (a little more intuitive maybe?)
- Bugfixes:
-- now station names containing quotes in the name will work also (by filtering out the quotes in the name), previously they gave error.
-- now ampersand (&) character shows properly in list names.
-- Cancel button in conky-ticker-settings window works now. (was previously wrong; disabled the conky-ticker)
Download:
<Removed link see
Edit6 for latest version>
Edit4:
Available from DebianDog and MintPup repositories, install latest version from terminal:
Code: Select all
apt-get update
apt-get install dogradio
Or with synaptic package manager
Edit5:
New version 0.0.5, only change: Added Stream ripping option, from tray-icon right-click > Stream Ripping. Extra dependency: small package 'streamripper'
(see also below screenshot)
<Removed link see
Edit6 for latest version>
Edit6: New version 0.0.6, changes:
- Improved refreshing tray icon (when switching stations). (it could be a bit of a problem on Jwm, so recommended to use icons with exactly the same height as width)
- Added 'Play' button to the main GUI to resume playing the last played stream if stopped.
https://drive.google.com/uc?export=down ... lk0blFHTDQ
Edit7: New version 0.0.7, some small changes:
- Fixed buggy search (previously worked well only when dogradio was restarted after one search)
- removed/replaced dead stationS on the main GUI
- Updated database (Radiosure.playlist)
https://debiandog.github.io/Stretch/i38 ... b_i386.deb
Youtube Demo (my first demo, so forgive me for being amateuristic please
) :
https://youtu.be/4G8CbLHK24Q
Edit8: New version 0.0.8, see topic here for info, download .pet and .deb packages:
http://murga-linux.com/puppy/viewtopic.php?t=112858
Removed all links to previous dogradio versions in this post
Fred