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.
Results 31 to 40 of 65
Thread: Metadata in FLAC streams
-
2020-08-26, 15:00 #31
- Join Date
- May 2008
- Location
- Canada
- Posts
- 6,535
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
-
2020-08-26, 15:09 #32
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,960
-
2020-08-26, 15:13 #33
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,270
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
-
2020-08-26, 15:14 #34
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,960
-
2020-08-26, 15:16 #35
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,270
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
-
2020-08-26, 15:23 #36
- 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.
-
2020-08-26, 15:28 #37
- 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.
-
2020-08-26, 15:32 #38
- Join Date
- Feb 2011
- Location
- Cheshire, UK
- Posts
- 5,270
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
-
2020-08-26, 15:36 #39
- Join Date
- Oct 2005
- Location
- Ireland
- Posts
- 19,960
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.
-
2020-08-27, 08:06 #40
- 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.
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