View Full Version : How to get XBMC library functions to read covers?
I currently have this file structure for videos:
>Movies
>Enchanted.2007.etc
folder.jpg
>Fight.Club.1999.etc
folder.jpg
>TVSeries
>Heroes (2006)
folder.jpg
>Season 1
folder.jpg
>Season 2
folder.jpg
And for music:
All music tagged correctly and read in to library, but not showing embedded covers?
Videos
The only correct covers that show up automatically when a scan is done is the tvshow-covers for the series, the seasons ignore folder.jpg, and movies seems to ignore folder.jpg as well. Any hints? (Please note that scrapers work just fine, I just want my own cover art)
Using latest OSXBMC.
Ehm, sorry, I realised this is the wrong place, just transfer it to wherever it belongs. Thanks.
jmarshall
2008-04-26, 09:19
A couple of things you can try:
1. Go into your movies via fileview - the thumbs should display just fine (assuming you have "fetch remote thumbs" enabled, which it is by default).
2. Check your music database (userdata/database/mymusic7.db) in something like sqlitespy and check what it has listed in the "thumb" column of the songsview. If the thumb table doesn't contain anything, then please supply a couple of files so that we can reproduce.
3. Check you are running latest and greatest version. The log will tell you.
4. Season thumbs I believe are: <root_of_tv_show>/Season*.jpg
Cheers,
Jonathan
1. My movies show the covers fetched through scrapers, even in filemode.
2. It got data. So the information is stored i guess, but not showing, next step?
3. Yep
4. Tried both Season 1.jpg and Season1.jpg, and clearing the library, the scraped cover still remains.
For videos, have you gone through this thoroughly?
http://xbmc.org/wiki/?title=Thumbnails
especially the caching part.
If season thumbs can be assigned via filenames it probably needs documenting,
jmarshall
2008-04-27, 01:18
1. How about if you Movie Info -> Get Thumb - does the local thumb show? What if you try browsing to it? If not, it's a permissions problem. If so, kill ALL your thumbnails (in userdata/thumbnails) and browse via file view - the thumbs should show up just fine.
2. That isn't any use to me. Please be clear: Is there information in the thumbs column of the songview in the db or not?
3. Please be specific on the exact version (Date) as stated in the log.
4. See spiff's reply about the correct naming for seasons.
1. No, it does not show up. If i Browse for it I can select it however.
2. Sorry, the >thumb table< does contain info.
2 /Users/xxx/Library/Application Support/XBMC/UserData/Thumbnails/Music/2/2cdd7f31.tbn
strThumb in the table songview however says NONE.
3. Which log? My Version.plist says 0.4.5, which is the latest osxbmc
Compiled April 6 2008 according to system information
4. Okay, tried this, still getting the scraped season posters.
Structure:
Heroes/
folder.jpg
season2.tbn
Heroes/Season 2/
I've tried resolving this by re-installing, without success.
jmarshall
2008-04-27, 07:49
Argh - you are running the OSX version. That is the key piece of information and I overlooked it in your first post - it may simply be something to do with the port not functioning as it should be.
Moving so those guys can offer suggestions. Please post in there in the future.
ChoccyHobNob
2008-04-27, 15:16
I did some testing on this this morning, I deleted my databases and thumbnails folder and re-added one source, setting its scraper to imdb.
The tree looks like this...
Moviename1
Moviename1/moviename1.mp4
Moviename1/folder.jpg
Moviename2
Moviename2/moviename2.mp4
Moviename2/folder.jpg
BoxSetName1
BoxSetName1/folder.jpg
BoxSetName1/Moviename3
BoxSetName1/Moviename3/moviename3.mp4
BoxSetName1/Moviename3/folder.jpg
BoxSetName1/Moviename4
BoxSetName1/Moviename4/moviename4.mp4
BoxSetName1/Moviename4/folder.jpg
BoxSetName1/Moviename5
BoxSetName1/Moviename5/moviename5.mp4
BoxSetName1/Moviename5/folder.jpg
etc.
In file mode, if you browse around, the thumbnails get picked up correctly. Hitting 'I' or selecting "Movie Information" from the context menu will look up the movie and give back the correct info also picking up the folder.jpg as the thumbnail. If you do a "Refresh" it will look up imdb leaving the folder.jpg as the active thumb, if you do a "Get Thumb" the folder.jpg can be found as "Current Thumb"
If you switch to library mode now, every movie you have looked up will be there but without any thumbnail. Hitting "I" will give you the movie info and change the thumbnail to the remote imdb one. When you switch back to the movie list it now has a thumbnail but its the remote one, going back into "Movie Information" again and selecting "Get Thumb" will now not show the folder.jpg.
Switching back to file view now will still show the folder.jpg thumb. if you select "Movie Information" it will change the thumb and when you come back out it will change there too.
I deleted the databases and thumbnails again, re-added the source again and this time while in file mode I picked "Scan for new content". It goes through, finds all the movies and gives them all remote thumbs, it ignores the folder.jpg. Again if you are in "Movie Information" and select "Get Thumb" it gives you a list of all found thumbs, folder.jpg is not in there.
Ok now I deleted the databases and thumbnails again, re-added the source again and this time while in file mode I looked up one movie so it would let me into library mode. I switched to library mode and selected "Update Library" from the context menu, again it goes through, finds all the movies and gives them all remote thumbs, it ignores the folder.jpg. Again if you are in "Movie Information" and select "Get Thumb" it gives you a list of all found thumbs, folder.jpg is not in there.
I then repeated all these tests on the xbox (Tech build 20 April) and it does exactly the same so you might want to move this back to the general support area, it's not osx specific.
Another oddity I found while doing this is that if you tick the "Enable MoviePosterDB" option in the scraper setting it actually returns less thumbnails. Body of Evidence (1993) does not return a poster at all, it does when MoviePosterDB is disabled! (don't ask why I have a duffer of a movie like Body of Evidence in my collection! :blush: )
Nathaniel
2008-04-27, 16:58
Another oddity I found while doing this is that if you tick the "Enable MoviePosterDB" option in the scraper setting it actually returns less thumbnails. Body of Evidence (1993) does not return a poster at all, it does when MoviePosterDB is disabled! (don't ask why I have a duffer of a movie like Body of Evidence in my collection! :blush: )
Getting the same problem with Planet Terror. With MoviePosterDB disabled, I get a crappy, whitespaced image, but if I enable it I get nothing at all. Most annoying of all, however, is that there's a really good thumb on imdb.com which doesn't get picked up regardless of options. Instead I get the DVD cover with a lot of whitespace around it, which looks absolutely horrible.
showfolder/seasonxx.tbnSorry to go off topic here, but looking at the docs can it be that:
Thumbs for stacked movies should use the name of the first file:
moviename-CD1.tbn
http://xbmc.org/wiki/?title=Thumbnails#Examples_for_User-Defined_Thumbnails:
But nfo's for stacked movies should use the name of the stack?:
moviename.tbn
http://xbmc.org/wiki/?title=Import_-_Export_Library#Video_File_nfo_as_an_XML_file
both will work for both of them
So, any solutions out there? Calling other (OSX)XBMC users, do you have working tv season-covers and/or movie covers?
ChoccyHobNob
2008-04-28, 17:42
yes tv/season covers work fine for me, the movie ones too. But then I just let the scrapers do their thing and only change the covers for my dvd rips manually, I don't rely on folder.jpg or moviename.tbn or anything like that. I have another share just for covers and i manually add from that.
One thing I'd like is to be able to define a thumb:// location that xbmc would auto search for moviename.* and include any it finds in the thumb selection, maybe put the source in advancedsettings.xml
Well, I meant the folder.jpg/moviename.tbn-solution. Selecting works for me as well, I'd just like a solution that works if I movie stuff to other drives, reinstall, etc.
ChoccyHobNob
2008-04-30, 02:22
I did some testing on this this morning, I deleted my databases and thumbnails folder and re-added one source, setting its scraper to imdb.
The tree looks like this...
Moviename1
Moviename1/moviename1.mp4
Moviename1/folder.jpg
Moviename2
Moviename2/moviename2.mp4
Moviename2/folder.jpg
BoxSetName1
BoxSetName1/folder.jpg
BoxSetName1/Moviename3
BoxSetName1/Moviename3/moviename3.mp4
BoxSetName1/Moviename3/folder.jpg
BoxSetName1/Moviename4
BoxSetName1/Moviename4/moviename4.mp4
BoxSetName1/Moviename4/folder.jpg
BoxSetName1/Moviename5
BoxSetName1/Moviename5/moviename5.mp4
BoxSetName1/Moviename5/folder.jpg
etc.
In file mode, if you browse around, the thumbnails get picked up correctly. Hitting 'I' or selecting "Movie Information" from the context menu will look up the movie and give back the correct info also picking up the folder.jpg as the thumbnail. If you do a "Refresh" it will look up imdb leaving the folder.jpg as the active thumb, if you do a "Get Thumb" the folder.jpg can be found as "Current Thumb"
If you switch to library mode now, every movie you have looked up will be there but without any thumbnail. Hitting "I" will give you the movie info and change the thumbnail to the remote imdb one. When you switch back to the movie list it now has a thumbnail but its the remote one, going back into "Movie Information" again and selecting "Get Thumb" will now not show the folder.jpg.
Switching back to file view now will still show the folder.jpg thumb. if you select "Movie Information" it will change the thumb and when you come back out it will change there too.
I deleted the databases and thumbnails again, re-added the source again and this time while in file mode I picked "Scan for new content". It goes through, finds all the movies and gives them all remote thumbs, it ignores the folder.jpg. Again if you are in "Movie Information" and select "Get Thumb" it gives you a list of all found thumbs, folder.jpg is not in there.
Ok now I deleted the databases and thumbnails again, re-added the source again and this time while in file mode I looked up one movie so it would let me into library mode. I switched to library mode and selected "Update Library" from the context menu, again it goes through, finds all the movies and gives them all remote thumbs, it ignores the folder.jpg. Again if you are in "Movie Information" and select "Get Thumb" it gives you a list of all found thumbs, folder.jpg is not in there.
I then repeated all these tests on the xbox (Tech build 20 April) and it does exactly the same so you might want to move this back to the general support area, it's not osx specific.
Another oddity I found while doing this is that if you tick the "Enable MoviePosterDB" option in the scraper setting it actually returns less thumbnails. Body of Evidence (1993) does not return a poster at all, it does when MoviePosterDB is disabled! (don't ask why I have a duffer of a movie like Body of Evidence in my collection! :blush: )
Sorry to be quoting myself but why hasn't this thread moved to the general forum yet? It happens on the XBOX version too so it's not OS X specific...
jmarshall
2008-04-30, 02:34
Unsurprisingly, if you also navigate inside the folder during filemode, the file doesn't have a thumb.
Solution: Don't use folder.jpg - use filename.tbn.
Library mode only knows about movie files. It doesn't know or care whether the file is in a folder that happens to contain a folder.jpg as that is for the folder, not the file(s).
I'm not really sure if there should be a solution to this or not - the movie after all is a file, so should follow the rules for thumbs for files. It shouldn't inherit the folder's thumb, as the folder may be a generic container (genres for instance). There may be a case for inheriting the folder's thumb during a full scan if you enable "Use foldername for movies", but that's the only case I can think of where it'd be valid. It would be a simple check I suspect in the videoinfoscraper to allow this to occur.
Cheers,
Jonathan
Okey jmarshall, did a rescan of my movies, and checked use folder names.
Had this test movie:
Movies/Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV/Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV.mkv
Movies/Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV/Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV.tbn
Movies/Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV/folder.jpg
It didn't grab folder.jpg or Fantastic.Four.Rise.of.the.Silver.Surfer.2007.1080 p.BluRay.DTS.x264-hV.tbn, instead I once again got the scraped one. :/
"use folder names" has nothing to do with thumbs
It tells the scraper to use the foldername to determine what movie it is.
see:
http://xbmc.org/wiki/?title=How_To_use_Scrapers#Options_After_Selecting _Scraper
Scraped thumbs probably take precedence over user submitted ones... but a dev will probably be better equipped to answer that. (If so I will update the docs).
jmarshall
2008-04-30, 03:13
My response was to ChoccyHobNob primarily.
Volante: Your problem I suspect is specific to OSX, as it does it for music as well, which works perfectly on all other platforms.
Unless you can produce the same error on the xbox, or on win32 I'm afraid I can't help you.
As sho points out, and I indicated in my previous post, "Use Folder Names" doesn't currently effect thumbs at all. My post indicated that this may in the future have some bearing on things (allowing inheritance of folder thumb if it exists).
Cheers,
Jonathan
ChoccyHobNob
2008-04-30, 08:28
@jmarshall that sounds like a good solution, its currently a bit inconsistent being able to hit play on the folder to play the movie, hitting 'I' on the folder displays the movie info (and folder.jpg thumb) for the movie, but scraping the folder doesn't pick the thumb up. Even if it doesn't use the folder.jpg on a scrape but includes it in the available thumbs when you select "Get Thumbs" would be ok.
truth with a modification.
IF use folder names is active, the thumb will be assigned to the folder AND the movie, if not it will only be assigned the movie
"Scraped thumbs probably take precedence over user submitted ones... but a dev will probably be better equipped to answer that. (If so I will update the docs)."
If so, that is only partial true, because of the tv series folder.jpg showing up over the scraped ones... Very inconsistent....
sdaniels
2008-11-18, 00:18
I'm the idiot that actually reads the README, FAQ's, and Online Manual. I have also been using XBMC since XBOX 1.0 with my own soldered on TSOP and relay switch for dual boot... WHY DON'T MY COVERS SHOW?
I have XBMC on 3 Apple TVs and the same problem on every one.
I have, Wanted.mkv and Wanted.tbn and Wanted.jpg and Default.jpg and Folder.jpg and Folder.tbn and Default.tbn within the same directory called Movies/Wanted.
NOT A F**K'n 1 WORKS!!!:angry:
But, if I scan using IMDB it will load one of their images just fine.
Problem? I DON'T WANT TO SCAN and as always FIX, every movie I own. I just want it to work as it is suppose to and has always worked in the past.
Using ATVFiles previously I already have MovieTitle.avi and MovieTitle.jpg, by rights I should just have to batch rename the .jpg to .tbn and be done.
ANYONE, know what's going on... and please if it doesn't work, just say so.
sdaniels
2008-11-19, 00:43
I added this to my advancedsettings.xml
<dvdthumbs>
<add>default.jpg|cover.jpg</add>
</dvdthumbs>
and now folder.jpg will show, "f"older.jpg, NO CAP F.
Why? Who knows, the script says nothing about folder.jpg.
What I need to know is XBMCs' handling of filename. can I put...
<dvdthumbs>
<add>$filename.jpg</add>
</dvdthumbs>
Does anyone know?
jmarshall
2008-11-19, 02:22
MovieTitle.tbn will work just fine at the file level. I suspect your problem is you want it to show in Files mode at the folder level. If so, folder.jpg will work there. I don't think the case will matter, but I'm not 100% certain on that.
sdaniels
2008-12-22, 02:02
I have a folder,
Appaloosa
Inside that folder I have...
Appaloosa.tbn
Appaloosa.avi
Appaloosa.jpg
folder.jpg
While in "Videos" with "View: List" using the PM3 HD Skin I select Appaloosa on the Left and on the Right shows the poster "folder.jpg". When I click it and enter the Appaloosa folder I'm still in "View: List" mode so I should see the filename "Appaloosa.avi" on the Left and the "Appaloosa.tbn" poster on the Right... It DOES NOT WORK!!!
Instead I see the filename "Appaloosa.avi" on the Left and the HD Camera "Default" on the right.
Even if I change to "View: Thumbnail" or "View: Wide Icons" it still DOES NOT WORK!!!