Wrong behaviour finding duplicates script

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
beambeam
Posts: 11
Joined: 25 May 2019, 22:52

Wrong behaviour finding duplicates script

Post by beambeam »

I noticed that I had a 720 file, a 720 proper file, and a 1080p file. All of these files are by different groups. But somehow find duplicates script thought that 720p proper is the best quality? I want option to prefer higher resolution over proper/repack tag. Thanks.
User avatar
rednoah
The Source
Posts: 19128
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Wrong behaviour finding duplicates script

Post by rednoah »

What does the log say?
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1046
Joined: 15 May 2014, 16:17

Re: Wrong behaviour finding duplicates script

Post by kim »

if 720 proper vs 720 or 1080 from same group = proper is best
if dif groups = high res. is best

because reason for "proper" is probably same on dif. res. from same group
beambeam
Posts: 11
Joined: 25 May 2019, 22:52

Re: Wrong behaviour finding duplicates script

Post by beambeam »

[*] Homeland - 8x11 - The English Teacher
[+] 1. /home/blucross/media/tv/Homeland/Season 08/Homeland - S08E11 - The English Teacher [720p web-dl avc eac3 proper]-GHOSTS.mkv
[DELETE] 2. /home/blucross/media/tv/Homeland/Season 08/Homeland - S08E11 - The English Teacher [1080p web-dl avc eac3]-NTb.mkv
[DELETE] 3. /home/blucross/media/tv/Homeland/Season 08/Homeland - S08E11 - The English Teacher [720p web-dl avc eac3]-XLF.mkv
Done ヾ(@⌒ー⌒@)ノ
beambeam
Posts: 11
Joined: 25 May 2019, 22:52

Re: Wrong behaviour finding duplicates script

Post by beambeam »

kim wrote: 19 Apr 2020, 19:20 if 720 proper vs 720 or 1080 from same group = proper is best
if dif groups = high res. is best

because reason for "proper" is probably same on dif. res. from same group
this is not always true. any group can proper a nuked release.
better would to give priority to resolution, then to proper tag.
kim
Power User
Posts: 1046
Joined: 15 May 2014, 16:17

Re: Wrong behaviour finding duplicates script

Post by kim »

and what if reason for proper is audio out of sync ?
filebot only knows what is in the filepath, so "safe" (proper) vs "hope" (no problem)

maybe filebot can scan nfo file for keywords ?
beambeam
Posts: 11
Joined: 25 May 2019, 22:52

Re: Wrong behaviour finding duplicates script

Post by beambeam »

You should have proper setup in ur flexget or sonarr to make sure that both 1080p and 720p propers are downloaded if they exist... if you want to grab both resolutions and later delete 720p.

But in this case the source is completely different. One release is a p2p AMZN webdl and other two are some scene webdl. In fact the proper release also got nuked because it was fake file. p2p is always higher quality so it should be preferred over scene.
User avatar
rednoah
The Source
Posts: 19128
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Wrong behaviour finding duplicates script

Post by rednoah »

Easily resolved by removing proper / repack from the file name, no? An easy low-tech solution.


:idea: If we do it the other way around, prioritize resolution by default, then it would be very difficult for end users to force FileBot to prioritize repack, since end users can't just change the resolution.


EDIT:

FileBot r7402 will prioritize general quality class (as defined by {vf}) over repack status, but prioritize repack status over exact width*height*bitrate score.
:idea: Please read the FAQ and How to Request Help.
Post Reply