Skip to content

series_name not working with qbittorrent #2604

Description

@imitto

Expected behaviour:

Actual behaviour:

Can't sort series to specified folders from tvdb-lookup to qbittorrent. I see
"Python doesn't know extension for mime-type: application/x-bittorrent"
in logs. Tried different syntax - quote, double quote Found this problem online here: https://discuss.flexget.com/t/series-name-does-not-work-for-qbittorrent/4040
The suggestion there was "please open a github issue for this", so came here and checked if it exists. Can't find it, so opened an issue for it.

Config:

variables: ####.yml

web_server:
  bind: 0.0.0.0
  port: 5050
  web_ui: yes
  
schedules:
  - tasks: '*'
    interval:
      minutes: 60

tasks:
  sorozat-720p:
    rss:
      url: 'https://ncore.cc/bookmarks/{? nCore.film ?}'
      ascii: yes
      all_entries: no
    configure_series:
      settings:
        quality: 720p
        path: '/##########/DOWNLOADS/{{series_name}}/Season {{series_season}}'
      from:
        thetvdb_list:
          username: '{? tvdb.user ?}'
          account_id: '{? tvdb.uid ?}'
          api_key: '{? tvdb.apiKey ?}'
    qbittorrent:
      host: ###.###.#.#
      port: ####
      username: '{? trans.user ?}'
      password: '{? trans.paswd ?}'
      add_paused: false
      

Log:

(click to expand)
2020-02-13 09:22:09 DEBUG    task          sorozat-720p    executing sorozat-720p
2020-02-13 09:22:09 DEBUG    utils.requests sorozat-720p    GETing URL https://api.thetvdb.com/user/favorites with args () and kwargs {'params': {}, 'headers': {'Authorization': 'Bearer ########', 'Accept-Language': 'en'}, 'json': None, 'timeout': 30}
2020-02-13 09:22:09 DEBUG    api_tvdb      sorozat-720p    Looking up tvdb information for 'None'. TVDB ID: 350179
2020-02-13 09:22:09 DEBUG    api_tvdb      sorozat-720p    Series <name=None,tvdb_id=350179> not found in cache, looking up from tvdb.
2020-02-13 09:22:09 DEBUG    utils.requests sorozat-720p    GETing URL https://api.thetvdb.com/series/350179 with args () and kwargs {'params': {}, 'headers': {'Authorization': 'Bearer ########', 'Accept-Language': None}, 'json': None, 'timeout': 30}
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    adding series `Single Parents` `single parents` into db (on_task_start)
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    adding series `Single Parents` into db (on_task_start)
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    -> added `<Series(id=8,name=Single Parents)>`
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    connecting series `Single Parents` to task `sorozat-720p`
2020-02-13 09:22:10 DEBUG    remember_rej  sorozat-720p    Task config has changed since last run, purging remembered entries.
2020-02-13 09:22:10 DEBUG    input_cache   sorozat-720p    cache name: rss_****************** (has: )
2020-02-13 09:22:10 DEBUG    rss           sorozat-720p    Requesting task `sorozat-720p` url `https://ncore.cc/bookmarks/****private-link****`
2020-02-13 09:22:10 DEBUG    utils.requests sorozat-720p    GETing URL https://ncore.cc/bookmarks/****private-link**** with args () and kwargs {'timeout': 60, 'headers': {'User-Agent': 'FlexGet/3.1.23 (www.flexget.com)', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}, 'auth': None, 'allow_redirects': True}
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    utf-8  confidence = 0.99
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    SHIFT_JIS Japanese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-JP Japanese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    GB2312 Chinese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-KR Korean confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    CP949 Korean confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    Big5 Chinese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-TW Taiwan confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1251 Russian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    KOI8-R Russian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    ISO-8859-5 Russian confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    MacCyrillic Russian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    IBM866 Russian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    IBM855 Russian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    ISO-8859-7 Greek confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1253 Greek confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    ISO-8859-5 Bulgairan confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1251 Bulgarian confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    TIS-620 Thai confidence = 0.20561212116352198
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    ISO-8859-9 Turkish confidence = 0.497917030276706
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1255 Hebrew confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1255 Hebrew confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    windows-1255 Hebrew confidence = 0.0
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    utf-8  confidence = 0.99
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    SHIFT_JIS Japanese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-JP Japanese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    GB2312 Chinese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-KR Korean confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    CP949 Korean confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    Big5 Chinese confidence = 0.01
2020-02-13 09:22:10 DEBUG    chardet.charsetprober sorozat-720p    EUC-TW Taiwan confidence = 0.01
2020-02-13 09:22:10 DEBUG    rss           sorozat-720p    encoding utf-8
2020-02-13 09:22:10 DEBUG    rss           sorozat-720p    Saving location in rss feed.
2020-02-13 09:22:10 DEBUG    util.simple_persistence sorozat-720p    setting key 530f0d0780e006977609daab9c9ff07b_last_entry value 'Poldark.2015.S05E01.720p.BluRay.x264.Eng.Hun-BNR [Sorozat (HUN HD)]'
2020-02-13 09:22:10 DEBUG    input_cache   sorozat-720p    storing entries to cache rss_****************** 
2020-02-13 09:22:10 DEBUG    backlog       sorozat-720p    0 entries purged from backlog
2020-02-13 09:22:10 VERBOSE  details       sorozat-720p    Produced 4 entries.
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Poldark.2015.S05E01.720p.BluRay.x264.Eng.Hun-BNR [Sorozat (HUN HD)]` kwargs: {'name': None}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Poldark.2015.S05E01.720p.BluRay.x264.Eng.Hun-BNR [Sorozat (HUN HD)],name=Poldark 2015,id=(5, 1),season=5,season_pack=None,episode=1,quality=720p bluray h264,proper=0,status=OK)> (in 32.81547299999943 ms)
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]` kwargs: {'name': None}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)],name=Single Parents,id=(2, 12),season=2,season_pack=None,episode=12,quality=720p hdtv h264,proper=0,status=OK)> (in 5.360131999999851 ms)
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]` kwargs: {'name': None}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=hdtv h264,proper=0,status=OK)> (in 2.0700240000053327 ms)
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]` kwargs: {'name': None}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=720p hdtv h264,proper=0,status=OK)> (in 2.100443999999868 ms)
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]` kwargs: {'name': 'Single Parents', 'identified_by': 'auto', 'alternate_names': [], 'name_regexps': [], 'strict_name': False, 'allow_groups': [], 'date_yearfirst': None, 'date_dayfirst': None, 'special_ids': [], 'prefer_specials': None, 'assume_special': None, 'ep_regexps': [], 'date_regexps': [], 'sequence_regexps': [], 'id_regexps': []}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=hdtv h264,proper=0,status=OK)> (in 1.6803000000038537 ms)
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    `Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]` detected as `<SeriesParseResult(data=Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=hdtv h264,proper=0,special=False,status=OK)>`, field: `title`
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    setting custom path for `Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]` to `/***********/DOWNLOADS/{{series_name}}/Season {{series_season}}`
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]` kwargs: {'name': 'Single Parents', 'identified_by': 'auto', 'alternate_names': [], 'name_regexps': [], 'strict_name': False, 'allow_groups': [], 'date_yearfirst': None, 'date_dayfirst': None, 'special_ids': [], 'prefer_specials': None, 'assume_special': None, 'ep_regexps': [], 'date_regexps': [], 'sequence_regexps': [], 'id_regexps': []}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=720p hdtv h264,proper=0,status=OK)> (in 1.7229420000006712 ms)
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]` detected as `<SeriesParseResult(data=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=720p hdtv h264,proper=0,special=False,status=OK)>`, field: `title`
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    setting custom path for `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]` to `/***********/DOWNLOADS/{{series_name}}/Season {{series_season}}`
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing series: `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]` kwargs: {'name': 'Single Parents', 'identified_by': 'auto', 'alternate_names': [], 'name_regexps': [], 'strict_name': False, 'allow_groups': [], 'date_yearfirst': None, 'date_dayfirst': None, 'special_ids': [], 'prefer_specials': None, 'assume_special': None, 'ep_regexps': [], 'date_regexps': [], 'sequence_regexps': [], 'id_regexps': []}
2020-02-13 09:22:10 DEBUG    parser_internal sorozat-720p    Parsing result: <SeriesParser(data=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)],name=Single Parents,id=(2, 12),season=2,season_pack=None,episode=12,quality=720p hdtv h264,proper=0,status=OK)> (in 1.6582949999985885 ms)
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]` detected as `<SeriesParseResult(data=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)],name=Single Parents,id=(2, 12),season=2,season_pack=None,episode=12,quality=720p hdtv h264,proper=0,special=False,status=OK)>`, field: `title`
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    setting custom path for `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]` to `/***********/DOWNLOADS/{{series_name}}/Season {{series_season}}`
2020-02-13 09:22:10 DEBUG    series        sorozat-720p    series on_task_metainfo took 0.0907603349999988 to parse
2020-02-13 09:22:10 DEBUG    series.db     sorozat-720p    adding episode `S02E12` into series `Single Parents`
2020-02-13 09:22:10 DEBUG    series.db     sorozat-720p    -> added `<Episode(id=None,identifier=S02E12,season=2,number=12)>`
2020-02-13 09:22:10 DEBUG    series.db     sorozat-720p    adding release `<SeriesParseResult(data=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)],name=Single Parents,id=(2, 12),season=2,season_pack=None,episode=12,quality=720p hdtv h264,proper=0,special=False,status=OK)>`
2020-02-13 09:22:10 DEBUG    series.db     sorozat-720p    -> added `<Release(id=None,quality=720p hdtv h264,downloaded=None,proper_count=0,title=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)])>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    adding episode `S02E15` into series `Single Parents`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    -> added `<Episode(id=None,identifier=S02E15,season=2,number=15)>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    adding release `<SeriesParseResult(data=Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=hdtv h264,proper=0,special=False,status=OK)>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    -> added `<Release(id=None,quality=hdtv h264,downloaded=None,proper_count=0,title=Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)])>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    adding release `<SeriesParseResult(data=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)],name=Single Parents,id=(2, 15),season=2,season_pack=None,episode=15,quality=720p hdtv h264,proper=0,special=False,status=OK)>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    -> added `<Release(id=None,quality=720p hdtv h264,downloaded=None,proper_count=0,title=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)])>`
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    Single Parents episode type totals: {'ep': 2}
2020-02-13 09:22:11 INFO     series.db     sorozat-720p    identified_by has locked in to type `ep` for Single Parents
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    identified_by set to `ep` based on series history
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    start with entities: ['Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    current entities: ['Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    quality req: 720p
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    -------------------- process_propers -->
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    propers - downloaded qualities: {}
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    continuing w. entities: ['Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    best entity is: `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]`
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    -------------------- tracking -->
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    no episodes found for series `Single Parents` with parameters season: None, downloaded: True
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    no season packs found for series `Single Parents` with parameters season: None, downloaded: True
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    latest download: None
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    current: <Episode(id=24,identifier=S02E12,season=2,number=12)>
2020-02-13 09:22:11 VERBOSE  task          sorozat-720p    ACCEPTED: `Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]` by series plugin because matches quality
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    start with entities: ['Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]', 'Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    current entities: ['Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]', 'Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    quality req: 720p
2020-02-13 09:22:11 VERBOSE  series        sorozat-720p    Ignored `Single.Parents.S02E15.HDTV.x264-KILLERS [Sorozat (ENG SD)]`. Does not meet quality requirement `720p`.
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    -------------------- process_propers -->
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    propers - downloaded qualities: {}
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    continuing w. entities: ['Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]']
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    best entity is: `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]`
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    -------------------- tracking -->
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    no episodes found for series `Single Parents` with parameters season: None, downloaded: True
2020-02-13 09:22:11 DEBUG    series.db     sorozat-720p    no season packs found for series `Single Parents` with parameters season: None, downloaded: True
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    latest download: None
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    current: <Episode(id=25,identifier=S02E15,season=2,number=15)>
2020-02-13 09:22:11 VERBOSE  task          sorozat-720p    ACCEPTED: `Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]` by series plugin because matches quality
2020-02-13 09:22:11 DEBUG    series        sorozat-720p    processing series took 0.27725952099999773
2020-02-13 09:22:11 DEBUG    urlrewriter   sorozat-720p    Checking 2 entries
2020-02-13 09:22:11 INFO     download      sorozat-720p    Downloading: Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Downloading url 'https://ncore.cc/rss_dl.php/id=2976340/key=c513af2e642cf5f938ab2f5c508fa951'
2020-02-13 09:22:11 DEBUG    utils.requests sorozat-720p    GETing URL https://ncore.cc/rss_dl.php/id=2976340/key=c513af2e642cf5f938ab2f5c508fa951 with args () and kwargs {'auth': None, 'headers': {'User-Agent': 'FlexGet/3.1.23 (www.flexget.com)', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}, 'allow_redirects': True, 'timeout': 30}
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)] field file set to: /tmp/tmphyp4evnz/7922914a906e9b7fda3bc7141bd8ebce
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Found filename from headers: [nCore][hdser]Single.Parents.S02E12.720p.HDTV.x264-AVS.torrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Python doesn't know extension for mime-type: application/x-bittorrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Finishing download_entry() with filename [nCore][hdser]Single.Parents.S02E12.720p.HDTV.x264-AVS.torrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Successfully retrieved Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)] from https://ncore.cc/rss_dl.php/id=2976340/key=c513af2e642cf5f938ab2f5c508fa951
2020-02-13 09:22:11 INFO     download      sorozat-720p    Downloading: Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Downloading url 'https://ncore.cc/rss_dl.php/id=2987821/key=c513af2e642cf5f938ab2f5c508fa951'
2020-02-13 09:22:11 DEBUG    utils.requests sorozat-720p    GETing URL https://ncore.cc/rss_dl.php/id=2987821/key=c513af2e642cf5f938ab2f5c508fa951 with args () and kwargs {'auth': None, 'headers': {'User-Agent': 'FlexGet/3.1.23 (www.flexget.com)', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}, 'allow_redirects': True, 'timeout': 30}
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)] field file set to: /tmp/tmp8sf0porj/2d6ee8db4b21c186a19f5c773919a15e
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Found filename from headers: [nCore][hdser]Single.Parents.S02E15.720p.HDTV.x264-KILLERS.torrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Python doesn't know extension for mime-type: application/x-bittorrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Finishing download_entry() with filename [nCore][hdser]Single.Parents.S02E15.720p.HDTV.x264-KILLERS.torrent
2020-02-13 09:22:11 DEBUG    download      sorozat-720p    Successfully retrieved Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)] from https://ncore.cc/rss_dl.php/id=2987821/key=c513af2e642cf5f938ab2f5c508fa951
2020-02-13 09:22:11 VERBOSE  details       sorozat-720p    Summary - Accepted: 2 (Rejected: 0 Undecided: 2 Failed: 0)
2020-02-13 09:22:11 DEBUG    modif_torrent sorozat-720p    Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)] seems to be a torrent
2020-02-13 09:22:11 DEBUG    modif_torrent sorozat-720p    Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)] seems to be a torrent
2020-02-13 09:22:11 DEBUG    torrent_files sorozat-720p    Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)] files: ['Single.Parents.S02E12.720p.HDTV.x264-AVS.mkv', 'single.parents.s02e12.720p.hdtv.x264-avs.nfo']
2020-02-13 09:22:11 DEBUG    torrent_files sorozat-720p    Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)] files: ['Single.Parents.S02E15.720p.HDTV.x264-KILLERS.mkv', 'single.parents.s02e15.720p.hdtv.x264-killers.nfo']
2020-02-13 09:22:11 DEBUG    torrent_size  sorozat-720p    Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)] size: 496.51331615448 MB
2020-02-13 09:22:11 DEBUG    torrent_size  sorozat-720p    Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)] size: 435.9500207901001 MB
2020-02-13 09:22:12 DEBUG    qbittorrent   sorozat-720p    Successfully connected to qBittorrent
2020-02-13 09:22:12 DEBUG    qbittorrent   sorozat-720p    Added torrent file /tmp/tmphyp4evnz/7922914a906e9b7fda3bc7141bd8ebce to qBittorrent
2020-02-13 09:22:12 DEBUG    qbittorrent   sorozat-720p    Added torrent file /tmp/tmp8sf0porj/2d6ee8db4b21c186a19f5c773919a15e to qBittorrent
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned 'Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)]' (field: title, local: False)
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned 'https://ncore.cc/****************************' (field: url, local: False)
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned 'Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)]' (field: title, local: False)
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned 'https://ncore.cc/****************************' (field: url, local: False)
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned '...........................' (field: torrent_info_hash, local: False)
2020-02-13 09:22:12 DEBUG    seen          sorozat-720p    Learned '...........................' (field: torrent_info_hash, local: False)
2020-02-13 09:22:12 DEBUG    series        sorozat-720p    on_task_learn
2020-02-13 09:22:12 DEBUG    series        sorozat-720p    marking 1 episode releases and 0 season releases as downloaded for `<Entry(title=Single.Parents.S02E12.720p.HDTV.x264-AVS [Sorozat (ENG HD)],state=accepted)>`
2020-02-13 09:22:12 DEBUG    series        sorozat-720p    marking 1 episode releases and 0 season releases as downloaded for `<Entry(title=Single.Parents.S02E15.720p.HDTV.x264-KILLERS [Sorozat (ENG HD)],state=accepted)>`
2020-02-13 09:22:12 DEBUG    util.simple_persistence sorozat-720p    Flushing simple persistence for task sorozat-720p to db.
2020-02-13 09:22:12 DEBUG    util.simple_persistence sorozat-720p    Flushing simple persistence for task None to db.

Additional information:

  • FlexGet version: 3.1.23
  • API: 1.7.1
  • Python version: 2.7.16
  • Installation method: Portainer container
  • Using daemon (yes/no): yes
  • OS and version: Openmediavault 5 (Debian 10)

Activity

  1. dlakatos847 commented on Feb 29, 2020

    @dlakatos847

    Same problem here:

    • Flexget 3.1.29
    • Windows 10 x64
    • Python 3.7.6
    • qBittorrent 4.2.1
    • Daemon: no
  2. dlakatos847 commented on Mar 20, 2020

    @dlakatos847

    Still having this issue with Flexget 3.1.41. Could please someone take a look at this?

  3. ksurl commented on Mar 20, 2020

    @ksurl
    Contributor

    curious how are you using 3.1.23 with python 2.7? pretty sure 3.0+ requires python 3. and if you're using portainer, it is actually docker, not debian (host). what is the image os?

  4. liiight commented on Mar 20, 2020

    @liiight
    Member

    WFM:

    tasks:
      qbit:
        series:
          - bazbaz:
              begin: s01e01
        mock:
          - {title: bazbaz.s01e01.720p-baz, url: http://some.com }
        qbittorrent:
          host: ***
          port: 8383
          username: ***
          password: ***
          path: '{{series_name}}'
    2020-03-21 00:39:34 INFO     manager                       Test mode, creating a copy from database ...
    2020-03-21 00:39:34 INFO     manager                       Test database created
    2020-03-21 00:39:36 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
    2020-03-21 00:39:36 VERBOSE  details       qbit            Produced 1 entries.
    2020-03-21 00:39:36 VERBOSE  task          qbit            ACCEPTED: `bazbaz.s01e01.720p-baz` by series plugin because choosing first acceptable match
    2020-03-21 00:39:36 INFO     download      qbit            Would download: bazbaz.s01e01.720p-baz
    2020-03-21 00:39:36 VERBOSE  details       qbit            Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            Test mode.
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            Would add torrent to qBittorrent with:
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            File: None
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            Save path: bazbaz
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            Label: None
    2020-03-21 00:39:36 INFO     qbittorrent   qbit            Paused: false
    2020-03-21 00:39:36 INFO     manager                       Removed test database
    

    What exactly does not work for you?

  5. BCITMike commented on Mar 21, 2020

    @BCITMike

    @liiight

    Give it a try with a series name with a space in it, square brackets, or use configure_series.

  6. dlakatos847 commented on Mar 21, 2020

    @dlakatos847

    What exactly does not work for you?

    I do not use the qbittorrent plugin's path since I have Automatic Torrent Management configured in the qBittorrent client. I'd like to set label automatically based on the series' name, which does not work for me. Eg:

    ...
    templates:
      torrent:
        qbittorrent:
          host: localhost
          port: 8088
      tvseries:
        rss:
          url: ***
        qbittorrent:
          label: 'tvshows/{{series_name}}'
    ...
    

    {{series_name}} should be substituted with the series' name, right? Well it doesn't (Star Trek: Picard), category is set to tvshows/{{series_name}} for the torrent. What am I missing? Thanks for your reply in advance.

  7. liiight commented on Mar 21, 2020

    @liiight
    Member

    Ah, that's a different issue. The label field is indeed not rendering the data from the entry. I'll change this.

  8. dlakatos847 commented on Mar 22, 2020

    @dlakatos847

    @liiight Thanks for aa0c066. I'll check it out.

  9. added a commit that references this issue on Mar 23, 2020
    b10013a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions