@Atrolon wrote:
Hi
I am trying to get movies from list of selected releases groups, but I am unable to get any filter to do this.
I am trying this with regex
regexp: accept: - \bsome_release_group\b - \bfoo\b - \bbar\b - \b.foo.\b - \b.bar.\b reject: - \bBLUR\b - \b.HC.\b - \b.HDTC.\b - \b.HDRip.\b - \b.HDTV.\b - \b.WEBRip.\b
This get all entrees in the feed with the regex accept key words, and it looks to me like it is not using my movie_list at all
This is what I want flexget to do:
rssfeed=wanted.movie.foo -> movie_list=accept -> regexp=accept = Download
rssfeed=un-wanted.movie.foo -> movie_list=reject -> regexp=reject = No
rssfeed=wanted.movie -> movie_list=accept -> regexp=reject = No
rssfeed=wanted.movie.BLUR -> movie_list=accept -> regexp=reject = NoBut this is what I see right now:
rssfeed=wanted.movie.foo -> regexp=accept = Download
rssfeed=un-wanted.movie.foo -> regexp=accept = Download
rssfeed=wanted.movie -> movie_list=accept = Download
rssfeed=wanted.movie.BLUR -> movie_list=accept -> regexp=reject = NoHere is my full output of my config file
config.yml
# Passwords and other private stuff. secrets: secrets.yml # Dependenceys # ftp_list - http://ftputil.sschwarzer.net/trac/wiki/WikiStart # sudo -H pip install ftputil # Decompress # sudo -H pip install rarfile ## Schedules ################################################################## schedules: # Run every 15 minutes - tasks: [add_wanted_couchpotato_to_movie_list, search_movies_couchpotato_list, search_movies_trakt_list, search_tv] schedule: minute: "*/15" # Run every 2 hours - tasks: [search_trakt_tv, add_trakt_to_movie_list] schedule: hour: "*/2" # Run every hour - tasks: [download_manual, decompress_manual, complete_manual] schedule: hour: "*/1" # Run every 30 minutes between 0 pm to 7 am - tasks: [download_movies, decompress_movies, process_movies] schedule: hour: 0-7 minute: "*/30" # Run every 30 minutes - tasks: [download_tv, decompress_tv, process_tv] schedule: minute: "*/30" ## Web-UI ##################################################################### # flexget web passwd <_password> # Enable web-ui on port 3539 web_server: port: 3539 web_ui: yes ## Template - General ######################################################### templates: # Filter media files to get template_general: content_filter: require: - '*.avi' - '*.mkv' - '*.r0*' - '*.part0*' reject: - '*.m2ts' - '*.wmv' - '*.m4v' - '*.mp4' - '*.iso' - '*.vob' domain_delay: feedsite1.org: 5 seconds feedsite2.org: 5 seconds ## Template - tv ############################################################## # General settings template_tv: set: allow_teasers: no propers: 12 hours specials: no tracking: backfill thetvdb_lookup: yes download: /downloads/upload/tv exists_series: - "/media/TV Shows" # Sources for series torrents. template_rss_tv: inputs: - rss: { url: '{{ secrets.feedsite1.hd_tv_feedsite1 }}', silent: yes } - rss: { url: '{{ secrets.showrss.personal_feed }}', silent: yes } - rss: { url: '{{ secrets.extratorrent.search_the_universe_works }}', silent: yes } ## Template - movies ########################################################## # All the metainfo plugins used by tasks handling movies. template_movies: quality: 1080p regexp: accept: - \bsome_release_group\b - \bfoo\b - \bbar\b - \b.foo.\b - \b.bar.\b reject: - \bBLUR\b - \b.HC.\b - \b.HDTC.\b - \b.HDRip.\b - \b.HDTV.\b - \b.WEBRip.\b imdb_lookup: yes download: /downloads/upload/movies exists_movie: - "/media/Movies/" # Sources for movies torrents. template_rss_movies: inputs: - rss: { url: '{{ secrets.feedsite1.hd }}', silent: yes } ## Tasks ###################################################################### tasks: # Get tv shows with subs search_tv: priority: 1 template: - template_general - template_tv - template_rss_tv include: series.yml pushover: user_key: '{{ secrets.pushover.user_key }}' api_key: '{{ secrets.pushover.api_key }}' title: Uploading {{series_name}} message: Episode {{series_id}} # Get tv shows from Sonarr search_sonarr: priority: 2 template: - template_general - template_tv - template_rss_tv configure_series: from: sonarr_list: base_url: http://172.16.3.30 port: 8989 api_key: '{{ secrets.sonarr.api_key }}' include_ended: false only_monitored: true include_data: false settings: target: 720p+ # Get tv shows from flexTV list on Trakt.tv search_trakt_tv: priority: 9 template: - template_general - template_tv - template_rss_tv configure_series: from: trakt_list: username: '{{ secrets.trakt.user }}' account: '{{ secrets.trakt.user }}' list: flexTV type: shows settings: quality: 720p+ ## movies ##################################################################### # Update movie-list from Couchpotato Wanted list add_wanted_couchpotato_to_movie_list: priority: 11 couchpotato_list: base_url: http://172.16.3.30 port: 5050 api_key: '{{ secrets.couchpotato.api_key }}' include_data: false accept_all: yes list_add: - movie_list: couchpotato # Update movie-list from flexMovies list on Trakt.tv add_trakt_to_movie_list: priority: 19 trakt_list: username: '{{ secrets.trakt.user }}' account: '{{ secrets.trakt.user }}' list: flexMovies type: movies accept_all: yes list_add: - movie_list: trakt # Search for Movies on movie-list search_movies_couchpotato_list: priority: 12 template: - template_general - template_movies - template_rss_movies seen: local list_match: from: - movie_list: couchpotato # Search for Movies on movie-list search_movies_trakt_list: priority: 13 template: - template_general - template_movies - template_rss_movies seen: local list_match: from: - movie_list: trakt ## Tasks - Downloads ########################################################## ## manual ##################################################################### # Download from Put.io download_manual: priority: 51 ftp_list: username: '{{ secrets.putio.user }}' password: '{{ secrets.putio.password }}' host: ftp.put.io port: 21 use_ssl: no dirs: manual retrieve: - dirs - files recursion: yes recursion_depth: 4 accept_all: yes no_entries_ok: yes ftp_download: use-ssl: False delete_origin: True ftp_tmp_path: /downloads/incomming/manual # Decompress files decompress_manual: priority: 52 accept_all: yes no_entries_ok: yes disable: seen exec: on_start: phase: /bin/bash ~/.flexget/processing.sh manual on_exit: phase: /bin/bash ~/.flexget/processing.sh manual filesystem: path: /downloads/incomming/manual recursive: yes retrieve: files regexp: '.*\.(rar|r0+[01](/01)|zip|part1.rar)' decompress: to: /downloads/manual keep_dirs: yes delete_archive: no # Move to complete complete_manual: priority: 52 accept_all: yes no_entries_ok: yes disable: seen filesystem: path: /downloads/incomming/manual recursive: yes retrieve: files move: to: /downloads/manual ## movies ##################################################################### # Download from Put.io download_movies: priority: 61 disable: seen ftp_list: username: '{{ secrets.putio.user }}' password: '{{ secrets.putio.password }}' host: ftp.put.io port: 21 use_ssl: no dirs: movies retrieve: - dirs - files recursion: yes recursion_depth: 4 accept_all: yes no_entries_ok: yes ftp_download: use-ssl: False delete_origin: True ftp_tmp_path: /downloads/incomming/movies # Decompress files decompress_movies: priority: 62 accept_all: yes no_entries_ok: yes disable: seen filesystem: path: /downloads/incomming/movies recursive: yes retrieve: files regexp: '.*\.(rar|r0+[01](/01)|zip|part1.rar)' decompress: keep_dirs: yes delete_archive: yes # Move to processing process_movies: priority: 63 no_entries_ok: yes filesystem: path: /downloads/incomming/movies recursive: yes retrieve: files regexp: '.*\.(mkv|avi|mp4|m4v)' seen: local imdb_lookup: yes parsing: movie: guessit metainfo_movie: yes proper_movies: yes require_field: [movie_name, movie_year] exec: on_start: phase: /bin/bash ~/.flexget/processing.sh movies on_exit: phase: /bin/bash ~/.flexget/processing.sh movies on_output: for_accepted: /bin/bash ~/.flexget/send_update.sh plex-movies accept_all: yes pushover: user_key: '{{ secrets.pushover.user_key }}' api_key: '{{ secrets.pushover.api_key }}' title: Downloaded {{movie_name}} {{movie_year}} message: Votes {{imdb_votes}} {{imdb_score}} move: to: /media/Movies/{{ movie_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }} ({{ movie_year }})/ along: extensions: - sub - srt - idx - nfo ## tv ######################################################################### # Download from Put.io download_tv: priority: 71 disable: seen ftp_list: username: '{{ secrets.putio.user }}' password: '{{ secrets.putio.password }}' host: ftp.put.io port: 21 use_ssl: no dirs: tv retrieve: - dirs - files recursion: yes recursion_depth: 10 accept_all: yes no_entries_ok: yes ftp_download: use-ssl: False delete_origin: True ftp_tmp_path: /downloads/incomming/tv # Decompress files decompress_tv: priority: 72 accept_all: yes disable: seen no_entries_ok: yes filesystem: path: /downloads/incomming/tv recursive: yes retrieve: files regexp: '.*\.(rar|r0+[01](/01)|nfo|zip|part1.rar)' decompress: keep_dirs: yes delete_archive: yes # Move to processing process_tv: priority: 73 disable: - seen - retry_failed no_entries_ok: yes filesystem: path: /downloads/incomming/tv recursive: yes regexp: '.*\.(mkv|avi|mp4|m4v)' metainfo_series: yes thetvdb_lookup: yes require_field: [series_name] include: series.yml parsing: series: guessit series: settings: with_subs: parse_only: yes some_shows: parse_only: yes regexp: reject: - \bsample\b: {from: title} accept_all: yes exec: on_start: phase: /bin/bash ~/.flexget/processing.sh tv on_exit: phase: /bin/bash ~/.flexget/processing.sh tv on_output: for_accepted: - /bin/bash ~/.flexget/send_update.sh plex-tv - /bin/bash ~/.flexget/send_update.sh sonarr pushover: user_key: '{{ secrets.pushover.user_key }}' api_key: '{{ secrets.pushover.api_key }}' title: Downloaded {{series_name}} message: Episode {{series_id}} move: to: '/media/TV Shows/{{series_name}}/Season {{series_season|pad(1)}}' along: extensions: - sub - srt - idx
Posts: 1
Participants: 1