qtorrent

Status
Not open for further replies.

rm-r

Contributor
Joined
Jan 7, 2013
Messages
166
I'll start by saying please don’t shoot the noob!

in short I have FreeNAS-8.3.0-RELEASE-p1-x64 (r12825) running, and transmission, sickbeard installed and working well. However transmission has no RSS function to automatically download my TV series as the appear (as utorrent currently does on my windows box I’m trying to kill)

I have found qbittorrent for BSD at the links below – but I can’t work out the PBI part, neither of these links seem to give me a pbi to download to then upload to the freenas jail.

http://trac.pcbsd.org/browser/pbibuild/modules/net-p2p/qbittorrent-28

http://www.freshports.org/net-p2p/qbittorrent-nox11/

if there is a .pbi there and I’m not getting it just let me know – otherwise could a PBI be created?

Many Thanks in advance
 

rm-r

Contributor
Joined
Jan 7, 2013
Messages
166

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
Thanks, i already followed that guide but i have issues with my config file, i get errors when it runs - could you post yours / example? i had given up, hence looking at qbittorrent.

If anyone is interested, the BSD .pbi is here - ftp://ftp.pcbsd.org/pub/mirror/PBI/net-p2p/qbittorrent/9/

and instructions for FeeNAS conversion are here - http://doc.freenas.org/index.php/Plugins#Introduction_to_PBI_Modules

i think im going to give it a go eitherway.... depends on free time!:)

I hope you have A LOT of free time, making PBI's is not a trivial task and that documentation barely begins to tell you what you need to do. Your time would be much better spent installing packages in the jail from the command line and doing it that way. The PC-BSD pbis (v9.x) and even 8.x are not compatible with FreeNAS/ the GUI. The structure of the PBI is the same as v8 PBI's, but FreeNAS just doesn't implement things the same way.
 

rm-r

Contributor
Joined
Jan 7, 2013
Messages
166
Your time would be much better spent installing packages in the jail from the command line and doing it that way.

i have used Linux but new to BSD - i have seen a couple of commads for this, "easy_install" and "pkg_add" is that what you are refering too? any reccomendation either way?

Would it be along the lines of;

#jexec 1 csh
#easy_install qbittorrent
#qbittorrent (to start the service)

:confused:

Cheers
 

ProtoSD

MVP
Joined
Jul 1, 2011
Messages
3,348
i have used Linux but new to BSD - i have seen a couple of commads for this, "easy_install" and "pkg_add" is that what you are refering too? any reccomendation either way?

Would it be along the lines of;

#jexec 1 csh
#easy_install qbittorrent
#qbittorrent (to start the service)

:confused:

Cheers

I haven't used or heard of easy_install, so I'm not sure about that. pkg_add is what you want to look at. I haven't used qbittorrent either, but generally you probably want to look in /etc/rc.d or /etc/local/rc.d for the startup scripts. The qbittorrent package should spit out a message at the end that tells you how to start it.
 

MrBerns

Cadet
Joined
Jan 30, 2012
Messages
9
Code:
tasks:
  example_group_1:
    rss: http://example.com
    series:
      720p:
        - 30 Rock
        - Its Always Sunny in Philadelphia:
            name_regexp: .*Always.Sunny
    download: /watch


Here's a trimmed down version of my config.yml file for flexget. It's important to use spaces for indentation and not tabs. There should not be any tabs in the file.

Can you post the output of `flexget --test`? That might help determine what problem you're having.
 

rm-r

Contributor
Joined
Jan 7, 2013
Messages
166
Can you post the output of `flexget --test`? That might help determine what problem you're having.

here is my config

Code:
presets:

global:
transmission:
host: 127.0.0.1
port: 9091
username:
password:
set:
path: /mnt/Torrents/
feeds:
Mentalist:
rss: http://showrss.karmorra.info/feeds/44.rss
accept_all: yes
BigBang:
rss: http://showrss.karmorra.info/feeds/5.rss
accept_all: yes


and here are the results

Code:
Jail1# flexget --test
2013-01-18 10:51 WARNING  manager                       Config line 6 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 7 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 8 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 11 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 12 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 13 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 15 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 16 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Config line 19 is indented incorrectly (previous line ends with ':')
2013-01-18 10:51 WARNING  manager                       Trying to set value for `rss` in line 19, but it is already defined in line 16!
2013-01-18 10:51 WARNING  manager                       Trying to set value for `accept_all` in line 20, but it is already defined in line 17!
2013-01-18 10:51 INFO     manager                       Test mode, creating a copy from database ...
2013-01-18 10:51 INFO     manager                       Test database created
2013-01-18 10:51 CRITICAL manager                       [/dict:username] key 'username' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:global] key 'global' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:Mentalist] key 'Mentalist' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:transmission] key 'transmission' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:presets] must be a `dict` value
2013-01-18 10:51 CRITICAL manager                       [/dict:presets] value 'None' is not valid dict
2013-01-18 10:51 CRITICAL manager                       [/dict:host] key 'host' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:set] key 'set' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:accept_all] key 'accept_all' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:BigBang] key 'BigBang' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:path] key 'path' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:feeds] must be a `dict` value
2013-01-18 10:51 CRITICAL manager                       [/dict:feeds] value 'None' is not valid dict
2013-01-18 10:51 CRITICAL manager                       [/dict:password] key 'password' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:port] key 'port' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 CRITICAL manager                       [/dict:rss] key 'rss' is not recognized, valid keys: email, feeds, presets, tasks
2013-01-18 10:51 VERBOSE  manager                       Not running database cleanup on manual run. It will be run on next --cron run.
2013-01-18 10:51 WARNING  manager                       There are no tasks to execute, please add some tasks
2013-01-18 10:51 INFO     manager                       Removed test database


I got the base example from the previous link you sent me..... there is no indentation there so that must be the problem - also it looks nothing like your example! :)

so should mine become

Code:
transmission:
host: 127.0.0.1
port: 9091
username:
password:
tasks:
  Mentalist_1:
    rss: http://showrss.karmorra.info/feeds/44.rss
    series:
      HDTV:
        - the Mentalist
            name_regexp: .*the.mentalist
    download: /mnt/Torrents/
  Big_Bang_1:
    rss: http://showrss.karmorra.info/feeds/5.rss
    series:
      HDTV:
        - The Big Bang Theory
            name_regexp: .*bang.theory
    download: /mnt/Torrents/


just ran the above and get

Code:
Jail1# flexget --test
2013-01-18 11:08 WARNING  manager                       Config line 2 is indented incorrectly (previous line ends with ':')
2013-01-18 11:08 WARNING  manager                       Config line 5 is indented incorrectly (previous line ends with ':')
2013-01-18 11:08 WARNING  manager                       Config line 6 is indented incorrectly (previous line ends with ':')
2013-01-18 11:08 WARNING  manager                       Config line 11 is likely missing ':' at the end
2013-01-18 11:08 WARNING  manager                       Config line 18 is likely missing ':' at the end
2013-01-18 11:08 CRITICAL manager                       mapping values are not allowed here\n  in "/root/.flexget/config.yml", line 12, column 24

-------------------------------------------------------------------------------
 Malformed configuration file, common reasons:
-------------------------------------------------------------------------------

 o Indentation error
 o Missing : from end of the line
 o Non ASCII characters (use UTF8)
 o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}')

 Reason: mapping values are not allowed here

 ----> MOST LIKELY REASON: Missing : from end of the line!

 Check configuration near line 11, column 23

 Fault is almost always in this or previous line


Even though i followed your indentation... :confused:
 

MrBerns

Cadet
Joined
Jan 30, 2012
Messages
9
So these are plugins that I haven't used myself, but here's the documentation:
http://flexget.com/wiki/Plugins/transmission
http://flexget.com/wiki/Plugins/preset


Try something like:
Code:
presets:
  global:
    transmission:
      host: 127.0.0.1
      port: 9091
      username: <username>
      password: <password>
    download: /mnt/Torrents/
tasks:
  Mentalist_1:
    rss: http://showrss.karmorra.info/feeds/44.rss
    series:
      HDTV:
        - the Mentalist
            name_regexp: .*the.mentalist
  Big_Bang_1:
    rss: http://showrss.karmorra.info/feeds/5.rss
    series:
      HDTV:
        - The Big Bang Theory
            name_regexp: .*bang.theory
 
Status
Not open for further replies.
Top