This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################################################ | |
### NZBGET POST-PROCESSING SCRIPT ### | |
# Change user:group ownership and folder/file permission. | |
################################################################################ | |
### OPTIONS ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Put in ./Library/Application Support/Plex Media Server/Profiles/Android-SHIELD Android TV.xml --> | |
<!-- Author: Donald Webster [email protected] --> | |
<?xml version="1.0" encoding="utf-8"?> | |
<Client name="SHIELD Android TV"> | |
<Identification> | |
<Header name="User-Agent" substring="SHIELD Android TV" /> | |
</Identification> | |
<TranscodeTargets> | |
<VideoProfile container="mkv" codec="h264" audioCodec="aac" context="streaming" /> | |
<MusicProfile container="flac" codec="flac" id="StereoMusicTranscodeProfile" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script uses the xmlrpc command from the xmlrpc-c package to change the label of an imported torrent in rTorrent. | |
# First argument is host | |
host="${1:-localhost}" | |
# Second argument is port | |
port="${2:-9082}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script uses the xmlrpc command from the xmlrpc-c package to change the label of an imported torrent in rTorrent. | |
# First argument is host | |
host="${1:-localhost}" | |
# Second argument is port | |
port="${2:-9081}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sonarr_label="tv" | |
# Make sure we're working on torrents. | |
if ! [[ "${sonarr_episodefile_sourcepath}" =~ torrent ]]; then | |
echo "[Torrent Symlink] Path ${sonarr_episodefile_sourcepath} does not contain \"torrent\", exiting." | |
exit | |
fi | |
# If the source file doesn't exist, error out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
radarr_label="movies" | |
# Make sure we're working on torrents. | |
if ! [[ "${radarr_moviefile_sourcepath}" =~ torrent ]]; then | |
echo "[Torrent Symlink] Path ${radarr_moviefile_sourcepath} does not contain \"torrent\", exiting." | |
exit | |
fi | |
# If the source file doesn't exist, error out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Examples for testing | |
# radarr_moviefile_sourcefolder="/data/torrent/movies/Justice.League.2017.1080p.HDRip.X264.AAC-m2g" radarr_moviefile_sourcepath="/data/torrent/movies/Justice.League.2017.1080p.HDRip.X264.AAC-m2g/Justice.League.2017.1080p.HDRip.X264.AAC-m2g.mkv" | |
# Instructions | |
# Put this script somewhere on your file system like /usr/local/bin and make it executable. | |
# | |
# In Radarr, Settings -> Connect add a Custom Script | |
# On Grab: No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Examples for testing | |
# sonarr_episodefile_sourcefolder="/data/torrent/tv/Penny.Dreadful.S01E01.720p.HDTV.x264-2HD" sonarr_episodefile_sourcepath="/data/torrent/tv/Penny.Dreadful.S01E01.720p.HDTV.x264-2HD/penny.dreadful.s01e01.720p.hdtv.x264-2hd.mkv" | |
# Instructions | |
# Put this script somewhere on your file system like /usr/local/bin and make it executable. | |
# | |
# In Sonarr, Settings -> Connect add a Custom Script | |
# On Grab: No |