Skip to content

[add] trakt_next_episode - 'aired' context#1721

Merged
gazpachoking merged 2 commits intodevelopfrom
trakt_next_aired
Jan 6, 2019
Merged

[add] trakt_next_episode - 'aired' context#1721
gazpachoking merged 2 commits intodevelopfrom
trakt_next_aired

Conversation

@gazpachoking
Copy link
Copy Markdown
Member

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):

trakt_next_episode:
  account: my_account
  list: my series list
  context: aired

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']))
Copy link
Copy Markdown
Contributor

@cvium cvium Mar 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log.debug('No %s episode for %s', config['position'], fields['series_name'])

@liiight
Copy link
Copy Markdown
Member

liiight commented Apr 18, 2017

This is ready, right?

@tubedogg tubedogg changed the title trakt_next_episode 'aired' context [add] trakt_next_episode - 'aired' context May 26, 2017
@paranoidi
Copy link
Copy Markdown
Member

Made some minor fixes, I don't see why this could not be merged and documented.

@paranoidi paranoidi self-requested a review January 3, 2019 23:39
@gazpachoking gazpachoking merged commit 21f6032 into develop Jan 6, 2019
@gazpachoking gazpachoking deleted the trakt_next_aired branch January 28, 2019 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants