Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Flexget installation
Thank you for your donation

Pages (3): « Previous 1 2 3
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Flexget installation
1st Aug, 2013, 01:44 AM
Post: #31
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Flexget installation
exactly

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
1st Aug, 2013, 09:02 AM
Post: #32
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Flexget installation
The xbian-package-samba and xbian-package-apache are also meta packages.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
6th Aug, 2013, 01:34 AM
Post: #33
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Flexget installation
Alright that would be the best. How to do it? I know the four commands:
sudo apt-get install python-pip
sudo pip install flexget
sudo pip install transmissionrpc

Can I just put this in a .py script or similar? I cannot find the xbian-package-samba or xbian-package-apache on Github.. Would be a nice example.
Find all posts by this user
Quote this message in a reply
6th Aug, 2013, 01:42 AM
Post: #34
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Flexget installation
Code:
cd ~
mkdir webserver
cd webserver
wget http://xbian.brantje.com/pool/main/x/xbian-package-webserver/xbian-package-webserver_1.0_armhf.deb
ar -x xbian-package-webserver_1.0_armhf.deb

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
6th Aug, 2013, 07:56 PM
Post: #35
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Flexget installation
preinst:

Code:
#!/bin/bash

if [ $1 == "install" ]; then

sudo apt-get install python-pip;
sudo pip install flexget;
sudo pip install transmissionrpc

fi
Am I on the right track here?


postinst: (to upgrade)
Code:
#!/bin/bash

if [ $1 == "configure" -o $1 == "upgrade" ]; then

    if [ -d /usr/local/bin/flexget ]; then
        if [ $(flexget -V ... ]; then
            sudo /etc/init.d/cron stop;
            sudo pip install --upgrade flexget;
            sudo /etc/init.d/cron start
        fi
    fi
fi

the 3rd if command needs to check if upgrade is necessary (... has to be replaced). If upgrade is necessary, the flexget -V command will return:
Terminal
xbian@xbian ~ $ flexget -V
1.1.77
Latest release: 1.1.83

So I somehow need to parse this output. Any tips?
Find all posts by this user
Quote this message in a reply
8th Aug, 2013, 06:00 PM
Post: #36
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Flexget installation
Dont use apt or dpkg commands in the preinst script, add the required package(s) (in this case python-pip) to the control file as depend.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
21st Oct, 2013, 12:21 AM
Post: #37
effemmeffe Offline
Registered
Posts: 127
Joined: Jan 2013
Reputation: 1
RE: Flexget installation
I was trying to install flexget using this how to, nut I get the following errors:
CRITICAL plugin Get tvshows 720p hdtv Error connecting to transmission: Address family not supported by protocol
CRITICAL plugin Get movies Error connecting to transmission: Address family not supported by protocol

My transmission settings: http://pastebin.com/8rYUCSek
My libraryupdater.sh: http://pastebin.com/1RcpPSQh
My flexget configuration: http://pastebin.com/2YzpRNhv

Any help appreciated.
Find all posts by this user
Quote this message in a reply
29th Oct, 2013, 07:17 AM
Post: #38
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Flexget installation
@effemmeffe anything related to actually USING Flexget, you should ask at flexget.com. You can search through tickets there or create one yourself.
Find all posts by this user
Quote this message in a reply
25th Mar, 2014, 07:01 AM
Post: #39
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
Thumbs Up RE: Flexget installation
Hi team XBian, sorry to bump such an old topic. I am determined now to work on the Flexget package (and finish it!). A lot of work has already been done by flexget devs, they created an INSSERV script Debian compatible to be able to autostart Flexget at boot: http://flexget.com/wiki/Daemon/Startup

Since Flexget installation only requires 3 commands (apt-get install python-pip, pip install flexget, pip install transmissionrpc), I thought it should be relatively easy. I wanted to start create the necessary files (I read I have to do a "pull") but not sure if this is still the case?

Could I just start by copying an existing package, and simply modify the control file adding python-pip and the two pip commands?
Find all posts by this user
Quote this message in a reply
28th Mar, 2014, 03:28 AM
Post: #40
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Flexget installation
Any help would be much appreciated Smile
Find all posts by this user
Quote this message in a reply
4th Apr, 2014, 10:42 AM
Post: #41
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Flexget installation
@zilexa

there is currently no flexget install package, ... if I understand it will be more virtual package with some dependencies and then some scripting in pre-post-install phase?

you can start on your own. on git hub create account, create empty repository.
with
Code:
git clone address_to_my_git_repo

clone it to your pc.

also clone xbian-package-development (just for the purpose of downloading files you can reuse). then grab from this gen.package.sh and content/DEBIAN/*. keep the structure and use this as starter. do some googling or just read three times content/DEBIAN/{control,postinst,preinst,postrm,prerm}

update them, run .gen.package.sh. and we have .deb file.

if you would need more hints or directions, feel free to ask again.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
12th Jul, 2014, 07:12 PM
Post: #42
jalexandrina Offline
Registered
Posts: 2
Joined: Jul 2014
Reputation: 0
RE: Flexget installation
I hope it's not bad form to resurrect an old thread like this, but I'm hoping some of the other contributors, in particular @zilexa will see my post.

I have been setting up Flexget following @zilexa tutorial here: http://www.raspberrypi.org/forums/viewtopic.php?f=35&t=47084

Having read through a lot of the comments and making changes to my config here and there, I have got quite far. Movies on my watchlist at trakt are now found, passed to transmission and end up in my Xbian XBMC.

The problem I have is that TV shows in my custom lists 'following' and 'followinghd' do not get scanned properly and in the log I see 'Undecided'

Code:
2014-07-12 17:00 VERBOSE  input_cache   Get tvshows hdtv <720p Restored 3 entries from db cache
2014-07-12 17:00 VERBOSE  input_cache   Get tvshows hdtv <720p Restored 5 entries from cache
2014-07-12 17:00 VERBOSE  details       Get tvshows hdtv <720p Produced 5 entries.
2014-07-12 17:00 VERBOSE  details       Get tvshows hdtv <720p Summary - Accepted: 0 (Rejected: 0 Undecided: 5 Failed: 0)

Would really appreciate any help or advice on how to troubleshoot this.

Thanks
Find all posts by this user
Quote this message in a reply
18th Jul, 2014, 03:32 AM
Post: #43
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Flexget installation
Nothing to work with here. upload your full log from 1 flexget run (use pastebin.com or similar) and your config.yml. But I recommend you do this on Flexget.com via the ticketing system or flexget forum instead of here on the XBian forum... I rarely look in these forums anymore..
Find all posts by this user
Quote this message in a reply
19th Jul, 2014, 06:40 PM
Post: #44
jalexandrina Offline
Registered
Posts: 2
Joined: Jul 2014
Reputation: 0
RE: Flexget installation
Thank you for your reply, I will also try those other suggestions for posting but really appreciate your help also!

Below are the two pastes...

http://pastebin.com/atExut3A

http://pastebin.com/EjGRCUeZ

Thanks
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (3): « Previous 1 2 3
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 07:23 AM Powered By MyBB, © 2002-2025 MyBB Group.