-
Notifications
You must be signed in to change notification settings - Fork 176
linux
Here is an example directory structure: This uses utorrent and NZBget at the example downloaders.
/media
/download
/incomplete
/nzbget
/complete
/utorrent
/movies
/tv
/nzbget
/movies
/tv
/process # autoProcessMedia [Torrent] outputDirectory
/movies #(couchpotato, settings, renamer, from)
/tv #(sickbeard, config, postProcessing, config/postProcessing)
/movies #(couchpotato, settings, renamer, To. Also your media player "movies" media folder )
/tv #(sickbeard, tv series destination. Also your media player "tv" media folder)
Here is an example directory structure for storing Movies and TV on separate HardDrives and still allow (fast and efficient) hard linking support.
This example is based on 2 hard drives, /dev/sda1 and /dev/sda2 Obviously you can use any mount point for each drive in place of /dev/sdax in the below example, and utorrent" which I am using in the example can be replaced by your downloader, or otherwise ignored if only 1 downloader is used.
Also, you need to ensure the directories actually exist. when making these symlinks.
So first we want to have a series of symlinks that point a common seed(download complete) location, process (temporary) location, and final media location.
/media/download/complete/utorrent/tv --> /dev/sda1/download/utorrent/tv
/media/download/complete/utorrent/movies --> /dev/sda2/download/utorrent/movies
/media/download/process/tv --> /dev/sda1/download/process/tv
/media/download/process/movies --> /dev/sda2/download/process/movies
/media/tv --> /dev/sda1/tv
/media/movies --> /dev/sda2/movies
To create these links:
ln -sf /dev/sda1/download/utorrent/tv /media/download/complete/utorrent/tv
ln -sf /dev/sda2/download/utorrent/movies /media/download/complete/utorrent/movies
ln -sf /dev/sda1/download/process/tv /media/download/process/tv
ln -sf /dev/sda2/download/process/movies /media/download/process/movies
ln -sf /dev/sda1/tv /media/tv
ln -sf /dev/sda2/movies /media/movies
Now, in your downloader, you set the download location as /media/download/complete/utorrent.
Then with the option to append lable/category, this will download to the tv or movies directory as needed and therefore will download to the specific hard drive.
In autoProcessMedia.cfg you set [Torrent]outputDirectory = /media/process
This will append the tv or movies sub directory again ensuring that all links and extracted files are put on teh appropriate harddrive.
Finally, in SickBeard and Couchpotato, you use /media/tv and /media/movies/ as the final library location to move the renamed files to.
The best part here is that you use /media in your media player (XBMC, Plex etc) and all media is available from this one directory, but your movies and TV are both stored on different physical disks.
###Here is the "flow" of the processing.
###TV
download to, and seed from
/media/download/complete/utorrent/tv (physically on /dev/sda1/download/utorrent/tv)
HardLink to
/media/download/process/tv (physically on /dev/sda1/download/process/tv)
Rename to
/media/tv (physically on /dev/sda1/tv)
###Movies
download to and seed from
/media/download/complete/utorrent/movies (physically on /dev/sda2/download/utorrent/movies)
HardLink to
/media/download/process/movies (physically on /dev/sda2/download/process/movies)
Rename to
/media/movies (physically on /dev/sda2/movies)