Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 10
  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,962

    Announce - Song info plugin for Supla Finland radio

    NOTE: As of October 2021 - This plugin is now obsolete. The Radio Now Playing plugin has replaced it.
    Information below left here for history

    ------------------------------------------------------

    This is a plugin for Supla Finland https://supla.fi/radiot - covering Radio Suomipop, Radio Rock, Loop, HitMix, Aito Iskelmń, Radio Aalto, Melmiradio and Groove FM Business.

    Once installed and LMS has been restarted you should play one of the supported radio stations. If the plugin is working then you should see artist details (artist/title) appear around the time that a new track starts or programme name.

    Note: The broadcaster does not always provide track information in a timely manner - so if you find that sometimes no new details arrive then check on the Supla site to see if they have the same problem.
    Also - they do not provide the end time or duration for tracks so you will probably find the track name displaying during adverts.
    To minimise the effect of this there is an arbitrary maximum song length of 5 minutes - at which point the title should clear (but will continue to play of course).

    If there is no song title then the plugin will try to show the programme name (Groove FM does not seem to have any though).

    This plugin relies on the time on your local LMS server to be roughly correct - timezone and time - because the local time is compared with the scheduled time for each track from the broadcaster.
    If things are not working then enable Debug logging for this plugin via LMS/Settings/Advanced/Logging interface, repeat the problem and then check the LMS logs.
    You might need a version of LMS more recent than 7.9.1 Feb 2018 because of improvements in LMS to handling HTTPS connections.

    This plugin relies on data from Supla Finland but is not endorsed by them and it could easily break if they change their formats.

    For now, during the first public testing phase, - add this repository to your local LMS.
    http://www.dabdig.co.uk/slimserver-r...plafinland.xml

    Michael H - please don't put it in the list of 3rd-party plugins yet because I will probably change the repo location once it has been verified as working for a few people.
    Last edited by Paul Webster; 2021-10-19 at 20:41.
    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. #2
    Member
    Join Date
    Apr 2019
    Location
    Finland
    Posts
    71
    Quote Originally Posted by Paul Webster View Post
    This is a plugin for Supla Finland https://supla.fi/radiot - covering Radio Suomipop, Radio Rock, Loop, HitMix, Aito Iskelmń, Radio Aalto, Melmiradio and Groove FM Business.

    Once installed and LMS has been restarted you should play one of the supported radio stations. If the plugin is working then you should see artist details (artist/title) appear around the time that a new track starts or programme name.

    Note: The broadcaster does not always provide track information in a timely manner - so if you find that sometimes no new details arrive then check on the Supla site to see if they have the same problem.
    Also - they do not provide the end time or duration for tracks so you will probably find the track name displaying during adverts.
    To minimise the effect of this there is an arbitrary maximum song length of 5 minutes - at which point the title should clear (but will continue to play of course).

    If there is no song title then the plugin will try to show the programme name (Groove FM does not seem to have any though).

    This plugin relies on the time on your local LMS server to be roughly correct - timezone and time - because the local time is compared with the scheduled time for each track from the broadcaster.
    If things are not working then enable Debug logging for this plugin via LMS/Settings/Advanced/Logging interface, repeat the problem and then check the LMS logs.
    You might need a version of LMS more recent than 7.9.1 Feb 2018 because of improvements in LMS to handling HTTPS connections.

    This plugin relies on data from Supla Finland but is not endorsed by them and it could easily break if they change their formats.

    For now, during the first public testing phase, - add this repository to your local LMS.
    http://www.dabdig.co.uk/slimserver-r...plafinland.xml

    Michael H - please don't put it in the list of 3rd-party plugins yet because I will probably change the repo location once it has been verified as working for a few people.

    Hello,

    I have been testing this for a while now and it seems to be working good!

    I will update when I have tested more.

    Thank you very much, this is nice upgrade.

    -Jursi

  3. #3
    Member
    Join Date
    Apr 2019
    Location
    Finland
    Posts
    71
    Update*

    One happy user here. Plugin is working as it should.

    https://imgur.com/a/bUymX2a

    Thanks!
    test

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,962
    I knew that the audience for this one would be small - but glad to see that it is working for you.

    It is a shame that none of the 8 stations in that group provide cover art.

    Maybe a general LMS service that takes artist name and optional other stuff to help make it unique (song title, album name, MB id) and returned cover art would be useful.
    Perhaps I could plug into MAI to get it.
    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

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,962
    This plugin is my first candidate for replacing with the more generic "Radio Now Playing" plugin.
    I picked this one because I suspect it is not used much (Jursi is the only one who responded here).

    I think if there were active users then someone might have spotted that one station has gone (Radio Aalto) to be replaced by another (Me Naiset Radio) - they kept the same stream URL so it still plays.

    The upcoming Radio Now Playing build includes this change - which will be a way to verify that the swap happened.

    So for anyone wants to give the process a test then ... if you install this plugin now then in a day or so I will release an updated "Radio Now Playing" beta that should disable this plugin and take over the showing of song/programme details for the Supla stations.

    I do not flag the old plugin for uninstallation (mherger suggested it as something that could be done) at this stage so that it is a bit easier to switch back to the old plugin in the case of "Radio Now Playing" having a bug.
    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. #6
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,962
    Radio Now Playing 0.0.11 has now been released and will appear in the LMS plugin list in the next few hours.

    You should now remove the Supla plugin and install Radio Now Playing to continue to receive updates for this broadcaster.
    This updated plugin now correctly shows the station "Me Naiset Radio" as the replacement for "Radio Aalto"
    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. #7
    Junior Member
    Join Date
    Mar 2021
    Location
    Finland
    Posts
    4
    For some reason or another I'm not getting any audio from Supla. It seems to be playing, but Pause/Stop buttons do not work and the timer stays at 00:00.

    Name:  s-1.jpg
