2008-12-05, 21:38
http://trac.xbmc.org/ticket/5440
Unified Diff and full file are in the archive
Summary: Add support for movie.tbn and movie-trailer.ext, add's additional fanart check
Details:
This patch is in reference to Ticket #5383 (feature request)
When loading a movie into the library add a check for movie.tbn (for the thumbnail) and movie-trailer for the trailer file. Similar to the tv shows season tbn files. With movie.nfo and fanart.jpg, these additional two items would make it way easier to correctly generate the thumbs for stacked movies or movies in video_ts subfolders when using Movie Info Plus or similar programs to manage the library.
Mostly for stacked icons and for users that don't want to rename the movie to match the name of the folder. Something along the lines of movie.tbn and movie-trailer.avi would allow creation by movieinfoplus automatically for stacked content as well as video_ts folders and simplify the process of getting the correct icon without user intervention.
Add support for movie.tbn and movie-trailer.ext, add's additional fanart check
All items are done after the current settings and should not impact current .nfo's that have already been created.
Non stacked movie
foldername "cloverfield"
-->cloverfield.avi
-->movie.tbn
-->movie.nfo
-->fanart.jpg
-->movie-trailer.mov
-->folder.jpg
Example: with stacked movie (multiple file parts)
foldername "cloverfield"
-->cloverfield-part1.avi
-->cloverfield-part2.avi
-->movie.tbn
-->movie.nfo
-->fanart.jpg
-->movie-trailer.mov
-->folder.jpg
Files Modified by this patch: FileItem.cpp
Unified Diff and full file are in the archive
Summary: Add support for movie.tbn and movie-trailer.ext, add's additional fanart check
Details:
This patch is in reference to Ticket #5383 (feature request)
When loading a movie into the library add a check for movie.tbn (for the thumbnail) and movie-trailer for the trailer file. Similar to the tv shows season tbn files. With movie.nfo and fanart.jpg, these additional two items would make it way easier to correctly generate the thumbs for stacked movies or movies in video_ts subfolders when using Movie Info Plus or similar programs to manage the library.
Mostly for stacked icons and for users that don't want to rename the movie to match the name of the folder. Something along the lines of movie.tbn and movie-trailer.avi would allow creation by movieinfoplus automatically for stacked content as well as video_ts folders and simplify the process of getting the correct icon without user intervention.
Add support for movie.tbn and movie-trailer.ext, add's additional fanart check
All items are done after the current settings and should not impact current .nfo's that have already been created.
Non stacked movie
foldername "cloverfield"
-->cloverfield.avi
-->movie.tbn
-->movie.nfo
-->fanart.jpg
-->movie-trailer.mov
-->folder.jpg
Example: with stacked movie (multiple file parts)
foldername "cloverfield"
-->cloverfield-part1.avi
-->cloverfield-part2.avi
-->movie.tbn
-->movie.nfo
-->fanart.jpg
-->movie-trailer.mov
-->folder.jpg
Files Modified by this patch: FileItem.cpp