Features:- Detect downloads in user defined categories and move them to user defined destinations
- Detect failed downloads and delete them or move them to a user defined FAILED destination
- Search for and remove junk files and empty directories
- Send video or music library update requests to one or more XBMC machines
Installation:1. Copy the media_sort.py, settings.ini and excludes files to your SABnzbd scripts folder
2. In the SABnzbd categories settings, set the desired categories to launch media_sort.py after post-processing
3. In the SABnzbd sorting settings, Enable TV Show sorting and set the "Sort String" to: %sn/Season %0s/%sn - S%0sE%0e.%ext
4. Edit the settings.ini file to configure
Don't modify media_sort.py to change settingssettings.ini instructions:NOTE: This section of the ini file cannot be removed
misc:
failed_destination = /home/tret/Downloads/SABnzbd/_FAILED
set_permissions = 0777
failed_destination = leave blank to delete _FAILED_ directories OR set a valid path to move _FAILED_ directories to
set_permissions = leave blank to leave permissions alone OR set to a valid octal permission value set permissions on finished downloads
NOTE: This section of the ini file is optional, add additional XBMC sections or remove if XBMC support isn't required
XBMC:
address = 192.168.1.2
port = 8080
address = set to your XBMC IP address
port = set to your XBMC web server port
NOTE: At least 1 category section is required, add additional category sections as needed e.g: music, tv
Movies:
source = /home/tret/Downloads/SABnzbd/movies
destination = /mnt/disk3/Movies
min_download_size = 500MB
min_file_size = 200MB
xbmc_library = video
source = set a valid path to check for downloads in this cateogry
destination = set a valid path to move finished downloads to
min_download_size = set a minimum download size for this category, downloads below this value will be deleted (Leave blank to ignore size)
min_file_size = set a minimum file size for this category, files below this size will be deleted as junk (Leave blank to skip junk file cleaning)
xbmc_library = set the xbmc library type to be updated for this category e.g: video, music (Leave blank to disable xbmc library update)
excludes file: Add additional file types here to exclude them from junk file removal e.g: .nzb, .sfv, .m3u
media_sort v2.00v2.00 Downloadv2.00 Release notes (1/17/2010)Built and tested with Python 2.6.1 (download and install if you don't have python already or if you have an older version and the script isn't working)
Python 2.6.1 for Mac OS XPython 2.6.1 for Windowstret