Sign up here and you can log into the forum!

Torrent expander app for rtorrent

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Torrent expander app for rtorrent   

Postby zmiki » Tue Apr 10, 2012 5:13 am

This is torrent expander script modified to be used with rtorrent and WDTVLIVE
more about the script:
http://code.google.com/p/torrentexpander

It asummes that torrent are downloaded to /tmp/rt/rtorrent/.incomplete and that on same disk there are directories for movies and series
with following paths /tmp/rt/Series and /tmp/rt/Movies
Option could be changed by editing /conf/torrentexpander_settinigs.ini file. All settings are explained in the ini file.


To automatically start script when torrent finishes file /conf/rtorrent.rc should be edited

#### Move completed torrents
system.method.set_key = event.download.finished,torrentexpander,"execute=/bin/torrentexpander.sh,$d.get_base_path=,$d.get_base_filename="
####

To automatically start script when torrent is closed file /conf/rtorrent.rc should be edited

##### Move closed torrents
system.method.set_key = event.download.closed,torrentexpander,"execute=/bin/torrentexpander.sh,$d.get_base_path=,$d.get_base_filename="
#####

or it could be run manually

- This script can be fed with files with RAR, ZIP, AVI, MKV, DIVX, ISO, IMG, MP3, M4A, WAV, SRT, IDX, SUB, DVD extension or folders containing any of those files

- RAR / Multipart RAR and ZIP archives are expanded

- Sample files won't be kept

- If the torrent is an archive or a folder with only one file in it, the expanded file will be renamed as the initial folder or archive (very often, once expanded, the files have dummy names, making it impossible to identify them)

- This script will then try to correct weird series numbering (101 or 1x01 for example) and convert them to the S01E01 norm

- A cleanup will be applied to your files so that TV Series end up renamed as "Series Name SXXEXX".

- On movies, all the script does is replace the dots and underscores by spaces

- The mkvfix.sh script can be run to check and if present remove header compression

- This script can detect Music files and copy /move them to a folder of your choice.

- This script can detect TV Series and copy /move them to a folder of your choice.

- This script will do its best to detect Movies and copy /move them to a folder of your choice (results are not garanteed as the script relies on patterns in filenames)

- You can edit the detection patterns to suit your needs by editing the torrentexpander_settings.ini file


Please report if this app.bin works as this is my first packed app. The script works as I made firmware with it for me and tested this.


Download and unpack to the root of usb disk, stick
https://rapidshare.com/files/943957179/torrentexpander.app.bin.tar.bz2
zmiki
Developer
 
Posts: 109
Joined: Mon Apr 12, 2010 4:45 am

Re: Torrent expander app for rtorrent   

Postby rokr » Thu May 17, 2012 8:21 am

Can you explain exactly what this app does?
Expands what?
Can you use this to play a movie straight from .rar files, without having to unrar first?
Thanks ;)
rokr
Beta Tester
 
Posts: 127
Joined: Wed May 12, 2010 11:10 pm

Re: Torrent expander app for rtorrent   

Postby zmiki » Thu May 17, 2012 8:59 am

Basicaly this extract from rar , zip etc. cleans the file names and copy/move to desired location downloaded movies, series and music.
No it can not play files directly from rar.
zmiki
Developer
 
Posts: 109
Joined: Mon Apr 12, 2010 4:45 am


Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 2 guests