HauToPC - Automate your HTPC
#1
I want to completely automate my HTPC, with really no input from me, except 'play' Smile
So, I'm creating a series of scripts and addons, and etc, in a personal project called HauToPC.

But i decide to share it if anyone wants the same as me.
You can see all details in here: https://code.google.com/p/hautopc/

This is my first step, it uses powershell, utorrent, unrar, xbmc and so far it does:
Quote:a) Check disks free space, if low space in any:
1) Delete torrents who meet these conditions: not current, movie or series, 100%, more than 30 days since added, lower than 1:1 ratio, not currently seeding
2) Check again for disks free space and send email if still low

b) Check torrent label, if movie:
1) Get imdb code from nfo
2) Get original title and year from imdb
3) Check if movie doesnt exist in library
4) Create folder in movie library: Original Title (year)
5) Copy or extract movie to folder
6) Rename movie file to torrent original name
7) Create nfo with imdb url
8) Send email with movie title, year, poster with link to imdb, and a play button to play on xbmc
9) Update xbmc video library

b) if series:
1) Get title, season, episode from torrent label and title
2) Check if series exists in library
3) Create season folder if needed
4) Check if episode doesnt exist in library
5) Copy or extract episode to folder
6) Rename episode file to torrent original name
7) Send email with series title, season, episode, poster with link to imdb, and a play button to play on xbmc
8) Update xbmc video library

b) if other, just sends email with torrent title

c) When play button is pressed in email, movie or series is played in xbmc, and email redirects to web ui
Reply
#2
http://www.youtube.com/watch?v=wVFfbol9s8Y

video showing it running Smile
Reply

Logout Mark Read Team Forum Stats Members Help
HauToPC - Automate your HTPC0