Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Senior Member
    Join Date
    Dec 2020
    Posts
    186
    Ah...Okay,

    So this is not specifically about your LMS but that of whomever installs the plugin you created. Maybe I'm oversimplifying it, but can't you just make that Perl module you talk about (which I assume references the zone info files in /usr/share) part of the plugin? I'm not a real big fan myself of local services accessing remote machines other than those that the user specifically intents to target.

    Also, to avoid confusion could you please reference UTC as the zero offset timezone rather than the wintertime component of GMT/BST?

  2. #12
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    4,904
    Everything inside the plugin is UTC.

    The issue is converting into UTC a time given by the broadcaster that has no timezone / DST / UTC offset specified.

    Sure - i could package the Perl library that does similar calculations (including read zone info from whereever it might be) - see the first few messages in this thread for conjecture around that.

    As for accessing remote services ... I broadly agree but sometimes there are compromises.
    Accessing a remote service for timezone info on first play of one of these stations after LMS startup is, in my view, acceptable.
    Last edited by Paul Webster; 2021-04-08 at 14:18.
    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, AllZIC Radio, Caroline Flashback, Cesky rozhlas, Dandelion Radio, Europa Radio Jazz, Frequence3, FSK, JukeRadio, KlassikRadio.de, Linn Radio, Mother Earth, Naim Radio, Nova.fr, RadioBlues Flac, Radio Espace, Radio Swiss, RTE Ireland, Somehow Jazz, Supla Finland

Posting Permissions

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