Changes between Version 26 and Version 27 of DevReadFirst


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DevReadFirst

    v26 v27  
    5959   * !LogIn()
    6060   * [wiki:XMLRPC#TryUploadSubtitles TryUploadSubtitles()]
    61    * If subtitles are not in the database, get IMDB ID from .nfo file or [wiki:XMLRPC#CheckMovieHash CheckMovieHash()]
     61   * If subtitles are not in the database, we need IMDB ID:
     62     * 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.
    6264   * If we don't have IMDB ID, user should be prompted to find it using [wiki:XMLRPC#SearchMoviesOnIMDB SearchMoviesOnIMDB()]
    6365   * [wiki:XMLRPC#UploadSubtitles UploadSubtitles()]