Case sensitive RSS

Get help, report and discuss bugs.
Post Reply
MrCorleone
Posts: 7
Joined: 05 Aug 2017, 17:35

Case sensitive RSS

Post by MrCorleone » 12 Oct 2017, 14:50

Is there are way to reject lower case releases via rss?

Example:

This: Annabelle.2.Creation.2017.1080p.BluRay.x264-SPARKS
Not this: annabelle.2.creation.2017.1080p.bluray.x264-sparks

Thank you!

hugbug
Developer & Admin
Posts: 6746
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: Case sensitive RSS

Post by hugbug » 12 Oct 2017, 21:31

RSS filters are case insensitive but extending filtering of any kind can be achieved via feed-scripts. As an example see ImdbWatchlist extension script (https://github.com/nzbget/ImdbWatchlist).

But why would you do that actually? Files can be renamed after download, for example with VideoSort script.

MrCorleone
Posts: 7
Joined: 05 Aug 2017, 17:35

Re: Case sensitive RSS

Post by MrCorleone » 28 Nov 2017, 17:55

Its mainly for dupe keys and scores...

NzbGet sees THIS, This & this as different dupekeys, so I end up downloading all of them when I don't really need to.

hugbug
Developer & Admin
Posts: 6746
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: Case sensitive RSS

Post by hugbug » 28 Nov 2017, 20:21

Yes, that makes sense.
Case-insensitive dupe check is on todo-list - https://forum.nzbget.net/viewtopic.php?f=3&t=3068.

MrCorleone
Posts: 7
Joined: 05 Aug 2017, 17:35

Re: Case sensitive RSS

Post by MrCorleone » 08 Dec 2017, 21:58

Thanks HugBug!

judhat
Posts: 13
Joined: 28 Sep 2015, 05:38

Re: Case sensitive RSS

Post by judhat » 09 Dec 2017, 14:28

I ran into the same problem. Until it's implemented into nzbget, I have a simple script to change the dupekey to the lowercase of the nzb's name. You're welcome to try it. I also have a rudimentary script that tries to rename the lowercase nzbs to title case. I'll post it too, if you're interested.

Code: Select all

#!/bin/bash

##############################################################################
### NZBGET SCAN SCRIPT                                                     ###

# Set the dupekey to the lowercase of the nzb's name.
#
#

### NZBGET SCAN SCRIPT                                                     ###
##############################################################################

# Check if a dupekey is already assigned.
[ $NZBNP_DUPEKEY ] && echo "[INFO] DUPEKEY already present" && exit 93

# Set the dupekey to the lowercase of the nzb's name.
echo "[NZB] DUPEKEY=${NZBNP_NZBNAME,,}" && echo "[INFO] Success" && exit 93 || echo "[ERROR] Failed"; exit 94
Attachments
DupeKeyLowercase.sh
(669 Bytes) Not downloaded yet

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests