Importing extracted files without Drone Factory [unrar]

  1. Considering the nzbToMedia would be running on the seedbox then internally it would still hardlink. Sonarr importing it then over a mount would of course just be a copy, but that changes little. The hardlink is purely to handle the non-rar quicker.

  2. There’s no such thing as a hardlink to a hardlink, it’s just another link to the same content. In fact, there’s always a hardlink from the directory file entry to the content. Which is why, on linux, you see a link count of 1 on normal files, because the content is referenced once, until you create a hardlink coz then there are two links. In this scenario there would be 3 (hard)links.

  3. Definitely, but only on Windows, coz on Windows filelocks block ‘deletions’ by default, where on linux it does not. So it depends on how Deluge locks. Based on a quick google, libtorrent has a flag for it.
    But I agree, it’s definitely tricky.

@Taloth , Copy all -

However, I’m not sure why you keep referencing linux. No one that is having this problem to begin with is using linux. If we were, this wouldn’t even be an issue. That’s why I brought up the issue in the beginning on the other thread:

" I’m SO sick of us Windows people being left out of all the open source stuff…it’s like “oh yeah, THOSE guys” .

So, let’s get back to the issue at hand. I REALLY want this to work for me, and ALL the other dudes out there.

So - let’s assume we use “uselink=hard” in the NZBtoMedia config:

  1. NzbToMedia extracts all finished RARed torrents and copies (doesn’t need to link because it actually created the file, right?) finished media to drone folder.
  2. NTM also makes hard link for all non-RARed (labeled TV) in the drone (temp) folder with the target being in the deluge finished folder.
  3. Sonarr would then post-process EVERYTHING from the Drone folder instead of the normal completed Dir??
  4. That would still leave you with a duplicated dir (drone folder) with all those hard links in it, right?

The reason I mentioned linux is because the link count is clearly visible there in the ls result while it’s not readily available on windows without tools, but the underlying principle is exactly the same as on Windows.
I already responded to your complaint about ‘Windows’ in the other thread, but it feels worth repeating: Almost 50% of our userbase is windows, so don’t start with this “Windows is left out” shit again, it’s bullshit.

  1. Yes, but I’m assuming it actually unrars in the drone (temp) folder, but if it unrars somewhere else it’ll move it.

  2. Yes. At least, that’s what I’m understanding from the nzbToMedia docs.

  3. No, nzbToMedia calls the Sonarr API for each download individually, instructing Sonarr to import that specific download. It doesn’t process a generic ‘drone’ folder, which is the whole purpose of this exercise, to get a download to flow from grab->download->pp-script->import-> in an event driven manner.

  4. No/Yes, that depends on whether nzbToMedia calls Sonarr using the importMode parameter. Which, based on this it doesn’t do. But that’s no surprise coz it wasn’t needed for usenet downloads. Might be worth suggesting to clinton to add , "importMode": "Move".

I’ve been using a VBScript I made that uses Sonarrs’ API, the script is torrent only and uses WinRAR, but essentially, once a download has completed, if it has a Sonarr or Radarr label, it will extract the file to a temporary directory, then tell the API to scan that directory and also notifies it of which download by using the downloadClientID, aka the torrents HASH, that way the download handler can do the rest once the torrent has finished seeding.

I plan to use nzbToMedia, once Radarr is supported, although I’m still unsure if I should make that leap since a lot of what nzbToMedia does (at the moment) would be wasted on me, pretty much all I need (for now) is my file extracted, Sonarr or Radarr to scan that directory, then for my torrents to be removed once seeding has completed, my script handles the extraction and the API call to scan the directory, and Sonarr as well as Radarr handles the moving of the files as well as the removal of the torrent.

The downside to my current method (which is something I will probably have to include at some point), is that it wouldn’t recursively check subfolders for rar’s, so if you have a season pack where each season is a rar and in their own folders, then the script would ignore it.

The reason why I’m wanting to make the leap is because nzbToMedia sounds like a smart move (for me) since I plan on doing a lot of upgrading to my server and a lot of the features it offers would come in handy, but I’m unsure because currently, the script I made is meeting my needs, and if drone factory never became deprecated, then I probably wouldn’t have considered the move.

Overall, for me, there are more reasons to move to nzbToMedia, but if I do I might wait until I have officially made the decision to move to linux, as it would be pointless setting it up in a windows environment to then have to learn how to do it in linux, currently, I’m running a headless VM to brush up on my linux.

Shoot,

Well, looks like we are in a holding pattern then. (at least with NZBtoMedia)

IF there was a way to ONLY post-porocess .RARs, then we would be golden as I suggested in this github issue:

@Skullzy ,

Exactly, you need a solution that has some type of database so it doesn’t re-extract already completed torrents.

As I said in my reply to Taloth. If there was a way to ONLY post-process .RARs with NZBtoMedia, then we would have no issue and all of us would be happy.

That’s why I used SyncBackup - because it keeps a DB, and had the option to filter .RARs. as I wrote in this post:

Which still works until the drone factory is no more.

Again - it’s the ONLY method I’ve seen that doesn’t duplicate files, and doesn’t need to link.

1 Like

Why a holding pattern? Just add that importMode to the code line I linked and Sonarr should move instead of hardlink/copy.

@Taloth

I’m a bit confused. Excuse my ignorance. I’m no coder. I’m sysadmin.

Can you give me an example?

Sure.

NzbToMedia is using python. which means in this case you don’t have to compile the sources.

needs to be:

            if remote_path:
                logger.debug("remote_path: {0}".format(remoteDir(dirName)), section)
                data = {"name": "DownloadedEpisodesScan", "path": remoteDir(dirName), "downloadClientId": download_id, "importMode": "Move"}
            else:
                logger.debug("path: {0}".format(dirName), section)
                data = {"name": "DownloadedEpisodesScan", "path": dirName, "downloadClientId": download_id, "importMode": "Move"}

Okay, so, making sure I got this right so I can go do some testing:

1 - Change the NzbtoMedia config

[torrent]
uselink = hard

2 - Change autoprocesstv.py - lines 253 and 256 to add " “importMode”: “Move”" "

-I don’t need to add “importMode”: “Move” to the NTM config file, right?

The only question I have is that for all the other non-RARed TV shows that are hard-linked in the drone “temp” dir, won’t sonarr try to import twice since the original torrent is still in the Deluge completed DIR and now also in the “drone” folder as well?

  1. yes

  2. yes, only on the lines. nope for the config.

  3. That’s a concern yes, similar to the case I discussed with the user here Import without Drone Factory [iflicks]
    The suggestion there was to use ‘Remote’ Path Mapping to point it to some empty directory, so it finds nothing to import except via nzbToMedia. It isn’t ideal and I do plan to add a config option so the user can specify how he imports, but I suppose that at that point I’d be pretty close to Transfer Provider support and can think about proper unrar integration.

@Taloth

Okay, now what if I have A NZB downloader going to that same finished folder as the torrents … If change the remote path mapping, am I going to have to also enable NZBtoMedia for NZBs as well?

Also @Taloth -

Do you have an ETA when you guys are going to discontinue the drone factory?

That should largely be a non-issue, you shouldn’t mix the output folder for you nzb and torrent client. In that case it doesn’t use the mapping nor nzbToMedia.

So no ETA, but as mentioned on the wiki, it won’t automatically disappear since v3 includes a collection of backwards incompatible changes and will be a manual update.

@Taloth

HOLY SHIT. I think we got it.

Doing some final testing.

YAS! It worked! (logs below)

Tested with a .rar release and non-.rar release.

  • non-Rar release flow:
    Sonarr sends release to deluge -> Deluge downloads, begins seeding in finished DIR-> Sonarr doesn’t import because remote path is EMPTY. -> NTM gets finished flag from DELUGE, COPIES to “drone/temp” dir -> NTM sends episodescan command to sonarr -> Sonarr finds media in “temp/drone folder” -> Sonarr MOVES release to final destination . Temp DIR is clean, original .rar torrent is still being seeding in it’s original finished dir.

  • Rar-Release:
    Sonarr send release (rar) to deluge -> Deluge downloads, sends .RARs to “finished/seeding dir” begins seeding -> NTM extracts release, sends extract media file it to “temp/drone folder” -> NTM sends episodescan command to sonarr -> Sonarr finds extracted media file in “temp/drone folder” -> Sonarr MOVES release to final destination . Temp DIR is clean, original .rar torrent is still being seeding in it’s original finished dir.


So to recap:

1. Sonarr settings -> Download Client -> disable drone factory

2. Sonarr settings -> Download Client -> Enable Remote & local paths, however, ensure these directories exist on disk, but are empty

3. Config NzbToMedia autoprocessmedia.cfg to the following:


[NzbDrone]

[[tv]]
    enabled = 1
    apikey = KEY
    host = sonarrhost
    port = sonarrport
    username = ""
    password = ""
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    web_root = /sonarr
    ssl = 0
    delete_failed = 0
    # Enable/Disable linking for Torrents
    Torrent_NoLink = 0
    keep_archive = 1
    extract = 1
    nzbExtractionBy = Downloader
    wait_for = 2
    # Set this to minimum required size to consider a media file valid (in MB)
    minSize = 0
    # Enable/Disable deleting ignored files (samples and invalid media files)
    delete_ignored = 1
    ##### Enable if NzbDrone is on a remote server for this category
    remote_
[Torrent]
   
    clientAgent = deluge
   
    useLink = hard
   
    outputDirectory = C:\Media\PlexDownloads\drone (This is the old "Drone factory folder / temp folder)
    
    default_downloadDirectory = C:\Media\PlexDownloads\tv\torrents (Finished DIR / Seeding DIR)
   
    categories = tv
  
    noFlatten = ""
   
    DelugeHost = IP
    DelugePort = PORT
    DelugeUSR = admin
    DelugePWD = PW
    ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
    deleteOriginal = 0
    chmodDirectory = 0
    resume = 1
    resumeOnFailure = 1

[Extensions]
    compressedExtensions = .zip, .rar, .7z, .gz, .bz, .tar, .arj, .1, .01, .001
    mediaExtensions = .mkv, .avi, .divx, .xvid, .mov, .wmv, .mp4, .mpg, .mpeg, .vob, .iso, .m4v, .ts
    audioExtensions = ""
    metaExtensions = ""

4. Change the \core\NzbToMedia autoProcesstv.py lines 251 - 256 to this:

            if remote_path:
                logger.debug("remote_path: {0}".format(remoteDir(dirName)), section)
                data = {"name": "DownloadedEpisodesScan", "path": remoteDir(dirName), "downloadClientId": download_id, "importMode": "Move"}
            else:
                logger.debug("path: {0}".format(dirName), section)
                data = {"name": "DownloadedEpisodesScan", "path": dirName, "downloadClientId": download_id, "importMode": "Move"}

I’ll write this up in another post to make it all pretty, but does this sound right @taloth ?


Reference logs:

** RARed release / no modification to  .py**
Result:  Release extracted, post-processing complete, orphaned in drone folder



2017-07-19 05:06:40 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status = ?, client_agent = ?, last_update = ?, input_id = ?, input_hash = ?, input_name = ? WHERE input_directory = ? with args [0, u'deluge', 736529, u'edde03257c2712865a888e18349313dc083327a9', u'edde03257c2712865a888e18349313dc083327a9', u'Tosh.0.S09E16.1080p.WEB.x264-TBS', u'C:\\Media\\Plexdownloads\\tv\\Torrents']
2017-07-19 05:06:40 INFO    ::MAIN: SEARCH: Found torrent directory Tosh.0.S09E16.1080p.WEB.x264-TBS in input directory directory C:\Media\Plexdownloads\tv\Torrents
2017-07-19 05:06:40 INFO    ::MAIN: SEARCH: Setting inputDirectory to C:\Media\Plexdownloads\tv\Torrents\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:40 INFO    ::MAIN: Auto-detected SECTION:NzbDrone
2017-07-19 05:06:45 INFO    ::MAIN: Output directory set to: C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:46 INFO    ::MAIN: Extracting C:\Media\Plexdownloads\tv\Torrents\Tosh.0.S09E16.1080p.WEB.x264-TBS\tosh.0.s09e16.1080p.web.x264-tbs.rar to C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:48 INFO    ::MAIN: EXTRACTOR: Extraction was successful for C:\Media\Plexdownloads\tv\Torrents\Tosh.0.S09E16.1080p.WEB.x264-TBS\tosh.0.s09e16.1080p.web.x264-tbs.rar to C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:51 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:51 INFO    ::MAIN: Found 1 media files in C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:51 INFO    ::MAIN: Calling NzbDrone:tv to post-process:Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:51 INFO    ::MAIN: Attempting to verify tv fork
2017-07-19 05:06:51 INFO    ::MAIN: NzbDrone:tv fork set to default
2017-07-19 05:06:51 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS
2017-07-19 05:06:51 POSTPROCESS::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
2017-07-19 05:07:11 DB      ::DB: Updating status of our download Tosh.0.S09E16.1080p.WEB.x264-TBS in the DB to 1
2017-07-19 05:07:11 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status=?, last_update=? WHERE input_name=? with args [1, 736529, u'Tosh.0.S09E16.1080p.WEB.x264-TBS']
2017-07-19 05:07:16 INFO    ::CLEANDIRS: Directory C:\Media\PlexDownloads\drone\tv\Tosh.0.S09E16.1080p.WEB.x264-TBS still contains 1 unprocessed file(s), skipping ...
2017-07-19 05:07:16 INFO    ::MAIN: The C:\nzbToMedia\TorrentToMedia.py script completed successfully.




----------

*** non-RARed release // Altered autoProcesstv.py file:**

Result:  Release is copied to drone folder and orphaned.  



2017-07-19 05:37:49 INFO    ::MAIN: #########################################################
2017-07-19 05:37:49 INFO    ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2017-07-19 05:37:49 INFO    ::MAIN: #########################################################
2017-07-19 05:37:49 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status = ?, client_agent = ?, last_update = ?, input_id = ?, input_hash = ?, input_name = ? WHERE input_directory = ? with args [0, u'deluge', 736529, u'd4d6a85fa26ac6e6ab22c2b638ad6bda4fde80e4', u'd4d6a85fa26ac6e6ab22c2b638ad6bda4fde80e4', u'Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv', u'C:\\Media\\Plexdownloads\\tv\\Torrents']
2017-07-19 05:37:50 INFO    ::MAIN: SEARCH: Found torrent file Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv in input directory directory C:\Media\Plexdownloads\tv\Torrents
2017-07-19 05:37:50 INFO    ::MAIN: SEARCH: Setting inputDirectory to C:\Media\Plexdownloads\tv\Torrents\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:37:50 INFO    ::MAIN: Auto-detected SECTION:NzbDrone
2017-07-19 05:37:55 INFO    ::MAIN: Output directory set to: C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:37:55 INFO    ::COPYLINK: MEDIAFILE: [Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv]
2017-07-19 05:37:55 INFO    ::COPYLINK: SOURCE FOLDER: [C:\Media\Plexdownloads\tv\Torrents]
2017-07-19 05:37:55 INFO    ::COPYLINK: TARGET FOLDER: [C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv]
2017-07-19 05:37:55 INFO    ::COPYLINK: Hard linking SOURCE MEDIAFILE -> TARGET FOLDER
2017-07-19 05:37:55 WARNING ::COPYLINK: Error: Incorrect function.
, copying instead ... 
2017-07-19 05:37:55 INFO    ::COPYLINK: Copying SOURCE MEDIAFILE -> TARGET FOLDER
2017-07-19 05:38:23 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:38:23 INFO    ::MAIN: Found 1 media files in C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:38:23 INFO    ::MAIN: Calling NzbDrone:tv to post-process:Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:38:23 INFO    ::MAIN: Attempting to verify tv fork
2017-07-19 05:38:23 INFO    ::MAIN: NzbDrone:tv fork set to default
2017-07-19 05:38:23 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv
2017-07-19 05:38:23 POSTPROCESS::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
2017-07-19 05:38:43 DB      ::DB: Updating status of our download Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv in the DB to 1
2017-07-19 05:38:43 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status=?, last_update=? WHERE input_name=? with args [1, 736529, u'Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv']
2017-07-19 05:38:48 INFO    ::CLEANDIRS: Directory C:\Media\PlexDownloads\drone\tv\Frontline.S2017E14.Life.on.Parole.1080p.iT.WEB-DL.AAC2.0.H.264-QUEENS.mkv has been processed, removing ...
2017-07-19 05:38:48 INFO    ::MAIN: The C:\nzbToMedia\TorrentToMedia.py script completed successfully.



----------

*** non Rared file, modified .py, remote path removed**

result:  copied to drone folder, PP completed by Sonarr, DIR clean.  BOOM!




2017-07-19 06:49:16 INFO    ::MAIN: #########################################################
2017-07-19 06:49:16 INFO    ::MAIN: ## ..::[TorrentToMedia.py]::.. ##
2017-07-19 06:49:16 INFO    ::MAIN: #########################################################
2017-07-19 06:49:16 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status = ?, client_agent = ?, last_update = ?, input_id = ?, input_hash = ?, input_name = ? WHERE input_directory = ? with args [0, u'deluge', 736529, u'3756fdc9bab0c77fe3a79918f7b70293c1cc29f0', u'3756fdc9bab0c77fe3a79918f7b70293c1cc29f0', u'The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv', u'C:\\Media\\Plexdownloads\\tv\\Torrents']
2017-07-19 06:49:16 INFO    ::MAIN: SEARCH: Found torrent file The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv in input directory directory C:\Media\Plexdownloads\tv\Torrents
2017-07-19 06:49:16 INFO    ::MAIN: SEARCH: Setting inputDirectory to C:\Media\Plexdownloads\tv\Torrents\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:16 INFO    ::MAIN: Auto-detected SECTION:NzbDrone
2017-07-19 06:49:21 INFO    ::MAIN: Output directory set to: C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:21 INFO    ::COPYLINK: MEDIAFILE: [The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv]
2017-07-19 06:49:21 INFO    ::COPYLINK: SOURCE FOLDER: [C:\Media\Plexdownloads\tv\Torrents]
2017-07-19 06:49:21 INFO    ::COPYLINK: TARGET FOLDER: [C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv]
2017-07-19 06:49:21 INFO    ::COPYLINK: Hard linking SOURCE MEDIAFILE -> TARGET FOLDER
2017-07-19 06:49:21 WARNING ::COPYLINK: Error: Incorrect function.
, copying instead ... 
2017-07-19 06:49:21 INFO    ::COPYLINK: Copying SOURCE MEDIAFILE -> TARGET FOLDER
2017-07-19 06:49:30 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:30 INFO    ::MAIN: Found 1 media files in C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:30 INFO    ::MAIN: Calling NzbDrone:tv to post-process:The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:30 INFO    ::MAIN: Attempting to verify tv fork
2017-07-19 06:49:30 INFO    ::MAIN: NzbDrone:tv fork set to default
2017-07-19 06:49:30 INFO    ::MAIN: FLATTEN: Flattening directory: C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv
2017-07-19 06:49:30 POSTPROCESS::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
2017-07-19 06:49:50 DB      ::DB: Updating status of our download The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv in the DB to 1
2017-07-19 06:49:50 DB      ::MAIN: nzbtomedia.db: UPDATE downloads SET status=?, last_update=? WHERE input_name=? with args [1, 736529, u'The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv']
2017-07-19 06:49:55 INFO    ::CLEANDIRS: Directory C:\Media\PlexDownloads\drone\tv\The.Jim.Jefferies.Show.S01E05.1080p.WEB.x264-TBS.mkv has been processed, removing ...
2017-07-19 06:49:55 INFO    ::MAIN: The C:\nzbToMedia\TorrentToMedia.py script completed successfully.




At 2) Instructions seem to be a bit unclear. The Remote Path Mapping must have an appropriate Remote & Local path specified. I assume you meant to say that the Local Directory specified is empty on disk.

At 3) Some cleanup might be a good idea. the block unintentionally ends with ‘remote_’.

At 4) you’re not actually replacing any code. Might want to update in the issue you posted for clinton as well.

Otherwise I’d say it looks correct, I can’t comment on all the nzbToMedia specific settings but I’ve seen nothing weird.
However, you might want to make it more obvious which fields a user is supposed to update, paths, usernames/pw, etc.

@Taloth

"you’re not actually replacing any code. Might want to update in the issue you posted for clinton as well."
we aren’t?? I’m confused. I thought we had to edit that autoprocesstv.py file?

I’ll clean up the instructions for sure and start a new thread. Gimme a day or so.

I didn’t mess with any of the NZB settings either. Only using this as an extractor tool. This is pretty simple 10-minute setup that’s a very good resolution for b***h of a problem.

I’m glad we got it done . Thanks for your patience and willingness to help us out!

re: code… I meant you accidentally copy-pasted the unedited version. it’s missing the ‘importMode’ part.

And thank you for sticking with it, I know it’s not particularly easy (without built in unrar support).

Ahh, sorry, long night…too much jameson. Corrected.

No problem man, Appreciate you .

I’ll write this up in the next 24 hours and blast it out.

Feel free to correct it if it’s lacking something somewhere.