Page 2 of 5 FirstFirst 1234 ... LastLast
Results 16 to 30 of 131

Thread: transmission the latest the greatest

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Question

    Hi

    Where can I download 1.76? Transmission 1.80 frequently crashes on my wl500gp

  2. #2
    Quote Originally Posted by Jeony View Post
    Hi

    Where can I download 1.76? Transmission 1.80 frequently crashes on my wl500gp
    That is good choices 1.80,1.81,1.82 are buggy. Today Transmission just released 1.83

  3. #3
    1.80 working well on my v1 -

    BTW - thanks to avberk for keeping trans maintained for my white angel

  4. #4
    Join Date
    Sep 2006
    Location
    Slovakia
    Posts
    34

    Transmission - move download when finished

    Hi there, my intentions were to move finished download (once when finished and seeding) to new location. My programming skills are kind of limited ) but I've tried (with googling and using part of other script) and I've prepared small script if anyone is interested. It took me 15 minutes and it is sufficient for me for now.

    If you can advise on some improvements, deficiencies or other way to do it I am willing to learn something.

    Works with Transmission 1.61

    LIMITATIONS:
    1) This will work only for one completed torrent with status Seeding for each execution. TODO: Repeat it until all torrents are moved-should be easy.
    2) If torrent is seeded again from new location it might be a big problem TODO: Fix it, but I have no idea how to.

    SETTINGS:
    I've set up this to stop and move data to different location (I can start seeding manually or delete torrent afterward). This can be adjusted by options in the last line.

    USE:
    cron (repeat every x minutes/hour/daily)

    Code:
    #!/bin/sh
    
    # The absolute path to and including the transmission-remote binary
    TRANSREMOTE=/opt/bin/transmission-remote
    
    # The absolute path to where you want your completed torrents moved to
    DESTDIR=/mnt/data/_downloads
    
    # Find the first completed torrent
    TORRENTID=`$TRANSREMOTE -l | sed -n '/Seeding/{p;q;}'|sed -e 's/...%.*//'|sed 's/^[ \t]*//;s/[ \t]*$//'`
    
    if [ -z $TORRENTID ]; then
      echo "Nothing is finished!"
      exit
    fi
    
    # Stop the torrent and move data to the new location
    $TRANSREMOTE -t $TORRENTID -S --move $DESTDIR

  5. #5
    Join Date
    Sep 2006
    Location
    Slovakia
    Posts
    34
    Update:
    I've found easier way to do some stuff and solved all TODOs Any ideas or questions are welcomed.

    Code:
    #!/bin/sh
    
    # The absolute path to and including the transmission-remote binary
    TRANSREMOTE=/opt/bin/transmission-remote
    
    # The absolute path to where you want your completed torrents moved to
    DESTDIR=/mnt/data/_downloads
    
    # Find completed torrents
    SEEDCOUNT=`$TRANSREMOTE -l | awk '/Idle|Seeding/'|wc -l`
    TORRENTS=`$TRANSREMOTE -l | awk '/Idle|Seeding/'|awk '{print$1}'`
    
    if [ $SEEDCOUNT = "0" ]; then
       echo "Nothing is finished!"
       exit
    fi
    
    for i in $TORRENTS
    do
        LOCATION=`$TRANSREMOTE -t $i -i|awk '/Location/'|sed -e 's/  Location: //'`
        if [ $LOCATION = $DESTDIR ]; then
            echo "Files are already there"
         else
            # Stop the torrent and move data to the new location
            $TRANSREMOTE -t $i -S --move $DESTDIR
        fi
    done
    Last edited by Pedro83; 13-06-2009 at 20:43.

  6. #6
    Im sorry for the stupid question... but where am I suposed to copy this code?

  7. #7

    Full Service Script

    I extended your script a bit. Also using some stuff from other sources, particularly the transmissionbt-wiki.

    It now does the following:

    -Remove torrents that are finished and done seeding (or just sit around idle).
    -Move completed torrents to download dir.
    -Add new torrents from torrent-folder, given there is space left in the dl queue.

    Did I forget anything?? Without the need to seed, this would be simpler, but we wanna be got bt-citizens after all...

    Code:
    #!/bin/sh
    
    # *************
    REMOTE="/usr/local/bin/transmission-remote"
    DESTDIR=/media/Finished
    TORRENTDIR=/media/Torrents
    MAXACTIVE="6"
    USER=xx
    PASS=xx
    
    # *************
    
    # Clean up after rsync
    find $DESTDIR -mindepth 1 -type d -empty | xargs -I {} -i rmdir "{}"
    
    # Remove Finished and Inactive
    FINISHED="$($REMOTE -l -n $USER:$PASS | tail --lines=+2 | grep 100% | grep "Stopped\|Idle" | awk '{ print $1; }')"
    for i in $FINISHED; do
    	echo Torrent No. $FINISHED is finished and inactive.
    	LOCATION=`$REMOTE -n $USER:$PASS -t $i -i | awk '/Location/'|sed -e 's/  Location: //'`
    	if [ $LOCATION = $DESTDIR ]; then
    		echo "Files have been moved already. Just deleting."
    		$REMOTE -n $USER:$PASS -t $i -r
    	else
    		echo "Moving No. $i to download-folder."
    		$REMOTE -n $USER:$PASS -t $i --move $DESTDIR && chmod -R 777 $DESTDIR && $REMOTE -n $USER:$PASS -t $i -r
    		echo Removed $i from queue.
    	fi
    done
    
    # Move Finished
    FINISHED="$($REMOTE -l -n $USER:$PASS | tail --lines=+2 | grep 100% |  awk '{ print $1; }')"
    for i in $FINISHED; do
    	echo Torrent No. $i is finished.
    	LOCATION=`$REMOTE -n $USER:$PASS -t $i -i | awk '/Location/'|sed -e 's/  Location: //'`
    	if [ $LOCATION = $DESTDIR ]; then
    		echo "Files have been moved already"
    	else
    		echo "Moving No. $i to download-folder."
    		$REMOTE -n $USER:$PASS -t $i --move $DESTDIR && chmod -R 777 $DESTDIR
    	fi
    done
    
    # Add new torrents and delete source file.
    ACTIVE="$[ $($REMOTE -n $USER:$PASS -l | grep -v Stopped | wc -l) - 2 ]"
    echo $ACTIVE active torrents.
    if [ $ACTIVE -ge $MAXACTIVE ]; then
    	echo Queue full.
    	exit 0
    else
    	until [ $ACTIVE = $MAXACTIVE ] || [ $(ls $TORRENTDIR | wc -l) = 0 ] ; do
    		ADD="$(find $TORRENTDIR -name '*'.torrent | head -n1)"
    		$REMOTE -n $USER:$PASS -a "${ADD}" &> /dev/null
    		rm -f "${ADD}"
    		echo "Added "${ADD}""		
    		ACTIVE="$[ $($REMOTE -n $USER:$PASS -l | grep -v Stopped | wc -l) - 2 ]"
    		echo $ACTIVE active torrents.
    	done
    fi
    
    exit 0
    I'm still testing this. use at your own risk.
    Last edited by bugmenot; 18-08-2009 at 12:56. Reason: Updated code.

  8. #8
    Hi guys,
    I´ve tried both scrtipts, but no one works.
    First probably doesn´t work, because transmission uses password. The longer script give me this error codes:

    Code:
    [admin@Asus RTR transmission]$ ./tran_mov.sh
    ./tran_mov.sh: ./tran_mov.sh: 14: find: not found
    ./tran_mov.sh: ./tran_mov.sh: 14: xargs: not found
    tail: illegal option -- -
    BusyBox v1.1.3 (2008.03.17-18:24+0000) multi-call binary
    
    Usage: tail [OPTION]... [FILE]...
    
    tail: illegal option -- -
    BusyBox v1.1.3 (2008.03.17-18:24+0000) multi-call binary
    
    Usage: tail [OPTION]... [FILE]...
    
    $[ 3 - 2 ] active torrents.
    [: 3: unknown operand
    [: 3: unknown operand
    ./tran_mov.sh: ./tran_mov.sh: 59: find: not found
    Added
    localhost:9091 responded: "invalid or corrupt torrent file"
    $[ 3 - 2 ] active torrents.
    [: 3: unknown operand
    ./tran_mov.sh: ./tran_mov.sh: 59: find: not found
    Added
    localhost:9091 responded: "invalid or corrupt torrent file"
    $[ 3 - 2 ] active torrents.
    [: 3: unknown operand
    ./tran_mov.sh: ./tran_mov.sh: 59: find: not found
    Added
    localhost:9091 responded: "invalid or corrupt torrent file"
    $[ 3 - 2 ] active torrents.
    [: 3: unknown operand
    ./tran_mov.sh: ./tran_mov.sh: 59: find: not found
    Added
    localhost:9091 responded: "invalid or corrupt torrent file"
    $[ 3 - 2 ] active torrents.
    [: 3: unknown operand
    ./tran_mov.sh: ./tran_mov.sh: 59: find: not found
    Added
    Any idea whats wrong?

  9. #9

    Should I run transmission as root?

    I have installed transmission according to Wengi's great tutorial and it has worked fine since then. However now I would like to run it as non-root user.
    How should I do this? Should I ipkg install sudo? Should I use some configuration option in transmission's settings.json? Or some other way?

    Oh, and one more thing I haven't figured out in Transmission: How can I set upload rate for a single file? In the web gui there's only option for global settings. And transmission-remote doesn't seem to have any options for this either. I know the OS X version has this function.
    (And yes I've asked the transmission forums too... no replies )

  10. #10
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by RDF View Post
    I have installed transmission according to Wengi's great tutorial and it has worked fine since then. However now I would like to run it as non-root user.
    How should I do this? Should I ipkg install sudo? Should I use some configuration option in transmission's settings.json? Or some other way?
    there is no such thing as sudo on the router
    but I guess you've set up an account with adduser?
    when you assign the user to a group that has rights to run it, it might work?
    never tried it really, one user is enough

  11. #11
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    12

    Thumbs down Transmission 1.80 crashes

    Just for your information:
    • New transmission 1.80 is available with support for magnet links and trackerless torrents (see http://transmissionbt.com
    • Unfortunately this version frequently crashes - in my case it survives from 5 minutes to 1 hour.
    • My recomendation is to stay with older version until fixes are made

  12. #12
    There are patches to rtorrent that add magnet links support.
    http://www.howtoforge.com/how-to-com...t-link-support

    Maybe somebody compile it for Oleg.

  13. #13
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    12
    Additionally new versions (1.80 1.81 1.82) have speed problems: downloads are very slow

  14. #14
    Join Date
    Aug 2006
    Location
    Poland
    Posts
    12

    Thumbs up

    Transmission 1.83 still crashes. Links to older transmission releases are available here: http://wl500g.info/showthread.php?t=17957

  15. #15
    Quote Originally Posted by gusman View Post
    Transmission 1.83 still crashes. Links to older transmission releases are available here: http://wl500g.info/showthread.php?t=17957
    V 1.83 crasches every day, Iam going back to stable 1.76

Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. WL-500gp and Transmission
    By happymeal in forum WL-500gP Q&A
    Replies: 55
    Last Post: 27-08-2008, 18:46
  2. Understanding and debugging Transmission [oleo?]
    By wengi in forum WL-500gP Q&A
    Replies: 66
    Last Post: 05-08-2007, 09:36

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •