flattermann;527595 Wrote: 
> FYI: I've tried 7.5-embedded on my Debian PPC today, and everything
> works out-of-the-box using Sqlite...
> 
> I didn't expect that... ;-)

Well, rejoiced too soon! ;-)

I've got some problems with cover art resize @r30403.

Let's say I have a 300x300 cover art for covertart id 38ad3c29.

I get this 300x300 cover art without problems using:
http://192.168.178.11:9000/music/38ad3c29/cover.png (get 300x300)

I can also get resized thumbnails (50x50):
http://192.168.178.11:9000/music/38ad3c29/cover_50x50_F.png (get
50x50)

Infact, resize works as long as the returned size differs from the
original size:
http://192.168.178.11:9000/music/38ad3c29/cover_299x299_F.png *works
(get 299x299)*
http://192.168.178.11:9000/music/38ad3c29/cover_300x300_F.png *does not
work (expected 300x300)*
http://192.168.178.11:9000/music/38ad3c29/cover_300x300.png *does not
work (expected 300x300)*
http://192.168.178.11:9000/music/38ad3c29/cover_400x400.png *works (get
400x400)*
http://192.168.178.11:9000/music/38ad3c29/cover_400x400_s.png *works
(get 400x400)*
http://192.168.178.11:9000/music/38ad3c29/cover_400x400_S.png *does not
work (expected 300x300)*
http://192.168.178.11:9000/music/38ad3c29/cover_400x400_f.png *works
(get 400x400)*
http://192.168.178.11:9000/music/38ad3c29/cover_400x400_F.png *does not
work (expected 300x300)*

The problem seems to only exist if the requested artwork size *is the
same* as the original size, but only the format differs (in this case
JPG -> PNG).


Code:
--------------------
    
  [10-03-24 12:14:15.0192] Slim::Web::Graphics::artworkRequest (77) Artwork 
request: music/38ad3c29/cover_300x300.png
  [10-03-24 12:14:15.0208] Slim::Web::Graphics::artworkRequest (116)   Resize 
specification: 300x300
  [10-03-24 12:14:15.0224] Slim::Web::Graphics::artworkRequest (266)   
Resizing: /crypto/mp3/Artists A-G/Acoustic Alchemy/The Very Best Of Acoustic 
Alchemy/cover.jpg using spec 300x300
  [10-03-24 12:14:15.0244] Slim::Utils::Misc::msg (1164) Warning: 
[12:14:15.0235] Loading image from /crypto/mp3/Artists A-G/Acoustic Alchemy/The 
Very Best Of Acoustic Alchemy/cover.jpg
  [10-03-24 12:14:15.0256] Slim::Utils::Misc::msg (1164) Warning: 
[12:14:15.0249]   Using JPEG scaling (target 300x300)
  [10-03-24 12:14:15.0497] Slim::Utils::Misc::msg (1164) Warning: 
[12:14:15.0486]   Got pre-scaled image of size 300x300
  [10-03-24 12:14:15.0512] Slim::Utils::ImageResizer::sync_resize (137) Error 
resizing /crypto/mp3/Artists A-G/Acoustic Alchemy/The Very Best Of Acoustic 
Alchemy/cover.jpg: Can't use an undefined value as a SCALAR reference at 
/usr/share/perl5/Slim/Utils/ArtworkCache.pm line 98.
  [10-03-24 12:14:15.0524] Slim::Web::Graphics::__ANON__ (293)   Resize failed, 
returning 500
  [10-03-24 12:14:15.0532] Slim::Web::Graphics::__ANON__ (295) Artwork resize 
for music/38ad3c29/cover_300x300.png failed
  
--------------------


Should I file a bug?


-- 
flattermann

Home of 'SqueezeCommander' (http://www.squeezecommander.com) - The
SqueezeBox Remote Control App for Android
------------------------------------------------------------------------
flattermann's Profile: http://forums.slimdevices.com/member.php?userid=33169
View this thread: http://forums.slimdevices.com/showthread.php?t=71768

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to