Added several radio stations
-
@jonas The number of radio stations is limited. I have added in my fork of strawberry a number of radio stations. Compiles and runs smoothly.
If you are interested in adding this to strawberry then let me know.
FYI: Code can be found at https://github.com/arjantenhoopen/strawberry in the branch addradio08022024
-
@athoopen To be honest, I just find it better to use a playlist:
(m3u text)#EXTM3U #EXTINF:0,🎵 Jazz AAC 30k - Abaco Libros y Cafe Jazz Radio http://195.154.79.204:8638/stream #EXTINF:0,🎵 Jazz MP3 320k - Adroit Jazz Underground https://icecast.walmradio.com:8443/jazz #EXTINF:0,BBC - BBC World Service http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_world_service.m3u8 #EXTINF:0, - Boom Radio https://listen-boomradio.sharp-stream.com/65_boom_radio_live_192 #EXTINF:0,🎵 WALM MP3 320k - Classic Vinyl HD https://icecast.walmradio.com:8443/classic #EXTINF:0,🗨 GB AAC 46k - GB News http://listen-gbnews.sharp-stream.com/gbnews.aac #EXTINF:0,🎵 UK MP3 128kbps - Gold https://media-ssl.musicradio.com/GoldMP3 #EXTINF:0,🎵 UK MP3 111kbps - Mellow Magic http://edge-bauerall-01-gos2.sharp-stream.com/magicmellow.mp3?aw_0_1st.skey=1683583571&aw_0_1st.playerid=BMUK_RPi #EXTINF:0,Radio Paradise FLAC - Mellow Mix https://stream.radioparadise.com/mellow-flacm #EXTINF:0,BBC - Radio 1 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_one.m3u8 #EXTINF:0,BBC - Radio 1Xtra http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_1xtra.m3u8 #EXTINF:0,BBC - Radio 2 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_two.m3u8 #EXTINF:0,BBC - Radio 3 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_three.m3u8 #EXTINF:0,BBC - Radio 4 http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_fourfm.m3u8 #EXTINF:0,BBC - Radio 4 Extra http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/nonuk/sbr_low/ak/bbc_radio_four_extra.m3u8 #EXTINF:0,🎵 cdn mp3-128k - Smooth Jazz http://jking.cdnstream1.com/b22139_128mp3 #EXTINF:0,🎵 UK AAC 46k - Smooth Radio (London) http://media-the.musicradio.com/SmoothLondon #EXTINF:0,🗨 Talk Radio mp3 64k - Talk Radio http://radio.talkradio.co.uk/stream #EXTINF:0,🗨 Times Radio mp3 128k - Times Radio http://timesradio.wireless.radio/stream #EXTINF:0, - Virgin Radio UK http://radio.virginradio.co.uk/stream
Once you have the format, can add anything from radiobrowser easily.
-
@ben2talk The one does not exclude the other. A playlist is more flexible however it does need technial skills. For you and many others no problem, for my wife and many others an obstacle they cannot overcome.
The (from my point of view) best solution would be that Strawberry uses a directory service with audio streams listed in seach a way that users can select their favorites. Must technically be possible since volumio (volumio.com code at https://github.com/volumio) does it. However I am not skilled enough in C++ to implement that into Strawberry.
I think jonas has already enough to do with maintaining Strawberry.
I just tried to increase usability (a little bit) for non-technical Strawberry users.
-
@athoopen
Like I previously mentioned, I don't think we should hard-code radios in the source code.
We could implement a search tab into the radios view similar to what is used for the Tidal and QObuz views.
And the ability to activate / deactivate different radio services and search API's in a radios section in the settings.
But perhaps also the ability to add custom radio channels to the radios view. -
As I previously mentioned, I agree that it is probably not the best idea to have hard-coded streams into an application (although they don't change that often).
However, to get into the ideal world and using APIs to search for streams, you first need to have a source where to get the streams (and urls) from. The developers of Volumio have found a way to get to a "directory" holding a large amount of streams. So technically it must be possible.Once you have that "source" you can think about how to present this with views to the end-user. And think one step further: how users can add their own streams.
But let's be honest @jonas, currently there is 1 programmer for Strawberry and that's you. You probably have enough work in maintaining Strawberry and therefore no (or very limited) time to add additional functionality. When will your ideas (which are without any doubt better then hardcoded streams) be implemented? My guess is that it will continue to be a dream for a long time into the future.
Another way of solving the problem is doing it step by step, first hardcoded, then maybe an external (saved) playlist with a large number of stations which can be loaded into Strawberry (like @ben2talk is using now) and finally getting into a state where Strawberry uses external sources to list radio streams.However, maybe the number of users interested in radio streams in Strawberry is very limited and therefore the radio streams feature will more or less die .... who knows ... only the future will tell.
I tried to be part of the community, spend time on it and contribute (even with my limited C++ programming capabilities) to try to make the application a bit "better" then what it was.
If you want to go only for the "ideal" world, then be my guest, and I sincerely hope you will get there. But honestly .... I doubt.
Kind regards,
Arjan -
@athoopen https://www.radio-browser.info/search?page=1&order=votes&reverse=true&hidebroken=true&name=radio 4 extra
Really, from ALL of the radio apps with built in stuff - I'm very happy to escape them. There are just too many issues - so it's better to leave Strawberry for music if you want a GUI Radio player.
With the way that, for example, BBC make it tough to track down URL's - and when you see the streams, it's easier to hunt down the prized OPUS ones and leave out the archaic mp3 or m4a streams... most music players can't keep up.
The website absolutely can, if a station stops playing then I go back to the browser and find the next stream.
I think I had one afternoon searching and finding stuff I liked on there, and it's really very trivial even for a grandmother - or even your wife.
However, the absolute best Radio GUI application IMO - the one I left behind (preferring the playlist) was Shortwave - which is something that Strawberry isn't ever going to come close to emulating...
It's very simple to look at, with BIG icons to click, and easy 'Browse' and 'Search'... though I found it only 95% reliable compared to the above website - which gives you the actual stream, so you can copy and paste it into your list.
Really, once she has a dozen stations - why would she need anything else hard-coded?
https://itsfoss.com/content/images/wordpress/2020/03/shortwave-screenshot-1.png