Quantcast
Channel: configuration - Forum - FlexGet
Viewing all 716 articles
Browse latest View live

Use Torznab plugin for comics

$
0
0

@koala784 wrote:

First week on Flexget ! I'm trying to edit a config file for downloading comics/mangas with Jackett.

If I use the Jackett RSS Feed like this, the results doesn't match :

variables: variables.yml
tasks:
  Mangas:  
    inputs:
     - rss: 
         url: '{? YggTorrent.Mangas ?}'
         username: '{? YggTorrent.usr ?}'
         password: '{? YggTorrent.pwd ?}'
         url: '{? Nyaa.Mangas ?}'
         url: '{? Jackett.YggTorrent ?}'
         url: '{? Jackett.Nyaa ?}' 

    regexp:
      accept:
      - Tales of Demons and Gods
      - One Piece
      - Domestic Girlfriend      

    content_filter:
     require:
        - '*.cbr'
        - '*.cbz'      

    deluge:
      host: localhost
      port: 58846
      username: '{? Deluge.usr ?}'
      password: '{? Deluge.pwd ?}'
      path: /Mangas/
      label: Mangas

So I'm trying to use the Jackett Torznab Feed with the recent Torznab plugin (I'm using the 2.21.12 version of FlexGet on UnRAID/Docker).

But I can't use this Torznab plugin without the discover plugin. It seems to work only for TV shows and movies.
So I figured out something like this :

variables: variables.yml
tasks:

  test:
    configure_series:
      from:
        filesystem: /Comics/
        
    series:
      shows:
      - (Son of Ultron-Empire)
      - (Zone-Empire)
      - (digital-Empire)
      - (Kileko-Empire)
      - (BlackManta-Empire)
      - (Mephisto-Empire)
      - (Asgard-Empire)
        
    discover:
      what:
        - next_series_episodes:
            backfill: yes
      from:
        - torznab:
            website: '{? Torznab.YggTorrent ?}'
            apikey: '{? Torznab.apikey ?}'
            searcher: search
            website: '{? Torznab.Nyaa ?}'
            apikey: '{? Torznab.apikey ?}'
            searcher: search
            website: '{? Torznab.ETTV ?}'
            apikey: '{? Torznab.apikey ?}'
            searcher: search

    content_filter:
     require:
        - '*.cbr'
        - '*.cbz'
      
    deluge:
      host: localhost
      port: 58846
      username: '{? Deluge.usr ?}'
      password: '{? Deluge.pwd ?}'
      path: /Mangas/
      label: Test

But it seems to still looking for TV Shows :

2019-08-25 23:48 INFO torznab test Fetching URL: http://#################/api/v2.0/indexers/ettv/results/torznab/api?apikey=#####################&extended=1&t=search&q=Tales+of+Demons+and+Gods+S01E01
2019-08-25 23:48 INFO torznab test Fetching URL: http://#################//api/v2.0/indexers/ettv/results/torznab/apiapi?apikey=#####################&extended=1&t=search&q=One+Piece+S01E01
2019-08-25 23:48 INFO torznab test Fetching URL: http://#################///api/v2.0/indexers/ettv/results/torznab/api?apikey=#####################&extended=1&t=search&q=Domestic+Girlfriend+S01E01

Any idea ?

Posts: 1

Participants: 1

Read full topic


How to regex other_fields?

$
0
0

@Chryses wrote:

Hi, I'm struggling on this, seems stupid, question.

I've this xml

