Some year ago, I have wrote a small python script to move TV series episodes in the correct folder as Xbmc like.
This small code is now available on Github and you can download or fork from this link.
The code run correctly on Linux ( Ubuntu) and I hope on windows but I never tried it on this platform.
Command syntax :
apct.py -i <Input_Path> -o <Output_Path>
apct.py -i /home/user/download/ /home/xbmc/TvShows/
The script can be used within a cron job like that
#to avoid duplicate script
pidof -x -o $$ $(basename "$0") && exit 1
pidof -x -o $$ ncftpget && exit 1
#ncftp to move data from other machines via ftp
#ncftpget -DD -Z -u xbmc -p xbmc atom /home/user/Downloads /incoming/*
/home/user/script/apct.py -i /home/user/Downloads -o /home/user/TV\ Shows/
I hope that this script can be useful to someone.
* JSON call works only on local host
* Not check available space before copy
* Missing code path to support copy instead move
APCT - Anti Paranoya Copy Tool
Joined: Mar 2012
2013-05-11 14:13 Post: #1
(This post was last modified: 2013-05-11 14:13 by Xeus32.)
Joined: Aug 2009
Location: The Netherlands
2013-05-12 21:17 Post: #2
There is a special section in the forum for supplementary tools like yours and it amazingly is called Supplementary Tools for XBMC.