Views: 35
Size:  26.8 KB

    Name:  s-2.jpg
Views: 36
Size:  29.0 KB

    Name:  s-3.jpg
Views: 39
Size:  11.1 KB


    Here's my log file:


    [21-10-19 21:16:22.1333] Plugins::RadioNowPlaying::Plugin::deviceTimer (8147) suplafinlandradiosuomipop - Client: PiCoreLMS - Setting next poll to fire at 1634667400 Interval: 20
    [21-10-19 21:16:40.0014] Plugins::RadioNowPlaying::Plugin::timerReturn (2611) suplafinlandradiosuomipop - timerReturn - Client: PiCoreLMS - timer due 1634667400 now 1634667398
    [21-10-19 21:16:40.0021] Plugins::RadioNowPlaying::Plugin::timerReturn (2620) suplafinlandradiosuomipop - Client: PiCoreLMS - Timer return - last push 1634664087
    [21-10-19 21:16:42.7140] Plugins::RadioNowPlaying::Plugin::getmeta (2211) suplafinlandradiosuomipop - Fetching data from https://supla-playlist.nm-services.n...token=&limit=3
    [21-10-19 21:16:42.8145] Plugins::RadioNowPlaying::Plugin::parseContent (4983) Found song details: Lauri T├Ąhk├Ą & Elonkerjuu - Hetkeksi en sulle rupia
    [21-10-19 21:16:42.8155] Plugins::RadioNowPlaying::Plugin::parseContent (6983) suplafinlandradiosuomipop (SUPLA) - now 1634667400 data collected $VAR1 = {
    'progend' => 1634670000,
    'progid' => '',
    'proglogo' => '',
    'proglth' => 0,
    'progstart' => 1634659200,
    'progsubtitle' => '',
    'progsynopsis' => '',
    'progtitle' => 'Suomipopin ilta & Juho Keskitalo - Suomen parhaat biisit',
    'songalbum' => '',
    'songartist' => "Lauri T\x{e4}hk\x{e4} & Elonkerjuu",
    'songcover' => '',
    'songend' => 1634667400,
    'songlabel' => '',
    'songlth' => 0,
    'songstart' => 1634667119,
    'songtitle' => 'Hetkeksi en sulle rupia',
    'songyear' => ''
    };
    [21-10-19 21:16:42.8159] Plugins::RadioNowPlaying::Plugin::parseContent (7018) suplafinlandradiosuomipop - song found
    [21-10-19 21:16:42.8165] Plugins::RadioNowPlaying::Plugin::parseContent (7082) suplafinlandradiosuomipop - Info collected $VAR1 = {
    'album' => '',
    'artist' => "Lauri T\x{e4}hk\x{e4} & Elonkerjuu",
    'cover' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'endTime' => 1634667400,
    'icon' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'isSong' => 1,
    'label' => '',
    'remote_title' => 'Hetkeksi en sulle rupia',
    'startTime' => 1634667119,
    'stationid' => 'suplafinlandradiosuomipop',
    'title' => 'Hetkeksi en sulle rupia',
    'ttl' => 1634667420,
    'year' => ''
    };
    [21-10-19 21:16:42.8172] Plugins::RadioNowPlaying::Plugin::deviceTimer (8147) suplafinlandradiosuomipop - Client: PiCoreLMS - Setting next poll to fire at 1634667420 Interval: 20
    [21-10-19 21:17:00.0019] Plugins::RadioNowPlaying::Plugin::timerReturn (2611) suplafinlandradiosuomipop - timerReturn - Client: PiCoreLMS - timer due 1634667420 now 1634667418
    [21-10-19 21:17:00.0029] Plugins::RadioNowPlaying::Plugin::timerReturn (2620) suplafinlandradiosuomipop - Client: PiCoreLMS - Timer return - last push 1634664087
    [21-10-19 21:17:02.5143] Plugins::RadioNowPlaying::Plugin::getmeta (2211) suplafinlandradiosuomipop - Fetching data from https://supla-playlist.nm-services.n...token=&limit=3
    [21-10-19 21:17:02.7753] Plugins::RadioNowPlaying::Plugin::parseContent (4983) Found song details: Behm - Lupaan
    [21-10-19 21:17:02.7765] Plugins::RadioNowPlaying::Plugin::parseContent (6983) suplafinlandradiosuomipop (SUPLA) - now 1634667420 data collected $VAR1 = {
    'progend' => 1634670000,
    'progid' => '',
    'proglogo' => '',
    'proglth' => 0,
    'progstart' => 1634659200,
    'progsubtitle' => '',
    'progsynopsis' => '',
    'progtitle' => 'Suomipopin ilta & Juho Keskitalo - Suomen parhaat biisit',
    'songalbum' => '',
    'songartist' => 'Behm',
    'songcover' => '',
    'songend' => 1634667420,
    'songlabel' => '',
    'songlth' => 0,
    'songstart' => 1634667409,
    'songtitle' => 'Lupaan',
    'songyear' => ''
    };
    [21-10-19 21:17:02.7769] Plugins::RadioNowPlaying::Plugin::parseContent (7018) suplafinlandradiosuomipop - song found
    [21-10-19 21:17:02.7774] Plugins::RadioNowPlaying::Plugin::parseContent (7082) suplafinlandradiosuomipop - Info collected $VAR1 = {
    'album' => '',
    'artist' => 'Behm',
    'cover' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'endTime' => 1634667420,
    'icon' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'isSong' => 1,
    'label' => '',
    'remote_title' => 'Lupaan',
    'startTime' => 1634667409,
    'stationid' => 'suplafinlandradiosuomipop',
    'title' => 'Lupaan',
    'ttl' => 1634667440,
    'year' => ''
    };
    [21-10-19 21:17:02.7777] Plugins::RadioNowPlaying::Plugin::parseContent (7157) suplafinlandradiosuomipop - Client: PiCoreLMS - appears to be the same as before
    [21-10-19 21:17:02.7780] Plugins::RadioNowPlaying::Plugin::parseContent (7208) suplafinlandradiosuomipop - Client: PiCoreLMS - Got now playing information - artist: Behm title: Lupaan
    [21-10-19 21:17:02.7788] Plugins::RadioNowPlaying::Plugin::deviceTimer (8147) suplafinlandradiosuomipop - Client: PiCoreLMS - Setting next poll to fire at 1634667440 Interval: 20
    [21-10-19 21:17:20.0022] Plugins::RadioNowPlaying::Plugin::timerReturn (2611) suplafinlandradiosuomipop - timerReturn - Client: PiCoreLMS - timer due 1634667440 now 1634667438
    [21-10-19 21:17:20.0029] Plugins::RadioNowPlaying::Plugin::timerReturn (2620) suplafinlandradiosuomipop - Client: PiCoreLMS - Timer return - last push 1634664087
    [21-10-19 21:17:22.1394] Plugins::RadioNowPlaying::Plugin::getmeta (2211) suplafinlandradiosuomipop - Fetching data from https://supla-playlist.nm-services.n...token=&limit=3
    [21-10-19 21:17:22.2273] Plugins::RadioNowPlaying::Plugin::parseContent (4983) Found song details: Behm - Lupaan
    [21-10-19 21:17:22.2283] Plugins::RadioNowPlaying::Plugin::parseContent (6983) suplafinlandradiosuomipop (SUPLA) - now 1634667440 data collected $VAR1 = {
    'progend' => 1634670000,
    'progid' => '',
    'proglogo' => '',
    'proglth' => 0,
    'progstart' => 1634659200,
    'progsubtitle' => '',
    'progsynopsis' => '',
    'progtitle' => 'Suomipopin ilta & Juho Keskitalo - Suomen parhaat biisit',
    'songalbum' => '',
    'songartist' => 'Behm',
    'songcover' => '',
    'songend' => 1634667440,
    'songlabel' => '',
    'songlth' => 0,
    'songstart' => 1634667409,
    'songtitle' => 'Lupaan',
    'songyear' => ''
    };
    [21-10-19 21:17:22.2287] Plugins::RadioNowPlaying::Plugin::parseContent (7018) suplafinlandradiosuomipop - song found
    [21-10-19 21:17:22.2293] Plugins::RadioNowPlaying::Plugin::parseContent (7082) suplafinlandradiosuomipop - Info collected $VAR1 = {
    'album' => '',
    'artist' => 'Behm',
    'cover' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'endTime' => 1634667440,
    'icon' => 'https://xb-static.nm-ovp.nelonenmedia.fi/xb/styles/576x576_square/public/img/c195df095735cc6c385dee3361c4e6386c09ef47-supla_kanavakuva_suomipop_2880x2880.jpg',
    'isSong' => 1,
    'label' => '',
    'remote_title' => 'Lupaan',
    'startTime' => 1634667409,
    'stationid' => 'suplafinlandradiosuomipop',
    'title' => 'Lupaan',
    'ttl' => 1634667460,
    'year' => ''
    };

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,962
    You need the PlayHLS plugin because their streams use HLS.
    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

  9. #9
    Junior Member
    Join Date
    Mar 2021
    Location
    Finland
    Posts
    4
    Quote Originally Posted by Paul Webster View Post
    You need the PlayHLS plugin because their streams use HLS.
    Thanks for the info, I'll install PlayHLS (v1.1) and see what happens.

  10. #10
    Junior Member
    Join Date
    Mar 2021
    Location
    Finland
    Posts
    4
    No luck with PlayHLS (v1.1) but v2.8 did the trick and everything works now. Thanks for the help.

Posting Permissions

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