Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 35 FirstFirst 123412 ... LastLast
Results 11 to 20 of 350
  1. #11
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    New release - 0.0.6
    - Add the Cesky rozhlas station - Pohoda - launched 1-Oct-2021

    https://informace.rozhlas.cz/stanice...silani-8588011

    It is a station aimed at over 55s - with speech (cz) and music. So I suspect of limited interest to forum users but there might be some Czechs who happen to find it.
    There are quite a few other stations from that broadcaster that I have not added in yet.
    I was holding off until I had an automatic update mechanism for station details but I added this particular one because I happened to see a tweet announcing that they were launching today and couldn't resist.
    It is not available in FLAC so I added their AAC and MP3 streams plus revised the streaming matching regex to handle the alternative URLs that they use for some of their streams.
    All done without changing one line of Perl ... which was the idea for this plugin.

    I also switched the plugin logo to the one that Craig made - thanks. LMS caches icons for a long time so don't expect to see it for a while after updating.

    It should become available over the next few hours when the hosted LMS plugin updater script run.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  2. #12
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    For those who kept the beta repo configured ... there is a new build available that adds a couple of stations and now allows the user to configure which of the available broadcaster groups are handled.

    If people have station groups that they listen to but they do not present song info in LMS ... but they do get more information when using the web site or app of the broadcaster then let me know and I'll see if I can add it in. That is how these extra stations appeared.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  3. #13
    Junior Member
    Join Date
    Nov 2020
    Posts
    10

    Updated Czech Radio

    Thank you for the support of Czech Radio. I have updated the list, can you please update it in your plugin?
    Code:
    {
    	"rnp_comment": "Edit at your own risk. Note - regex strings need to have their backslashes escaped with another backslash and do not include the opening and closing single quote",
    	"rnp_broadcaster": {
    		"name": "Českř rozhlas",
    		"icon": "https://www.czech.radio/sites/default/files/styles/cro_16x9_tablet/public/f00f74051cca8099c4dd2040d4524841.png",
    		"songurl": "https://croapi.cz/data/v2/playlist/now/${stationid}.json",
    		"progurl": "https://croapi.cz/data/v2/schedule/now.json",
    		"streamsregex": [
    			"(?:\\/\\/)amp\\.cesnet\\.cz\\:[0-9]*\\/(${cap})(?:-[0-9]*|)\\.(?:mp3|aac|ogg|flac)",
    			"(?:\\/\\/)(?:rozhlas|rozhlas2)\\.stream\\/(${cap})_(?:mp3|aac)_[0-9]*\\.(?:mp3|aac|ogg|flac)"
    		],
    		"brands": [
    			{
    				"name": "Českř rozhlas",
    				"icon": "https://www.czech.radio/sites/default/files/styles/cro_16x9_tablet/public/f00f74051cca8099c4dd2040d4524841.png",
    				"id": "ceskyrozhlas"
    			}
    		],
    		"timezone": {
    			"area": "Europe",
    			"location": "Prague"
    		},
    		"coverfields": [
    			"asset"
    		],
    		"maxshowlth": 240
    	},
    	"rnp_stations": [
    		{
    			"name": "ČRo Jazz",
    			"station_id": "jazz",
    			"external_station_id": "crojazz",
    			"tunein_id": "s135758",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-jazz.flac",
    					"streamType": "flac"
    				},
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro3-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/jazz_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/jazz_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s135758/images/logoq.png"
    		},
    		{
    			"name": "ČRo D-dur",
    			"station_id": "d-dur",
    			"external_station_id": "croddur",
    			"tunein_id": "s47455",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-d-dur.flac",
    					"streamType": "flac"
    				},
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-d-dur-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/ddur_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/ddur_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s47455/images/logoq.png"
    		},
    		{
    			"name": "ČRo Vltava",
    			"station_id": "vltava",
    			"external_station_id": "crovltava",
    			"tunein_id": "s25461",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro3.flac",
    					"streamType": "flac"
    				},
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro3-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/vltava_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/vltava_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s25461/images/logoq.png"
    		},
    		{
    			"name": "ČRo Pohoda",
    			"station_id": "pohoda",
    			"external_station_id": "cropohoda",
    			"tunein_id": "s221068",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "https://rozhlas.stream/pohoda_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/pohoda_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s221068/images/logoq.png"
    		},
    		{
    			"name": "ČRo Radio×urnßl",
    			"station_id": "radiozurnal",
    			"external_station_id": "croradiozurnal",
    			"tunein_id": "s18903",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro1-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/radiozurnal_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/radiozurnal_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s18903/images/logoq.png"
    		},
    		{
    			"name": "ČRo Radio×urnßl Sport",
    			"station_id": "radiozurnal-sport",
    			"external_station_id": "croradiozurnalsport",
    			"tunein_id": "s309798",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "https://rozhlas2.stream/sport_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas2.stream/sport_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s309798/images/logoq.png"
    		},
    		{
    			"name": "ČRo Ostrava",
    			"station_id": "ostrava",
    			"external_station_id": "croostrava",
    			"tunein_id": "s37239",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "https://rozhlas.stream/ov_aac_64.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/ov_mp3_128.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s37239/images/logoq.png"
    		},
    		{
    			"name": "ČRo Wave",
    			"station_id": "radiowave",
    			"external_station_id": "croradiowave",
    			"tunein_id": "s47457",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-radio-wave.flac",
    					"streamType": "flac"
    				},
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-radio-wave-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/wave_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/wave_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s47457/images/logoq.png"
    		},
    		{
    			"name": "ČRo Dvojka",
    			"station_id": "dvojka",
    			"external_station_id": "crodvojka",
    			"tunein_id": "s17871",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro2-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/dvojka_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/dvojka_mp3_128.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s17871/images/logoq.png"
    		},
    		{
    			"name": "ČRo Plus",
    			"station_id": "plus",
    			"external_station_id": "croplus",
    			"tunein_id": "s1537",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-plus-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/plus_aac_128.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/plus_mp3_256.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s1537/images/logoq.png"
    		},
    		{
    			"name": "ČRo Junior",
    			"station_id": "radiojunior",
    			"external_station_id": "croradiojunior",
    			"tunein_id": "s188432",
    			"brand": "ceskyrozhlas",
    			"notexcludable": true,
    			"stream_urls": [
    				{
    					"streamUrl": "http://amp.cesnet.cz:8000/cro-radio-junior-256.ogg",
    					"streamType": "ogg"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/juniormaxi_aac_64.aac",
    					"streamType": "aac"
    				},
    				{
    					"streamUrl": "https://rozhlas.stream/juniormaxi_mp3_128.mp3",
    					"streamType": "mp3"
    				}
    			],
    			"stream_logo": "https://cdn-profiles.tunein.com/s188432/images/logoq.png"
    		}
    	]
    }

  4. #14
    Junior Member
    Join Date
    Nov 2020
    Posts
    10

    Updated Czech Radio

    And I think that getting asset for Czech Radio doesn't works well, there is all the time the same image, for all stations.

  5. #15
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    Were your changes to add the extra stations and no modifications of the pre-existing ones?

    I just tried the 4 stations in my initial list and they all worked fine - each showing different data that seemed to match what was being broadcast.
    Can you give an example of what you see that is wrong?
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  6. #16
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    Ah - you added in TuneIn ids - thanks.
    I am in UK and TuneIn hides lots of stations because of a legal issue so it is a pain for me to find them and put them in.

    Note - I won't be using logos from there though so will have to make new ones.

    Edit:
    and extra non-flac stream URLs - thanks for them as well.
    This started off as a list of stations that supported flac streaming ... but it is good to have the others in there.
    However, that is possibly why your are seeing incorrect data when playing the non-flac ones.
    They have been inconsistent in their naming of their streams ... so the regex to match them needs to be adjusted to handle it.
    I'll take a look over the weekend to see if I can come up with a scheme that works.
    Last edited by Paul Webster; 2021-10-08 at 11:24.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  7. #17
    Junior Member
    Join Date
    Nov 2020
    Posts
    10
    OK, I can check the streams I have added, and if there will be some problem I can change the regex Only the albumart (image) I don't know how to fix, it is still the same. I think it should change, at least based on the code I've seen (coverfields: asset). I think you are taking image from "asset" node from this file https://croapi.cz/data/v2/schedule/now.json Or I'm wrong in this?

  8. #18
    Junior Member
    Join Date
    Nov 2020
    Posts
    10
    You are right, the alburt art works in your original streams, so it's my fault, I can look at this

  9. #19
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    The regex has to find the unique string that identifies the station.
    It is supposed to the the ${cap} pseudo field.
    But there are a few hacks and tricks behind the scenes that I have put in over the last couple of years that might work.
    So don’t worry - I’ll work out a way to do it.
    Last edited by Paul Webster; 2021-10-09 at 04:14.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  10. #20
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,139
    Try this for the cesnet line

    Code:
    "(?:\\/\\/)amp\\.cesnet\\.cz\\:[0-9]*\\/(${cap}?)(?:-[0-9]*)?\\.(?:mp3|aac|ogg|flac)",
    That should fix them apart from a couple in Jazz (because it needs 3 different matches).

    I have never liked my match1/match2 stuff ...
    Historically (from Radio France plugin I think) there was only 1 match then some special cases came up so I added a match2 so that I could be sure that it would not break pre-existing code for different stations ...
    I could hack in a match3 (which I admit I am tempted to do) but it only takes me further down the road of messy code.
    So I'll probably rewrite that matching handling stuff.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •