Hi guys
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.
https://github.com/linefinc/APCT
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
[cede]
#sh
#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/
[/code]
I hope that this script can be useful to someone.
Know bug:
* JSON call works only on local host
* Not check available space before copy
* Missing code path to support copy instead move
Best regards
Xeus32
APCT - Anti Paranoya Copy Tool
Xeus32
Junior Member Posts: 7 Joined: Mar 2012 Reputation: 0 |
2013-05-11 14:13
Post: #1
(This post was last modified: 2013-05-11 14:13 by Xeus32.)
|
| find quote |
leechguy
Senior Member Posts: 101 Joined: Aug 2009 Reputation: 3 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.
|
| find quote |

Search
Help