XBMC Community Forum
Fully automated BitTorrent download and sorting for XBMC integration? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: Fully automated BitTorrent download and sorting for XBMC integration? (/showthread.php?tid=48865)

Pages: 1 2 3 4 5


Fully automated BitTorrent download and sorting for XBMC integration? - rausch101 - 2009-04-13 23:42

Probably like most of the people that use XBMC, I've been trying to optimize my XBMC experience as much as possible. Hopefully some more of you are in the same boat as me. My goal is to make the whole experience automated ( like the recording/viewing of shows in WMC, although, obviously, much more beautiful).

Here's what I consider fully automated:

Automatically download a file once it is released (eg. RSS through utorrent)
Automatically sort/send this file to a desired, logical location (not sure how to do this)
Automatically have the library scan/add the new file (I've seen a few programs that do this. Can also just update library on start-up I suppose.)

Anyone have a streamlined approach to this? Any input/direction would be greatly appreciated.


- spiff - 2009-04-13 23:49

a rss fetcher+rtorrent+cron+my self-written tool does this fine for me


- midgetspy - 2009-04-14 00:01

Yeah I've written a few tools for this:

- PVR to download TV show NZB files (downloaded with SABnzbd+)
- SABnzbd+ script to copy, rename, create nfo, download thubmnail, and update XBMC library

I'll probably release them shortly, I've just been being lazy in cleaning them up enough for public release. I'll post here when I do. Until then you can try uTorrent with a built in RSS watcher and tvnamer (though I've never gotten it to work) to sort them.


- PainToad - 2009-04-14 00:20

Usenet RSS feed on xbmc -> click show with remote -> SABnzbd downloads it -> SABnzbd sorts the folder -> Script tells XBMC to update library -> Watch.

All with in 5 mins. This is going to change media forever.


- rwparris2 - 2009-04-14 02:00

utorrent on windows or wine in linux to download from rss & automatically move the the correct place on my nas, then a self written update script that runs 30mins before I wake up and 30mins before I get home from work.

Since you're already using utorrent, here is how I would do it:
1)options>preferences>directories>check move completed downloads to and put the path to wherever you keep your media. (Mine is M:\Media) Check 'append the torrents label'
2) Make each show have its own rss item
3) options>rss downloader
4) select one of the shows, then under 'label for new torrents' make it the path to that show's folder. (ex. "Tv Shows/Lost New items from that RSS feed will go to "M:\Media\TV Shows\Lost") You can take it a step further and use seasons if you want, but you'll have to update it for each season.
5)repeat step 4 for all feeds

it will probably take less than 10 minutes if you're subscribed to no more than 50 shows.


- rausch101 - 2009-04-14 02:39

@PainToad and midgetspy:

That seems like a great solution for Usenet material once the script is finished.

Also, tvnamer is extraneous for me since the xbmc scraper (or MIP or MC scrapers) do a fantastic job of getting the media info without altering the files. Although it might be nice for the files to be named without as much gibberish.

@spiff:

this seems like exactly what I am trying to do. Unfortunately, your method is very clearly beyond my level of understanding with unix.

@rwparris2:

This seems like an almost ideal solution for my level of understanding. This is basically what I have been doing, except I didn't realize that you could auto-tag labels to specific RSS feeds. The only problem with this is that it will take quite a few extra steps to go look what season all the shows are in and then add that season to the labels and update for new seasons.

After reading the responses, I realized this is my ideal solution:

A program that could be assigned to scan a directory (at specified intervals or conditions) of unorganized files and then, using the part of the tv show scraper that determines show/season/episode, send each file in the directory to a final location (e.g. send D:/Downloads/LOST.S02.E11.HDTV.ASDF.avi to F:/Media/TV Shows/Lost/Lost Season 2/LOST.S02.E11.HDTV.ASDF.avi) I suppose also renaming the files so that they are less cryptic (like tvnamer can do) would be icing on the cake.

Thanks for all the responses - very educational.


- zeltak - 2009-04-14 10:13

Hi spiff

Can you elaborate more on your setup (perhaps post the scripts)? i use rtorrent myself but would love to add rss capabilities and the self organizing tools

thx in advance

Zeltak


- mots - 2009-04-14 11:00

spiff Wrote:a rss fetcher+rtorrent+cron+my self-written tool does this fine for me

mind sharing your self-written tool? I've considered writing a python script for the exact same purpose, but why duplicate efforts?


- joebrady - 2009-04-14 16:20

rausch101 Wrote:After reading the responses, I realized this is my ideal solution:

A program that could be assigned to scan a directory (at specified intervals or conditions) of unorganized files and then, using the part of the tv show scraper that determines show/season/episode, send each file in the directory to a final location (e.g. send D:/Downloads/LOST.S02.E11.HDTV.ASDF.avi to F:/Media/TV Shows/Lost/Lost Season 2/LOST.S02.E11.HDTV.ASDF.avi) I suppose also renaming the files so that they are less cryptic (like tvnamer can do) would be icing on the cake.

Thanks for all the responses - very educational.


Try TVRename instead, it will do that.


- rausch101 - 2009-04-15 02:18

joebrady Wrote:Try TVRename instead, it will do that.

TVRename looks like it will work with my limited (non-Matlab) programming ability. I can't believe I didn't see that in the 20 google searches I did.

Thanks for the help!

I'll post back on how well I have it working, assuming someone will be in the same situation I was in.