mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
dded flow and config for Lidarr handling. #1350
This commit is contained in:
parent
b5ee0c241c
commit
9baef39f99
6 changed files with 454 additions and 8 deletions
|
@ -132,7 +132,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
|||
|
||||
logger.debug("Scanning files in directory: {0}".format(inputDirectory))
|
||||
|
||||
if sectionName == 'HeadPhones':
|
||||
if sectionName in ['HeadPhones', 'Lidarr']:
|
||||
core.NOFLATTEN.extend(
|
||||
inputCategory) # Make sure we preserve folder structure for HeadPhones.
|
||||
|
||||
|
@ -239,7 +239,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
|||
inputHash = inputHash.upper()
|
||||
result = core.autoProcessTV().processEpisode(sectionName, outputDestination, inputName,
|
||||
status, clientAgent, inputHash, inputCategory)
|
||||
elif sectionName == 'HeadPhones':
|
||||
elif sectionName in ['HeadPhones', 'Lidarr']:
|
||||
result = core.autoProcessMusic().process(sectionName, outputDestination, inputName,
|
||||
status, clientAgent, inputCategory)
|
||||
elif sectionName == 'Mylar':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue