When the DB was unable to find a quality for the identifier, a
RecordNotFound exception was raised, leading to an exception in the
event caller because the quality_dict was not returned. This now sets
the quality to None and hands off to the event caller.
Some want to synchronize files between a download server and storage server
hosting the couch potato instance. The renaming plugin does copy files when
file beeing available regardless the synchronization status, resulting in
corrupted files in destination folder. Files are not copied if a file with
extension .ignored is present. This extend at the moment the ignored extensions
to support common lftp temporary file. This way files get only copied once
suchronization is ended.
In the future this could be extended to have this extension list a configurable
option in the settings.
Kodi requires the use of TAB instead of OU and only supports compact
naming (HSBS instead of Half SBS), so allow for Renamer plugin to use
these formats.
1080p/720p BR-Rips can get wrongly classified as 2160p if they have x264/h264 tags, because 1080p and 720 will get a penalty since they are on the 'allow' list for BR-Rip, while 2160p is not.
Adding that one line in mkv.py fixes the issue where the renamer
replaces the <codec> template with MPGEH/ISO/HEVC resulting in x265
movies being nested inside folders. The rest is just making CP more
generally aware of HEVC.
* Improved SoftChroot (now it is a module, like a settings.py, included in Env)
* skipping _test modules during plugins loading
* hidden-opt meta could be loaded from config in python modules ( see _core.py->config )
+ mock testing
+ a few tests for Env
+ list of python dev-requirements in a file
fixmaxkoryukov/CouchPotatoServer#8
Row 1196, sends a string, archive['file'], to hastagRelease() which causing the loop at row 810 to break (since it iterates over a string)
Row 811: fnmatch.filter() is case sensitive on linux system (depends on the OS actually).
We are comparing the ignore files to archive files, BUT the the ignore file was created with the name of the extracted file and not the archive files (see row 644).
If there is a difference between the extracted file and archive file the ignore file will be no good and extraction will occur again..
Usually scene release archive files are all low-case while the extracted files are not. I suggest to tag the archive file when the renamer is keeping the rar files (no cleanup) in-order to prevent re-extraction of the files over and over again.
Row 1232: I added tagging to archive file only if there is no cleanup. I also add another sanity check if the file was really extracted because if you kill unrar process while it runs it does not generate exception that extracting was stopped.
One Question:
Is the raise of exception at row 821 really needed?
I think it can be removed.. because it will cause both copies to exist which will just consume more space.