Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 65
  1. #31
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,535
    Quote Originally Posted by d6jg View Post
    Interesting
    On mp3 stream Iím seeing updates in all iOS apps I have tried, all PC apps and when played by any SB Player hardware or software. I have not tried with any Linux tools.
    Pretty sure I can add an icy-metaint to the headers if itís missing and really required but how are all of the apps / software / SB players consuming it if itís not there?
    The server should only insert icy-metaint when the client added a header request "icy-metadata" (from top of my memory). AFAIK, LMS adds that and when player is doing direct streaming, it tells the player to look for it. Squeezelite handles icy-interval and then sends back the string it receives every "icy-metaint" to LMS. In proxied, LMS does that on his own.

    In summary :

    - a client that can handle icy, sends a header "icy-metadata" in its GET request
    - a server than can send icy adds a "icy-metaint" with the byte interval
    - in the stream, every "icy-metaint", a few bytes are inserted with the updated (if any) "StreamTitle= and StreamUrl=" string.
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

  2. #32
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,960
    Quote Originally Posted by d6jg View Post
    Interesting
    On mp3 stream Iím seeing updates in all iOS apps I have tried, all PC apps and when played by any SB Player hardware or software. I have not tried with any Linux tools.
    Pretty sure I can add an icy-metaint to the headers if itís missing and really required but how are all of the apps / software / SB players consuming it if itís not there?
    I see the change on LMS. Need to enable some logging to find out how this happens.

  3. #33
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,270
    Quote Originally Posted by philippe_44 View Post
    The server should only insert icy-metaint when the client added a header request "icy-metadata" (from top of my memory). AFAIK, LMS adds that and when player is doing direct streaming, it tells the player to look for it. Squeezelite handles icy-interval and then sends back the string it receives every "icy-metaint" to LMS. In proxied, LMS does that on his own.

    In summary :

    - a client that can handle icy, sends a header "icy-metadata" in its GET request
    - a server than can send icy adds a "icy-metaint" with the byte interval
    - in the stream, every "icy-metaint", a few bytes are inserted with the updated (if any) "StreamTitle= and StreamUrl=" string.
    Thatís useful info. So itís the client that says ďI can consume metadata if you send itĒ and the server then supplies the icy-metaint if thatís the case?

    What is expected in StreamURL ?
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  4. #34
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,960
    Quote Originally Posted by d6jg View Post
    That’s useful info. So it’s the client that says “I can consume metadata if you send it” and the server then supplies the icy-metaint if that’s the case?

    What is expected in StreamURL ?
    URL for cover/track image or whatever image you like.

  5. #35
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,270
    Quote Originally Posted by bpa View Post
    URL for cover/track image or whatever image you like.
    Thatís exactly what info I was looking for. Thanks.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  6. #36
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,960
    Couldn't see it I'll look more in the morning but VLC doesn't update title either, so I'm pretty sure the metadata mechanism in use now is not "normal" icy.

  7. #37
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,960
    Final go - enabled player.streeaming.remote - and LMS logs all the iCY data your server is sending.

  8. #38
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,270
    Quote Originally Posted by bpa View Post
    Final go - enabled player.streeaming.remote - and LMS logs all the iCY data your server is sending.
    Thanks
    I will do that in the morning
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  9. #39
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    19,960
    Quote Originally Posted by d6jg View Post
    Thanks
    I will do that in the morning
    The only I idea I have at this late hour is the metadata interval has a default value. The "StreamTitle" data seems to be very frequent in the stream - far more frequent than "normal" mp3 stream with icy data.

    edit:

    Adding logging into LMS and not sure why I didn't see it before but icy-metaint header is there and is set for 16384.
    Code:
    [20-08-26 23:43:39.4878] Slim::Player::Protocols::HTTP::parseDirectHeaders (557) Headers  [
      "Date: Wed, 26 Aug 2020 22:43:39 GMT\r\n",
      "Server: rocketstreamingserver\r\n",
      "Content-Type: audio/mpeg\r\n",
      "icy-metaint: 16384\r\n",
      "icy-br: 128\r\n",
      "ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2\r\n",
      "icy-description: \r\n",
      "icy-genre: Mainly Rock\r\n",
      "icy-name: Juke Radio 128kbps mp3\r\n",
      "icy-pub: 1\r\n",
      "icy-samplerate: 44100\r\n",
      "icy-url: https://jukeradio.double6.net/\r\n",
      "Cache-Control: max-age=0, no-cache, no-store\r\n",
      "Pragma: no-cache\r\n",
      "Expires: Wed, 26 Aug 2020 22:43:39 GMT\r\n",
      "Access-Control-Allow-Origin: *\r\n",
      "Connection: close\r\n",
    ]
    Last edited by bpa; 2020-08-26 at 15:45.

  10. #40
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,270
    @michael
    Going back to the original point that song info from my FLAC(Ogg) stream was not being displayed in some instances I have managed to find the time to update a couple of Pi's and do some analysis.

    In the attached "X" means that meta data is not updated

    The problem players are

    SB Touch (doh!)
    iPeng
    piCorePlayer but ONLY when it also the server

    Unfortunately I do not have a Transporter or a Duet so can't confirm the status.

    Just to restate in ALL cases mp3 metadata is fine.

    Name:  2020-08-27 16_01_01-SqueezeAnalysis.xlsx - Saved.jpg
Views: 53
Size:  109.5 KB
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

Posting Permissions

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