TorrentFlux.com Hey, OppTupacShakur, you have 11 messages, 0 are new.
06-27-2007, 12:44:20
Home Help Search Profile Logout donate chat
News:


+  TorrentFlux Forums
|-+  Code Hacks and Tools
| |-+  TorrentFlux 2.1 Hacks
| | |-+  Fix to use smb share on linux tf 2.1
« previous next »
Pages: [1] Go Down Reply Notify of replies Send this topic Print
Author Topic: Fix to use smb share on linux tf 2.1  (Read 780 times)
YmeBP
Newbie
*
Offline Offline

TF Base: Linux 2.x
Posts: 2



View Profile Personal Message (Offline)
« on: 12-02-2006, 21:15:34 » Reply with quote

I've been poking around trying to get tf to write my torrents to an smb share. I figured out it was the .BitTorrent and .torrents folders that were causing the problem. I've managed to find where the python code in bittornado is inserting the "." in front of the dir, in ConfigDir.py line number 24,11 take out the "."+ that will remove the . infront of Bittorent. I haven't been able to figure out what file writes the .torrent directory though. Anyone know offhand?

The other question is .. is there an easier way to get bittornado to use a smb share as the home folder?
Report to moderator   Logged
steveholt
Jr. Member
**
Offline Offline

TF Base: Linux 2.x
Posts: 60


Debian Packager





View Profile WWW Email Personal Message (Offline)
« Reply #1 on: 12-02-2006, 21:24:23 » Reply with quote

I haven't been able to figure out what file writes the .torrent directory though. Anyone know offhand?

That's a TorrentFlux thing. You can find it in functions.php on line number 48 (or around there).

Code:
$cfg["torrent_file_path"] = $cfg["path"].".torrents/";
Report to moderator   Logged

AthlonXP 2400+ | 3x300GB | 512MB RAM | Debian Testing | TF 2.3 | Python 2.4.4 | Apache 2.2.3 | PHP 5.2.0 (module)
Discovery
Newbie
*
Offline Offline

Posts: 19



View Profile Personal Message (Offline)
« Reply #2 on: 05-31-2007, 09:08:16 » Reply with quote

make a smb share auto mount to a directory, then point tf to save data there, as long as the smb share has been chmod 777 (Admin - > Settings -> Path) I cant see why it should not complain.
Report to moderator   Logged
Pages: [1] Go Up Reply Notify of replies Send this topic Print 
« previous next »
Jump to:  


Powered by MySQL Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC Powered by PHP