Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Different scripts for different watch dirs in rtorrent

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
while1
n00b
n00b
User avatar
Posts: 17
Joined: Tue Sep 18, 2007 6:19 pm
Location: Lund, Sweden

Different scripts for different watch dirs in rtorrent

  • Quote

Post by while1 » Tue May 25, 2010 7:52 am

Anyone know if it's possible to execute different scripts on finish depending on which watch directory initiated the download in rtorrent?

I have written a python script that reads the ID3 tags of finished downloads and creates symlinks for them named in the correct way so I can continue seeding the torrents but still get them named and arranged correctly in my music folder. The problem is that I do not want the script to run on all torrents I start just the ones started by my music watch dir.

I've tried to search for a solution to this problem but I can't find anything about it. The rtorrent config file is not exactly self-explanatory either. Help would be much appreciated.
Top
BradN
Advocate
Advocate
User avatar
Posts: 2391
Joined: Fri Apr 19, 2002 2:48 am
Location: Wisconsin (USA)

  • Quote

Post by BradN » Tue May 25, 2010 4:42 pm

Maybe use another script to do the actual multi-folder watching and somehow keep track of where it came from and then move it to a folder watched by the torrent program?
Top
while1
n00b
n00b
User avatar
Posts: 17
Joined: Tue Sep 18, 2007 6:19 pm
Location: Lund, Sweden

  • Quote

Post by while1 » Thu May 27, 2010 5:54 pm

Hm, yeah that might work. Need to have another script on finnish then that executes the third depending on the first scripts result.

Feels like a crazy workaround but It'll do for now. Thanks!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic