Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35
  1. #21
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,580
    Quote Originally Posted by Paul Webster View Post
    I have not looked at the jb-radio2 streams to see what is in there ... but the Now Playing info on their web page comes from
    https://jbradio2.com/web/web/playing.php
    .
    Hi Paul

    This is the same as used by TuneIn.

    When they were promoting the flac stream it used to playback flac in the web browser, now it's mp3

    ronnie

  2. #22
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,906
    I thought some more about it ...
    If you really can hear a difference between the flac stream and their 320k MP3 then next step is to work out where foobar2000 gets the metadata from.

    TuneIn probably has it because the radio station pushes the data to TuneIn using a TuneIn proprietary API (I do the same for a station I am involved with).

    If TuneIn knew about the flac stream and offered it to LMS players then LMS would show the song info if the favourite URL was set to a TuneIn one.

    So, if the station cannot get TuneIn to add the flac URL then rather than trying to parse the station HTML it might be possible to trick LMS into thinking that the stream URL came from TuneIn ... or replicate some of the TuneIn code and fetch the song info from there.

    If foobar2000 is finding the song info within the flac stream itself then LMS, with a software update, should be able to do the same.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  3. #23
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,580
    Paul,

    this is the stream I'm interested in (JB no longer offer the flac stream )

    http://199.189.87.9:10999/opus-512

    Name:  LMS.png
Views: 58
Size:  87.6 KB

    and this is the same stream in foobar

    Name:  foobar.png
Views: 59
Size:  65.2 KB

    ronnie

  4. #24
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,906
    Ok - but same theories apply.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  5. #25
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,580
    Quote Originally Posted by Paul Webster View Post
    Ok - but same theories apply.
    Agree

  6. #26
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,906
    LMS is getting the info from the SHOUTcast/Icecast ICY metadata
    See here with regular browser
    http://199.189.87.9:10999/

    I presume that Opus streaming hides the metadata elsewhere in the stream ... next thing to research.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  7. #27
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,580
    Quote Originally Posted by Paul Webster View Post
    LMS is getting the info from the SHOUTcast/Icecast ICY metadata
    See here with regular browser
    http://199.189.87.9:10999/

    I presume that Opus streaming hides the metadata elsewhere in the stream ... next thing to research.
    See, I don't how, even, to find the Icecast streams.

    I thought they had abandoned the flac stream as the url would not play.

    I like JB radio as an alternative to Radio Paradise (when I'm not playing fip (which is almost my default station stream )

    ronnie

  8. #28
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    2,906
    I suspect that changing Slim/Player/Protocols/HTTP.pm "elsif" to "if" /might/ make it work - but that would be a hack.

    Code:
    # Check for Ogg metadata, which is formatted as a series of
    	# 2-byte length/string pairs.
    elsif ( $metadata =~ /^Ogg(.+)/s ) {
    Perhaps the "if" condition above it should be changed to not do the ICY processing if the Ogg check matches - or change the conditions around and always do Ogg if present.

    I only have a pCP LMS here so testing this is harder because I have to look up how to make that part of the LMS installation writeable.
    Paul Webster
    http://dabdig.blogspot.com
    Author of "Now Playing" plugins covering Radio France (FIP etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland

  9. #29
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,452

    icons for favorites

    > That is if stream is added directly to LMS favorites then i can see
    > title/author being displayed, but NOT album art.
    > If the same goes through tunein then album picture is visible.


    I didn't read all of this thread. But TuneIn handles the artwork on
    their end. They'd use track/artist information from the station to
    provide artwork. But you have to go through a TuneIn URL to get this.

    Providing artwork in the URL AFAIK has no official standard support, but
    an inofficial way including a URL in the title information of a
    Shoutcast type stream.

    --

    Michael

  10. #30
    Senior Member
    Join Date
    Jan 2011
    Location
    Staffordshire. UK
    Posts
    3,580
    Quote Originally Posted by Paul Webster View Post
    I suspect that changing Slim/Player/Protocols/HTTP.pm "elsif" to "if" /might/ make it work - but that would be a hack.

    Code:
    # Check for Ogg metadata, which is formatted as a series of
        # 2-byte length/string pairs.
    elsif ( $metadata =~ /^Ogg(.+)/s ) {
    Perhaps the "if" condition above it should be changed to not do the ICY processing if the Ogg check matches - or change the conditions around and always do Ogg if present.

    I only have a pCP LMS here so testing this is harder because I have to look up how to make that part of the LMS installation writeable.

    So I have set up a new LMS on rpi4b Buster-Lite

    I can stop LMS from running and navigate to

    Code:
    sudo nano /usr/share/perl5/Slim/Player/Protocols/HTTPS.pm
    what do you want me to do ?

    ronnie

    Back in a hour or so

    Just the meta-data would be fine

Posting Permissions

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