<item>
  <title>Pinnacle Studio Ultimate v23 0 1 177 64 Bit Content Pack</title>
  <guid>https://.....org/index.php?page=torrent-details&amp;id=....</guid>
  <jackettindexer id="....">....</jackettindexer>
  <comments>https://.....org/index.php?page=torrent-details&amp;id=....</comments>
  <pubDate>Mon, 26 Aug 2019 18:47:48 +0200</pubDate>
  <size>4778150912</size>
  <grabs>6</grabs>
  <description />
  <link>http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFnaG9FY0U1ZUJkX2Uza1Y0dTUyd184SDNLd0hXSVc0Y0w2STBVZDV5bzlPNlJtZkNzcEEzREdDeWZmZDFBejBROWdlN2s0SEx0bFA4TFowZGhuRnliOWdJcWNyZ0F5c0xXNlQ5WE1ycE9BUERHRjY2TWNaYU0xS29RWVdKcEpwb29meThHdy1YUk1aYnVTZDIyMFZpQ29DUzQ0VzZ0d0hKMUVYdmxqSEo3dVlxeExVN184cDJhWXp3R0tXNXZaN3cwVnp1UkdENmRQd1VIclZkSGpRdzdrc0VfNWhRMHBwZ3RsdEVPdXp5UmRXUmNQVUlGU1d6UjFJLW9xMEZLb1NiSFZDTUd0bmY3SG9NWmg1dGJWNGNwd0ZCTmQxdmdaN1JKbUwwMWVkLTRJUlE&amp;file=Pinnacle+Studio+Ultimate+v23+0+1+177+64+Bit+Content+Pack</link>
  <category>4010</category>
  <category>100007</category>
  <enclosure url="http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFnaG9FY0U1ZUJkX2Uza1Y0dTUyd184SDNLd0hXSVc0Y0w2STBVZDV5bzlPNlJtZkNzcEEzREdDeWZmZDFBejBROWdlN2s0SEx0bFA4TFowZGhuRnliOWdJcWNyZ0F5c0xXNlQ5WE1ycE9BUERHRjY2TWNaYU0xS29RWVdKcEpwb29meThHdy1YUk1aYnVTZDIyMFZpQ29DUzQ0VzZ0d0hKMUVYdmxqSEo3dVlxeExVN184cDJhWXp3R0tXNXZaN3cwVnp1UkdENmRQd1VIclZkSGpRdzdrc0VfNWhRMHBwZ3RsdEVPdXp5UmRXUmNQVUlGU1d6UjFJLW9xMEZLb1NiSFZDTUd0bmY3SG9NWmg1dGJWNGNwd0ZCTmQxdmdaN1JKbUwwMWVkLTRJUlE&amp;file=Pinnacle+Studio+Ultimate+v23+0+1+177+64+Bit+Content+Pack" length="4778150912" type="application/x-bittorrent" />
  <category>4010</category>
  <category>100007</category>
  <seeders>6</seeders>
  <peers>7</peers>
  <minimumratio>1</minimumratio>
  <minimumseedtime>172800</minimumseedtime>
  <downloadvolumefactor>1</downloadvolumefactor>
  <uploadvolumefactor>1</uploadvolumefactor>
</item>

And from here I extract the custom field downloadvolumefactor with this configuration

tasks:
  test:
    rss:
      url: file:///data/Varie/Scripts/mmm.xml
      other_fields: [downloadvolumefactor]
    download: /root/testflex

But I can't find a way to accept only torrent with a specific download downloadvolumefactor, in this case I want to accept only if downloadvolumefactor is equal to 0

Any idea?

Posts: 1

Participants: 1

Read full topic

How to keep looking for 720p h265 even after finding a 1080p version?

$
0
0

@1337ingDisorder wrote:

Hi folks,

I'm wondering if there's a way to configure the quality: and target: settings in a way that will accomplish the following:

  • Ultimate preference: 720p h265
  • Preference within time frame of impatience: 720p or 1080p, any codec

Currently I have:

      quality: 720p-1080p
      target: 720p h265
      timeframe: 48 hours
      upgrade: yes

But that's not quite doing it right. (I've also tried with "upgrade: no" and it also doesn't accomplish what I'm going for.)

I prefer to end up with a file that's 720p and h265, as this is the best sweet-spot for long-term storage size and immediate viewing quality.

But sometimes it can take days or even weeks before an HEVC version gets uploaded.

Quite often, flexget will find a 1080p version in x264 sooner than it finds a 720p h265 version. And sometimes flexget will find a 1080p version before it finds any 720p version at all.

Ultimately I want it to show me the first version that it finds, but then keep looking for a 720p h265 version and show me the h265 version once it finds one (even if that's a week later).

The problem is once it downloads the 1080p x264 version it seems to stop looking for the h265 version (I guess because it erroneously thinks that I would prefer the 1080p version over the 720p version, when in fact I would prefer the h265 version over the x264 version and would prefer the 720p version over the 1080p version.)

But FlexGet seems to only consider a 1080p file to be an upgrade.

The only way I've been able to think of to have Flexget keep seeking out 720p h265 versions after accepting a 1080p version is by taking 1080p out of the "quality:" setting altogether, and limiting the quality to strictly 720p. But then sometimes I don't see the 720p version posted for days after a 1080p version gets posted, so obviously removing 1080p from the list is not an ideal solution.

I'd basically like for it to take any file it can find within the 48 hour period, even if it can only find a 1080p x264, but then to ultimately seek a file at 720p h265

So, is there a way to configure Flexget to seek a preferred file type even after the 48 hrs, without limiting the overall quality range to strictly 720p?

Posts: 1

Participants: 1

Read full topic

Config File Error

$
0
0

@ukstroller wrote:

Hi

I have the following task configured. The idea is for a schedule to execute the task nightly to send an email of any known missing TV show episodes

### Monitor For Missing Episodes ###
  MONITOR_MISSING:
    priority: 6
    thetvdb_lookup: yes
    require_field: series_name
    template:
      - SERIES
    seen: local
    series:
      settings:
        parse_only: yes
    no_entries_ok: yes
    next_series_episodes: yes
    trakt_lookup: yes
    if:
      - trakt_ep_first_aired < now - timedelta(days=10): accept
    notify:
      task:
        title: "Missing Episodes Detected"
        message: |+
          {% for entry in task.entries %}
          An unreleased episode was detected: {{ entry.trakt_series_name }} - S{{ entry.trakt_season }}E{{ entry.trakt_episode|pad(2) }}
          Released on {{ entry.trakt_ep_first_aired|formatdate("%d-%m-%Y")}}
          {% endfor %}
        via:
          - email:
                to: '{?email.to?}'
                from: '{?email.from?}'
                smtp_host: '{?email.smtp_host?}'
                smtp_port: '{?email.smtp_port?}'
                smtp_username: '{?email.smtp_username?}'
                smtp_password: '{?email.smtp_password?}'
                smtp_tls: '{?email.smtp_tls?}'
                html: '{?email.html?}'

However, the config fails validation with the following error

2019-09-04 22:58 CRITICAL manager                       [/tasks/MONITOR_MISSING/series/settings/parse_only] Got `True`, expected: dict

I'm struggling to find out what the error means and how to correct it.

Any help greatly appreciated

Posts: 3

Participants: 2

Read full topic

Apply max age only to some tracker, is possible?

$
0
0

@Chryses wrote:

Hi, I've one big question, I've created a combined rss from many sources with an automatic bash script that make some operation before combine all rss in a single rss, and make it available in a format for flexget.

Now, for this reason I've different item that came from different jackettindexer, so for example:

<item>
  <title>Submergence 2017 iTALiAN MD 1080p BluRay x264 iSTANCE mkv</title>
  <guid>https://www.arabafenice.me/index.php?page=torrent-details&amp;id=id</guid>
  <jackettindexer id="arabafenice">ArabaFenice</jackettindexer>
  <comments>https://www.arabafenice.me/index.php?page=torrent-details&amp;id=id</comments>
  <pubDate>Fri, 06 Sep 2019 01:00:00 +0200</pubDate>
  <size>8042326016</size>
  <grabs>0</grabs>
  <description />
  <link>link</link>
  <category>2000</category>
  <category>100001</category>
  <enclosure length="8042326016" type="application/x-bittorrent" url="url" />
  <category>2000</category>
  <category>100001</category>
  <seeders>2</seeders>
  <peers>2</peers>
  <minimumratio>1</minimumratio>
  <minimumseedtime>172800</minimumseedtime>
  <downloadvolumefactor>1</downloadvolumefactor>
  <uploadvolumefactor>1</uploadvolumefactor>
</item>
<item>
  <title>Windows 10 Pro VL 1903 Office 2019 and More Agosto 2019 64 Bit ITA</title>
  <guid>https://shareisland.org/index.php?page=torrent-details&amp;id=id</guid>
  <jackettindexer id="shareisland">Shareisland</jackettindexer>
  <comments>https://shareisland.org/index.php?page=torrent-details&amp;id=id</comments>
  <pubDate>Tue, 10 Sep 2019 00:21:20 +0200</pubDate>
  <size>7140383232</size>
  <grabs>27</grabs>
  <description />
  <link>link</link>
  <category>4010</category>
  <category>100007</category>
  <enclosure length="7140383232" type="url" />
  <category>4010</category>
  <category>100007</category>
  <seeders>20</seeders>
  <peers>20</peers>
  <minimumratio>1</minimumratio>
  <minimumseedtime>172800</minimumseedtime>
  <downloadvolumefactor>1</downloadvolumefactor>
  <uploadvolumefactor>1</uploadvolumefactor>
</item>

My configuration is pretty simple, for now, take a look:

tasks:
  freeleech:
    rss:
      url: file:///tmp/rss/combined.xml
      other_fields: [downloadvolumefactor]
    regexp:
      accept:
        - '^0$': { from: downloadvolumefactor }
    qbittorrent:
      port: 8081
      label: FreeLeech

My problem is that I need to filter also the age, max 10 minute old, but only for one jackettindexer
So, think I've to import both jackettindexer and pubDate, till here all right, but after that is not clear to me how can I achieve the goal.
I need two if one inside other?
I'm trying to make it work but I've some difficulty
tasks:
tasks:

  freeleech:
    rss:
      url: file:///tmp/rss/combined.xml
      other_fields: [downloadvolumefactor]
      other_fields: [jackettindexer]
      other_fields: [pubDate]
    regexp:
      accept:
        - '^0$': { from: downloadvolumefactor }
    if:
      - "'Shareisland' in jackettindexer": reject
    qbittorrent:
      port: 8081
      label: FreeLeech

Is only a starting point but is not working:

2019-09-11 22:41 ERROR if freeleech Error occurred while evaluating statement 'Shareisland' in jackettindexer. (argument of type 'StrictUndefined' is not iterable)

Next I think I've to filter also the pubdate in a way like this

tasks:
  freeleech:
    rss:
      url: file:///tmp/rss/combined.xml
      other_fields: [downloadvolumefactor]
      other_fields: [jackettindexer]
      other_fields: [pubDate]
    regexp:
      accept:
        - '^0$': { from: downloadvolumefactor }
    if:
      - "'Shareisland' in jackettindexer":
        if:
          - SOMEOPERATIONWITHPUBDATE - now >= timedelta(minutes=10): reject
    qbittorrent:
      port: 8081
      label: FreeLeech

But like you can see I've to resolve the very first problem

How can I fix the jackettindexer error?

Posts: 2

Participants: 1

Read full topic

Able to search thepiratebay by user or specific link?

$
0
0

@regder wrote:

Trying to figure this out as thepiratebay's RSS is fubar'd. Without RSS is there a way to get flexget to monitor a specific TPB user page for a keyword match?

Say I want to download all files that match file* from www.thepiratebay.org/user/files

Posts: 1

Participants: 1

Read full topic

How to manage a TV series list through the web UI

$
0
0

@santiagozky wrote:

My current configuration allows me to keep a list of movies using the web UI. There is even a button in the Movies section to add a new list, but I haven't managed to do the same with TV series (currently using a RSS feed). Is there any way to create a list of series manually? I tried the entry-list but the list was created as a movies list and it wont search for series even with the tvdb or tvmaze lookup plugin.

Is this a possibility? if so, how? I would just like to switch from my rss input task to an series list managed through the UI

Posts: 1

Participants: 1

Read full topic

Multiple series tasks, same files

$
0
0

@Gelfin wrote:

I’ve been trying to replace my homegrown scripts with flexget, and I’m running into an issue I don’t yet see how to work around.

I’ve got one task that reads series torrents from a RSS feed and pushes them to transmission running on a seedbox.

I’m using rsync to pull the finished seedbox downloads to a local directory, so flexget is not involved there.

I have a second task that scans the local directory and links the files into my Plex directory structure with well-formed filenames

This is all working great except for one problem: I want the series plugin on both tasks to support upgrades, but the series plugin appears to reject everything in the link task because the resolution has already been downloaded (by the rss task). I have “seen: local” on both tasks and it seems to be ignored in this case.

Anybody able to help get this working?

Posts: 1

Participants: 1

Read full topic


Multiple other_fields with multiple regex?

$
0
0

@Chryses wrote:

Hi, I'm trying to make a simple thing but seem to be impossible!!!!

I want to import 2 custom field
other_fields: [downloadvolumefactor]
other_fields: [uploadvolumefactor]

But each time seems that only the last other_fields are considered.

downloadvolumefactor can be
0
0.25
0.5
0.75
1

uploadvolumefactor can be
2
1

So my idea is to accept all the downloadvolumefactor, till here no problem
regexp:
accept:
- '^0$': { from: downloadvolumefactor }
or
if:
- "downloadvolumefactor == '0'": accept

The next level is to accept all uploadvolumefactor 2 but only if downloadvolumefactor is lover than 0.5

So I'm trying to make it work but I can't find a solution.

How can I make it work?

Posts: 1

Participants: 1

Read full topic

Search plugin priority

$
0
0

@Jorrit_Smit wrote:

Hi.

i would like to prioritize one search plugin over the other in my discover plugin. Is this possible?

discover:
what:
- next_series_episodes:
from_start: yes
backfill: yes
from:
- search1
- search2

Posts: 2

Participants: 2

Read full topic

Series config help

$
0
0

@adam-streettext wrote:

Any know why

    - High School Prodigies Have It Easy Even in Another World:
        identified_by: sequence
        set:
          tvdb_id: 369395
        name_regexp:
          - high.school.prodigies.have.it.easy.even.in.another.world
          - super.high.schoolers.affording.to.live.in.another.world
          - .*tachi.wa.isekai.demo.yoyuu.de.ikinuku.you.desu.*

results in all the following be "UNDECIDED"

2019-10-15 15:34 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2019-10-15 15:35 VERBOSE  details       CLINYAARSS      Produced 8 entries.
2019-10-15 15:35 VERBOSE  details       CLINYAARSS      Summary - Accepted: 0 (Rejected: 0 Undecided: 8 Failed: 0)
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[AnimePlaza] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 02 [ 480p].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[AnimePlaza] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 02 [ 720p].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[Erai-raws] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 02 [1080p][Multiple Subtitle].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[Erai-raws] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 02 [720p][Multiple Subtitle].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[Erai-raws] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 01 [1080p][Multiple Subtitle].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[Erai-raws] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! - 01 [720p][Multiple Subtitle].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[horrible] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! 01 [480p].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      UNDECIDED: `[ViM] Choujin Koukousei-tachi wa Isekai demo Yoyuu de Ikinuku you desu! (PV) [Web][A82E9ECD].mkv`
2019-10-15 15:35 VERBOSE  verbose       CLINYAARSS      Undecided entries have not been accepted or rejected. If you expected these to reach output, you must set up filter plugin(s) to accept them.

I can't see why the ".tachi.wa.isekai.demo.yoyuu.de.ikinuku.you.desu." name_regexp isn't catching these. I have tried it with and without the '.*' at the beginning and end

Also note that back further in the config the target res is 720p

Posts: 1

Participants: 1

Read full topic

How to pass variables into the config from a script or a user

$
0
0

@user1215 wrote:

Is there a more efficient way to do what I am doing? Currently I'm taking user-input from python and editing the variables.yml file, as explained below.

In my config.yml, I have templates for each item (item1, item2,..., item70), as well as two other settings templates called manual_import_settings and auto_import_settings. Input is taken from the user for both the method variable (which can be "move" or "copy") and the type variable (which can be auto_import_files or manual_import_files).

Upon user intervention, the python script loads variables.yml and replaces the value for method or type with the user input, then saves the new variables.yml file. Then the command flexget --execute --tasks import_* is run from the python script. I'd prefer not to have the script opening and editing the variables file, if it can be avoided. Is there a better way to achieve these four possible tasks (without opening and editing the variables file and also without creating 3 additional tasks for each item I have)?

variables.yml........................................
  import:
    method: move
    type: auto_import_files
.....................................................

.
.
.

config.yml...........................................
  tasks:
    import_item1:
      template: [item1, '{? import.type ?}']
      '{? import.method ?}':
        to: '{? dirs.main_path ?}{? vars.item1.dir ?}/'
        rename: '{{ jinja_stuff_here }}{{ filename | pathext}}'
    import_item2:
      template: [item2, '{? import.type ?}']
        '{? import.method ?}':
          to: '{? dirs.main_path ?}{? vars.item2.dir ?}/'
          rename: '{{ jinja_stuff_here }}{{ filename | pathext}}

.....................................................

ADDITIONAL INFO:
The scheduler is set to run all import_* tasks regularly. When it does, it uses the default values for type and method that are stored in the variables.yml file. The default variable for type is auto_import_files and the default variable for method is determined by the user only once.

When the command to execute the flexget --execute --tasks import_* is called manually by the user through the python script, type is changed to manual_import_files and method might stay the same or might change. After the command is finished. The python script, again, opens the variables.yml file and restores the original defaults.

Posts: 1

Participants: 1

Read full topic

Donwload two quality depends of subtitles

$
0
0

@MiguelAngelLV wrote:

Hi.

I use ShowRSS to get my series in 1080p, but, the subtitles for 1080p version is more hard to find in spanish, the most subtitles are for 720p version.

I see the quality plugin to wait the 1080p version and, after X period, get lower quality version, but only for the video, not for subtitles.

How I could do it?

Posts: 1

Participants: 1

Read full topic

Is it possible to skip files from a magnet link?

$
0
0

@punk wrote:

Hey guys,

I kind of feeling the answer already, but just checking maybe there's a way. Basically, the idea is that my configuration has this section:

      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*[Ss]ample*'
        - '*.txt'
        - '*.exe'

With the normal torrents it works well, the .nfo or .txt files are skipped. Although when it's a magnet link, the flexget doesn't know what to skip and therefore all the files are downloaded.

Is there a way so that these files would be skipped from magnet links?

Thanks!

Posts: 1

Participants: 1

Read full topic

Renaming files based on the presence of certain strings in the name

$
0
0

@amanmore wrote:

I have a fair amount of Anime I keep downloading, mostly through an RSS feed and deluge on my Raspi 4B. I have a task set up to automatically sort the files in appropriate folders based on name and removing the extra fluff that comes in square brackets at either end of the filename. This works most of the time, but it seems to struggle with some of the naming conventions in anime websites, and I was looking for ways to automate that.

To get to the point, I get the files with names in the format out from deluge:

[Group] (Show Name) - (Episode) [Quality]
for example
[HorribleSubs] Assassins Pride - 05 [720p]

The square brackets are present in the filename, while the parentheses here were added by me for the purpose of making things clearer for the next part of this issue.

I am able to remove the [Group] and [Quality] parts using rename while moving the files, and then it puts the files in folders based on the series name. However, when an anime has multiple seasons, the file name becomes:

[Group] (Show Name) (SX) - (Episode) [Quality]
Where X is the season number.
for example
[HorribleSubs] Shokugeki No Soma - 01 [720p] 
in its second season becomes
[HorribleSubs] Shokugeki No Soma S2 - 01 [720p]

It seems the FlexGet series name identifier doesnt like this at all, and the file ends up unsorted. It used to cause the task to abort completely, so I had added a require_field: series_name to the task to allow it to safely ignore those files.

Before setting up everything on Flexget, I used to manually run advanced renamer on these files to remove the fluff, and manually add "s0Xe" with the approprate "X" in the filename so it becomes something like

Shokugeki No Soma - s02e01

Is there any way I can automate this process in Flexget?

The effect I'm trying to achieve is:

For every new accepted file:
- Parse the filename, and split it using " " as the delimiter
- Check for instances of [HorribleSubs], [480p], [720p], or [1080p] (or just any text with square brackets)
    If Present, remove them and any extra " "s they leave behind from the filename
    If Absent, continue to the next step
- Check for a string in the format s##e## after the "-"
    if Present, exit, and move to the next file
    if Absent, check if the string right before the "-" is in the format "S#"
        If it is, remove the "S#" part, and add the string "s0#e" to the start of the episode number (aka the string right after the "-"), and move to the next file
        If it isnt, add the string "s01e" to the start of the episode number, and move to the next file

Is this something feasible in Flexget, or is it something I could do through a python script that I can run through flexget? In either case, what would be the best way to implement it?

Posts: 1

Participants: 1

Read full topic


Wildcards in TV:Series Templates?

$
0
0

@RebelTaz wrote:

I have tried searching for this, but I could not find it anywhere. Is it possible to use wildcards in the TV:Series templates? For example, if I there is a show with both British and American versions and I want both, could I use something similar to

- Show*

to select both "Show US" and "Show"?

Posts: 1

Participants: 1

Read full topic

RSS ssl handsake error

$
0
0

@taw3434 wrote:

posted this almost exactly a year ago. I fixed it then (see below) but all of a sudden its doing it again and im not sure what to do at this point

getting an RSS error all of a sudden -- (within the last 2 weeks). not sure if its on flexget or website site

2018-11-30 05:58 CRITICAL plugin xspeedstv Unable to download the RSS for task xspeedstv (https://www.xspeeds.eu/rss.php?secret_key=*********&feedtype=download&timezone=-5&showrows=50&categories=47,16):[Errno 1] ssl.c:510: error:14077410:SSL routines:SSL23GET_SERVER_HELLO:sslv3 alert handshake failure
2019-11-12 17:37 WARNING task xspeedstv Aborting task (plugin: rss)

any help would be appreciated

Posts: 1

Participants: 1

Read full topic

Upgrade help please

$
0
0

@taw3434 wrote:

I am currently running flexget 1.2.452 (if is isn't broke don't fix it right?!?!?). Anyway thought it might be time to upgrade and was wondering if someone could re-write my config with all the necessary updates. Sorry i know it's a big ask but have a new baby and just don't have the time. Thanks for anyone willing to take on this task. my current config is below:

schedules:
  # Run task_a every 30 minutes
  - tasks: xspeedstv
    interval:
      minutes: 15
  - tasks: updatewatchlist
    interval:
      hours: 24
  - tasks: xspeedsmovie
    interval:
      hours: 3
  - tasks: checkmanadd
    interval:
      minutes: 60
templates:
  movie:
    verify_ssl_certificates: no
    movie_queue: accept
    imdb_lookup: yes
    regexp:
      reject:
        - HC
    deluge:
      host: localhost
      port: *******
      password: *********
      content_filename: "{{imdb_name}}"
      path: ~/Downloads/
main_file_only: yes
      movedone: /storage/Movies/{{imdb_name}} ({{imdb_year}})/
      ratio: 2
      removeatratio: yes
      keep_subs: yes
  tv:
    verify_ssl_certificates: no
    thetvdb_lookup: yes
    exists_series:
      - '/storage/TV/{{tvdb_series_name}}/Season {{tvdb_season}}'
      - '/storage/TV/{{tvdb_series_name}}/Season{{tvdb_season}}'
      - ~/Downloads
    configure_series:
      from:
        thetvdb_favorites:
          account_id: **********
      settings:
        propers: 2 days
        timeframe: 12 hours
        target: 720p
        quality: "<=720p"
    set:
      content_filename: "{{tvdb_series_name}} - {{tvdb_ep_id}} - {{tvdb_ep_name|default('MissingTitle')}}"
      path: ~/Downloads/
      movedone: /storage/TV/{{tvdb_series_name}}/Season {{tvdb_season}}/
      ratio: 2
      removeatratio: yes
      main_file_only: yes
      keep_subs: yes
    deluge:
      host: localhost
      port: *********
      password: **********
    series:
      - Divorce (2016):
          alternate_name: Divorce US
      - Scandal (2012):
          alternate_name: Scandal US
      - Taboo (2017):
          alternate_name: Taboo UK
      - Crashing (2017):
          alternate_name: Crashing US
tasks:
  manupdatedb:
    filesystem:
      regexp: .*(avi|mkv|mp4)$
      path: /storage/TV/
      recursive: yes
      retrieve: files
    template: tv
    manual: yes
  xspeedstv:
    rss: https://www.xspeeds.eu/rss.php?secret_key=**********&feedtype=download&timezone=-5&showrows=50&categories=47,16
    template: tv
  xspeedsmovie:
    rss: https://www.xspeeds.eu/rss.php?secret_key=***********&feedtype=download&timezone=-5&showrows=50&categories=66
    template: movie
  updatewatchlist:
    priority: 1
    imdb_list:
      list: watchlist
      user_id: *********
    accept_all: yes
    movie_queue:
      action: add
  checkmanadd:
    seen: local
    thetvdb_lookup: yes
    inputs:
      - from_deluge:
          config_path: "/home/taw34/.config/deluge/"
          filter:
            state: downloading
      - from_deluge:
          config_path: "/home/taw34/.config/deluge/"
          filter:
            state: queued
      - from_deluge:
          config_path: "/home/taw34/.config/deluge/"
          filter:
            state: seeding
    all_series: yes
    deluge:
      host: localhost
      port: ********
      password: ******
      main_file_only: yes
      content_filename: "{{tvdb_series_name}} - {{tvdb_ep_id}} - {{tvdb_ep_name|default('MissingTitle')}}"
      movedone: /storage/TV/{{tvdb_series_name}}/Season {{tvdb_season}}/

Posts: 1

Participants: 1

Read full topic

Path: jinja template filter HD and 4K

$
0
0

@Mikkel_Petersen wrote:

Hi there,
I am trying to figure out how I can tell Flexget to look at the torrents name, and identify whether it is 1080p or 2160p. So far I have it very simple like this:

rtorrent:
      uri: scgi://localhost:5000
      path: /home/zeroz/rtorrent/download/HDBits
      custom1: Remux

What I would like to have is the following:

rtorrent:
      uri: scgi://localhost:5000
      path: /home/zeroz/rtorrent/download/[1080p-2160p]_HDBits
      custom1: [1080p-2160p]_Remux

So Flexget would identify the resolution of the torrent, and then put it in the appropriate path, and give it the appropriate label.

I looked at https://flexget.com/Jinja but I can't really figure out how to do this, and if it is even possible. Is logic required, and does Flexget even support that?

Posts: 1

Participants: 1

Read full topic

Timeframe plugin not waiting

$
0
0

@Mikkel_Petersen wrote:

Hi there,
I have a issue with my timeframe plugin options. I want flexget to wait 1 day for getting 2160p. But it downloads 1080p straight away anyways.

tasks:
  Movies:
    notify:
      abort:
        via:
          - slack:
              web_hook_url: *REMOVED*
              attachments:
                - text: "Problem with Movies"
                  fallback: "Problem with Movies"
    rss:
      url: *REMOVED*
      all_entries: no
    upgrade:
      tracking: yes
    timeframe:
      wait: 1 day
      on_reached: do_nothing
      target: 2160p
    best_quality:
      on_best: do_nothing
      on_lower: reject
    sequence:
      - imdb:
          min_score: 5
          min_votes: 10000
          min_year: 2016
      - imdb:
          min_score: 3
          min_votes: 30000
          min_year: 2016
    regexp:
      reject:
        - 'half-sbs|hybrid|3d|hi10p': {from: title}
    rtorrent:
      uri: scgi://localhost:5000
      path: /home/zeroz/rtorrent/download/{{quality.resolution}}_HDBits
      custom1: "Remux/{{quality.resolution}}"

  upgrade_movies:
    rss:
      url: *REMOVED*
      all_entries: no
    no_entries_ok: yes
    upgrade:
      timeframe: 156 weeks
      target: 2160p
      propers: yes
    rtorrent:
      uri: scgi://localhost:5000
      path: /home/zeroz/rtorrent/download/{{quality.resolution}}_HDBits
      custom1: "Remux/{{quality.resolution}}"

Can any seasoned flexget'er spot the mistake?

Posts: 5

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live