[add] trakt_next_episode - 'aired' context#1721
Merged
gazpachoking merged 2 commits intodevelopfrom Jan 6, 2019
Merged
Conversation
cvium
reviewed
Mar 25, 2017
| data = session.get(url).json() | ||
| response = session.get(url) | ||
| if response.status_code == 204: | ||
| log.debug('No {} epsisode for {}'.format(config['position'], fields['series_name'])) |
Contributor
There was a problem hiding this comment.
log.debug('No %s episode for %s', config['position'], fields['series_name'])
Member
|
This is ready, right? |
Member
|
Made some minor fixes, I don't see why this could not be merged and documented. |
paranoidi
approved these changes
Jan 3, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for changes:
Someone was asking for a way to set begin episode to next airing ep, this would facilitate that.
Detailed changes:
Adds 'aired' context to next_trakt_episodes. Allows emitting next or last aired eps based on trakt data.
Config usage if relevant (new plugin or updated schema):