Home of the Squeezebox™ & Transporter® network music players.
Page 16 of 16 FirstFirst ... 6141516
Results 151 to 158 of 158
  1. #151
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    2,397
    Quote Originally Posted by StephenC View Post
    I haven't tried a huge number of programmes, but those I have (from Radio 4 A-Z) have been ok.

    Maybe we have a small stay of execution...

    Stephen.
    Same here.
    LMS 7.9 on VortexBox Midi box, Xubuntu 16.04, FLACs 16->24 bit, 44.1->192kbps.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 16.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
    Also a Touch with EDO, plus spare, unused.

  2. #152
    Junior Member
    Join Date
    Sep 2016
    Posts
    20
    So it's working again, which is very good news!

    (As an aside, I use this almost every day, so I'm very pleased and the thanks due to bpa from me for his tireless work building and supporting it are immense.)

    When I spoke about the JSON feeds a few posts back, it looked like everything had been switched off, those included. Now it looks like the May 2017 date might actually be accurate, hopefully the JSON continuation will also pan out for the feeds that Extra relies on. Am I right in thinking that an "ExtraJSONParser.pm" and a change to the URL extensions in "default.opml" is what is needed to take advantage of this possibility (and presumably a tweak somewhere to call the JSON parser rather than the XML one)? I'm assuming(!) that a clone of "ExtraXMLParser.pm" but with the XML parser replaced with a suitably wired JSON one from CPAN will be relatively straightforward.

  3. #153
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    14,503
    Quote Originally Posted by BobSammers View Post
    So it's working again, which is very good news!
    It is just a short reprieve.

    When I spoke about the JSON feeds a few posts back, it looked like everything had been switched off, those included. Now it looks like the May 2017 date might actually be accurate, hopefully the JSON continuation will also pan out for the feeds that Extra relies on. Am I right in thinking that an "ExtraJSONParser.pm" and a change to the URL extensions in "default.opml" is what is needed to take advantage of this possibility (and presumably a tweak somewhere to call the JSON parser rather than the XML one)? I'm assuming(!) that a clone of "ExtraXMLParser.pm" but with the XML parser replaced with a suitably wired JSON one from CPAN will be relatively straightforward.
    If only.

    If you look at the default.opml file - you'll see that each feed has its own parser - each of the 5 parsers would need to be updated. JSON also has some quirks compared to XML so it is never just a quick change of library call from "XMLin" to "from_json" as there are different ways of handling data structures (arrays vs list), missing items and defaults values.

    If JSON feeds are only going to work for a short time - is it worth the effort ? It would be better to spend time on a more durable solution.

  4. #154
    Junior Member
    Join Date
    Sep 2016
    Posts
    20
    Ok - that's more complicated than I was hoping.

    Quote Originally Posted by bpa View Post
    If JSON feeds are only going to work for a short time - is it worth the effort ? It would be better to spend time on a more durable solution.
    If "durable" = "screen scraping", that's an interesting use of the word. What I'm wondering is if JSON will last until Nitro is the alternative, assuming it ever is allowed out to the public. You said earlier that Nitro didn't currently seem viable. Was that because of problems with privately assigned keys in an open source application (or some other specific issue your investigation turned up) or because you don't think public access is on the horizon?

    You probably have a better idea of a) how long the JSON extension is likely to last and b) whether the promises of public access to Nitro will ever come to fruition, assuming that would help. If not, the question is whether a few months (maybe longer?) of avoiding the probable instability of playing catchup to iPlayer web page changes (if that is the durable solution) would be worth it - but you've already indicated you don't think that is the case.
    Last edited by BobSammers; 2017-03-16 at 07:39.

  5. #155
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    2,397
    Quote Originally Posted by BobSammers View Post
    .....If "durable" = "screen scraping", that's an interesting use of the word.
    See #145 - bpa definitely doesn't think that
    LMS 7.9 on VortexBox Midi box, Xubuntu 16.04, FLACs 16->24 bit, 44.1->192kbps.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 16.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
    Also a Touch with EDO, plus spare, unused.

  6. #156
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    14,503
    Quote Originally Posted by PasTim View Post
    See #145 - bpa definitely doesn't think that
    Agree - screen scraping is not durable but it is the last resort. With "screen scraping" I create a stick to beat myself.

  7. #157
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    14,503
    Quote Originally Posted by BobSammers View Post
    What I'm wondering is if JSON will last until Nitro is the alternative, assuming it ever is allowed out to the public. You said earlier that Nitro didn't currently seem viable. Was that because of problems with privately assigned keys in an open source application (or some other specific issue your investigation turned up) or because you don't think public access is on the horizon?

    You probably have a better idea of a) how long the JSON extension is likely to last and b) whether the promises of public access to Nitro will ever come to fruition, assuming that would help. If not, the question is whether a few months (maybe longer?) of avoiding the probable instability of playing catchup to iPlayer web page changes (if that is the durable solution) would be worth it - but you've already indicated you don't think that is the case.
    At this stage, 2 years after announcement, I don't think Nitro is going public. Even BBC talked about a modded Nitro for non BBC users. T&Cs will only work for single user or compiled into an app otherwise every user has to get their own key !
    A quick looking at the way BBC apps work - there might be use of websockets which may be another more secure API.

    Eventually it comes down to whether vendors wants to offer specialised products (e.g. internet radios) which makes uses program data for on demand. If not then there is no "demand" for a public API beyond the current vendor XML feed.

  8. #158
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    2,397
    Quote Originally Posted by bpa View Post
    Agree - screen scraping is not durable but it is the last resort. With "screen scraping" I create a stick to beat myself.
    Please don't. You do far too much for us all as it is
    LMS 7.9 on VortexBox Midi box, Xubuntu 16.04, FLACs 16->24 bit, 44.1->192kbps.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 16.04 laptop firefox/upplay or Android 'phone with Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
    Also a Touch with EDO, plus spare, unused.

Posting Permissions

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