Changes between Version 27 and Version 28 of DevReadFirst


Ignore:
Timestamp:
Jun 2, 2012, 7:16:40 AM (12 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevReadFirst

    v27 v28  
    6161   * If subtitles are not in the database, we need IMDB ID:
    6262     * use [wiki:XMLRPC#CheckMovieHash CheckMovieHash()] 
    63      * and/or get IMDB ID from .nfo file. Make sure, you scan all the .nfo files in directory, if directory name is /^CD\d+$/ (CD1,CD2) search in parent directory, use this regex /imdb\.\w{2,3}\/title\/tt(\d+)/ (http://www.imdb.com/title/tt1735898/ http://www.imdb.it/title/tt1735898/) - match all, and then make sure, there is only ONE match after UNIQUE OF IMDB IDs. If you find more matches, it means, there is more .nfo in directory (for example users put in one directory whole TV-Series, or more movies with nfos), and result will be wrong.
     63     * and/or get IMDB ID from .nfo file. Make sure, you scan all the .nfo files in directory, if directory name is
     64{{{
     65/^CD\d+$/
     66}}}
     67 (CD1,CD2) search in parent directory, use this regex
     68{{{
     69/imdb\.\w{2,3}\/title\/tt(\d+)/
     70}}}
     71 (http://www.imdb.com/title/tt1735898/ http://www.imdb.it/title/tt1735898/) - match all, and then make sure, there is only ONE match after UNIQUE OF IMDB IDs. If you find more matches, it means, there is more .nfo in directory (for example users put in one directory whole TV-Series, or more movies with nfos), and result will be wrong.
    6472   * If we don't have IMDB ID, user should be prompted to find it using [wiki:XMLRPC#SearchMoviesOnIMDB SearchMoviesOnIMDB()]
    6573   * [wiki:XMLRPC#UploadSubtitles UploadSubtitles()]