|
FileNaming
IntroThe aim of the MovieJukebox file name parser is to extract as much information as possible from the video file names, which are commonly used. The idea is to process almost all of the usual naming conventions. The intention is that you will not normally have to rename files. If you find that MovieJukebox isn't recognising a video filename, then follow these guidelines and you should be able to eliminate the problem. However, in some cases, no amount of tweaking the filename will result in a correct match, in which case a NFO file should be used. How does the file name parser work?DividersTo separate the different parts (called Tokens) of the filename MovieJukebox has a concept of "dividers". These are characters that are used to seperate parts of the filename so that YAMJ can process them. Characters that can be used to seperate the filename parts are: [] () . _ - The Braces and brackets "()" are conceptually used to group items together and should not be used to group dissimilar parts of the filename or MovieJukebox may not be able to understand the Token. Example of a wrong use Blade Runner[1982_FRENCH_DVDRip].avi MovieJukebox will try to interpret "[1982_FRENCH_DVDRip]" as a single phrase and will fail. A better naming would be any of the following: Examples of correct use Blade Runner.(1982).(FRENCH).(DVDRip).avi Blade Runner[1982]_FRENCH_DVDRip.avi Blade Runner_1982_FRENCH_DVDRip.avi The "-" CharacterThe minus (-) character is a special character within MovieJukebox file names. It denotes the end of the scanable file name and the start of the file or episode title. Anything after the "-" will NOT be used in determining the video name or other attributes and only used as the title for the video. CleaningAs first step MovieJukebox "removes" all redundant parts from file name (the file is not renamed, MovieJukebox just works with name internally). The parts to be ignored are defined in the configuration file. See parameters: Skip Keywords and Version Keywords. Everything configured within these parameters is completely ignored by further processing. All "removed" keywords are counted as a divider. NameMovie name should be at the first position in the file name. It can be divided by spaces, dots or underscores. Example Blade Runner.mkv YearYear must be in YYYY format (4 digits). Must be between 1919 - 2099. Must come right after movie name. Can be in square or round brackets. Examples Blade Runner 1982.avi << Ok Blade Runner (1982).mkv << Best LanguagesLanguages are used for displaying a national flag on the poster/thumbnails view of the jukebox. If more than one language is detected, then the flags will be combined to indicate this. All languages from the file name are extracted and stored in the video XML. They are also removed from the possible video name for searching. See FilenameLanguage for more information. Examples Blade Runner (1982).FR.mkv Blade Runner [1982] GER.mkv Blade Runner (1982).SPANISH.mkv Multi-Part VideosSee MultiPartVIdeos for information on how to name the videos with more than one part. Episodes, SeasonsSee TVSeriesNaming Boxed SetsSee BoxedSets Trailers and other extrasFor trailers: See Trailers#Trailers_Naming. Examples Blade Runner (1982) [Bonus - Title of the bonus].mkv Movie IDsStarting with v2.1 you can now specify an ID in the filename (so you don't have to have a NFO file. The format is similar to sets: filename [ID <moviedb> <id>].avi There MUST be a space between ID and <moviedb> and a space or '-' between that and the <id>. For a list of the valid <moviedb> settings see the Plugins page. Example BR [ID IMDB tt0083658].avi This will correctly identify the file as Blade Runner Excluding a DirectoryIf you wish to exclude a specific directory from the scan, you can create a file named ".mjbignore" in the directory. This will stop MovieJukebox from scanning this directory and all sub-directories. For windows you will have to create the file using the following command from a DOS / CMD window echo >.mjbignore Examples
| ||||||||||||||||||
Can you better explain this: "Anything after the "-" will be ignored and used as the title" how can it be ignored AND used? Is there delimiter that indicates text that can actually be ignored by YAMJ, like my own volume ID or DVD Profiler disk #?
I guess you define a regular expression anyways, so it may be a better idea to publish it (or kind of BNF-based) here, since verbal explanation may result in inconsistencies and ambiguities.
I've tried to clarify the "-" question
Is there a way to get a List of all files where YAMJ didn't find informations on? The log file is a bit to big to find all these entries...
You probably want to use the File listing plugin. You can then look for "UNKNOWN" http://code.google.com/p/moviejukebox/wiki/PropertiesConfiguration#Moviejukebox_Listing_Plugin Remeber to set mjb.listing.clear.UNKNOWN=false so you can see them
Hi, I have the same movie in different format, e.g. Avatar-1080-Low/Avatar.mkv (11G) Avatar-1080-High/Avatar.mkv (22G) Avatar-BD/Avatar.ISO (45GB) Is it possible to have 3 different box ? Thanks in advance
OPS, BoxSet? .... Thanks
Hello there,
I need to clean up my filenames before I can start using YAMJ. I have 3 questions befor I can begin.
This is how the filename of a movie has to be setup:
moviename.year.languange.videosource.avi
q1: What do I do when I don't know the year? Do I skip that part of filename? Must I type ie: Van Helsing.NL.videosource.avi
q2: What is the difference between videosource and the extension (avi in this case? I guess avi is the placeholder for the extension of the filetype, but what do you mean with videosource?
q3 Is there a list of possible videosources I can fill in?
Thanks in advance for the great software and documentation!
Patrick de Kruijf
A1: Yes, if you don't know the year, you can exclude it. If you have two films of the same name, then the year can be used to differentiate them. For example "Oceans 11" or "The Italian Job" A2: The video source is where the video file came from, e.g. DVD, BluRay?, etc. A3: See VideoSources
Thanks for the quick reply, I have another question, hope you don't mind!
So the filename has to be like this: "moviename.year.language.videosource.avi (or other video extension)" and I can skip a part of the filename if I don't know what to fill in.
What do I put at the end of the filename if my video extension is a dvd(rip)? Video_TS or VOB?
Is there a list of video extensions just like the videosource list you showed me in your previous reply?
Thanks again!
Hello,
How should I name a DVDRip of Blade Runner.avi with : Language = English Subtitles (hardcoded) = French
Blade Runner.(1982).(ENGLISH).(DVDRip).(SET SUBTITLE-FRENCH).avi ?
Thanks ! =)
I think you can use "VOST" to indicate the presence of subtitles in the file if they are not picked up with MediaInfo? (which should pick them up as part of the normal scanning)
I've been trying to use SET? to have the actor with his/her movies ordered in the box set by year released that I have while still leaving the movie on it's own page. i.e. Gangs of New York.2003 Disc1? Leonardo DiCaprio Collection-01?Daniel Day-Lewis Collection-02?.DVD.iso Will this work as it appears my categories.xml got corrupted making these kinds of changes.?
You would probably be better off using an XML Nfo file to do these sort of things
<movie> <sets> <set order="1">Leonardo DiCaprio Collection</set> <set order="2">Daniel Day-Lewis Collection</set> </sets> </movie>Thanks for your prompt comment. Being a newbie, what file would I go into to make this change your are recommending.Is it the same as creating an NFO file for pickup the the fanart from IMDB for instance.
Yes, that's exactly the file you need to edit. If you already have the IMDB link in that file you will have to delete it and insert the following line (with the correct tt number) between "<movie>" and "<sets>" above
Thanks for you help
How do you override the movie name if it keeps coming back wrong?
Use a NFO file
what if there is no URL for it? Can i override the name somehow?
Think I may have figured it out with the NFO file. thanks.
Newbie :-) Battling to get any movie info filename
- 7.Hours.(2010).mkv
also created NFO file- 7.Hours.(2010).nfo
with content get errors on all lines Initializing... Scanning library directory F:\Movies\127.Hours.(2010) Jukebox output goes to F:\Movies\Y2MFound 1 videos in your media library Stored 41 files in the info cache Searching for information on the video files... Processing new video: 127 Hours (2010) mkv WebBrowser?: Error getting URL http://www.imdb.com/find?q=127+Hours+%282010%29+mkv;s=tt;site=aka WebBrowser?: Error getting URL http://www.google.com/search?q=127+Hours+%282010%29+mkv+site%3Awww.imdb.com&meta= API? Error parsing: http://api.themoviedb.org/2.1/Movie.search/en-US/xml/[APIKEY]/127+Hours+%282010%29+mkv API? Error parsing: http://api.themoviedb.org/2.1/Movie.search/en-US/xml/[APIKEY]/127+Hours+%282010%29+mkv WebBrowser?: Error getting URL http://www.google.com/custom?sitesearch=www.impawards.com&q=127+Hours+%282010%29+mkv+UNKNOWN WebBrowser?: Error getting URL http://www.imdb.com/find?q=127+Hours+%282010%29+mkv;s=tt;site=aka WebBrowser?: Error getting URL http://www.google.com/search?q=127+Hours+%282010%29+mkv+site%3Awww.imdb.com&meta= WebBrowser?: Error getting URL http://www.moviecovers.com/multicrit.html?titre=127+Hours+%282010%29+mkv&slow=0&tri=Titre&listes=1 WebBrowser?: Error getting URL http://www.moviecovers.com/forum/search-mysql.html?forum=MovieCovers&query=127+HOURS+%282010%29+MKV WebBrowser?: Error getting URL http://images.google.fr/images?q=127+Hours+%282010%29+mkv&gbv=2 GooglePosterPlugin?: Failed retreiving poster URL from google images : 127 Hours (2010) mkv Error : String index out of range: -6 WebBrowser?: Error getting URL http://fr.images.search.yahoo.com/search/images?p=127+Hours+%282010%29+mkv+poster&fr=&ei=utf-8&js=1&x=wrt WebBrowser?: Error getting URL http://www.google.com/cse?cx=partner-pub-1232145664289710%3Aleabr0-srj4&cof=FORID%3A10&ie=ISO-8859-1&q=127+Hours+%282010%29+mkv&sa=Search&siteurl=www.motechposters.com%2F&ad=w9&num=10&rurl=http%3A%2F%2Fwww.motechposters.com%2Fsearch%2F%3Fcx%3Dpartner-pub-1232145664289710%253Aleabr0-srj4%26cof%3DFORID%253A10%26ie%3DISO-8859-1%26q%3Dgladiator%26sa%3DSearch%26siteurl%3Dwww.motechposters.com%252F Finished: 127 Hours (2010) mkv (1/1)
what am I missing ?? Help
should read 127.Hours
Looks like you don't have an internet connection. Or your firewall is blocking Java/YAMJ
Guys, another noob here. I want to create sets for boxsets but I am not understanding what is required to be done exactly. This is my set up. >Network share -> Movie Collection Folder --> Aliens Collection ---> Alien (1979) folder ----> Alien (1979).avi ----> Alien (1979).nfo
To make it part of a set must I add the following info to the NFO file?
<movie>
</movie>Or where would that info go? And if it is in each movie's (collection) NFO file I then obviously add the same set to each NFO file.
Thanks
Another question. Is it possible to create sets for example genres or years. Say I want to view all Sci Fi movies, can I create a set that spans my entire collection? Can I then create another set that is by year that spans the same movie collection?
Hi guys, any feedback on my questions?