-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep orignal folder name when movie is moved / indexer priority / sort results #212
Comments
Uses immediate parent directory of movie file for value.
User can choose to prefer usenet or torrent releases Releases are sorted by score, source preference (usenet/torrent), size (asc/desc)
Uses the directory that is the immediate parent of the actual movie file. This way it doesn't use obscured folder names from nzbs. In settings/search you can prefer Torrent, Usenet, or neither.
|
This isn't working, here is the relevant part of the log file:
|
Just a bug that only affects that specific combination of options. Fixed in 75aa0d1 |
Updated but not yet working entirely: The file is getting moved without a folder. Log:
|
If you haven't changed your settings since the first image you are getting correct results. As far as the error messages in your log... that just happens sometimes with hachoir (the library I use to parse data from the movie file itself), but doesn't break anything. |
Oh yes my bad. Moving the movie file works now. But something weird happens to other files, I selected to keep nfo and srt files.
|
It would originally rename all extra files using the renamer settings, but
that doesn't make much sense if you have the renamer disabled.
55e7136 will use the original filename if
the renamer is disabled.
…On Mon, Feb 26, 2018 at 4:02 AM, Obscurax ***@***.***> wrote:
Oh yes my bad. Moving the movie file works now.
But something weird happens to other files, I selected to keep nfo and srt
files.
INFO [2018-02-26 09:49:06,815] core.postprocessing.mover.743: Moving \\kratos\dump\Watcher\Loving.Vincent.2017.LIMITED.1080p.BluRay.x264-GECKOS\Loving.Vincent.2017.1080p.BluRay.x264-GECKOS.mkv to \\kratos\films\# recent\Loving.Vincent.2017.LIMITED.1080p.BluRay.x264-GECKOS\
INFO [2018-02-26 09:53:30,613] core.postprocessing.mover.763: Moving additional files with extensions srt, nfo.
INFO [2018-02-26 09:53:30,613] core.postprocessing.mover.781: Moving \\kratos\dump\Watcher\Loving.Vincent.2017.LIMITED.1080p.BluRay.x264-GECKOS\Loving.Vincent.2017.1080p.BluRay.x264-GECKOS.en.srt to \\kratos\films\# recent\Loving.Vincent.2017.LIMITED.1080p.BluRay.x264-GECKOS\.srt
INFO [2018-02-26 09:53:30,691] core.postprocessing.complete.451: Renamer disabled.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKX1Sa0fLJH-U00D4DE_T-WcCqKOJ6Kjks5tYnNAgaJpZM4SGoMW>
.
|
Still compliles the name in case it is needed (prevents compiling for every file), but is ignored and original name is used if renamer is disabled.
EDIT: It was a user error. There was a space in front of nfo. Hence the file wasn't moved. And great job on adding the toggle to hide the finished moving! Thanks. |
I haven't pushed that yet, but it trims all whitespace when iterating over file extensions so you need not worry about extra spaces in the future. |
Did you stop supporting the {parent_dir} tag? Folders and movies are being renamed to "{parent_dir}". log:
|
Turns out it has a use after all.
A few updates ago I was cleaning up the postprocessing script and saw that 'parent_dir' wasn't referenced anywhere else in the project so I removed it. Turns out it has a purpose after all. I restored it in commit 90d8eb6. |
Thanks for restoring it. I see it's also not shown in the popup with examples in the PP menu. |
There are a ton of fields you can use so I just put the most common options in the popup. The full list is everything under |
Files are not being moved properly:
|
What do you have set for your renamer template in Settings/Postprocessing ?
…On Wed, Jun 27, 2018 at 8:44 AM Obscurax ***@***.***> wrote:
Files are not being moved properly:
[2018-06-27 12:24:50,376] core.postprocessing.default.156: #################################
INFO [2018-06-27 12:24:50,376] core.postprocessing.default.157: Post-processing request received.
INFO [2018-06-27 12:24:50,376] core.postprocessing.default.158: #################################
INFO [2018-06-27 12:24:50,376] core.postprocessing.get_movie_file.237: Finding movie file.
INFO [2018-06-27 12:24:50,408] core.postprocessing.get_movie_file.263: Largest file in directory \\kratos\dump\Watcher\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA is \Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv, processing this file.
INFO [2018-06-27 12:24:50,408] core.postprocessing.default.187: Gathering release information.
INFO [2018-06-27 12:24:50,408] core.postprocessing.get_movie_info.285: Searching local database for guid.
INFO [2018-06-27 12:24:50,408] core.postprocessing.get_movie_info.288: Local release info found by guid.
INFO [2018-06-27 12:24:50,408] core.postprocessing.get_movie_info.318: Searching local database by imdbid.
INFO [2018-06-27 12:24:50,408] core.postprocessing.get_movie_info.321: Movie data found locally by imdbid.
INFO [2018-06-27 12:24:50,408] core.library.from_file.380: Gathering metadata for \\kratos\dump\Watcher\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv.
INFO [2018-06-27 12:24:50,408] core.library.parse_filename.504: Parsing directory name for movie information: Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.
INFO [2018-06-27 12:24:50,423] core.library.parse_filename.512: Found {'year': 2018, 'resolution': '1080p', 'quality': 'WEB-DL', 'codec': 'H.264', 'audio': 'DD5.1', 'group': 'SiGMA', 'title': 'Isle of Dogs', 'release_name': 'Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA'} in filename.
INFO [2018-06-27 12:24:50,423] core.library.parse_media.450: Parsing codec data from file \\kratos\dump\Watcher\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv.
INFO [2018-06-27 12:24:50,439] core.postprocessing.default.195: Post-processing as Complete.
INFO [2018-06-27 12:24:50,439] core.postprocessing.complete.479: Marking guid as Finished.
INFO [2018-06-27 12:24:50,439] core.library.searchresults.884: Marking guid http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx as Finished.
INFO [2018-06-27 12:24:50,439] core.library.searchresults.889: Marking http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx as Finished in SEARCHRESULTS.
INFO [2018-06-27 12:24:50,439] core.library.searchresults.894: Successfully marked http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx as Finished in SEARCHRESULTS.
INFO [2018-06-27 12:24:50,439] core.library.markedresults.937: Marking http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx as Finished in MARKEDRESULTS.
INFO [2018-06-27 12:24:50,454] core.library.markedresults.942: Successfully marked http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx as Finished in MARKEDRESULTS.
INFO [2018-06-27 12:24:50,454] core.postprocessing.complete.520: Setting MOVIE status.
INFO [2018-06-27 12:24:50,454] core.library.movie_status.972: Determining appropriate status for movie tt5104604.
INFO [2018-06-27 12:24:50,454] core.library.movie_status.1009: Setting MOVIES tt5104604 status to Finished.
INFO [2018-06-27 12:24:50,470] core.library.convert_to_db.556: Converting movie metadata to database structure for Isle of Dogs.
INFO [2018-06-27 12:24:50,486] core.postprocessing.mover.779: ## Moving Downloaded Files
INFO [2018-06-27 12:24:50,517] core.postprocessing.mover.851: Moving \\kratos\dump\Watcher\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv to \\kratos\films\# recent\
INFO [2018-06-27 12:26:38,080] core.postprocessing.mover.871: Moving additional files with extensions nfo.
INFO [2018-06-27 12:26:38,095] core.postprocessing.renamer.666: ## Renaming Downloaded Files
INFO [2018-06-27 12:26:38,095] core.postprocessing.renamer.687: New file name would be blank. Cancelling renamer.
INFO [2018-06-27 12:26:38,455] core.postprocessing.default.220: #################################
INFO [2018-06-27 12:26:38,455] core.postprocessing.default.221: Post-processing complete.
INFO [2018-06-27 12:26:38,455] core.postprocessing.default.222: {
"data": {
"added_date": "2018-06-27",
"alternative_titles": "",
"apikey": "5f5f4c6787e9183104ef5daec74a28f2",
"audiocodec": "EAC3",
"downloadid": "1268",
"edition": "",
"filters": "{\"preferredwords\": \"\", \"requiredwords\": \"\", \"ignoredwords\": \"\"}",
"finished_date": "2018-06-27",
"finished_file": "\\\\kratos\\films\\# recent\\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv",
"finished_score": 660,
"guid": "http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx",
"imdbid": "tt5104604",
"media_release_date": null,
"mode": "complete",
"origin": "Search",
"original_file": "\\\\kratos\\dump\\Watcher\\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA\\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA.mkv",
"parent_dir": "",
"path": "\\\\kratos\\dump\\Watcher\\Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA",
"plot": "In the future, an outbreak of canine flu leads the mayor of a Japanese city to banish all dogs to an island that's a garbage dump. The outcasts must soon embark on an epic journey when a 12-year-old boy arrives on the island to find his beloved pet.",
"poster": null,
"predb_backlog": null,
"quality": "Default",
"rated": null,
"release_date": "2018-03-23",
"release_name": "Isle.of.Dogs.2018.1080p.AMZN.WEB-DL.DD5.1.H.264-SiGMA",
"releasegroup": "SiGMA",
"resolution": "WebDL-1080P",
"score": "7.9",
"sort_title": "Isle of Dogs",
"status": "Snatched",
"title": "Isle of Dogs",
"tmdbid": "399174",
"url": "https://www.themoviedb.org/movie/399174",
"videocodec": "MPEG4",
"year": "2018"
},
"status": "finished",
"tasks": {
"cleanup": {
"enabled": true,
"response": true
},
"http://127.0.0.1:5076/nzbhydra2/getnzb/api/xxx": {
"update_MARKEDRESULTS": true,
"update_SEARCHRESULTS": true
},
"mover": {
"enabled": true,
"response": true
},
"renamer": {
"enabled": true,
"response": false
},
"update_movie_status": "Finished"
}
}
INFO [2018-06-27 12:26:38,455] core.postprocessing.default.223: #################################
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#212 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKX1Sa_H8Lo5jNvu7g66OTixEQPaGmSgks5uA34mgaJpZM4SGoMW>
.
|
Stupid typo, should be back to normal in |
Everything back to normal, thanks! |
I have some thoughts to enhance Watcher to make it even better.
I love the simplicity and speed of watcher!
I would to keep the original folder name when moving a movie with post processing.
Is this possible? I disabled to rename the movie but there is no option to keep the folder name.
It would be nice to give priority to certain indexers, like prefer usenet over torrents.
I prefer to select the best release according to my needs. The search function works great but the sorting of the results could be better. Sorting on name, date posted, size, indexer would be a vast improvement. Also the window providing the search results is quite small making it hard to navigate when a lot of releases are found.
An easier way to 'Hide Finished movies in library ', now we have to navigate to the settings to enable/disable this. It would be nice to be able to do this from the gui.
Thanks.
The text was updated successfully, but these errors were encountered: