January 7, 201412 yr So I have somehow been making flexget work in mysterious ways, but I would really appreciate it if someone could make a .plg for this amazing tool. I have tried myself, but I must admit my knowledge of both making .plg and linux in itself is lacking. There has been some threads about this, but I think all are outdated. I would really appreciate it if anyone wrote a plugin for this, and if you are not in the mood for that, at least post instructions on how to get flexget running on startup. I'm pulling my hairs out
January 7, 201412 yr +1 I would throw in $10 towards develoment effort if someone came out with a Flexget plugin. Without it Transmission is no where near as useful and it's a lot harder to keep ratios up on private trackers.
January 7, 201412 yr Author You can try this: make a flexget.sh in your /boot/ (or somewhere) with this content: curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python pip install flexget pip install transmissionrpc crontab -l > /tmp/flexget; echo '#Run Flexget every min 15' >> /tmp/flexget; echo '*/15 * * * * flexget --cron -c /boot/config.yml >/dev/null 2>&1' >>/tmp/flexget; crontab /tmp/flexget; rm /tmp/flexget flexget -c /boot/config.yml execute then "bash flexget.sh" it somehow works for me now... could you test it?
January 7, 201412 yr Author Forgot to state the obvious, place config.yml in /boot/ (for now) We have a lot of talented writers of plugins and this is by far the most useful for me... I guess a lot of people would be happy to see a "real" plugin for this...
January 7, 201412 yr I use the Transmission plugin and the Flexget unMenu package so I don't need to get my hands dirty. Flexget has stopped at the moment but they have worked fine. I would like to see a plugin for Flexget so that i no longer need to run unMenu
January 7, 201412 yr Author So i did a reboot and ran my script. I can confirm that it will install flexget, so it has to do for now (for me). At least I don't have to run unmenu I do however get a weird error on my last RSS feed: 2014-01-07 13:05 ERROR sqlalchemy.pool.SingletonThreadPool Exception closing connection <pysqlite2.dbapi2.Connection object at 0x97a31b8> Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/sqlalchemy/pool.py", line 191, in _close_connection self._dialect.do_close(connection) File "/usr/lib/python2.6/site-packages/sqlalchemy/engine/default.py", line 364, in do_close dbapi_connection.close() ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1087077232 and this is thread id 1077216960 It's possible that SQLAlchemy is outdated, or that Python 2.7 is required? My knowledge is limited, so I wish some experienced guru would look into this The problem could also be my config.yml, but i doubt it...
January 11, 201412 yr Author For now, I think this works: # Install flexget curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python pip install flexget --upgrade pip install transmissionrpc # Add to cron # Write out current crontab crontab -l > flex # Add flexget to run every 15 minutes echo "#Run Flexget every min 15" >> flex echo "*/15 * * * * flexget -c /boot/config/config.yml execute --cron" >> flex # Install new cron file crontab flex # Delete the temp file echo "Flexget installed to crontab" rm flex 1) save as /boot/flexget.sh 2) add "bash flexget.sh" to go-file If I wasn't a "linux retard" I would have written a real plugin
January 12, 201412 yr Author The above solution works without unmenu (which I'm not a fan of), but a "real" plugin "influencer style" would be preferred .. Anyway, if anyone wants to put together a .plg the installation is pretty straight forward with current flexget, it's just that i don't know the .plg language (...yet)
Archived
This topic is now archived and is closed to further replies.