Closed jonskoglund closed 6 months ago
So it looks like it is failing with an error as it can't get the media list from CouchPotato. I'm not sure why this api request doesn't respond in time....
You can by-pass this to have it process the TV shows only by disabling CP in autoProcessMedia.cfg
[CouchPotato]
#### autoProcessing for Movies
#### movie - category that gets called for post-processing with CPS
[[movie]]
enabled = 0
Generally, to do a manual run, just execute python TorrentToMedia.py
To pass in the variables as you have, this will only work by either exporting the variables as environment variables (for Transmission), or change the Torrent downloader to utorrent
[Torrent]
###### clientAgent - Supported clients: utorrent, transmission, deluge, rtorrent, vuze, qbittorrent, other
clientAgent = utorrent
To be able to run this manually as per python TorrentToMedia.py "16b2463c1f1dab2ecfb38ac481f044d752349218" "TVSHOWNAME.S04E14.720p" "/volume1/shared/downloads/transmission/tv
I guess that manual run Wiki page has not been updated for a LONG time.
Ok. thank you for your feedback. I did disable couchpotato in autoProcessMedia.cfg and run manually with python TorrentToMedia.py
. Now I get some Errors in the end. See below. There's only one file in the directory /volume1/shared/downloads/transmission/tv
TVSHOWTITLE.S02E12.mkv. This file is duplicated and stored in a folder the name 'TVSHOW TITLE'. I'm not sure how to fix this. I did play with the output and watch directories in autoProcessMedia.cfg but to no avail.
[03:11:03] [INFO]::MAIN: Loading config from [/volume1/shared/scripts/nzbToMedia/autoProcessMedia.cfg]
[03:11:03] [INFO]::ENVIRONMENT: USERNAME: root
[03:11:03] [INFO]::ENVIRONMENT: LANG: en_US.utf8
[03:11:03] [INFO]::ENVIRONMENT: TERM: xterm-256color
[03:11:03] [INFO]::ENVIRONMENT: SHELL: /bin/ash
[03:11:03] [INFO]::ENVIRONMENT: SUDO_COMMAND: /bin/ash
[03:11:03] [INFO]::ENVIRONMENT: SHLVL: 1
[03:11:03] [INFO]::ENVIRONMENT: HOME: /root
[03:11:03] [INFO]::ENVIRONMENT: SUDO_UID: 1024
[03:11:03] [INFO]::ENVIRONMENT: SUDO_GID: 100
[03:11:03] [INFO]::ENVIRONMENT: PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
[03:11:03] [INFO]::ENVIRONMENT: PGDATA: /var/services/pgsql
[03:11:03] [INFO]::ENVIRONMENT: PWD: /volume1/shared/scripts/nzbToMedia
[03:11:03] [INFO]::ENVIRONMENT: LOGNAME: root
[03:11:03] [INFO]::ENVIRONMENT: USER: root
[03:11:03] [INFO]::ENVIRONMENT: TERMINFO: /usr/share/terminfo
[03:11:03] [INFO]::ENVIRONMENT: MAIL: /var/mail/root
[03:11:03] [INFO]::ENVIRONMENT: LC_ALL: en_US.utf8
[03:11:03] [INFO]::ENVIRONMENT: SUDO_USER: admin
[03:11:03] [INFO]::ENVIRONMENT: PAGER: more
[03:11:03] [INFO]::ENVIRONMENT: OLDPWD: /volume1/shared/scripts
[03:11:03] [INFO]::ENVIRONMENT: _: /bin/python
[03:11:03] [INFO]::MAIN: Checking database structure...
[03:11:03] [DEBUG]::MAIN: Checking Initial Schema database upgrade
[03:11:03] [DEBUG]::MAIN: InitialSchema upgrade not required
[03:11:03] [INFO]::MAIN: Checking if source needs an update
[03:11:06] [DEBUG]::MAIN: cur_commit = 5d5d69ecdd5fe043be8a915ffa26e8427c9641c4 % (newest_commit)= 5d5d69ecdd5fe043be8a915ffa26e8427c9641c4, num_commits_behind = 0
[03:11:06] [INFO]::MAIN: No update needed
[03:11:12] [INFO]::MAIN: nzbToMedia Version:5d5d69ecdd5fe043be8a915ffa26e8427c9641c4 Branch:master (Linux 3.2.40)
[03:11:14] [WARNING]::MAIN: Failed to locate par2. Repair and rename using par files will not be possible!
[03:11:18] [WARNING]::MAIN: Failed to locate ffprobe. Video corruption detection disabled!
[03:11:18] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature ...
[03:11:21] [DEBUG]::MAIN: Connecting to transmission: http://localhost:9091
[03:11:21] [INFO]::MAIN: #########################################################
[03:11:21] [INFO]::MAIN: ## ..::[TorrentToMedia.py]::.. ##
[03:11:21] [INFO]::MAIN: #########################################################
[03:11:21] [DEBUG]::MAIN: Options passed into TorrentToMedia: ['TorrentToMedia.py']
[03:11:21] [WARNING]::MAIN: Invalid number of arguments received from client, Switching to manual run mode ...
[03:11:22] [INFO]::MAIN: Searching /volume1/shared/downloads/transmission/tv for mediafiles to post-process ...
[03:11:22] [DEBUG]::MAIN: Found file TVSHOWTITLE.S02E12.mkv in root directory /volume1/shared/downloads/transmission/tv.
[03:11:30] [INFO]::COPYLINK: MEDIAFILE: [TVSHOWTITLE.S02E12.mkv]
[03:11:30] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv]
[03:11:30] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/The TVShow Title]
[03:11:30] [INFO]::COPYLINK: Hard linking SOURCE MEDIAFILE -> TARGET FOLDER
[03:11:30] [INFO]::MAIN: Starting manual run for NzbDrone:tv - Folder:/volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:30] [INFO]::MAIN: Checking database for download info for The TVShow Title ...
[03:11:31] [INFO]::MAIN: Unable to locate download info for The TVShow Title, continuing to try and process this release ...
[03:11:31] [DEBUG]::MAIN: Received Directory: /volume1/shared/downloads/transmission/tv/The TVShow Title | Name: The TVShow Title | Category: tv
[03:11:31] [DEBUG]::MAIN: SEARCH: Found the Category: tv in directory structure
[03:11:31] [INFO]::MAIN: SEARCH: Found a unique directory The TVShow Title in the category directory
[03:11:31] [DEBUG]::MAIN: Determined Directory: /volume1/shared/downloads/transmission/tv/The TVShow Title | Name: The TVShow Title | Category: tv
[03:11:31] [INFO]::MAIN: Auto-detected SECTION:NzbDrone
[03:11:31] [INFO]::MAIN: Output directory set to: /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [DEBUG]::MAIN: Scanning files in directory: /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [DEBUG]::MAIN: Found 1 files in /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [INFO]::COPYLINK: MEDIAFILE: [TVSHOWTITLE.S02E12.mkv]
[03:11:31] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv/The TVShow Title]
[03:11:31] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/The TVShow Title]
[03:11:31] [INFO]::COPYLINK: SOURCE AND TARGET files are the same, skipping ...
[03:11:31] [DEBUG]::MAIN: Checking for archives to extract in directory: /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [INFO]::MAIN: Found 1 media files in /volume1/shared/downloads/transmission/tv/The TVShow Title
[03:11:31] [INFO]::MAIN: Calling NzbDrone:tv to post-process:The TVShow Title
[03:11:31] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.178.116:8989
[03:11:31] [ERROR]::SERVER: Server failed to respond at http://192.168.178.116:8989
[03:11:31] [ERROR]::NZBDRONE: Server did not respond. Exiting
[03:11:31] [ERROR]::MAIN: A problem was reported when trying to perform a manual run for NzbDrone:tv.
[03:11:31] [ERROR]::MAIN: A problem was reported in the TorrentToMedia.py script.
[03:11:31] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.178.116:8989
[03:11:31] [ERROR]::SERVER: Server failed to respond at http://192.168.178.116:8989
[03:11:31] [ERROR]::NZBDRONE: Server did not respond. Exiting
This indicates that NZBDrone does not respond to the API call. Was it running at the time of the manual run?
Sorry to bother you again. I really appreciate your help on this. Can't seem to wrap my head around this script. It's not that hard to configure this wonderful (and did I already say smart and amazing?) piece of software. Almost there.... Somehow Sonarr stopped running. Restarting the package did remove the last 4 errors mentioned in the previous post. But it doesn't move anything. Just for your information. I still have the same directory as before:
+--volume1/
+--shared/
| +--downloads/
| +--transmission/
| +--tv/
| +--TVTITLE1.S02E12.mkv
| +--TVTITLE2.S06E10/
| +--TVTITLE2.S06E10/TVTITLE2.S06E10.mkv
+--tv/
+--TVTITLE1/
| +--season 1/
| +--season etc./
+--TVTITLE2/
+--season 1/
+--season etc./
The location where all tv files should go is: /volume1/shared/tv/
Every tv show has its own folder.
#########################################################
[11:28:05] [INFO]::MAIN: ## ..::[TorrentToMedia.py]::.. ##
[11:28:05] [INFO]::MAIN: #########################################################
[11:28:05] [DEBUG]::MAIN: Options passed into TorrentToMedia: ['TorrentToMedia.py']
[11:28:05] [WARNING]::MAIN: Invalid number of arguments received from client, Switching to manual run mode ...
[11:28:05] [INFO]::MAIN: Searching /volume1/shared/downloads/transmission/tv for mediafiles to post-process ...
[11:28:05] [DEBUG]::MAIN: Found file TVTITLE1.S02E12.mkv in root directory /volume1/shared/downloads/transmission/tv.
[11:28:06] [INFO]::COPYLINK: MEDIAFILE: [TVTITLE1.S02E12.mkv]
[11:28:06] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv]
[11:28:06] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/Tv Title 1]
[11:28:06] [INFO]::COPYLINK: MEDIAFILE already exists in the TARGET folder, skipping ...
[11:28:06] [INFO]::MAIN: Starting manual run for NzbDrone:tv - Folder:/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [INFO]::MAIN: Checking database for download info for TVTITLE2.S06E10 ...
[11:28:06] [INFO]::MAIN: Unable to locate download info for TVTITLE2.S06E10, continuing to try and process this release ...
[11:28:06] [DEBUG]::MAIN: Received Directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10 | Name: TVTITLE2.S06E10 | Category: tv
[11:28:06] [DEBUG]::MAIN: SEARCH: Found the Category: tv in directory structure
[11:28:06] [INFO]::MAIN: SEARCH: Found a unique directory TVTITLE2.S06E10 in the category directory
[11:28:06] [DEBUG]::MAIN: Determined Directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10 | Name: TVTITLE2.S06E10 | Category: tv
[11:28:06] [INFO]::MAIN: Auto-detected SECTION:NzbDrone
[11:28:06] [INFO]::MAIN: Output directory set to: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [DEBUG]::MAIN: Scanning files in directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [DEBUG]::MAIN: Found 1 files in /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [INFO]::COPYLINK: MEDIAFILE: [TVTITLE2.S06E10.mkv]
[11:28:06] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10]
[11:28:06] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10]
[11:28:06] [INFO]::COPYLINK: SOURCE AND TARGET files are the same, skipping ...
[11:28:06] [DEBUG]::MAIN: Checking for archives to extract in directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [INFO]::MAIN: Found 1 media files in /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:06] [INFO]::MAIN: Calling NzbDrone:tv to post-process:TVTITLE2.S06E10
[11:28:06] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.178.116:8989
[11:28:07] [DEBUG]::SERVER: Server responded at http://192.168.178.116:8989
[11:28:07] [INFO]::MAIN: Attempting to verify tv fork
[11:28:09] [INFO]::MAIN: NzbDrone:tv fork set to default
[11:28:09] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:09] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:09] [POSTPROCESS]::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
[11:28:09] [DEBUG]::NZBDRONE: path: /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:28:09] [DEBUG]::NZBDRONE: Opening URL: http://192.168.178.116:8989/api/command with data: {"path": "/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10", "importMode": "Move", "name": "DownloadedEpisodesScan"}
[11:28:10] [DEBUG]::NZBDRONE: Scan started with id: 148755
[11:29:10] [DEBUG]::NZBDRONE: The Scan command return status: completed
[11:29:10] [DEBUG]::NZBDRONE: The Scan command has completed successfully. Renaming was successful.
[11:29:10] [INFO]::CLEANDIR: Doing Forceful Clean of /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:29:10] [INFO]::MAIN: Deleting /volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10
[11:29:11] [INFO]::MAIN: Starting manual run for NzbDrone:tv - Folder:/volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [INFO]::MAIN: Checking database for download info for Tv Title 1 ...
[11:29:11] [INFO]::MAIN: Unable to locate download info for Tv Title 1, continuing to try and process this release ...
[11:29:11] [DEBUG]::MAIN: Received Directory: /volume1/shared/downloads/transmission/tv/Tv Title 1 | Name: Tv Title 1 | Category: tv
[11:29:11] [DEBUG]::MAIN: SEARCH: Found the Category: tv in directory structure
[11:29:11] [INFO]::MAIN: SEARCH: Found a unique directory Tv Title 1 in the category directory
[11:29:11] [DEBUG]::MAIN: Determined Directory: /volume1/shared/downloads/transmission/tv/Tv Title 1 | Name: Tv Title 1 | Category: tv
[11:29:11] [INFO]::MAIN: Auto-detected SECTION:NzbDrone
[11:29:11] [INFO]::MAIN: Output directory set to: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [DEBUG]::MAIN: Scanning files in directory: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [DEBUG]::MAIN: Found 1 files in /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [INFO]::COPYLINK: MEDIAFILE: [TVTITLE1.S02E12.mkv]
[11:29:11] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv/Tv Title 1]
[11:29:11] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/Tv Title 1]
[11:29:11] [INFO]::COPYLINK: SOURCE AND TARGET files are the same, skipping ...
[11:29:11] [DEBUG]::MAIN: Checking for archives to extract in directory: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [INFO]::MAIN: Found 1 media files in /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:11] [INFO]::MAIN: Calling NzbDrone:tv to post-process:Tv Title 1
[11:29:11] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.178.116:8989
[11:29:11] [DEBUG]::SERVER: Server responded at http://192.168.178.116:8989
[11:29:11] [INFO]::MAIN: Attempting to verify tv fork
[11:29:12] [INFO]::MAIN: NzbDrone:tv fork set to default
[11:29:12] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:12] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:12] [POSTPROCESS]::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
[11:29:12] [DEBUG]::NZBDRONE: path: /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:29:12] [DEBUG]::NZBDRONE: Opening URL: http://192.168.178.116:8989/api/command with data: {"path": "/volume1/shared/downloads/transmission/tv/Tv Title 1", "importMode": "Move", "name": "DownloadedEpisodesScan"}
[11:29:12] [DEBUG]::NZBDRONE: Scan started with id: 148758
[11:30:13] [DEBUG]::NZBDRONE: The Scan command return status: completed
[11:30:13] [DEBUG]::NZBDRONE: The Scan command has completed successfully. Renaming was successful.
[11:30:13] [INFO]::CLEANDIR: Doing Forceful Clean of /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:30:13] [INFO]::MAIN: Deleting /volume1/shared/downloads/transmission/tv/Tv Title 1
[11:30:13] [INFO]::MAIN: Starting manual run for NzbDrone:tv - Folder:/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [INFO]::MAIN: Checking database for download info for TVTITLE1.S02E12 ...
[11:30:13] [INFO]::MAIN: Unable to locate download info for TVTITLE1.S02E12, continuing to try and process this release ...
[11:30:13] [DEBUG]::MAIN: Received Directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12 | Name: TVTITLE1.S02E12 | Category: tv
[11:30:13] [DEBUG]::MAIN: SEARCH: Found the Category: tv in directory structure
[11:30:13] [INFO]::MAIN: SEARCH: Found a unique directory TVTITLE1.S02E12 in the category directory
[11:30:13] [DEBUG]::MAIN: Determined Directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12 | Name: TVTITLE1.S02E12 | Category: tv
[11:30:13] [INFO]::MAIN: Auto-detected SECTION:NzbDrone
[11:30:13] [INFO]::MAIN: Output directory set to: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [DEBUG]::MAIN: Scanning files in directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [DEBUG]::MAIN: Found 1 files in /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [INFO]::COPYLINK: MEDIAFILE: [TVTITLE1.S02E12.mkv]
[11:30:13] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12]
[11:30:13] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12]
[11:30:13] [INFO]::COPYLINK: SOURCE AND TARGET files are the same, skipping ...
[11:30:13] [DEBUG]::MAIN: Checking for archives to extract in directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [INFO]::MAIN: Found 1 media files in /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:13] [INFO]::MAIN: Calling NzbDrone:tv to post-process:TVTITLE1.S02E12
[11:30:13] [DEBUG]::SERVER: Attempting to connect to server at http://192.168.178.116:8989
[11:30:13] [DEBUG]::SERVER: Server responded at http://192.168.178.116:8989
[11:30:13] [INFO]::MAIN: Attempting to verify tv fork
[11:30:13] [INFO]::MAIN: NzbDrone:tv fork set to default
[11:30:14] [INFO]::MAIN: FLATTEN: Flattening directory: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:14] [DEBUG]::MAIN: Checking for empty folders in:/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:14] [POSTPROCESS]::NZBDRONE: SUCCESS: The download succeeded, sending a post-process request
[11:30:14] [DEBUG]::NZBDRONE: path: /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:30:14] [DEBUG]::NZBDRONE: Opening URL: http://192.168.178.116:8989/api/command with data: {"path": "/volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12", "importMode": "Move", "name": "DownloadedEpisodesScan"}
[11:30:14] [DEBUG]::NZBDRONE: Scan started with id: 148760
[11:31:15] [DEBUG]::NZBDRONE: The Scan command return status: completed
[11:31:15] [DEBUG]::NZBDRONE: The Scan command has completed successfully. Renaming was successful.
[11:31:15] [INFO]::CLEANDIR: Doing Forceful Clean of /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:31:15] [INFO]::MAIN: Deleting /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12
[11:31:15] [INFO]::MAIN: The TorrentToMedia.py script completed successfully.
Does it have something to do with the source and target folder?:
[11:28:06] [INFO]::COPYLINK: SOURCE FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10]
[11:28:06] [INFO]::COPYLINK: TARGET FOLDER: [/volume1/shared/downloads/transmission/tv/TVTITLE2.S06E10]
[11:28:06] [INFO]::COPYLINK: SOURCE AND TARGET files are the same, skipping ...
So as far as the script goes, it appears to have processed everything. The final move from /volume1/shared/downloads/transmission/tv/TVTITLE1.S02E12 to /volume1/tv/TVTITLE1/ should be done by Sonarr. Look at the Sonarr logs at 11:31:14 to see why this didn't move the files.
The SOURCE AND TARGET files are the same, skipping ..
is a result of having the sameoutputDirectory
as your input. i.e. /volume1/shared/downloads/transmission
The only reason to change this is if you want to have an interim directory to link/extract to.
e.g.
Transmission would download to /volume1/shared/downloads/transmission
outputDirectory = /volume1/shared/downloads/processed
would see the files hard-linked to /volume1/shared/downloads/processed/tv/TVTITLE2/
Then these would be passed to Sonarr to then move the files to /volume1/tv/TVTITLE2/
The whole idea here is to have Sonarr only see the processed
directory and therefore not interfere with the Torrent files and allow Transmission to continue seeding etc. If you are not worried about continued seeding, this is not an issue.
It looks like I have it up and running now. Sonarr gave me this error. Import failed, path does not exist or is not accessible by Sonarr
After changing folder permissions and reinstalling Sonarr it looks like it's working now. I will keep an eye on the download folders this week to see if it's doing ok. I will report back if I encounter any problems. Thank you so far for all the support. 👍
Inside the movie and tv folder I have a movie and tv show that I want to move to my collection. To test if I have nzbToMedia set up the right way I do a manual run with TorrentToMedia.py.
python TorrentToMedia.py "16b2463c1f1dab2ecfb38ac481f044d752349218" "TVSHOWNAME.S04E14.720p" "/volume1/shared/downloads/transmission/tv
But I can't seem to fix the errors below. The weird thing is that the script is "working" on the movie directory (files) instead of the tvshow files. In the end this script doesn't do/move anything :-(. Any ideas or tips on how to fix this?I have my directories set up like this:
This is my autoProcessMedia.cfg: