Quantcast
Channel: uncategorized - Forum - FlexGet
Viewing all 376 articles
Browse latest View live

I really need help with a simple config

$
0
0

@s3cur17y wrote:

Could someone give me a hand with making a very simple config that uses IPT and include to pull from a list of tv shows. Below is what I have and it just isn't working at all.

templates:
  tv:
    download: /home/s3cur17y/.torrents
    exists_series: /mnt/tv
    series:
      - South Park

tasks:
  iptorrents:
    rss_key: MyRSSKey
    uid: MyUID
    password: 'MyPassword'
    category:
      - TV-480p
      - TV-SD-x264
      - TV-XVID
template: tv

Posts: 2

Participants: 2

Read full topic


How to trakt + discover + rss without search

Quality requirement missed

$
0
0

@Paul_Littlefield wrote:

I would like the 1080p web x265 version of a tv show. My config is this...

   series:
      hdtv <720p:
        - American Dad
      720p:
        - Robot Chicken
        - Star Trek Discovery:
            quality: 1080p webdl|webrip h265
        - Stranger Things

The feed has this filename...

Star Trek Discovery S01E05 1080p 6CH WEBRip x265-HETeam

But the logs show this...

2017-10-16 12:00 VERBOSE  series        zooqle-tv       Ignored `Star Trek: Discovery – 1x5: Choose Your Pain [1080p]`. Does not meet quality requirement `1080p webdl|webrip h265`.

Posts: 3

Participants: 2

Read full topic

Passing Trakt.tv lists to Sonarr, etc

$
0
0

@bwanabeast wrote:

Ok, so i've come to the final frontier of my media server. I've got everything working the way I want in regards to whats possible without flexget, now i'm starting to explore certain functionality i might want that seems to only be possible by linking different functions with Flexget. I've started out with something that i feel would be the apex of functionality for my server, adding tv and movies to lists on Trakt.tv and having Flexget pass those entries to Sonarr for tv and maybe Couchpotato or something flexget specific for movies (i haven't nailed down if i'll be using Radar, it pulls from Trakt but may not offer enough options for me). Right now, I have it successfully pulling entries from a tv list and passing it on to Sonarr. It grabs anything missing and subscribes. This is probably good enough but i ran into one quirk that i wonder if there is a workaround for.

It seems to default to the "Any" quality setting when passed to sonar. I assumed that sonarr might be using the hierarchy in the Quality Profile list (Any is listed first) so I experimented and deleted the Any entry leaving SD at the beginning. This led to an error involving sonarr not giving flexget a valid response (i dont have the output atm) so i switched SD back to the defaults for Any and renamed it, but it still gave the invalid response. i ended up deleting my settings and it was able to function again. I'm guessing there is something linking this Sonarr default to flexget, but idk. I can get away with this for TV, I just adjust Any to accept what i want the default to be (which is sd cuz i have space concerns) and it works fine.

What i would really like to know is if any quality settings can be passed to sonarr for more refined control. I got this far with trial and error but i'm a little exhausted by the process so i would love for someone to help me figure out whats possible to send to Sonarr to control quality, what to monitor, etc. along with anything anyone knows about what info can be passed to other apps like couchpotato, sickbeard etc.

Posts: 4

Participants: 2

Read full topic

Subliminal problems with name calculation and error enzyme.parsers.ebml.core

$
0
0

@ZileXa wrote:

Two issues with Subliminal:

1) I get a bunch of these errors lately, no idea what it means:

2017-10-22 04:45 INFO     subtitles     find-subtitles-series Name computed for /media/ChilleTV/Downloads/tempseries/Lethal Weapon/Lethal.Weapon.S02E04.HDTV.x264-LOL[rarbg]/lethal.weapon.204.hdtv-lol.mkv was Lethal Weapon
2017-10-22 04:45 ERROR    enzyme.parsers.ebml.core find-subtitles-series Element with id 0x55b0 is not in the specs

2) task "get-subtitles" It seems the name calculated for a file is only the TV show name, not the episode ID or any other info present in the name. So it is searching for subtitles for "Transparent" instead of using the full name, which is needed for a match.
The error actually shows the old filename, which is weird because the file has been renamed before it was added to the subtitle queue.
I also have this issue for a task "find-subtitles-series" which is run before I move/rename files.

2017-10-23 01:45 INFO     subtitles     find-subtitles-series Name computed for /media/ChilleTV/Downloads/tempseries/Mr. Robot/Mr.Robot.S03E01.eps3.0_power-saver-mode.h.720p.HDTV.x264-Rapta.mkv was Mr Robot
2017-10-22 04:03 INFO     subtitles     get-subtitles   Name computed for /media/ChilleTV/TVshows/Transparent/S03/Transparent - S03E10 - Exciting and New - [webrip h264].mp4 was Transparent
2017-10-22 04:03 ERROR    entry         get-subtitles   Failed Transparent.S03E10.WEBRip.x264-RARBG (cannot find any subtitles for now.)

My 3 tasks below.
Task 1: find-subtitles-series will search for subs for all files in my temp download folder.
Task 2: move-series will move/rename/add to subtitles queue.
Task 3: get-subtitles will search subs for all items in the subtitles queue.

##### The first attempt to find subtitles by searching for a match before renaming files.
  find-subtitles-series:
    priority: 21
    template:
      - disable-seen-retry
    filesystem:
      path: "/{? folder.root ?}{? folder.downseries ?}"
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    seen: local
    subliminal:
      languages:
        - eng
      exact_match: yes
      single: no
      providers: [opensubtitles, addic7ed, tvsubtitles, podnapisi]
      authentication:
        opensubtitles:
          username: "{? subtitles.user ?}"
          password: "{? subtitles.pass ?}"
        addic7ed:
          username: "{? subtitles.user ?}"
          password: "{? subtitles.pass ?}"

##### Move series from downloads folder to respective folders, along with existing subtitles and adding the files to the subtitle queue
  move-series:
    priority: 23
    template:
      - disable-seen-retry
      - series-metainfo
    require_field: tvdb_series_name
    filesystem:
      path: "/{? folder.root ?}{? folder.downseries ?}"
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    move:
      to: "/{? folder.root ?}{? folder.series ?}{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}}/S{{series_season|pad(2)}}/"
      rename: "{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}} - {{series_id}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"
      along:
        extensions:
          - srt
          - sub
        subdirs:
          - Subs
      clean_source: 50
    kodi_library:
      action: scan
      category: video
      url: http://localhost
      port: 8080
    list_add:
      - subtitle_list:
          list: subtitles
          path: "{{location}}"
          remove_after: 7 days
    exec:
      on_exit:
        phase: find "/{? folder.root ?}{? folder.downseries ?}"* -type d -empty -delete


##### Download subtitles for the previously queued files#
  get-subtitles:
    priority: 25
    template:
      - disable-seen-retry
    subtitle_list:
      list: subtitles
      recursion_depth: 3
    list_match:
      from:
        - subtitle_list:
            list: subtitles
    subliminal:
      languages:
        - eng
      exact_match: yes
      single: no
      providers: [opensubtitles, addic7ed, tvsubtitles, podnapisi]
      authentication:
        opensubtitles:
          username: "{? subtitles.user ?}"
          password: "{? subtitles.pass ?}"
        addic7ed:
          username: "{? subtitles.user ?}"
          password: "{? subtitles.pass ?}"

Posts: 8

Participants: 2

Read full topic

Rename downloaded torrent

Linux: Kill D process stuck with --cron

$
0
0

@Paul_Littlefield wrote:

This is an interesting one!

I have a Ubuntu headless server with a process of flexget which seems to have stuck.

paully 2155 0.0 0.7 232012 121148 ? D 02:00 0:01 /usr/bin/python /usr/local/bin/flexget --cron execute

It is in a D state which means it cannot be killed because it is an 'uninterruptable process is a process which is stuck in a kernel function that cannot be interrupted or stopped mnaually'.

This stray process does not seem to affect the normal hourly cron job but I wondered (a) if I stopped the Cron daemon it would stop itself or (b) if anyone else has experienced this?

Thanks,

Paully

Posts: 1

Participants: 1

Read full topic

"exec" to telegram-notifier

$
0
0

@Marian_Paun wrote:

Because the telegram notifier seems not to work for me, I am trying to use the "exec" plugin to pipe the output to the Telegram-notify script (a wrapper for telegram-cli, see https://github.com/NicolasBernaerts/debian-scripts/blob/master/telegram/telegram-notify).

The telegeam notifier is configured correctly and messages are correctly sent from the command line.

There is the line I am tryong to use in my config.yml:

**exec: telegram-notify --icon 10003 --success --title "Flexget Movie Found" --text "Movie: {{title}}\nimdbplot: {{imdb_plot_outline}}\nimdb_genres: {{imdb_genres}}\nimdb_score: {{imdb_score}}"**_

For some obscure reason, it doesn't seems to work... I assume there is a problem with passing jinja2 variables to the bash script... Can someone see any error in the above?

Posts: 1

Participants: 1

Read full topic


Add missing episodes to a trakt_list

$
0
0

@Em_Ka wrote:

hey. does anyone know how to configure a task with exist_series to add the missing episodes to a trakt list? so that it is searchable

Posts: 6

Participants: 3

Read full topic

Pushover sound based on task

$
0
0

@mpadilla2 wrote:

So I'm trying to have two different Pushover notification sounds based on what task has occurred. So far, all that happens is the default sound. The two sounds I'm trying to use are "bike" and "incoming". I've tried putting single quotes, double quotes, no quotes around "bike" and "incoming" and it still doesn't work. Any suggestions/corrections are greatly appreciated! Here's the relevant portion of the config:

pushover:
  user_key: '{? pushover.user_key ?}'
  api_key: '{? pushover.api_key ?}'
  sound: >
    {% if task in ['move-torrent-series','move-nzbget-series','move-torrent-movies'] %}'bike'
    {% else %}'incoming'
    {% endif %}

Posts: 1

Participants: 1

Read full topic

Duplicate movie with different .torrent

$
0
0

@kdaye wrote:

problem
sample

Your.Name.2016.BluRay.1080p.DTS.x264-EPiC@
Your Name 2016 BluRay 1080p x264 DTS 2Audios
Your Name 2016 BluRay 720p x264 DTS 2Audios
Your Name 2016 BluRay 1080p DTS-HD MA 5.1 x264
Your Name 2016 BluRay iPad 1080p AAC x264
Their.Finest.2016.720p.BluRay.DD5.1.x264-BMDru
Wakefield.2016.BluRay.1080p.AVC.DTS-HD.MA5.1-M
Wakefield.2016.BluRay.1080p.DTS.x264-CHD

My config

templates:
  global:
    accept_all: yes
  bt:
    transmission:
      host: 172.21.0.20
      port: 9091

tasks:

  movie:
    rss: xxxxxxxxxxxxxxxxxxxxxx
    template:
      - bt
    set:
      path: /downloads/movie/normal

My target

if same name just download one of them
If exist 1080p (
     download 1080p
     ) else (
      download 720p
)


Your.Name.2016.BluRay.1080p.DTS.x264-EPiC@
Their.Finest.2016.720p.BluRay.DD5.1.x264-BMDru
Wakefield.2016.BluRay.1080p.AVC.DTS-HD.MA5.1-M

Plz help:0-
How to config it?

Posts: 1

Participants: 1

Read full topic

Manipulate / -id-regexp problem

$
0
0

@softair wrote:

Tearing my hair out here. Trying to use flexget to automate downloading of some magazines, but stymied by (a) variety of date formats and (b) flexget's refusal to contemplate dates in the future (for reasons I don't fully understand). I have been looking at the suggestion elsewhere to use manipulate plugin to try and get some order, but am getting nowhere. Scanning a collection of files in a directory, a simple example...

   series_mag_test:
     series:
       settings:
         mag_month:
           identified_by: id
           id_regexp: (?i)(january|february|march|april|may|june|july|august|september|october|november|december).+(201[6-9])
       mag_month:
         - Digital SLR Photography

correctly locates Digital SLR Photography - December 2017.pdf and processes it.

However, if I try and manipulate the date, as per

  series_mag_test:
    manipulate:
      - title:
          replace:
            # <monthname> <year> case: truncate to three letter month name and reorder yyyy-mmm-dd
            regexp: (?P<mag>.+)\b(?P<month>jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).+\b(?P<year>201[6-9])(?P<tail>.*)
            format:  \g<mag>\g<year>-\g<month>\g<tail>
      - title:
          replace:
            # <monthnumber>-<year> reorder yyyy-mmm
            regexp: (?P<mag>.+)\b(?P<month>[0[1-9]|1[0-2])\b.+(?P<year>201[6-9])(?P<tail>.*)
            format:  \g<mag>\g<year>-\g<month>\g<tail>
    series:
      settings:
        mag_month:
           id_regexp:
            - (?i)(201[6-9])-(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)
            - (?i)(201[6-9])-(\b0[1-9]|1[0-2]\b)
      mag_month:
        - Digital SLR Photography

Flexget correctly reformats the title

2017-12-10 14:35 DEBUG    manipulate    copy_manual_mag_test field: `title` from_field: `title` field_value: `Digital SLR Photography - February 2017`
2017-12-10 14:35 DEBUG    manipulate    copy_manual_mag_test field `title` after replace: `Digital SLR Photography - 2017-Feb`

but then says it can't fine an id

2017-12-10 14:35 DEBUG    parser_internal copy_manual_mag_test Parsing series: `Digital SLR Photography - 2017-Feb` kwargs: {'identified_by': u'id', u'date_regexps': [], 'strict_name': False, 'name': u'Digital SLR Photography', 'prefer_specials': None, 'special_ids': [], 'alternate_names': [], u'sequence_regexps': [], 'date_dayfirst': None, u'id_regexps': [u'(?i)(201[6-9])-(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)', u'(?i)(201[6-9])-(\\b0[1-9]|1[0-2]\\b)'], 'assume_special': None, 'name_regexps': [], 'date_yearfirst': None, 'allow_groups': [], u'ep_regexps': []}
2017-12-10 14:35 INFO     parser_internal copy_manual_mag_test Title `Digital SLR Photography - 2017-Feb` looks like series `Digital SLR Photography` but cannot find a(n) `id` style identifier.
2017-12-10 14:35 DEBUG    parser_internal copy_manual_mag_test Parsing result: <SeriesParser(data=Digital SLR Photography - 2017-Feb,name=Digital SLR Photography,id=None,season=None,season_pack=None,episode=None,quality=unknown,proper=0,status=INVALID)> (in 23.644 ms)

Closely followed by

2017-12-10 14:35 VERBOSE task copy_manual_mag_test REJECTED: Digital SLR Photography - 2017-Feb by require_field plugin because required field series_name is not present

Which suggests it is now trying to match a series name with a manipulated date in it.

Am I missing something blindingly obvious?

Alternatively, has anyone cracked downloading magazines with variably formatted future dates by some other means?

Posts: 1

Participants: 1

Read full topic

ValueError attempting to import web_server

$
0
0

@gkovacsp wrote:

This started to appear in my log file and flexget does not execute any more:

2017-12-11 21:12 ERROR    plugin                        ValueError attempting to import `flexget.plugins.daemon.web_server` (from /usr/local/lib/python 2.7/dist-packages/flexget/plugins/daemon/web_server.py): bad marshal data (unknown type code)
2017-12-11 21:12 ERROR    plugin                        ValueError attempting to import `flexget.plugins.cli.web` (from /usr/local/lib/python2.7/dist-packages/flexget/plugins/cli/web.py): bad marshal data (unknown type code)
2017-12-11 21:12 CRITICAL manager                       [/] The key `web_server` is not valid here.
2017-12-11 21:12 CRITICAL manager                       Failed to load config file: Did not pass schema validation.

Version: 2.11.10 on Raspbian
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Posts: 1

Participants: 1

Read full topic

Strange torrent naming problems

$
0
0

@mpadilla2 wrote:

Periodically I get these torrents that start with [ and the groups name who posted or a url to the groups name who posted the torrent. What ends up happening is the file doesn't get named or moved correctly. I'm using the jonybat config.

I guess I could reject if it doesn't start with the series or movie name?

Do you run into this problem? If you do or don't how would you suggest this be addressed?

Posts: 1

Participants: 1

Read full topic

Not downloading movies available is 720 and SD quality

$
0
0

@marine88 wrote:

I there i have my config based on jonybat one very good and stable I use that for a while but i see that are many movies on torrents that my config doe´s not download can u guys please help me optimize it to download more movies? I want to improve the dowload of old movies in quality sd too. Here is my log´s.

Posts: 14

Participants: 3

Read full topic


Imdb watchlist returns no movies

$
0
0

@Jeeaaasus wrote:

My configuration worked on December 1 but on December 8 (only run this config once a week) this error came:

2017-12-11 20:21 VERBOSE imdb_list Movies-add Retrieving imdb list: watchlist
2017-12-11 20:21 VERBOSE imdb_list Movies-add No movies were found in imdb list: watchlist
2017-12-11 20:21 WARNING input_cache Movies-add Input imdb_list did not return a list, cannot cache.
2017-12-11 20:21 WARNING details Movies-add Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.

I'm guessing imdb broke something, could anyone else confirm that their imdb watchlist is working?
Thanks :slight_smile:

Posts: 2

Participants: 2

Read full topic

Trakt to sonarr plugin questions

$
0
0

@JourneyOver wrote:

Well since My issue got locked because I was some how off-topic when in reality I wasn't at all I will now come here and ask my latest question while I wait for my Feature Request to get implemented..

  1. If I was to go into flexget/plugins folder and change the default show['qualityProfileId '] = 1 to let's say show['qualityProfileId '] = 2 in the sonarr_list.py script would it change the qualityprofile trakt to sonarr uses, or would it still default to 1?

  2. Does trakt to sonarr currently take whatever the rootpath is set at in sonarr. so for example if I was to have paths like

  • D:\Media\TV
  • D:\Media\Anime
  • F:\Media\Anime

in sonarr currently and my default path when adding shows was currently set to "D:\Media\TV" would trakt to sonarr use that as the rootfolder? or does the plugin go and create it's own rootfolder path?

Posts: 2

Participants: 1

Read full topic

Cpasbien plugin not working and parse web page

$
0
0

@Floflobel wrote:

Hi,

The plugin cpabien (https://flexget.com/Searches/cpasbien) no longer works because the domain has changed to .cx.
It seems that the code no longer works on this site, I am not a developer and I am unable to understand everything.

Would it be possible to fix this plugin?

I would also like a plugin for the site torrent9.bz, where can I start to parse the web page? I wanted to get inspired by the plugin cpabien but it's quite complex.

Best regards,

Posts: 1

Participants: 1

Read full topic

Variable date for filename - rename

$
0
0

@martinbouillaud wrote:

Hi !

I would like to rename my files with : '{{date}}-filename' and date in format (2018-01-09).

There are date variable in this tools ?

Thank's

Posts: 7

Participants: 2

Read full topic

Ttv show´s with special caracters

Viewing all 376 articles
Browse latest View live