Album Art Sizing

Posted on
Tue Mar 07, 2017 12:10 am
chrisfromthelc offline
Posts: 38
Joined: Oct 08, 2014

Album Art Sizing

Using the dialog box settings, the album art download seems to ignore the size requirement. Should I designate pixels (ex: "125px")?

It doesn't matter what the Art To Download selection is, it seems to ignore the sizing no matter what. My goal is to use the image on a control page screen, so consistent sizing is important.

Any ideas?
Attachments
Screen Shot 2017-03-06 at 11.08.03 PM.png
Screen Shot 2017-03-06 at 11.08.03 PM.png (83.06 KiB) Viewed 1709 times

Posted on
Tue Mar 07, 2017 8:29 am
RogueProeliator offline
User avatar
Posts: 2446
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Album Art Sizing

It doesn't matter what the Art To Download selection is, it seems to ignore the sizing no matter what. My goal is to use the image on a control page screen, so consistent sizing is important.

Are you seeing that one of the dimensions (width or height) is being set to 125, but the other is not?

Posted on
Thu Jul 06, 2017 2:56 am
kelmk offline
Posts: 83
Joined: May 17, 2017

Re: Album Art Sizing

I have the same issue. The image is not resizing at all no matter what I set resize to.

Posted on
Thu Jul 06, 2017 9:23 am
RogueProeliator offline
User avatar
Posts: 2446
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Album Art Sizing

Turn on debugging for the plugin and see if anything shows up in the logs... also, can you open a terminal and type in "sips" and enter? This should be included in all OS X versions, but let's just make sure. It will return some brief info about usage if it is found, otherwise you'll see the standard "file not found" type error message.

Adam

Posted on
Sat Jul 08, 2017 3:16 pm
kelmk offline
Posts: 83
Joined: May 17, 2017

Re: Album Art Sizing

Trigger save plex art
Plex Media Server Manager Debug Scheduling download of art at /library/metadata/13185/thumb/1493146035
Plex Media Server Manager Debug Processing GET operation: (u'http', u'/library/metadata/13185/thumb/1493146035', u'', u'', u'', u'/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png', 150, 0)
Plex Media Server Manager Debug /Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png resized via sip shell command

in terminal

sips
sips 10.4.4 - scriptable image processing system.
This tool is used to query or modify raster image files and ColorSync ICC profiles.
Its functionality can also be used through the "Image Events" AppleScript suite.
Try 'sips --help' or 'sips --helpProperties' for help using this tool

Thanks
Attachments
Screen Shot 2017-07-09 at 9.15.36 AM.png
Screen Shot 2017-07-09 at 9.15.36 AM.png (77.03 KiB) Viewed 1430 times

Posted on
Sat Jul 08, 2017 3:20 pm
kelmk offline
Posts: 83
Joined: May 17, 2017

Re: Album Art Sizing

I turned up the debug level and ran it again.

Trigger save plex art
Plex Media Server Manager Debug Scheduling download of art at /library/metadata/13185/thumb/1493146035
Plex Media Server Manager Threaddebug Command queue has 1 command(s) waiting
Plex Media Server Manager Debug Processing GET operation: (u'http', u'/library/metadata/13185/thumb/1493146035', u'', u'', u'', u'/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png', 150, 0)
Plex Media Server Manager Threaddebug Added authentication token to request
Plex Media Server Manager Threaddebug Command Response: [200] -=- binary data written to /Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png-=-
Plex Media Server Manager Threaddebug Executing resize via command line "sips -Z 150 /Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png"
Plex Media Server Manager Debug /Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png resized via sip shell command

running this command in the terminal

sips -Z 150 /Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/images/controls/static/plexArt.png
Warning: /Library/Application not a valid file - skipping
Warning: Support/Perceptive not a valid file - skipping
Warning: Automation/Indigo not a valid file - skipping
Warning: 7/IndigoWebServer/images/controls/static/plexArt.png not a valid file - skipping
Error 4: no file was specified

seems it's messing up because it's not escaping the spaces in the path

This works

sips -Z 150 /Library/Application\ Support/Perceptive\ Automation/Indigo\ 7/IndigoWebServer/images/controls/static/plexArt.png

Posted on
Mon Jul 10, 2017 12:23 pm
RogueProeliator offline
User avatar
Posts: 2446
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Album Art Sizing

Agreed - it does appear to have lost its encoding somehow... I'll take a look and get a fix out.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest