My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 48: Awesome: pyLoad + Torrentexpander
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by login...@gmail.com, Jan 14, 2012
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/
Jan 14, 2012
Project Member #1 login...@gmail.com
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
Jan 14, 2012
Project Member #2 login...@gmail.com
I will open a new topic on pyload.org
Jan 15, 2012
Project Member #4 addicted...@gmail.com
Wow

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

Thanks
torrentexpander.jpg
24.0 KB   View   Download
Jan 15, 2012
Project Member #5 login...@gmail.com
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?
Jan 15, 2012
Project Member #6 addicted...@gmail.com
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
Jan 15, 2012
Project Member #7 login...@gmail.com
Ops, sure!
Jan 15, 2012
Project Member #8 login...@gmail.com
Correct command:

echo -e '#!/bin/bash\n/share/Apps/TorrentExpander/bin/torrentexpander.sh $2 $1' >> /usr/local/share/pyload/scripts/package_finished/run.sh
Jan 15, 2012
#9 luk...@gmail.com
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?
Jan 15, 2012
Project Member #10 login...@gmail.com
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]

Jan 15, 2012
#11 luk...@gmail.com
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
Dec 2, 2012
Project Member #12 addicted...@gmail.com
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

Powered by Google Project Hosting