Home of the Squeezebox™ & Transporter® network music players.
Page 36 of 38 FirstFirst ... 263435363738 LastLast
Results 351 to 360 of 371
  1. #351
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    Experimental feature added ... beta for now as I know there are still lots of things to do but has been usable by me for a few days now.

    You can now replay via a list of scheduled programmes.

    At the moment this lists shows only by calendar date and only for the last 8 days (although there is content available that is much older than that ... but I want to work out a way to display that without have a year long list of days).

    This might not be very interesting for FIP-only listeners as the only make "Club Jazzafip" (the early evening Jazz programme with 2 people introducing tracks usually around a theme) and the 2 specials per week (the live concert and "Certains l'aiment Fip", the film soundtrack show).

    Programmes that I cannot find content for are not listed ... by default ... but you can change that via the settings so that you will be able see that a programme was found but it will be marked as "not available"/"indisponible".

    There are plenty of things that I want to change or add so please don't give me lots of related feature requests for now.

    Visible things that I will probably change:
    • more hiding of titles when title and subtitle are very similar (issues here because one station uses UPPERCASE a lot in subtitle and I have been trying to avoid changing the case of their stuff so that it remains like they intended)
    • access programmes by programme name as well as by schedule
    • currently no programmes are displayed for France Info (news channel) but there is On Demand content
      ... it needs more work on the underlying data to get to it and then work out how to present it
    • The PLAY link is only for the first found audio
      ... however, there are often 2 and up to 4 different ones available so I should try to find the "best" one or make it list them all
    • SB2/SB3/Slimp3 users do not see the Radio France plugin listed under Radio or My Apps
      ...I am researching this but it was also the case for prior version of the plugin an no-one complained. See https://forums.slimdevices.com/showt...Jive-SB-player
      UPDATE: LMS is accidently preventing all plugins that start with "radiofr" from appearing in SB menu. Needs LMS update to resolve.
    • Times/timezone ... for users who are a long way (by time) from France will probably see confusing listings because the day is based on the day in France but the times shown are local


    Visible things that I probably will not do - at least not for a while:
    • ability to "favourite" a programme so that you can get to new episodes easily
    • You cannot see the synopsis of the programme ... which is a shame. I might be able to get this but for now it is not in the data that I fetch.

    Invisible things that need changing:
    • Currently the station list is coded (I made it by converting my old .opml file) but I should be able to do it as a loop going through an internal structure which will make it more maintainable
    • Investigate use of Perl module PONAPI because it has the potential of making it much easier to process that data as linked objects rather than having to loop through it all in my code
    • Make the code tidier, more consistent, more Perl-like and reusable ... but I have been saying that to myself for over two years now.


    To try out this beta version and my repo at the end of the list of plugins in LMS
    http://www.dabdig.co.uk/slimserver-r...adiofrance.xml
    and then select the Radio France plugin with version 0.3.something
    To revert to the released code (0.2.4) ... remove the repo and uninstall the plugin ... then restart LMS and choose the Radio France plugin from the regular LMS list.

    There are some parts in the source data that imply that Radio France might modify things in the future - for example making some content not available outside France. Also I am relying on something from their web browser implementation for this to work ... and that could break at any time.

    Thanks to @expectingtofly for the code that was implemented in his Virgin Radio plugin because that helped me to get the menu system working.
    Thanks to @mherger, @mrw, @philippe_44 and @philchillbill for helping out with suggestions as a result of some my naive Perl questions.

    I'll add a couple of screenshots in the next post.
    Last edited by Paul Webster; 2021-02-27 at 08:05.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  2. #352
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953






    Also just seen that Craig has changed the logo to a map of France in Material. Confused me at first
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #353
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    Beta 0.3.1 now available

    The biggest change between this and 0.3.0 is that programme segments are now listed.
    This resolves the problem where almost nothing was shown for France Info but it makes the listings of some of the stations considerably longer.

    I am going to try to put the segments into a submenu so that you can choose to play a full programme or navigate down into the segments.

    One thing that this does show up is that there segments of programmes that are repeated during the day on some stations ... but the timestamp information gets confused.
    So you might see what looks like a time-ordered list with some of the items in the wrong place.
    I might change this (by sorting or faking some timestamps) but for now it is in the same order as provided by Radio France.

    The programme icons and descriptions that you see come from Radio France as part of their stream information as it plays. It looks good but is nothing to do with me being clever.
    Everything that I have seen so far is MP3 and it supports seeking - again this is nothing that I did, it is the nature of their on-demand content provision.

    I'll add a picture showing segments.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  4. #354
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    Here is an edited screenshot showing segments.
    In this one, the full show "Par Jupiter !" Is shown starting at 16:07. It runs for about an hour. The 7 items that are listed after it are short segments from within the full programme. Playing one segment does not result in the next one being played at the end of it.

    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  5. #355
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    Beta 3 now available.

    This introduces the ability to collapse programmes with multiple segments into a single top level menu item which then expands to the programme plus all segments at the next level down. See Settings field "Flatten the schedule".

    There are still some anomalies because of data differences in their different stations but it works quite well.
    I'll probably change the titles for the expanded items to not include the name of the programme so that there is more space to see the segment name.




    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  6. #356
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,739

    SVG Icon

    Paul, not sure if you care about the icon Material uses but if you do...

    Material currently has a JSON file that maps from RadioFrance's PNG file to an SVG that ships with Material. As of Material 2.3.0 plugins can ship with these SVG icons, and Material will use that in prefence to its own. This allows you to use a better, or different icon. To know if a plugin's PNG icon has a matching SVG icon, Material looks at the filename. If this ends in _svg.png then Material expects there to be a matching .svg file. e.g. if you rename your icon to radiofrance_svg.png and copy https://raw.githubusercontent.com/CD...ges/france.svg to radiofrance.svg (place this in the same folder as radiofrance_svg.png) then Material will use this - and I can remove my mapping. When loading SVG files, Material will replace any "#000" string with its desired icon colour. Make sense? This also has the advantage that other control UIs could also use these SVG icons.
    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

  7. #357
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    I had spotted that you had put a map in there and saw the discussions around BBC Sounds and icons.
    I'll take a look but am not a graphics expert.
    I might simply do a grey-scale version of the Radio France logo ... although I'll check their rules as well.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  8. #358
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,739
    Quote Originally Posted by Paul Webster View Post
    I had spotted that you had put a map in there and saw the discussions around BBC Sounds and icons.
    I'll take a look but am not a graphics expert.
    I might simply do a grey-scale version of the Radio France logo ... although I'll check their rules as well.
    Well, for material it needs to be a monochrome SVG - that way Material can use a light icon for dark themes, and dark for light, etc.
    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

  9. #359
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    3,953
    This is the official set ... any thoughts?

    https://charte.dnm.radiofrance.fr/logos.php
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  10. #360
    Senior Member
    Join Date
    Mar 2017
    Posts
    2,739
    Quote Originally Posted by Paul Webster View Post
    This is the official set ... any thoughts?

    https://charte.dnm.radiofrance.fr/logos.php
    How about this? radiofrance.zip (ZIP file as could not attach SVG). Only problem is its similarity to another well know website...
    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

Posting Permissions

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