March 16th, 2010
  • Hi, I have two quick questions about the video library and the scaper:

    a) The wiki states I should name my movies correctly with the year tag at the end. Now there is an option in xbmc to use folder names instead of file names, when this is checked is the folder name always used before the file name when scanning ? I have my folders setup like this:

    smbshare:/movies/Some Film (2007)/strangesceneconvention_filename.avi

    If I check the option to use folder names, is it sufficient to rename the folders correctly, or should I rename the file names also ?

    b) When updating to the latest t3ch release, I also reorganized my server holding my files and rescanned my whole movie collection. Now, the scraper didn't find all the movie posters that were there beforce, even after manualy pressing the info button for the relevant folders. The only thing I changed in XBMC is changing the value for the thumb/poster size, I upped it to 512 from the default value. Is this setting an absolute value, and if posters are not found in that resolution they are not downloaded at all, or is this a "maximum" kind of value, that looks for posters in that size and if they are not found a smaller value is taken (or is it just a resolution the downlaoded images are resized to?) ? Didn't really find info in the wiki on what this value means, maybe somebody could point me in the right direction if I missed something ?

    Thanks !


  • I can confirm that Enchanted doesn't show up right - that's one of the posters I was missing too.

    I prefer to organize as such:

    \SERVERmovies .avi files

    I name my movies like "Enchanted (2007).avi"

    The .nfo program works great for me - I also download the movie posters so XBMC doesn't have to re-grab each one - just save the jpeg as a .tbn file (i.e., in your browser, right-click, save image as... and then put in "Enchanted (2007).tbn" - include the quotes so Windows doesn't add on a .jpg extension after that)


  • One more bump in case this got overlooked or is something I did wrong.


  • Regarding b) - could it be, that there is a bug that causes the poster not to be found ? Here is a debug log, I installed xbmc for win32 and scanned my movies. The same posters that were missing on the xbox also are missing on the win32 build, same settings. The debug log was made when manually refreshing the info for a movie - it seems to find the movie and look for the correct file on movieposterdb, but then fails with a 400 Bad Request error. The link that is shown in the log does work with a browser though.

    Here the log: http://pastebin.com/m569875d2


  • a) The folder name is sufficient. Make sure you leave the .nfo file inside the folder as it can scan that and check if there is an imdb link in it.

    b) I am on here looking for ways to do what you did there. If you dont mind letting me know how you build an imdb database for movies stored on your server I would appreciate it.


  • Thanks Rusti. Not quite sure what your question is, especially since you answered question a). Maybe you misunderstood what I did but just incase, here is how everything is setup here:

    Linux Debian NAS, folders for tv shows and movies. Every movie in his own subfolder, correctly named so the scraper can find something, and everything shared with samba/smb. Then I added the folders to XBMC, and then scanned the whole movie folder by pressing the info button (i think) on the movie folder, and selecting "set content" and recursive scan. That then downloads the information for every movie.
    Basically just what you can find here: http://xbmc.org/wiki/?title=IMDB

    Then when that is finished and everything is scanned correctly, I am planning to use this nice tool here: http://xbmc.org/forum/showthread.php?t=31511 to create .nfo file files for everything, so I would never have to rescan anything again (maybe with the exception of the movie posters).

    Anybody here who knows an answer to question b) ? :)


  • @jaredharley: good tip, I think I will want to download most of the posters for my movies anyway so I can use them out of xbmc also.

    @devs: I have worked around the problem, without having a clue WHAT exactly I did by opening the imdb.xml scraper file, going to the GetMoviePosterDB section and changing clearbuffers from no to yes. I was guessing this might have something to do with the optimizations that were done to the scraper, and maybe caused some kind of referrer problem or such causing the scraper to stop working ? I now get a poster, although the interesting thing is, it doesn't seem to get it from movieposterdb (although that site has a poster) but from http://ia.media-imdb.com, something it didn't do when the cacheclear thing was turned on.

    Here the part of the log that was added when I first refreshed a movie with the option turned on, resulting in no poster - then alt-tabbing, changing the option, refreshing again and now receiving a poster: http://pastebin.com/m48157a7a

    My guess, the scraping from imdb sometimes fails because of a bug in the caching code and the scraping from moviedb doesn't work at all in these cases but I have no ide why. But I think it is better to leave the speculating to the devs ;)

    Thanks.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Questions about file/folder naming scheme and movieposterdb. , Please add it free.