mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Complete re-code of linking in TorrentToMedia
This commit is contained in:
parent
06c2dae5ce
commit
6a0158d801
14 changed files with 291 additions and 208 deletions
|
@ -2,7 +2,7 @@ import os
|
|||
import time
|
||||
import nzbtomedia
|
||||
from lib import requests
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii
|
||||
from nzbtomedia.nzbToMediaUtil import convert_to_ascii, joinPath
|
||||
from nzbtomedia import logger
|
||||
|
||||
class autoProcessMusic:
|
||||
|
@ -76,7 +76,7 @@ class autoProcessMusic:
|
|||
|
||||
params['dir'] = os.path.dirname(dirName)
|
||||
if remote_path:
|
||||
dirName_new = os.path.join(remote_path, os.path.basename(os.path.dirname(dirName))).replace("\\", "/")
|
||||
dirName_new = joinPath(remote_path, os.path.basename(os.path.dirname(dirName))).replace("\\", "/")
|
||||
params['dir'] = dirName_new
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue