Sign up here and you can log into the forum!

rtorrent and magnet links

This is the place to ask for how to use software that is (or isn't) included in the various wdlxtv flavours. Questions about software such as rtorrent, NZBGet, sshfs, curlftpfs, ssh, telnet, etc.

Re: rtorrent and magnet links   

Postby workingman » Tue Jan 08, 2013 8:22 pm

Hey Ibax,

Sorry this is taking so long to get sorted.. busy lately with work and general crap but I did have a chance to look at how to enable debugging/extra logging.

The start script /apps/rtorrent-0.9.2/etc/init.d/S92rtorrent has a log file variable set but it's only used to log startup errors so that's not really much help...

http://libtorrent.rakshasa.no/wiki/RTorrentLogging is a good place to start if you want to figure out how to get this going.

You might be able to get away with just running:
Code: Select all
touch /var/log/rtorrentInit.log
su -c "screen -ls | grep -sq "\.rtorrent[[:space:]]" " root || su -c "screen -dm -S rtorrent 2>&1 1>/dev/null" root | tee -a "/var/log/rtorrentInit.log" >&2

I have not had a chance to test that yet though... it's just one of the commented out start options from the init script with the variables filled in.

lmk what you find out!
workingman
DLX'er
 
Posts: 68
Joined: Sun Apr 01, 2012 3:04 pm
Location: Montreal, Canada

Re: rtorrent and magnet links   

Postby ibax » Wed Jan 09, 2013 10:23 am

Hello Workingman!

I executed your code lines. Now the /var/log/rtorrentInit.log exists, but it is empty yet.
I also executed a new torrent file. Should we expect some extra logging now, if the download is finished?
ibax
WDTVer
 
Posts: 24
Joined: Sun Oct 10, 2010 11:02 pm

Re: rtorrent and magnet links   

Postby workingman » Thu Jan 10, 2013 8:10 am

Hey Ibax,

I really have no idea. I haven't tested this yet at all.

The touch command created the file but I don't know if we're outputting anything to it. Hopefully I have a chance to test it soon but unfortunately I don't have a separate machine to test with.
workingman
DLX'er
 
Posts: 68
Joined: Sun Apr 01, 2012 3:04 pm
Location: Montreal, Canada

Re: rtorrent and magnet links   

Postby ibax » Thu Jan 10, 2013 9:45 pm

Hi Workingman,

If I give you access to my WDTV Live (via telnet, for example), could it help us investigating this issue?
ibax
WDTVer
 
Posts: 24
Joined: Sun Oct 10, 2010 11:02 pm

Re: rtorrent and magnet links   

Postby reiveris » Fri Jan 18, 2013 4:49 pm

With new app.bin it works perfect for me.
Just don't know how to increase a download speed, cause getting max 700KB/s, while my laptop can reach up to 10MB/s :)
Any ideas guys, or it is not possible due to slow CPU?

Thank you
reiveris
n00b
 
Posts: 1
Joined: Fri Jan 18, 2013 4:40 pm
Location: Lithuania

Re: rtorrent and magnet links   

Postby recliq » Sat Jan 19, 2013 2:50 am

Most likely due to limited CPU power...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: rtorrent and magnet links   

Postby ibax » Sun Jan 20, 2013 9:58 pm

hmm, very interesting, that the same version works perfectly for others, but it has problems at my computer. Does your hash check return 100% completeness every time? Because in case of torrents, where the media size is more then 1 GB, the hash check returns failed each time... Maybe is this the problem of the storage?
ibax
WDTVer
 
Posts: 24
Joined: Sun Oct 10, 2010 11:02 pm

Re: rtorrent and magnet links   

Postby me00z » Mon Jan 21, 2013 2:08 am

update:

[solved]
me00z
n00b
 
Posts: 7
Joined: Mon Oct 17, 2011 10:32 pm

Re: rtorrent and magnet links   

Postby workingman » Thu Jan 24, 2013 5:24 pm

Hi me00z thanks for letting us know you got it. That was the https issue right..?

And yes Ibax it may very well be a storage issue. I have a 1TB drive that's ext3 formatted and have had no problems.

I do seem to remember someone else having difficulty and they were also using NTFS like you are (I believe) so it might be worth trying ext3. Hash checking doesn't fail on me and move on complete worked as it should (although I don't use it).

If you could ever figure out how to enable sending debug info to that log that's still not a bad idea but I've been really busy and haven't had a chance to look into it.
workingman
DLX'er
 
Posts: 68
Joined: Sun Apr 01, 2012 3:04 pm
Location: Montreal, Canada

Re: rtorrent and magnet links   

Postby ibax » Tue Jan 29, 2013 9:54 pm

Hi,

It seems, that my problem was solved... What I did is to check the "Hash check after download" checkbox, because it was empty. Now, after the download, the hash check is started automatically, and if the hash check returns OK, then the seeding starts automatically. The "Hash check after download" checkbox was not checked me...

I did not changed the ntfs filesystem to ext3. Should I do this?

Thanks
ibax
ibax
WDTVer
 
Posts: 24
Joined: Sun Oct 10, 2010 11:02 pm

PreviousNext

Return to Application Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron