prostuff1 Posted February 14, 2012 Share Posted February 14, 2012 Well, its about time I release this package. I have been working on this package on and off for a while. Now, to start this off I want to say that I do not actually use this package. I do not know exactly how flexget work or how it interacts with transmission. This package will install flexget, mechanize, and the transmissionrpc packages. The mechanize and transmission parts of flexget should allow it to interact with the Transmission package. I have not used this tool, but it looks to be handy for those new to flexget. I do create a default (i.e. empty) config.yml file in the "install-dir". If you want to use the tool I just linked to I suggest creating the config.yml file with the tool, stopping flexget on the server via the user scripts page, placing the config.yml file in place, and then use the user scripts page to restart flexget. All the required packages are attached here or in the default unMenu install. Please make sure you have an updated version of unMenu!! If you have any issues with the INSTALL please post the following: unRAID version, other addon's, and the output of all these commands ps -ef | grep flexget cat PACKAGE_DIRECTORY/flexget.auto_install cat PACKAGE_DIRECTORY/flexget.manual_install ls ***OF THE INSTALL DIRECTORY OF flexget*** cat ***OF THE config.yml file in the INSTALL DIRECTORY OF flexget*** /usr/bin/flexget -V /usr/bin/flexget -V | awk '{print$1}' cd PACKAGE_DIRECTORY && find . -type f -name "flexget.man*" -print0 | xargs -0 ls -tr | awk 'END{print $NF}' | awk '{split($0,a,"-"); print a[2]}' cd PACKAGE_DIRECTORY && find . -type f -name "flexget.man*" -print0 | xargs -0 ls -tr | awk 'END{print $NF}' | awk '{split($0,a,"/"); print a[2]}' cat /var/log/syslog | grep -i flexget As I have already stated, I do not use this myself and can not help with configuring or setting it up. From the reading around I have done I do believe I have the necessary parts installed for this to work with Transmission. Please see the flexget web site for more information on how to configure everything. A brief glance shows that this should be able to configured and set up so that transmission, pyload, and sabnzbd should be able to be used in conjunction with flexget. EDIT: 2-26-2012 New flexget-unmenu-package.conf attached. This one adds the ability to set a cron schedule and have flexget run on that schedule. EDIT: 3-2-2012 New flexget-unmenu-package.conf attached. This one fixed the SQLAlchemy 0.7.5 and flexget interaction issue by installing SQLAlchemy 0.7.4 over the top of SQLAlchemy 0.7.5. EDIT: 10-8-2012 fixed pysqlite.conf file to point to a new location. EDIT: 7-4-20113 Updated package to get the latested version of flexget. Quite a bit of rework was needed so let me know if anything is not working. flexget-unmenu-package.conf pysqlite-unmenu-package.conf python-unmenu-package.conf sqlite-unmenu-package.conf Quote Link to comment
prostuff1 Posted February 14, 2012 Author Share Posted February 14, 2012 more package(s) setuptools-unmenu-package.conf Quote Link to comment
naxiand Posted February 14, 2012 Share Posted February 14, 2012 Thank you, thank you..... I will use it when back home:-) Sent from my Optimus 2X using Tapatalk Quote Link to comment
naxiand Posted February 14, 2012 Share Posted February 14, 2012 it works although i must have a closer look into the settings for more precise results the only thing i noticed is ,if flexget is shutdown cant be started again from unmenu...it writes already started it,but nothing happens...had to reboot server a small example of config.yml feeds: TvTorrent1: preset: tv rss: http://some.rss.website/feed/location/ presets: tv: series: 720p: - series title 1 - series title 2 settings: 720p: timeframe: 8 hours transmission: host: ip of transmission port: 9091 Quote Link to comment
prostuff1 Posted February 15, 2012 Author Share Posted February 15, 2012 it works although i must have a closer look into the settings for more precise results the only thing i noticed is ,if flexget is shutdown cant be started again from unmenu...it writes already started it,but nothing happens...had to reboot server OK, I will check into this some more. I briefly tested the buttons and they seemed to work for me, but I will double check. a small example of config.yml feeds: TvTorrent1: preset: tv rss: http://some.rss.website/feed/location/ presets: tv: series: 720p: - series title 1 - series title 2 settings: 720p: timeframe: 8 hours transmission: host: ip of transmission port: 9091 Thanks for the example config.yml file. It will hopefully get people started. Quote Link to comment
naxiand Posted February 16, 2012 Share Posted February 16, 2012 with sab+sick+couch+flex+transmission we need too many open windows-tabs could this maybe implement? Maraschino http://forum.xbmc.org/showthread.php?t=113136 http://vod.server-works.com:7000/ http://htpc.ictcsc.net/wiki/index.php/Maraschino Quote Link to comment
prostuff1 Posted February 16, 2012 Author Share Posted February 16, 2012 Ha, if you think those few things make for a lot of tabs... you should see my web browser on a day to day basis. I have 15 open right now But back on topic: maybe but I will need to find time... and that won't be for a little while as I am working on another package right now. Quote Link to comment
prostuff1 Posted February 18, 2012 Author Share Posted February 18, 2012 Start and stop buttons appear to work just fine for me. What makes you think they are not working naxiand? Quote Link to comment
naxiand Posted February 18, 2012 Share Posted February 18, 2012 propably is unraid beta 14 and not you Ps info (from /usr/bin/ps -eaf) UID PID PPID C STIME TTY TIME CMD root 1 0 0 14:16 ? 00:00:03 init root 2 0 0 14:16 ? 00:00:00 [kthreadd] root 3 2 0 14:16 ? 00:00:00 [ksoftirqd/0] root 6 2 0 14:16 ? 00:00:00 [migration/0] root 7 2 0 14:16 ? 00:00:00 [migration/1] root 9 2 0 14:16 ? 00:00:00 [ksoftirqd/1] root 11 2 0 14:16 ? 00:00:00 [khelper] root 12 2 0 14:16 ? 00:00:00 [kworker/u:1] root 146 2 0 14:16 ? 00:00:04 [sync_supers] root 148 2 0 14:16 ? 00:00:00 [bdi-default] root 150 2 0 14:16 ? 00:00:00 [kblockd] root 258 2 0 14:16 ? 00:00:00 [ata_sff] root 268 2 0 14:16 ? 00:00:00 [khubd] root 373 2 0 14:16 ? 00:00:00 [rpciod] root 403 2 0 14:16 ? 00:00:06 [kswapd0] root 463 2 0 14:16 ? 00:00:00 [fsnotify_mark] root 482 2 0 14:16 ? 00:00:00 [nfsiod] root 490 2 0 14:16 ? 00:00:00 [crypto] root 660 1 0 14:16 ? 00:00:00 /sbin/udevd --daemon root 743 2 0 14:16 ? 00:00:00 [scsi_eh_0] root 752 2 0 14:16 ? 00:00:00 [scsi_eh_1] root 761 2 0 14:16 ? 00:00:00 [scsi_eh_2] root 771 2 0 14:16 ? 00:00:00 [scsi_eh_3] root 772 2 0 14:16 ? 00:00:00 [scsi_eh_4] root 773 2 0 14:16 ? 00:00:00 [scsi_eh_5] root 775 2 0 14:16 ? 00:00:00 [kworker/u:3] root 779 2 0 14:16 ? 00:00:00 [scsi_eh_6] root 780 2 0 14:16 ? 00:00:00 [usb-storage] root 882 1 0 14:16 ? 00:00:00 /usr/sbin/syslogd -m0 root 886 1 0 14:16 ? 00:00:00 /usr/sbin/klogd -c 3 -x root 919 660 0 14:16 ? 00:00:00 /sbin/udevd --daemon root 920 660 0 14:16 ? 00:00:00 /sbin/udevd --daemon bin 995 1 0 14:16 ? 00:00:00 /sbin/rpc.portmap root 999 1 0 14:16 ? 00:00:00 /sbin/rpc.statd root 1009 1 0 14:16 ? 00:00:00 /usr/sbin/inetd root 1016 1 0 14:16 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid root 1023 1 0 14:16 ? 00:00:00 /usr/sbin/acpid 81 1033 1 0 14:16 ? 00:00:00 /usr/bin/dbus-daemon --system root 1038 1 0 14:16 ? 00:00:00 /usr/sbin/crond -l notice daemon 1040 1 0 14:16 ? 00:00:00 /usr/sbin/atd -b 15 -l 1 root 11118 1 0 14:18 ? 00:00:00 /usr/local/sbin/emhttp root 11184 2 0 14:18 ? 00:00:00 [mdrecoveryd] root 11214 2 0 14:18 ? 00:00:00 [spinupd] root 11275 1 0 14:18 ? 00:00:00 /usr/sbin/nmbd -D root 11287 1 0 14:18 ? 00:00:00 /usr/sbin/smbd -D root 11304 11287 0 14:18 ? 00:00:00 /usr/sbin/smbd -D root 11325 2 0 14:18 ? 00:00:00 [unraidd] root 11509 2 0 14:18 ? 00:00:00 [reiserfs] root 18315 2 0 14:18 ? 00:00:04 [flush-8:16] root 18326 1 0 14:18 ? 00:00:00 /usr/local/sbin/shfs /mnt/user0 -disks 2 -o noatime,big_writes,allow_other,default_permissions,use_ino root 18333 1 2 14:18 ? 00:01:05 /usr/local/sbin/shfs /mnt/user -disks 3 2000000 -o noatime,big_writes,allow_other,default_permissions,use_ino root 18365 2 0 14:19 ? 00:00:00 [kworker/1:2] nobody 18389 1 1 14:19 ? 00:00:38 python /usr/local/couchpotato/CouchPotato.py -d --datadir /mnt/cache/couchpotato --pidfile /var/run/couchpotato/couchpotato.pid > /dev/null 2>&1 root 18421 1 0 14:19 ? 00:00:03 /root/.dropbox-dist/dropbox nobody 18537 1 30 14:19 ? 00:11:23 python /usr/local/sabnzbd/SABnzbd.py -d -s 0.0.0.0:8081 --config-file /mnt/cache/sabnzbd --pid /var/run/sabnzbd > /dev/null 2>&1 nobody 18597 1 3 14:19 ? 00:01:21 python /usr/local/sickbeard/SickBeard.py -d -p 8082 --datadir /mnt/cache/sickbeard --pidfile /var/run/sickbeard/sickbeard.pid > /dev/null 2>&1 nobody 18614 1 0 14:19 ? 00:00:03 transmission-daemon --port 9091 --config-dir /mnt/cache/transmission --pid-file /var/run/transmission/transmission.pid root 18791 1 0 14:21 tty1 00:00:00 /sbin/agetty 38400 tty1 linux root 18792 1 0 14:21 tty2 00:00:00 /sbin/agetty 38400 tty2 linux root 18793 1 0 14:21 tty3 00:00:00 /sbin/agetty 38400 tty3 linux root 18794 1 0 14:21 tty4 00:00:00 /sbin/agetty 38400 tty4 linux root 18795 1 0 14:21 tty5 00:00:00 /sbin/agetty 38400 tty5 linux root 18796 1 0 14:21 tty6 00:00:00 /sbin/agetty 38400 tty6 linux root 18815 1009 0 14:21 ? 00:00:00 in.telnetd: 192.168.2.7 root 18816 18815 0 14:21 pts/0 00:00:00 -bash root 18842 1 0 14:22 pts/0 00:00:00 /bin/bash ./uu root 18843 1 0 14:22 pts/0 00:00:00 logger -tunmenu -plocal7.info -is root 18846 18842 0 14:22 pts/0 00:00:03 awk -W re-interval -f ./unmenu.awk nobody 18855 11287 0 14:22 ? 00:00:06 /usr/sbin/smbd -D root 20669 2 0 14:40 ? 00:00:00 [kworker/0:2] nobody 20730 18537 3 14:45 ? 00:00:26 /usr/bin/unrar x -idp -o- -or -p- /mnt/cache/sabnzbd/Downloads/incomplete/Spartacus S02E04 720p HDTV X264 DIMENSION/spartacus.204.720p-dimension.rar /mnt/cache/sabnzbd/Downloads/complete/TV/_UNPACK_Spartacus S02E04 720p HDTV X264 DIMENSION/ root 21590 2 0 14:49 ? 00:00:00 [kworker/1:3] root 21610 2 0 14:50 ? 00:00:00 [kworker/0:0] root 24453 2 0 14:54 ? 00:00:00 [kworker/1:0] root 24454 2 0 14:54 ? 00:00:00 [kworker/1:1] root 24571 2 0 14:55 ? 00:00:00 [kworker/0:1] root 25804 18846 0 14:56 pts/0 00:00:00 gawk -v ConfigFile unmenu.conf -v MyHost HP -v ScriptDirectory /boot/unmenu -v AWK_PID -v LocalConfigFile unmenu_local.conf -v MyPort 8080 -W re-interval -f /boot/unmenu/29-unmenu-sysinfo.awk STARTED GET /sys_info?option=Ps+info |Main|array_management|Array Management|disk_management|Disk Management|system_log|Syslog|myMain|myMain|links|Useful Links|disk_performance|Disk Performance|network_performance|Network Performance|usage|Disk Usage|smarthistory|Smart History|dupe_files|Dupe Files|sys_info|System Info|file_browser|File Browser|share_iso|Share ISO|user_scripts|User Scripts|config_view_edit|Config View/Edit|pkg_manager|Pkg Manager|unraid_main|unRAID Main|about|About|help|Help| root 25806 25804 0 14:56 pts/0 00:00:00 sh -c /usr/bin/ps -eaf 2>&1 root 25807 25806 0 14:56 pts/0 00:00:00 /usr/bin/ps -eaf Fuser info (from /usr/bin/fuser -mv /mnt/disk* /mnt/user/* 2>&1) USER PID ACCESS COMMAND /mnt/user/Dropbox: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/Movies: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/TV: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/couchpotato: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/flexget: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/sabnzbd: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/sickbeard: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd /mnt/user/transmission: nobody 18389 F.... python nobody 18597 F.... python nobody 18855 F.c.. smbd Quote Link to comment
prostuff1 Posted February 18, 2012 Author Share Posted February 18, 2012 The flexget-webui is running for me without issue via the Start and Stop buttons. As far as flexget itself goes... It is a command line utility that you will need to run yourself, unless you add a cron job to run it. Hum... I should probably give an option so that this is added to cron and run on a regular basis. Will see about adding that option and getting a new flexget-unmenu-packge.conf put up later tonight. Quote Link to comment
naxiand Posted February 18, 2012 Share Posted February 18, 2012 This would be nice for a linux noob like me:-) Sent from my Optimus 2X using Tapatalk Quote Link to comment
bonzi Posted February 21, 2012 Share Posted February 21, 2012 Hey, wanted to thank you for this. I'm using it and it works great so far. Thanks. By the way, here is another example config.yml. feeds: feed1: preset: - transmissionrpc - tv rss: http://rss.feed1 feed2: preset: - transmissionrpc - tv rss: http://rss.feed2 feed3: preset: - transmissionrpc - tv rss: http://rss.feed3 presets: transmissionrpc: transmission: addpaused: false host: localhost password: ***** path: /mnt/cache/_downloads/complete/tv shows port: 9091 username: transmission tv: content_filter: require: - '*.avi' - '*.mkv' - '*.mp4' - '*.rar' exists_series: - /mnt/user/Video/TV Shows/ series: 720p: - Game of Thrones - Breaking Bad - Criminal Minds - Family Guy - How I Met Your Mother - NCIS: exact: true - The Big Bang Theory - The Simpsons - House: exact: true - NCIS Los Angeles: exact: true - The Office - The Mentalist - South Park - The Walking Dead - Dexter - Homeland - Alcatraz - Burn Notice settings: 720p: propers: false quality: 720p HDTV: propers: false quality: hdtv Quote Link to comment
bonzi Posted February 24, 2012 Share Posted February 24, 2012 Hey, actually I am having some problems getting scheduling up and going. I added my feeds to the schedule to be executed every 60 min and nothing seems to happen. So I then added this line to my crontab: @hourly /usr/bin/flexget --cron But that doesn't seem to do anything either. Probably something really obvious that I am missing...maybe someone knows. Quote Link to comment
prostuff1 Posted February 24, 2012 Author Share Posted February 24, 2012 The line probably wont work. I am working on it... just not had enough time to test everything. Quote Link to comment
Brettv Posted February 24, 2012 Share Posted February 24, 2012 This looks amazing, would love to see it on unraid with sab+sick+couch+flex+transmission we need too many open windows-tabs could this maybe implement? Maraschino http://forum.xbmc.org/showthread.php?t=113136 http://vod.server-works.com:7000/ http://htpc.ictcsc.net/wiki/index.php/Maraschino Quote Link to comment
dragonfyre13 Posted February 26, 2012 Share Posted February 26, 2012 Hey, actually I am having some problems getting scheduling up and going. I added my feeds to the schedule to be executed every 60 min and nothing seems to happen. So I then added this line to my crontab: @hourly /usr/bin/flexget --cron But that doesn't seem to do anything either. Probably something really obvious that I am missing...maybe someone knows. Is it that it's not firing, or what? I've got some code in flexget (wrote thetvdb favorites plugin, some cleanup work, along with some work in a few other plugins), maybe I can help debug. If it's actually running, post your flexget.log, lemme see what's happening. Quote Link to comment
bonzi Posted February 26, 2012 Share Posted February 26, 2012 Hey, Thanks. Its kinda confusing because there are several log files that have been created...but when I run flexget from command line, it looks like it writes it to /root/.flexget/flexget.log. From looking at the log it does not seem like it has ever fired from cron...it hasn't written anything to the log for the past few days. Quote Link to comment
dragonfyre13 Posted February 26, 2012 Share Posted February 26, 2012 Make sure you're passing it -c "/path/to/config.yml". Might also want to check out --logging, most of what it does is assumed to be in the home directory (~/.flexget/*) Quote Link to comment
prostuff1 Posted February 26, 2012 Author Share Posted February 26, 2012 A new flexget is going up in the next 5 minutes. It will add an entry into cron so that it runs at the top of every hour. Quote Link to comment
bonzi Posted February 27, 2012 Share Posted February 27, 2012 Make sure you're passing it -c "/path/to/config.yml". Might also want to check out --logging, most of what it does is assumed to be in the home directory (~/.flexget/*) Yes, I'm pretty sure that it had the correct path to config.yml because it would work in command line without specifying where the config.yml was. A new flexget is going up in the next 5 minutes. It will add an entry into cron so that it runs at the top of every hour. Yes, I can confirm that this now works. Thanks . Quote Link to comment
naxiand Posted February 27, 2012 Share Posted February 27, 2012 i had some configuration erros for config.yml...so run : root@HP:/mnt/cache# flexget --check 2012-02-27 12:06 INFO manager Tried to read from: /usr, /root/.flexget 2012-02-27 12:06 CRITICAL main Failed to find configuration file config.yml 2012-02-27 12:06 INFO manager Tried to read from: /usr, /root/.flexget 2012-02-27 12:06 CRITICAL main Failed to find configuration file config.yml could this be fixed? Quote Link to comment
prostuff1 Posted February 27, 2012 Author Share Posted February 27, 2012 i had some configuration erros for config.yml...so run : root@HP:/mnt/cache# flexget --check 2012-02-27 12:06 INFO manager Tried to read from: /usr, /root/.flexget 2012-02-27 12:06 CRITICAL main Failed to find configuration file config.yml 2012-02-27 12:06 INFO manager Tried to read from: /usr, /root/.flexget 2012-02-27 12:06 CRITICAL main Failed to find configuration file config.yml could this be fixed? Um... your going to have to give it the path to the config.yml file... It is trying to find it in /usr or /root/.flexget and that is most likely NOT where you chose to install it. Quote Link to comment
naxiand Posted February 27, 2012 Share Posted February 27, 2012 correct i have it installed to cache drive....so flexget --check + path drive? thanks Quote Link to comment
prostuff1 Posted February 27, 2012 Author Share Posted February 27, 2012 correct i have it installed to cache drive....so flexget --check + path drive? thanks It would probably be something like: /usr/bin/flexget --check -c /mnt/cache/.flexget/config.yml Quote Link to comment
naxiand Posted February 27, 2012 Share Posted February 27, 2012 worked cheers iam dealing with a private tracker...and i am trying different things to work...so this command is usefull http://flexget.com/wiki/Plugins/rss# Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.