Posts: 55
Joined: Mar 2015
Reputation:
0
It sure does. Thanks.
And I tried that, but it doesn't seem to work. Maybe the problem is I'm not looking in the right place. When I save a PNG as "folder.jpg" what exactly should I do to see it manifest?
Posts: 1,415
Joined: May 2009
Reputation:
47
helta
Posting Freak
Posts: 1,415
So when you re-scan your music library (it is scanned in, isn't it?), it should now appear as the album cover art when you are browsing your music.
Posts: 31,445
Joined: Jan 2011
(2015-06-10, 19:33)helta Wrote: You're right, its not terribly clear. But this should answer your question I guess.
Quote:Note that folder.jpg must be named .jpg, even if it is a .png format image.
Hmm, that seems like something that could be easily fixed (maybe). I wonder if there is a Trac ticket for this.
Posts: 8,966
Joined: Feb 2011
Reputation:
426
I must say suggesting that a jpeg is renamed to be a .png sounds like an almighty hack.
That's going to cause a lot of confusion for any image editing programs.
Posts: 31,445
Joined: Jan 2011
I'm guessing we just need to add .png to the default accepted names?
https://github.com/xbmc/xbmc/blob/master...s.cpp#L265
Posts: 5,246
Joined: Jul 2012
Reputation:
339
2015-06-10, 21:37
(This post was last modified: 2015-06-10, 21:42 by scott967.)
I've used that trick elsewhere. For image editing programs, I find they read the image header to determine the image format and don't care about the extension (at least for common image types). It's really no different than tbn versus jpg/png.
But aside from core Kodi, I have seen in skins where images are displayed using code that reads a skin-setting file path concatenated with an infolabel.jpg so it's hard coded n the skin file to jpg.
scott s.
.
Posts: 1,415
Joined: May 2009
Reputation:
47
helta
Posting Freak
Posts: 1,415
I'm not sure how you don't know if its working or not.
Place a folder.jpg in an album folder.
Update the Music LIbrary:
Go to Music->Artist-> Find the album you placed the folder.jpg in.
Is the album cover there?
Posts: 55
Joined: Mar 2015
Reputation:
0
But how do I know which album to look at? All I know is I've put a JPEG in a directory and what the full path of that folder is. Which album do I go to to find it? Kodi doesn't provide a means to identify the directories with which albums are associated. With some error-prone sleuthing I can infer which album to look at, but when I don't see the album art there, that only adds to the confusion.
Posts: 55
Joined: Mar 2015
Reputation:
0
Follow up: it seems that the PNGs (when named "folder.jpg") will be recognized and used for album artwork, but it takes more than just a simple library scan. It also takes a lot of time and head-scratching.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
For some reason I thought you were trying to interpret your metadata.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.