Page 1 of 1

Subsonic & Sonos Album/Folder Art

PostPosted: Sun Aug 09, 2020 1:07 pm
by RATTY
Hi
On Sonos the Album art works on single albums. My music is saved in Music/A/Artists/Albums.

I'd like to see a graphic for A & Artist. I've tried saving a folder.jpg but not seeing it in the Sonos App.

Any ideas if this could work?

Cheers

John

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Sun Aug 09, 2020 3:09 pm
by RATTY
Just found this in the logs

[2020-08-09 14:06:47,756] WARN CoverArtController - Failed to process cover art /home/jad/storage/Music/Music A to Z/A/Alices Orb - Even The Grass Is Full Of Acid [UK neo psychedelic 1992] Strangely Brown SB 8/front.JPG: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Mon Aug 10, 2020 11:15 am
by 3Dscrewer
you didn't say what OS you are using, that's mandatory to know

so read by yourself
https://stackoverflow.com/questions/115 ... ermanently

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Mon Aug 10, 2020 8:03 pm
by RATTY
Apologies

Subsonic resides Ubuntu 18.04

Using Ipad with Sonos S1 App

Cheers

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Wed Aug 12, 2020 6:48 am
by 3Dscrewer
First you have to remove the heap space problem as you can see at the link above

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Wed Aug 12, 2020 8:09 pm
by RATTY
Hi Followed JAVA advice in link and get this
Picked up _JAVA_OPTIONS: -Xmx1g
VM settings:
Max. Heap Size (Estimated): 910.50M
Ergonomics Machine Class: server
Using VM: OpenJDK 64-Bit Server VM

But still getting errors
[8/12/20 8:47:39 PM BST] WARN CoverArtController Failed to process cover art /home/jad/storage/Music/Various & OST/VA - G/VA - Gyro Records/VA - 025 Feelin Bad/folder.jpg: javax.imageio.IIOException: Incompatible color conversion
[8/12/20 8:48:04 PM BST] WARN CoverArtController Failed to process cover art /home/jad/storage/Music/Music A to Z/M/Music Machine/Music Machine - The Ultimate Turn On 1966-67/Back Cover.jpg: java.lang.OutOfMemoryError: Java heap space

Re: Subsonic & Sonos Album/Folder Art

PostPosted: Fri Aug 14, 2020 6:55 am
by 3Dscrewer
That's interesting, I have a huge Database > 200K and so far 99% are with cover Art, I have never had a problem like that. What size is the folder.jpg? Is it realy a jpg or renamed tiff or something else?
All my files have the cover included into the Tags plus folder.jpg in each folder. BUT I have always 500x500px and the file size is always optimized so most of my cover art has only 30-60kb.
I'm using XNview to edit the cover, but since using primary Windows, I'm using not the MP Version.
https://www.xnview.com/en/
If you are not so familiar with linux, here how to
https://linuxhint.com/xnview-mp-ubuntu-linux-mint/

Inside XNview for resize Shift-S
and save in optimzed size Strg-Alt-S
In my opinion the second failure (Heap Space) is because the folder.jpg