Watcher3 icon indicating copy to clipboard operation
Watcher3 copied to clipboard

new torrent provider file name pattern

Open sinopsysHK opened this issue 6 years ago • 2 comments

there is a new torrent provider file name pattern: "website ---> title..." Need to manage it to avoid name parsing issues and then failing in metadata collection

sinopsysHK avatar Nov 03 '18 07:11 sinopsysHK

Give an example of a past failure and how this corrects it before I merge.

nosmokingbandit avatar Nov 21 '18 17:11 nosmokingbandit

Here is my log:

INFO [2018-11-22 08:10:15,867] core.postprocessing.default.222: ################################# INFO [2018-11-22 08:10:15,868] core.scheduler.scan_directory.114: Processing /volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. DEBUG [2018-11-22 08:10:15,869] core.sqldb.get_single_search_result.601: Retrieving search result details for Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. DEBUG [2018-11-22 08:10:15,870] core.sqldb.execute.156: Executing SQL command: ['SELECT * FROM SEARCHRESULTS WHERE title="Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv" ORDER BY score DESC, size DESC'] INFO [2018-11-22 08:10:15,875] core.scheduler.scan_directory.121: Unable to find match in database for Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv, release cannot be marked as Finished. INFO [2018-11-22 08:10:15,876] core.postprocessing.default.156: ################################# INFO [2018-11-22 08:10:15,876] core.postprocessing.default.157: Post-processing request received. INFO [2018-11-22 08:10:15,877] core.postprocessing.default.158: ################################# DEBUG [2018-11-22 08:10:15,877] core.postprocessing.default.176: {'apikey': 'f353b223f26743fcaf954f5a92c58fa6', 'guid': 'postprocessing221a16c5d78ec3d50294998612bfdd42', 'path': '/volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv', 'downloadid': '', 'mode': 'complete'} INFO [2018-11-22 08:10:15,878] core.postprocessing.get_movie_file.236: Finding movie file. INFO [2018-11-22 08:10:15,879] core.postprocessing.get_movie_file.238: Post-processing file /volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. INFO [2018-11-22 08:10:15,880] core.postprocessing.default.186: Gathering release information. INFO [2018-11-22 08:10:15,880] core.postprocessing.get_movie_info.284: Searching local database for guid. DEBUG [2018-11-22 08:10:15,881] core.sqldb.get_single_search_result.601: Retrieving search result details for postprocessing221a16c5d78ec3d50294998612bfdd42. DEBUG [2018-11-22 08:10:15,882] core.sqldb.execute.156: Executing SQL command: ['SELECT * FROM SEARCHRESULTS WHERE guid="postprocessing221a16c5d78ec3d50294998612bfdd42" ORDER BY score DESC, size DESC'] INFO [2018-11-22 08:10:15,887] core.postprocessing.get_movie_info.289: Unable to find local release info by guid. INFO [2018-11-22 08:10:15,887] core.postprocessing.get_movie_info.292: Guid not found. INFO [2018-11-22 08:10:15,888] core.postprocessing.get_movie_info.308: Searching local database for release name Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv DEBUG [2018-11-22 08:10:15,889] core.sqldb.get_single_search_result.601: Retrieving search result details for Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. DEBUG [2018-11-22 08:10:15,889] core.sqldb.execute.156: Executing SQL command: ['SELECT * FROM SEARCHRESULTS WHERE title="Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv" ORDER BY score DESC, size DESC'] INFO [2018-11-22 08:10:15,895] core.postprocessing.get_movie_info.313: Unable to find local release info by release name. INFO [2018-11-22 08:10:15,896] core.postprocessing.get_movie_info.331: Unable to find local data for release. Using only data found from file. INFO [2018-11-22 08:10:15,896] core.library.from_file.381: Gathering metadata for /volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. INFO [2018-11-22 08:10:15,897] core.library.parse_filename.505: Parsing directory name for movie information: Cartoonz. DEBUG [2018-11-22 08:10:15,899] core.library.parse_filename.515: Parsing directory name does not look accurate. Parsing file name. INFO [2018-11-22 08:10:15,902] core.library.parse_filename.518: Found {'quality': 'BluRay', 'audio': 'AC3', 'year': 2018, 'group': 'EXTREME.mkv', 'codec': 'x264', 'title': 'Torrent9.PH ---> my_movie.2.', 'excess': 'MULTI.TRUEFRENCH', 'container': 'mkv', 'resolution': '1080p'} in file name. INFO [2018-11-22 08:10:15,903] core.library.parse_media.451: Parsing codec data from file /volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. INFO [2018-11-22 08:10:15,993] core.movieinfo.search.59: Searching TheMovieDB for Torrent9.PH ---> my_movie.2 2018 INFO [2018-11-22 08:10:15,994] core.movieinfo._search_title.86: Searching TheMovieDB for title: Torrent9.PH ---> my_movie.2 2018. INFO [2018-11-22 08:10:15,995] core.movieinfo._search_title.97: Searching TMDB https://api.themoviedb.org/3/search/movie?page=1&include_adult=false&query=torrent9 ph my movie&year=2018 INFO [2018-11-22 08:10:16,912] core.movieinfo.search.69: Nothing found on TheMovieDatabase for Torrent9.PH ---> my_movie.2 2018 WARNING [2018-11-22 08:10:16,914] core.library.from_file.414: Unable to get data from TheMovieDB for Torrent9.PH ---> my_movie.2 INFO [2018-11-22 08:10:16,915] core.postprocessing.default.194: Post-processing as Complete. INFO [2018-11-22 08:10:16,916] core.postprocessing.complete.478: Marking guid as Finished. INFO [2018-11-22 08:10:16,917] core.postprocessing.complete.525: Imdbid not supplied or found, unable to update Movie status. INFO [2018-11-22 08:10:16,918] core.library.convert_to_db.557: Converting movie metadata to database structure for Torrent9.PH ---> my_movie.2. INFO [2018-11-22 08:10:16,923] core.postprocessing.mover.778: ## Moving Downloaded Files DEBUG [2018-11-22 08:10:16,924] core.postprocessing.compile_path.653: Created path "/volume1/Cartoonz/" from "/volume1/Cartoonz/" INFO [2018-11-22 08:10:16,925] core.postprocessing.mover.836: Creating hardlink from /volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv to /volume1/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv. INFO [2018-11-22 08:10:16,926] core.postprocessing.mover.870: Moving additional files with extensions nfo. DEBUG [2018-11-22 08:10:16,927] core.postprocessing.compile_path.653: Created path "Torrent9.PH ---> my_movie.2 (2018) - BluRay-1080P" from "{title} ({year}) - {resolution}" INFO [2018-11-22 08:10:16,930] core.postprocessing.renamer.665: ## Renaming Downloaded Files DEBUG [2018-11-22 08:10:16,931] core.postprocessing.compile_path.653: Created path "Torrent9.PH ---> my_movie.2 (2018) - BluRay-1080P" from "{title} ({year}) - {resolution}" INFO [2018-11-22 08:10:16,932] core.postprocessing.renamer.694: Renaming Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv to Torrent9.PH --- my_movie.2 (2018) - BluRay-1080P.mkv DEBUG [2018-11-22 08:10:16,934] core.sqldb.update.235: Updating finished_file to /volume1/Cartoonz/Torrent9.PH --- my_movie.2 (2018) - BluRay-1080P.mkv for rows that match imdbid:N/A in MOVIES. DEBUG [2018-11-22 08:10:16,935] core.sqldb.execute.156: Executing SQL command: ['UPDATE MOVIES SET finished_file=? WHERE imdbid=?', ('/volume1/Cartoonz/Torrent9.PH --- my_movie.2 (2018) - BluRay-1080P.mkv', 'N/A')] INFO [2018-11-22 08:10:17,201] core.postprocessing.default.219: ################################# INFO [2018-11-22 08:10:17,202] core.postprocessing.default.220: Post-processing complete. INFO [2018-11-22 08:10:17,205] core.postprocessing.default.221: { "data": { "added_date": "2018-11-22", "alternative_titles": "", "apikey": "f353b223f26743fcaf954f5a92c58fa6", "audiocodec": "AC3", "container": "mkv", "downloadid": "", "edition": [], "excess": "MULTI.TRUEFRENCH", "filters": "{"preferredwords": "", "requiredwords": "", "ignoredwords": ""}", "finished_date": "2018-11-22", "finished_file": "/volume1/Cartoonz/Torrent9.PH --- my_movie.2 (2018) - BluRay-1080P.mkv", "guid": "postprocessing221a16c5d78ec3d50294998612bfdd42", "imdbid": "N/A", "mode": "complete", "original_file": "/volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv", "parent_dir": "Cartoonz", "path": "/volume1/Downloadz/AAA-IN/Cartoonz/Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv", "plot": null, "poster": null, "quality": "Default", "rated": null, "release_title": "Torrent9.PH ---> my_movie.2.2018.MULTI.TRUEFRENCH.1080p.BluRay.x264.AC3-EXTREME.mkv", "releasegroup": "EXTREME.mkv", "resolution": "BluRay-1080P", "score": 0, "sort_title": "Torrent9.PH ---> my_movie.2", "status": "Waiting", "title": "Torrent9.PH ---> my_movie.2", "tmdbid": null, "url": "https://www.themoviedb.org/movie/None", "videocodec": "MPEG4", "year": "2018" }, "status": "finished", "tasks": { "cleanup": { "enabled": false }, "mover": { "enabled": true, "response": true }, "renamer": { "enabled": true, "response": true }, "update_movie_status": "" } }

sinopsysHK avatar Nov 22 '18 00:11 sinopsysHK