mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
We now can post-process files not inside of there own folder, we simply confirm there at the root of our category or watch folder then move them into there own seperate foldersand go from there.
nzbName's are now cleaned up.
This commit is contained in:
parent
086eaaa516
commit
fd4d14be64
7 changed files with 175 additions and 88 deletions
|
@ -5,11 +5,12 @@ import nzbtomedia
|
|||
from lib import requests
|
||||
from nzbtomedia.Transcoder import Transcoder
|
||||
from nzbtomedia.nzbToMediaSceneExceptions import process_all_exceptions
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii, delete, create_torrent_class
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii, delete, create_torrent_class, clean_nzbname
|
||||
from nzbtomedia import logger
|
||||
|
||||
class autoProcessMovie:
|
||||
def find_imdbid(self, dirName, nzbName):
|
||||
nzbName = clean_nzbname(nzbName)
|
||||
# find imdbid in dirName
|
||||
m = re.search('(tt\d{7})', dirName)
|
||||
if m:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue