utorrent for X86 2.2.01

Please post questions about ReadyNAS add-ons here.

Re: utorrent for X86 1.3

Postby sphardy » Mon Sep 20, 2010 2:27 pm

Back to utorrent and RSS support.

While we wait for RSS support to be added to the utorrent core, I modified the setup file for Automatic to just download torrent files and then set utorrent to autoload those. No need for transmission to be installed or running

automatic.conf file is as follows (I keep all torrent stuff in /c/media/bittorrent, so change those path references as needed):

Code: Select all
##############################
## Version-specific options ##
##############################

# Transmission version. Options are "1.2", "1.3", and "external"
transmission-version = "external"

# Call an external program instead of transmission directly
#
# If you use this, set transmission-version to "external"
# For best results, use an absolute path to the executable
# Executable is passed a single parameter, the name of the .torrent
# file that was downloaded.  The .torrent file passed to this external
# program may be removed after the program returns.
# The program should return exit code 0 for success and non-0 for failure
# Automatic won't respond to ctrl-C while waiting for this to return
#
transmission-external = "/c/media/Bittorrent/utorrent/start.sh"

# create 'start.sh' with the following contents
#    #!/bin/sh
#    exit 0


# For Transmission 1.3x and newer only: set the host on which Transmission runs (default: localhost)
# rpc-host = "localhost"

# For Transmission 1.3x and newer only: set the RPC port on which Transmission & Clutch communicate (default: 9091)
# rpc-port = 9091

# For Transmission 1.3x and newer only: If you configured Transmission/Clutch to use password authentication, Automatic needs that information as well
# rpc-auth = "user:password"

# For Transmission 1.2x only: Path to the Transmission configuration files
# transmission-home = "~/.config/transmission"


#####################
## General options ##
#####################

# Specify an RSS feed by its URL and optionally a Cookie string for private feeds
# If you have more than one feed, just create another "feed" option

feed = { url => "http://rss-feed-goes-here    "
         cookies => ""
       }             

# list of feed URLs. You can specify one or more feeds, in case of the latter use curly brackets (see the "patterns" option for an example)
# DEPRECATED. Use the "feeds" option instead
#url = ""

# interval in minutes between checks for new downloads
interval = 30

# Limit upload speed (in KB/s) for each torrent that is added to Transmission via Automatic
#upload-limit = 10

# Automatically add downloaded torrents to Transmission (requires
# transmission-daemon and transmission-remote to be installed or use
# of "external" option)
# If this is not set, all Automatic will do is save the .torrent file.
use-transmission = no

# Instruct Transmission to immediately start downloading torrents after being added
# If set to 'no' torrents will be added in a paused state
# start-torrents = yes

# path where Automatic will store downloaded torrents - utorrent is set to load torrent files from this directory
torrent-folder = "/c/media/Bittorrent/utorrent"

# path to the file which stores information about already downloaded torrents (so they don't get readded to Transmission)
statefile = "/c/media/Bittorrent/automatic.state"

# Prowl API key. You can use this to send push notifications to an iPhone. See http://prowl.weks.net for more information
#prowl-apikey = ""

# A filter contains a regular expressions which is matched against each RSS item.
# You may also specify a "folder" sub-option for each filter which will tell Transmission
# to download any matches with that particular pattern to a folder of your choice.
# If you want files to go to Transmission's default download folder, just omit it.
#
# Please don't use curly brackets within a regular expression, it'll horribly break the configuration parser :)
# Letter-casing does not matter
#
# If you have more than one pattern, just create a number of additional "filter" options

#filter = { pattern => "Name.of.Something.I.Want.to.Download.Automatically.*HDTV"
#           folder => ""
#         }

# patterns contains a number of regular expressions which are matched against the RSS feed entries
# please don't use curly brackets within a regular expression, it'll horribly break the configuration parser :)
# letter-casing does not matter
# DEPRECATED (but still supported for compatibility reasons).
# Use "filter" option instead.

#patterns =  { "Name.of.Something.I.Want.to.Download.Automatically.*HDTV"
#              "Something.else.to.download.*720p"
#              "(?!.*720p)Some.Video.But.Not.The.HD.Version"
#            }
patterns =  { "HDTV"
              "720p"
            }
             

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby prometheus » Sun Oct 03, 2010 6:34 pm

call me dumb but how do you use automatic :shock: i have downloaded and installed it on my ultra 4 but have do you configure it ????
prometheus
Advanced ReadyNAS User
 
Posts: 155
Joined: Thu Jul 16, 2009 2:04 pm
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby sphardy » Sun Oct 03, 2010 11:23 pm

prometheus wrote:call me dumb but how do you use automatic :shock: i have downloaded and installed it on my ultra 4 but have do you configure it ????

From Frontview -> Installed Addons -> Automatic:
To configure automatic rename the file /etc/automatic.conf-sample to /etc/automatic.conf and edit the contents as needed

Requires that you enable root SSH access

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby sphardy » Wed Oct 06, 2010 1:57 am

Just confirmed that RSS support is already in uTorrent for Linux - but we're waiting for the WebUI to be updated to support it

http://forum.utorrent.com/viewtopic.php ... 20#p526120

Looks like there's a commandline utility to access it

Edit: Forget the commandline utility - it's written in python3...

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby mdgm » Wed Oct 06, 2010 2:42 am

sphardy couldn't you use a config backup to load a modified version of your automatic.conf file?
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28898
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN516

Re: utorrent for X86 1.3

Postby sphardy » Wed Oct 06, 2010 2:53 am

mdgm wrote:sphardy couldn't you use a config backup to load a modified version of your automatic.conf file?

Are you referring to this: viewtopic.php?f=36&t=45059&start=45&p=262605&view=show#p262081
If so, then Yes...

But what would be better is if WhoCares? were to add the editor function to the Frontview interface like he uses for phpvboxmgr. At least until RSS support is added to the uTorrent webui

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby losgatos_mark » Thu Oct 07, 2010 9:07 am

Hi -

I installed uTorrent last night. Brought up the GUI, set the username & pwd, set some file locations..and re-logged in with the new username & pwd.

Then I tried to add a torrent, and...nothing. Stopped and restarted and noted that the username & pwd was reset to admin & blank.

None of the new file location directories were created.

I'm guessing this is a permissions thing - do I need to SSH into the nas and do a chmod on something??

thx - Mark
losgatos_mark
ReadyNAS Newbie
 
Posts: 24
Joined: Thu Apr 01, 2010 4:33 pm
ReadyNAS: Duo

Re: utorrent for X86 1.3

Postby sphardy » Thu Oct 07, 2010 9:19 am

Ah! I was just exchanging emails with S-P on this yesterday...
losgatos_mark wrote:Then I tried to add a torrent, and...nothing. Stopped and restarted and noted that the username & pwd was reset to admin & blank.

None of the new file location directories were created.


When you say "username & pwd was reset to admin & blank" you mean in the GUI? If so - that's normal, uTorrent never shows the password.

The issue you're hitting is that S-P has configured the server to run as nobody:nogroup - which is the most secure option. But it means that for the server to create and modify files/directories, then the everyone permissions must be set to allow write access to the required location.

To test, you could SSH in and perform a "chmod 777" on the parent folder of where you want your utorrent folders to be, and also on any existing subdirectories you wish to use.

To fix this going forward, I believe S-P is looking at the option of creating a specific user for uTorrent to run as, that way you could add that user to a relevant group and give write access that way. Or even specific access to a share.

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby losgatos_mark » Thu Oct 07, 2010 12:02 pm

The username and password were reset to the default upon adding a torrent.

I'll muck with the permissions on the uTorrent folders this evening and report back.

thanks - Mark
losgatos_mark
ReadyNAS Newbie
 
Posts: 24
Joined: Thu Apr 01, 2010 4:33 pm
ReadyNAS: Duo

Re: utorrent for X86 1.3

Postby sphardy » Thu Oct 07, 2010 12:42 pm

losgatos_mark wrote:The username and password were reset to the default upon adding a torrent.

Possible user error? Here's how my settings look and I've changed the password successfully:

Image

All settings get saved in /usr/local/utorrent/settings.dat - you can check permissions just in case; should be owned by "nobody:nogroup"

NAS: Ultra-4, NV+ & Duo v2 :: ST31500341AS & HDS723020BLA642 Drives
Network: Netgear GS108Tv2 / DM111P :: Airport Extreme / Express & Time Capsule
Clients: OS X 10.6 - 10.8 :: Ubuntu 11.x :: Win 7 + SP#1
UPS: APC ES-550

Image
User avatar
sphardy
ReadyNAS Junkie
 
Posts: 4626
Joined: Thu Feb 28, 2008 3:34 am
Location: France
ReadyNAS: Ultra

Re: utorrent for X86 1.3

Postby losgatos_mark » Thu Oct 07, 2010 8:56 pm

a quick follow up - logging in via SSH to chmod 777 the directories I specified worked fine...thanks - Mark
losgatos_mark
ReadyNAS Newbie
 
Posts: 24
Joined: Thu Apr 01, 2010 4:33 pm
ReadyNAS: Duo

Re: utorrent for X86 1.3

Postby super-poussin » Thu Oct 28, 2010 12:53 am

new version is out see top post
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
I'm not a 6 weeks Rabbit
Where I'm teaching
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 4751
Joined: Fri Jul 13, 2007 1:16 pm
Location: PG
ReadyNAS: RN516

Re: utorrent for X86 1.6

Postby super-poussin » Thu Oct 28, 2010 2:46 am

updated to 1.6
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
I'm not a 6 weeks Rabbit
Where I'm teaching
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 4751
Joined: Fri Jul 13, 2007 1:16 pm
Location: PG
ReadyNAS: RN516

Re: utorrent for X86 1.7

Postby super-poussin » Thu Oct 28, 2010 3:08 am

updated
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
I'm not a 6 weeks Rabbit
Where I'm teaching
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 4751
Joined: Fri Jul 13, 2007 1:16 pm
Location: PG
ReadyNAS: RN516

Re: utorrent for X86 1.8

Postby super-poussin » Fri Nov 05, 2010 1:20 pm

updated

enjoy
If you like my add-ons - Si vous aimez mes add-ons :
Image --- -------- Image
I'm not a 6 weeks Rabbit
Where I'm teaching
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 4751
Joined: Fri Jul 13, 2007 1:16 pm
Location: PG
ReadyNAS: RN516

PreviousNext

Return to General Discussion on ReadyNAS Add-ons



Who is online

Users browsing this forum: No registered users and 7 guests