mikebrady / shairport-sync-metadata-reader

Sample Shairport Sync Metadata Player
MIT License
126 stars 33 forks source link

a lot of decipher problems - so no Cover Art? #24

Open editwentyone opened 10 months ago

editwentyone commented 10 months ago

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>
".
mikebrady commented 10 months ago

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?

editwentyone commented 10 months ago

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!
mikebrady commented 10 months ago

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

mikebrady commented 10 months ago

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.

editwentyone commented 10 months ago

no worries, thank you :)

mikebrady commented 9 months ago

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 commented 9 months ago

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.

editwentyone commented 9 months ago

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

if the source is HomePod to shairport - no album