mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Merge branch 'clinton-hall/dev-CH'
Conflicts: TorrentToMedia.py
This commit is contained in:
commit
279ce5e4d0
18 changed files with 324 additions and 461 deletions
|
@ -16,10 +16,10 @@ class autoProcessMusic:
|
|||
return 1 # failure
|
||||
|
||||
# auto-detect correct section
|
||||
section = config().issubsection(inputCategory,checkenabled=True)[0]
|
||||
section = config().findsection(inputCategory)
|
||||
if len(section) == 0:
|
||||
Logger.error(
|
||||
"MAIN: We were unable to find a processor for category %s that was enabled, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||
"MAIN: We were unable to find a section for category %s, please check your autoProcessMedia.cfg file.", inputCategory)
|
||||
return 1
|
||||
|
||||
socket.setdefaulttimeout(int(config.NZBTOMEDIA_TIMEOUT)) #initialize socket timeout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue