shairport-sync-metadata-reader icon indicating copy to clipboard operation
shairport-sync-metadata-reader copied to clipboard

a lot of decipher problems - so no Cover Art?

Open editwentyone opened this issue 6 months ago • 8 comments

hi, I'm running this reader shairport-sync-metadata-reader < /tmp/shairport-sync-metadata and the main app with latest build from source and meta flag activated.

but I can't see the image / cover art anymore (was running a year ago). I get a lot of decipher errors in the log

Metadata bundle "3953998356" end.

XXX Could not decipher: "</data></item>
".
End data tag not seen, "</data></data></item>" seen instead.

…

Progress String "ܩx?*^".

XXX Could not decipher: "<data encoding="base64">
".

XXX Could not decipher: "AA==</data></item>
".
"core" "caps": 0x01

…

"ssnc" "mden": 0x31343435363536353331
End data tag not seen, "63</type><code>70666672</code><length>0</length></item>" seen instead.
"ssnc" "mdst": 0xB5E98002DCA9780EF7EF

XXX Could not decipher: "</item>
".
"ssnc" "PICT"
End data tag not seen, "</data><item><type>73736e63</type><code>6d647374</code><length>1" seen instead.
Error -- unexpected characters at the end of a base64 section.
"ssnc" "pcen": 0x32323137333137303339

XXX Could not decipher: "<data encoding="base64">
".

XXX Could not decipher: "MjIxNzMzMDY2Mw==<item><type>73736e63</type><code>70617573</code><length>0</length></item>
".
"ssnc" "pffr"
End data tag not seen, "63</type><code>7063656e</code><length>10</length>" seen instead.
"ssnc" "pcst": 0xB5E98002DCA9780EF7EF

XXX Could not decipher: "<data encoding="base64">
".

XXX Could not decipher: "MTc4NjE3NzExNA==</data></item>
".

editwentyone avatar Dec 26 '23 15:12 editwentyone

Thanks for the post, and apologies for the delay. Let me check this out. Could you run:

$ shairport-sync --displayConfig

and post the results, please?

mikebrady avatar Dec 29 '23 12:12 mikebrady

hey, thanks for taking this ticket, could also pinpoint it to the HomePods!

when I stream from my iPhone the the HomePods and my magic mirror (shairport), I get the cover. if I instruct my HomePods to be the master and play the music and also stream to the magic mirror (shairport), I can't see the cover. that's the only difference. maybe it helps also.

>> Display Config Start.

From "uname -a":
 Linux jarvis 5.10.103-v8+ #1529 SMP PREEMPT Tue Mar 8 12:26:46 GMT 2022 aarch64 GNU/Linux

From /etc/os-release:
 Debian GNU/Linux 10 (buster)

From /sys/firmware/devicetree/base/model:
 Raspberry Pi 4 Model B Rev 1.4

Shairport Sync Version String:
 4.3.3-dev-6-ge36ec5c4-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc

Command Line:
 shairport-sync --displayConfig

Configuration File:
 /etc/shairport-sync.conf

Configuration File Settings:
 metadata : 
 {
   enabled = "yes";
   include_cover_art = "yes";
   pipe_name = "/tmp/shairport-sync-metadata";
   pipe_timeout = 5000;
 };

>> Display Config End.
>> Goodbye!

editwentyone avatar Dec 30 '23 19:12 editwentyone

Thanks. It’ll take a few days to check this out.

mikebrady avatar Dec 30 '23 22:12 mikebrady

Hello again. Unfortunately, I'll be away from my computers until the end of January, but I'll take a closer look at it then. Apologies for the delay.

mikebrady avatar Jan 06 '24 14:01 mikebrady

no worries, thank you :)

editwentyone avatar Jan 09 '24 16:01 editwentyone

Hello again. I've just tried this casually on an internal build of Shairport Sync and it seems to be behaving properly. Let me try it on at the same build as you report here. Is there any particular track/album I should try?

mikebrady avatar Jan 28 '24 20:01 mikebrady

So, I've tried this with the following build:

4.3.3-dev-6-ge36ec5c4-AirPlay2-smi10-OpenSSL-Avahi-ALSA-soxr-metadata-sysconfdir:/etc

The metadata is coming through without begin garbled, but there is no artwork coming through from a HomePod mini -- the pictures are empty.

However, artwork is coming through from other sources, e.g. the iPhone Classic app, the iPhone "Radio Svizzera Classica" app, so it seems to a HomePod mini issue.

HomePod OS is 17.3, iOS is 17.3.

mikebrady avatar Jan 29 '24 12:01 mikebrady

exactly. if the source is iPhone to HomePods & shairport - no issues.

if the source is HomePod to shairport - no album

editwentyone avatar Jan 30 '24 09:01 editwentyone