mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
fixes to category search
This commit is contained in:
parent
182841ecbb
commit
9fa6a86f1a
2 changed files with 9 additions and 17 deletions
|
@ -184,24 +184,18 @@ if __name__ == "__main__":
|
|||
config.read(configFilename)
|
||||
# EXAMPLE VALUES:
|
||||
clientAgent = config.get("Torrent", "clientAgent") # utorrent | deluge | transmission | other
|
||||
# SICK-BEARD
|
||||
tvCategory = config.get("SickBeard", "category") # tv
|
||||
tvDestination = os.path.normpath(config.get("SickBeard", "outputDirectory")) # C:\downloaded\tv | /path/to/downloaded/tv
|
||||
# COUCHPOTATOSERVER
|
||||
movieCategory = config.get("CouchPotato", "category") # movie
|
||||
movieDestination = os.path.normpath(config.get("CouchPotato", "outputDirectory")) # C:\downloaded\movies | /path/to/downloaded/movies
|
||||
# TORRENTS
|
||||
useLink = config.get("Torrent", "useLink") # true | false
|
||||
minSampleSize = int(config.get("Torrent", "minSampleSize")) # 200 (in MB)
|
||||
outputDirectory = config.get("Torrent", "outputDirectory") # /abs/path/to/complete/
|
||||
categories = (config.get("Torrent", "categories")).split(',') # music,music_videos,pictures,software
|
||||
|
||||
uTorrentWEBui = config.get("Torrent", "uTorrentWEBui") # http://localhost:8090/gui/
|
||||
uTorrentUSR = config.get("Torrent", "uTorrentUSR") # mysecretusr
|
||||
uTorrentPWD = config.get("Torrent", "uTorrentPWD") # mysecretpwr
|
||||
|
||||
compressedContainer = (config.get("Torrent", "compressedExtentions")).split(',') # .zip,.rar,.7z
|
||||
mediaContainer = (config.get("Torrent", "mediaExtentions")).split(',') # .mkv,.avi,.divx
|
||||
metaContainer = (config.get("Torrent", "metaExtentions")).split(',') # .nfo,.sub,.srt
|
||||
categories = (config.get("Torrent", "categories")).split(',') # music,music_videos,pictures,software
|
||||
categories.append(movieCategory)
|
||||
categories.append(tvCategory) # now have a list of all categories in use.
|
||||
|
||||
try:
|
||||
inputDirectory, inputName, inputCategory, inputHash = parse_args(clientAgent)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
[CouchPotato]
|
||||
category = movie
|
||||
outputDirectory = /abs/path/to/complete/movies
|
||||
apikey =
|
||||
host = localhost
|
||||
port = 5050
|
||||
|
@ -15,8 +13,6 @@ delete_failed = 0
|
|||
|
||||
|
||||
[SickBeard]
|
||||
category = tv
|
||||
outputDirectory = /abs/path/to/complete/tv
|
||||
host=localhost
|
||||
port=8081
|
||||
username=
|
||||
|
@ -35,8 +31,10 @@ clientAgent = other
|
|||
useLink = false
|
||||
###### minSampleSize - Minimum required size to consider a file not an sample file (in MB, eg 200mb)
|
||||
minSampleSize = 200
|
||||
###### outputDirectory - Default output directory (categories will be appended as sub directory to outputDirectory)
|
||||
outputDirectory = /abs/path/to/complete/
|
||||
###### **insert descriptive comment for categories here** :-)
|
||||
categories = music,music_videos,pictures,software
|
||||
categories = movie,tv,music,music_videos,pictures,software
|
||||
###### uTorrent Hardlink solution (You must edit this if your using TorrentToMedia.py with uTorrent)
|
||||
uTorrentWEBui = http://localhost:8090/gui/
|
||||
uTorrentUSR = your username
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue