Search found 20 matches

by deadeyes
Sat Jan 21, 2012 11:01 am
Forum: Support
Topic: torrent hash
Replies: 8
Views: 7811

Re: torrent hash

Hi and thanks for replying on my thread. I didn't found any information on CONCRETE_HASH. Were can I find this and what does it means(tried googling it but with no result)? What I am planning to do is just writing the url that the user used and put that in the db. As soon as a second user tries to d...
by deadeyes
Wed Aug 31, 2011 9:06 am
Forum: Support
Topic: torrent hash
Replies: 8
Views: 7811

Re: torrent hash

I found these related urls http://wiki.theory.org/BitTorrentSpecification http://wiki.theory.org/Decoding_encoding_bencoded_data_with_PHP (uses $retval["isDct"] in array, which does not work for Bencoding again :s) http://paste.lisp.org/display/17178 http://www.phpclasses.org/browse/file/1...
by deadeyes
Tue Aug 30, 2011 3:08 pm
Forum: Support
Topic: torrent hash
Replies: 8
Views: 7811

Re: torrent hash

As I said, I don't know how the webinterface it's constructed or even what language it's built in, but try looking for a "package" that can manipulate torrent files and it's very likely you can get it that way. Thinking about it now this seems to be slightly better to extract the hash fro...
by deadeyes
Tue Aug 30, 2011 2:11 pm
Forum: Support
Topic: torrent hash
Replies: 8
Views: 7811

Re: torrent hash

Transfer hash? As far as I know about transfer hashes are the ones used for each individual block, so it sounds like you want the torrent hash which is the ID of the torrent itself. I don't know how they are created but the daemon gets it from the torrent file itself (can it use magnet links yet?)....
by deadeyes
Tue Aug 30, 2011 12:23 pm
Forum: Support
Topic: torrent hash
Replies: 8
Views: 7811

torrent hash

Hi all, I am using Transmssion-daemon as a back-end for a webbased multi-user interface. However I have some issues when 2 users want to add the same torrent. Transmission-rpc gives a message that this is a duplicate torrent. In a database I link the torrent hash with a user id. My idea for fixing t...
by deadeyes
Thu Feb 10, 2011 7:03 pm
Forum: Requests
Topic: More detailed statistics
Replies: 8
Views: 19038

Re: More detailed statistics

blacke4dawn wrote:Regardless of how You store the data Transmission would have to add a database dependency of some sort to be able to serve those figures, since being able to serve those figures it needs to store them somewhere.
So we have a database now to serve the figures like uploaded,..?
by deadeyes
Thu Feb 10, 2011 1:17 pm
Forum: Requests
Topic: More detailed statistics
Replies: 8
Views: 19038

Re: More detailed statistics

No response anymore on this? :s :(
by deadeyes
Sat Jan 15, 2011 12:34 pm
Forum: Requests
Topic: More detailed statistics
Replies: 8
Views: 19038

Re: More detailed statistics

Hi deadeyes, For the branded releases it probably doesn't make sense to add a database dependency to Transmission over something small like statistics. For example, Transmission is shipped on a lot of Linux live CDs so increasing our on-disk footprint is a risky game. My first thought is that you m...
by deadeyes
Fri Jan 07, 2011 10:27 pm
Forum: Requests
Topic: More detailed statistics
Replies: 8
Views: 19038

More detailed statistics

Hi all, I am working on a project were Transmission is used as a backend and the frontend makes it possible to have different users. The project uses rpc to interact with Transmission. However it would be nice if I could count what each torrent has done today and the day before. From that basic info...
by deadeyes
Mon Jan 03, 2011 4:12 pm
Forum: Support
Topic: Transmission tracker stats
Replies: 0
Views: 1256

Transmission tracker stats

Hi all, I am using transmission-daemon and rpc to query transmission. While I have torrents that are totally healthy, it seems that I can't get trackerStats. On some torrents (which already finished downloading) I just get an empty array, while on other I get "tracker did not respond" and ...
by deadeyes
Fri Jul 23, 2010 8:10 pm
Forum: General
Topic: Do RPC calls to transmission-daemon through php
Replies: 19
Views: 12182

Re: Do RPC calls to transmission-daemon through php

Hi johan.adriaans,

You have been able to reproduce this issue?
by deadeyes
Thu Jul 22, 2010 7:22 am
Forum: Support
Topic: changed id in transmission-remote after restart of daemon
Replies: 3
Views: 2608

Re: changed id in transmission-remote after restart of daemo

I can live with the IDs being changed by a restart of the transmission-daemon binary. Each time my webapp does request all the info so that is no problem. THe only strange thing is that I sometimes cannot start a torrent were I am clearly using the correct command line and ID. It seems like the ID i...
by deadeyes
Mon Jul 19, 2010 2:13 pm
Forum: Support
Topic: changed id in transmission-remote after restart of daemon
Replies: 3
Views: 2608

changed id in transmission-remote after restart of daemon

Hi all, I am sometimes experiencing the following issue: I am writing a webapp which is using rpc calls to communicate with transmission-daemon. I use transmission-remote to test/check things. I noticed that when I did a listing and retrieved the correct id, and then tried to start the torrent it re...
by deadeyes
Fri Jul 16, 2010 7:40 am
Forum: General
Topic: Do RPC calls to transmission-daemon through php
Replies: 19
Views: 12182

Re: Do RPC calls to transmission-daemon through php

@johan.adriaans I did not yet tried the merged version. I am now building on johan.adriaans version. After basic implementation is done I will try to use this code. However, there is a major bug in your code. 235 protected function cleanRequestData ( $array ) 236 { 237 if ( !is_array( $array ) || co...
by deadeyes
Fri Jul 02, 2010 7:52 am
Forum: General
Topic: Do RPC calls to transmission-daemon through php
Replies: 19
Views: 12182

Re: Do RPC calls to transmission-daemon through php

@brycec: I misunderstood that you use jsonrpc as that is in your title and also mentioned in the first post:) I have to say I am more fond of using curl. As it eases up things. So for me johan.adriaans seems most suitable for me. One thing I changed was using json_decode($result, true) instead of on...