addictedtoscreens / torrentexpander

Automatically exported from code.google.com/p/torrentexpander
4 stars 1 forks source link

Awesome: pyLoad + Torrentexpander #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Tested on PCH-A210

echo '/share/Apps/TorrentExpander/bin/torrentexpander.sh $2 $1' >> 
/usr/local/share/pyload/scripts/package_finished/run.sh
chmod 777 /usr/local/share/pyload/scripts/package_finished/run.sh

Works like a charm! Brilliant!

test link: http://www.fileserve.com/file/c4tXKyZ/

Original issue reported on code.google.com by login...@gmail.com on 14 Jan 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Documention:

pyLoad is able to start any kind of scripts at given events.
Simply put your script in a suitable folder and pyLoad will execute it at the 
given events and pass some arguments to them.

-->  Note: Scripts, which starts with # will be ignored!
For Example: #converter.sh will not be executed.

-->  Note: You have to restart pyload when you change script names or locations.

Below you see the list of arguments, which are passed to the scripts.

## Argument list ##

download_preparing: pluginname url

download_finished: pluginname url filename filelocation

package_finshed: packagename packagelocation

before_reconnect: oldip

after_reconnect: newip

Original comment by login...@gmail.com on 14 Jan 2012 at 1:38

GoogleCodeExporter commented 9 years ago
I will open a new topic on pyload.org

Original comment by login...@gmail.com on 14 Jan 2012 at 1:48

GoogleCodeExporter commented 9 years ago
http://forum.pyload.org/viewtopic.php?f=7&t=1207

Original comment by login...@gmail.com on 15 Jan 2012 at 2:03

GoogleCodeExporter commented 9 years ago
Wow

What a beautiful presentation !
I suggest you replace the capture by the one attached, for copyright reasons

Thanks

Original comment by addicted...@gmail.com on 15 Jan 2012 at 9:02

Attachments:

GoogleCodeExporter commented 9 years ago
Done. I have a question.

If an user set:

user_perm_post=""
group_perm_post=""
files_perm_post="744"
folder_perm_post="755"

The permissions on result files will be changed?

Original comment by login...@gmail.com on 15 Jan 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Yes, they should be

A set of two values is required to be defined :
user_perm_post and group_perm_post
and / or
files_perm_post and folder_perm_post

Thank you for editing your post on the pyload forum.
Maybe you should also replace 
/usr/share/pyload/scripts/torrentexpander.sh /home/Sheldon/Download/Avatar.2009/
by
/usr/share/pyload/scripts/torrentexpander.sh 
/home/username/Download/night.of.the.living.dead.1968

Thanks again

Original comment by addicted...@gmail.com on 15 Jan 2012 at 11:20

GoogleCodeExporter commented 9 years ago
Ops, sure!

Original comment by login...@gmail.com on 15 Jan 2012 at 11:30

GoogleCodeExporter commented 9 years ago
Correct command:

echo -e '#!/bin/bash\n/share/Apps/TorrentExpander/bin/torrentexpander.sh $2 $1' 
>> /usr/local/share/pyload/scripts/package_finished/run.sh

Original comment by login...@gmail.com on 15 Jan 2012 at 7:49

GoogleCodeExporter commented 9 years ago
Hi Jannyy
I've also installed pyload and created run.sh file. In my case when i download 
Yours avatar test file torrent expander copy it to Expanded directory changes 
name and leaves it there although should move it to /Video/Movies as it does 
with other directories when started by transmission or from telnet. What is 
wrong or its my config?

Original comment by luk...@gmail.com on 15 Jan 2012 at 10:48

GoogleCodeExporter commented 9 years ago
You are using subtitle script?

[quote]
Keep in mind that movies_post, tv_shows_post and music_post will automatically 
switch from move to copy when this feature is enabled
[/quote]

Original comment by login...@gmail.com on 15 Jan 2012 at 11:36

GoogleCodeExporter commented 9 years ago
Yes I also use subtitle script. But it doesn't copy processed folder to 
Video/Movies. It simply only copy it to Expanded and changes name etc. thats it

Original comment by luk...@gmail.com on 16 Jan 2012 at 12:32

GoogleCodeExporter commented 9 years ago
Sorry for not getting back to you sooner

I'll need more info on that. I feel that I'm not understanding the nature of 
the problem

   Addictedtoscreens

Original comment by addicted...@gmail.com on 2 Dec 2012 at 8:49