Forum
Flexget installation - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: Flexget installation (/thread-634.html)

Pages: 1 2 3


RE: Flexget installation - zilexa - 28th Mar, 2013 01:31 AM

To finish the guide above, here is the config.yml required for FlexGet. This is a very simple one and very easy to understand.

By default flexget expects to find its config.yml in its root folder. Simply create such a file there and/or use sudo nano and paste the code below.

Code:
presets:
  tv:
    series:
      exists_series:
        - /Media/TV Shows/
        - /Media/Downloads/
      hdtv <720p:
        - New Girl
        - Bones
        - Big Bang Theory
        - Grey's Anatomy
      720p:
        - Falling Skies
        - Game Of Thrones  
    transmission:
      host: localhost
      port: 9091
      username: xbian
      password: raspberry
      path: /Media/TV Shows/{{series_name}}/Season {{series_season}}
    
tasks:
  showrss:
    priority: 1
    rss: http://showrss.karmorra.info/rss.php?user_id=xxxxx&hd=2&proper=1
    preset: tv

  kat.ph-tv:
    priority: 2
    rss: http://kat.ph/tv/?rss=1
    preset: tv

  ezrss.it:
    priority: 3
    rss: http://ezrss.it/feed/
    preset: tv
    
  bt-chat.com-tv:
    priority: 4
    rss: http://rss.bt-chat.com/?group=3
    preset: tv
  
  extratorrent.com-tv:
    priority: 5
    rss: http://extratorrent.com/rss.xml?cid=8
    preset: tv

Short explanation:
  • exists_series: optional. Checks if the selected episode already exists (perhaps you already added it manually and its downloading or it was manually downloaded before). And will not pass it to Transmission to download. Note: /media/ is the folder where I mounted my USB harddisk. Change this to your mountfolder.
  • hdtv <720p: quality of episode Flexget should search for in your feeds. "hdtv <720p" means standard HDTV releases, non-720p. All shows below this line will be in that quality. You can remove this if you only want 720p downloads.
  • 720p: same as above but for 720p downloads. More quality options available here.
  • transmission: here are the details for the transmission plugin.
  • path: Where downloads wil be saved. You can enter a static path or a dynamic one like in this file.
  • tasks: here you can define any rss feed you would like to use. ShowRSS is recommended. Don't forget to replace the x's for your own user id.

Flexget and Transmission should have access to the folders listed in this config file.

Now that I know how to perform all tasks necessary to install a Raspberry (formatting, creating partitions, static mounts, install flexget etc) I would like to write a guide for Noobs so that XBian becomes more accessible. Would the wiki be the best location for this?


RE: Flexget installation - Trinket - 29th Mar, 2013 10:37 PM

Awesome, I used Flexget in the past with the Raspberry too, but I started using Sabnzbd because it was more reliable for series.
I still want/need to use flexget but last time I tried i couldn't get it working the way I wanted.
What I wanted Flexget to do is to be called by Sabnzbd when a download fails for whatever reason (I achieved that) and then, flexget tries downloading the episode with a Torrent.
The only problem I couldn't solve is that I didn't know how to tell flexget to search just for the episode I wanted (I could pass the episode name,season,imbd and all via arguments from Sab).
When I got more time I will try again.


RE: Flexget installation - zilexa - 3rd Apr, 2013 10:27 AM

Why not start Flexget AFTER Sabnzbd finished its task, using the existing_series plugin Flexget will only download series that are not existent on your drive so not downloaded by Sabnzbd... seems much easier and you wont need a very exotic SabNZBd/Flexget combination..

I am used to do rss downloads via uTorrent, it was very reliable. Now I hope Flexget is just as reliable. I gave my Pi away and will receive new Pi tomorrow so I can finally test everything I want to test..


RE: Flexget installation - CurlyMo - 3rd Apr, 2013 06:30 PM

Another user has been working on the maraschino package (under my guidance), so if you would like to try to create the flexget package, feel free!
https://github.com/xbianonpi/xbian-deb-sources/pulls/


RE: Flexget installation - zilexa - 3rd Apr, 2013 10:28 PM

I am definitely going to try (I have no experience at all..) but still just lack time to setup 1 RPi correctly.. I gave away my first RPi and today received my new one.. will install XBian tonight.

I created the issue on Github and Im checking out what Trinket did for Maraschino.
https://github.com/xbianonpi/xbian/issues/340


RE: Flexget installation - padrekopre - 1st Jun, 2013 10:06 PM

Hi,

I have installed Flexget + Transmission, but there is problem with downloaded torrents :/

after download they are still in temp folder of transmission, not in destination folder set in flexget config

My flexget config is :

Code:
presets:
  global:
    transmission:
      enabled: yes
      host: localhost
      port: 9091
      username: xbian
      password: raspberry
      removewhendone: yes
  tv:
    series:
      exists_series:
        - /USB/SERIALE/
      hdtv <720p:
        - Dexter
        - Hannibal
        - Big Bang Theory
        - Game of Thrones
        - Top Gear
        - The Following
        - Grey's Anatomy
    set:
      path: /USB/SERIALE/{{series_name}}/Season {{series_season}}
    download: yes
tasks:
  showrss:
    priority: 1
    rss: http://showrss.karmorra.info/rss.php?user_id=69597&hd=null&proper=null
    preset: tv

Transmission config:
Code:
{
    "alt-speed-down": 1000,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 200,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/USB/TORRENT/GOTOWE",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 0,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/USB/TORRENT/TEMP",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 6969,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{10dacabd0ed3f55b2ad00ef6be3732caf45836f0/GL0TkEq",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "xbian",
    "rpc-whitelist": "127.0.0.1,192.168.*.*,10.0.*.*",
    "rpc-whitelist-enabled": false,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 2,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true,
    "watch-dir": "/USB/TORRENT",
    "watch-dir-enabled": true
}

Do you have any suggestions ??


RE: Flexget installation - zilexa - 16th Jul, 2013 05:39 PM

(@padrekopre, do you still have that issue?)


On a fresh install of beta 1.1, I cannot install Flexget anymore Sad

installing pip goes OK, but Flexget:

Code:
xbian@xbian ~ $ sudo pip install flexget
Downloading/unpacking flexget
  Running setup.py egg_info for package flexget
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/xbian/build/flexget/setup.py", line 8, in <module>
        import paver.tasks
      File "paver-minilib.zip/paver/tasks.py", line 16, in <module>
    ImportError: No module named version
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/xbian/build/flexget/setup.py", line 8, in <module>

    import paver.tasks

  File "paver-minilib.zip/paver/tasks.py", line 16, in <module>

ImportError: No module named version

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/xbian/build/flexget
Storing complete log in /root/.pip/pip.log

Could this be XBian related? Otherwise I'll create a ticket at Flexget.com


RE: Flexget installation - Fred - 16th Jul, 2013 07:04 PM

I get the same error in alpha5 so something changed in Flexget that caused it not to work anymore.

Maybe you could try
Code:
sudo pip install -I flexget==1.1.74



RE: Flexget installation - padrekopre - 17th Jul, 2013 03:04 PM

(16th Jul, 2013 05:39 PM)zilexa Wrote:  (@padrekopre, do you still have that issue?)

Hi, now everythings works... On alpha5, Beta 1 and Beta 1.1...
I think the problem was permissions to directories in USB drive... now they are 777 so everyone can write in them...

After problems with upgrade to Beta 1 I fresz install Flexget on it, and recover config files from my post and it works great... so check the permissions Smile

Regards.....


RE: Flexget installation - zilexa - 18th Jul, 2013 11:30 PM

Just FYI for anyone passing by this topic I created a full how-to for XBian & Flexget by using trakt.tv to follow your tv shows and movies.
http://forum.xbian.org/showthread.php?tid=1127


Re: Flexget installation - f1vefour - 24th Jul, 2013 11:27 PM

... deleted


RE: Flexget installation - Davem - 25th Jul, 2013 03:27 AM

@zilexa,
I'm following your Flexget progress since the first posts about it in the download topic.

Just curious, is their still coming Flexget package for Xbian?

P.s nice guide!


RE: Flexget installation - zilexa - 25th Jul, 2013 09:55 PM

@Davem, probably not.. It's really easy to install flexget, just three commands. There are no RPi/Debian/XBian specific actions. If I create a package, it will be because Flexget developers think it is a good idea. Their first response was not positive, they prefer users installing and updating Flexget instead of being dependant on someone who maintains a package. But I replied to their feedback so let's wait and see.

Please check this ticket:
http://flexget.com/ticket/2107


RE: Flexget installation - mk01 - 1st Aug, 2013 12:37 AM

(25th Jul, 2013 09:55 PM)zilexa Wrote:  @Davem, probably not.. It's really easy to install flexget, just three commands. There are no RPi/Debian/XBian specific actions. If I create a package, it will be because Flexget developers think it is a good idea. Their first response was not positive, they prefer users installing and updating Flexget instead of being dependant on someone who maintains a package. But I replied to their feedback so let's wait and see.

Please check this ticket:
http://flexget.com/ticket/2107

to be honest, I prefer the same way. In case some special mods would be needed to fit xbian, this could be solved with commits to Flexget directly (after agreement of course).

couldn't we create a meta package which would install the upstream flexget, but be looking like xbians? this is a common way used for example by Ubuntu <- Debian.


RE: Flexget installation - f1vefour - 1st Aug, 2013 01:34 AM

Meta package would be a nice middle ground, no xbian specific package but automated installation.