1st Aug, 2013, 01:44 AM
1st Aug, 2013, 09:02 AM
The xbian-package-samba and xbian-package-apache are also meta packages.
6th Aug, 2013, 01:34 AM
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.
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.
6th Aug, 2013, 01:42 AM
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
6th Aug, 2013, 07:56 PM
preinst:
Am I on the right track here?
postinst: (to upgrade)
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:
So I somehow need to parse this output. Any tips?
Code:
#!/bin/bash
if [ $1 == "install" ]; then
sudo apt-get install python-pip;
sudo pip install flexget;
sudo pip install transmissionrpc
fi
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
1.1.77
Latest release: 1.1.83
So I somehow need to parse this output. Any tips?
8th Aug, 2013, 06:00 PM
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.
21st Oct, 2013, 12:21 AM
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.
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.
29th Oct, 2013, 07:17 AM
@effemmeffe anything related to actually USING Flexget, you should ask at flexget.com. You can search through tickets there or create one yourself.
25th Mar, 2014, 07:01 AM
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?
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?
28th Mar, 2014, 03:28 AM
Any help would be much appreciated
4th Apr, 2014, 10:42 AM
@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
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.
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.
12th Jul, 2014, 07:12 PM
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'
Would really appreciate any help or advice on how to troubleshoot this.
Thanks
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
18th Jul, 2014, 03:32 AM
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..
19th Jul, 2014, 06:40 PM
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
Below are the two pastes...
http://pastebin.com/atExut3A
http://pastebin.com/EjGRCUeZ
Thanks