![]() ![]() ![]() If [[ " $, skipping deletion of video file. # Test that this is a download event, so we don't run on grab or rename. # For example, a path of "/data/torrents/tv", "torrents" is a good choice. # Identifiable portion of path to torrents, so it will only run on torrents. # The final base directory torrents end up in, for example "tv" from /data/torrents/tv # Seconds to wait between size checks for in progress unpack # In *bytes*, the biggest rar file size limit to prevent video deletion from torrents with unrelated rar files (like subs) # Tune values below to protect your torrents w/ small rar files or non-torrent download client. # Path: /path/to/where/script/is/sonarr_cleanup_packed_torrent.sh # In Sonarr, Settings -> Connect add a Custom Script # Put this script somewhere on your file system like /usr/local/bin and make it executable. # sonarr_episodefile_sourcefolder="/data/torrent/tv/Penny.x264-2HD" sonarr_episodefile_sourcepath="/data/torrent/tv/Penny.x264-2HD/penny.x264-2hd.mkv" Learn more about bidirectional Unicode characters To review, open the file in an editor that reveals hidden Unicode characters. ![]() This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |