PRE-processing script
Posted: April 19th, 2009, 12:48 am
With a preprocessing script, I could weed out both duplicate msgids from for example newzbin's RSS-feed for saved searches, and also previously downloaded msgids.
To do this, I would need a database-backend, which I understand you will implement in 0.5.0 (sqlite3).
I would use this primarily for downloading new music.
I have some database experience and am familiar with regular expressions, and can write queries for a pre processing python-script myself.
Such queries would, for my purpose of downloading new music:
* Filter out duplicates in the RSS
* Filter out previously downloaded msgids
I could also extend your database model, and add functionality that could:
* Filter out previously downloaded albums based on regex-matching
* Connect to a playlist, for example for Amarok's SQLEmbedded database, and filter out albums-that-I-have
* Connect to a playlist, for example for Amarok's SQLEmbedded database, and return a prioritization for each msgid based on the rate (1-5) that I have given an artist
I would also hope to be able to extend this to consider last.fm's recommended artists list, for further prioritization.
Ideally, I would in addition like to see SABnzbd implement prioritization, with top-prioritization per newzbin-category / newsgroups, and sub-level prioritization within each category.
That way, I could say that movies are to be downloaded with toppriority 1 and subpriority undefined, and music were to be downloaded with toppriority 2 and subpriority undefined / defined by a pre-processing script.
In which case, if an album for an artist that I have given a score of 5 shows up, I can give that msgid toppriority 1 and subpriority 1, so that I grab that immediately.
To do this, I would need a database-backend, which I understand you will implement in 0.5.0 (sqlite3).
I would use this primarily for downloading new music.
I have some database experience and am familiar with regular expressions, and can write queries for a pre processing python-script myself.
Such queries would, for my purpose of downloading new music:
* Filter out duplicates in the RSS
* Filter out previously downloaded msgids
I could also extend your database model, and add functionality that could:
* Filter out previously downloaded albums based on regex-matching
* Connect to a playlist, for example for Amarok's SQLEmbedded database, and filter out albums-that-I-have
* Connect to a playlist, for example for Amarok's SQLEmbedded database, and return a prioritization for each msgid based on the rate (1-5) that I have given an artist
I would also hope to be able to extend this to consider last.fm's recommended artists list, for further prioritization.
Ideally, I would in addition like to see SABnzbd implement prioritization, with top-prioritization per newzbin-category / newsgroups, and sub-level prioritization within each category.
That way, I could say that movies are to be downloaded with toppriority 1 and subpriority undefined, and music were to be downloaded with toppriority 2 and subpriority undefined / defined by a pre-processing script.
In which case, if an album for an artist that I have given a score of 5 shows up, I can give that msgid toppriority 1 and subpriority 1, so that I grab that immediately.