@ZileXa wrote:
Thanks to @Jonybat, Flexget now correctly takes care of A LOT of stuff for me. I basically updated his config to fully support Trakt, to add some quality settings (reverse timeframe) and some more details (outlined here) like updating Kodi library.
But it is not full circle yet:
1. I still need to cleanup my Trakt list on trakt.tv, when a show I have fully watched, has ended.
2. I still need to delete old, watched seasons from my harddrive manually. Note that Flexget downloads episodes to season folders (\seriesname\S#\episodes) for me now.I found the following fields.
tvdb_status == 'Ended'
andtrakt_watched == 'True'
but this last one is for episodes, the field is not available for shows or seasons.Therefore, this task won't do anything because the IF statement will always return FALSE or unknown or something:
### Remove fully watched and ended tvshows from the trakt.tv list clean-series-list: priority: 53 delay: 8 day template: - disable-seen-retry - series-metainfo trakt_list: account: "{? trakt.account ?}" list: "{? trakt.series ?}" type: shows if: - tvdb_status == 'Ended' and trakt_watched == 'True': accept list_remove: - trakt_list: account: "{? trakt.account ?}" list: "{? trakt.series ?}" type: shows
And a task to delete watched seasons from the harddrive requires Flexget to identify which _seasons_ have been watched. How can I figure out which seasons or full shows have been watched? I believe this information IS available in the flexget database. Because when I use `next_series_episodes` or `next_series_seasons` verbose log show something like this:
2017-08-17 19:57 VERBOSE discover download-series-discover Stranger Things S02 hasn't been released yet (Expected: 2017-10-27 00:00:00) 2017-08-17 19:57 VERBOSE discover download-series-discover Mr. Robot S03 hasn't been released yet (Expected: 2017-10-11 00:00:00)
So I believe I should be able to use
next_series_seasons
to determine which seasons have been watched. I just don't know how. I could create an entry list, but that would return the next seasons to watch..Can anyone point me in the right direction here?
Posts: 3
Participants: 2