@jlyle wrote:
Somehow my previous flexget DB got corrupted. Rather than worrying about trying to fix it, I decided to just start over with a clean database. With the clean database, I attempted to seed the series database with everything I already have. When I did this, however, I noticed that flexget did not actually learn everything that it said that it learned. Check out the information below:
lsb_release -a
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty
flexget -V
2.12.7 You are on the latest release.
config.yml
tasks: seed_series_db: manual: yes disable: - seen filesystem: path: - "/nas/diskstation/shows/The Big Bang Theory (2007)/" regexp: '^.*\.(avi|mkv|mp4|m4v|mpg|AVI|MKV|MP4|M4V|MPG)$' recursive: yes include: - episodic_shows.yml series: settings: episodic_shows: tracking: no quality: any accept_all: yes
You will see that I am importing a file via the include plugin. Below is the
episodic_shows.yml
file I importepisodic_shows.yml
series: settings: episodic_shows: upgrade: yes quality: <=1080p webrip+ identified_by: ep tracking: backfill begin: S00E01 episodic_shows: - The Big Bang Theory (2007): alternate_name: - The Big Bang Theory - The Big Bang Theory 2007 - Big Bang Theory - Big Bang Theory 2007 - Big Bang Theory (2007)
I execute
flexget execute --learn --tasks seed_series_db
and you will see flexget says it learns a whole lot of episodes.flexget execute --learn --tasks seed_series_db
File can be viewed at https://pastebin.com/CZjFKjNQ
I then check the learned Items in flexget with
flexget series show --sort-by identifier "The Big Bang Theory (2007)"
flexget series show --sort-by identifier "The Big Bang Theory (2007)"
File can be viewed at https://pastebin.com/7eVHEMxx
And, if you examine that table carefully, you will see that some episodes are skipped:
- S01E01
- S01E02
- S02E01
- S02E02
- S03E01
- S03E02
- S04E01
- S04E02
- S05E01
- S05E02
- S06E01
- S06E02
I thought this was strange, but double checked my file system. I do indeed have those episodes in the file system. So I checked the output of the learn command, and it shows the following lines (scattered throughout the log):
2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S06E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S06E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S01E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S01E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S05E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S05E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S03E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S03E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S04E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S04E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S02E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin 2018-02-14 08:10 VERBOSE task seed_series_db ACCEPTED: `The.Big.Bang.Theory.S02E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed` by accept_all plugin
and
2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S06E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S06E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S01E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S01E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S05E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S05E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S03E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S03E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S04E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S04E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S02E01.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future) 2018-02-14 08:11 INFO seen seed_series_db Learned 'The.Big.Bang.Theory.S02E02.720p.5.1Ch.BluRay.ReEnc-DeeJayAhmed' (will skip this in the future)
So, while flexget says that it learned these episodes, it clearly did not. Out of curiosity, I then ran the learn/seed task again and sure enough, it acts as if those episodes have not been added.
flexget execute --learn --tasks seed_series_db
File can be viewed at https://pastebin.com/XKa0kF8d
Furthermore, while this runs and lists the missed episodes as learned, flexget STILL does not actually learn the episodes.
I don't believe this is an issue on my end since flexget says it learns the episode when it does not. This is why I listed this as a bug.
I will be happy to help diagnose this issue any way I can, just let me know what you need me to do!
Posts: 1
Participants: 1