Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Video Warning #870

Open
jccroft1 opened this issue Jun 27, 2016 · 5 comments
Open

Missing Video Warning #870

jccroft1 opened this issue Jun 27, 2016 · 5 comments

Comments

@jccroft1
Copy link
Contributor

If a media item is going to publish in the next hour but is missing a VOD or Livestream then email a warning to the creator of the item.

@stephenrob
Copy link
Member

Could add the option to send it into a slack channel or something so more than the person who created the item are aware of it.

@tjenkinson
Copy link
Member

I think it would make sense in the api and then as a webhook event. And then a bot like Clifford could announce it

@tjenkinson
Copy link
Member

Actually probably not a webhook event just a filter. So you can query the api and get a list of all items without vod. Then from that you can determine when you want to fire alerts etc

@tjenkinson
Copy link
Member

Actually this is already possible from the api.

/v1/mediaItems?vodIncludeSetting=HAS_VOD&sortMode=SCHEDULED_PUBLISH_TIME&sortDirection=DESC&limit=20
will return everything that is of type VOD with the most recent published/to be published first. You can check in those responses if there is vod uploaded.

Might be nice to add another vodIncludeSetting of HAS_UNAVAILABLE_VOD or something similar, and also a startTime option to look before/after.

@tjenkinson
Copy link
Member

refs: LA1TV/LA1TV-SlackBot#9

Note HAS_VOD doesn't work because that only shows items that have VOD linked with them. VOD can only be linked with a media item once a video has been uploaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants