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

How to determine "Upcoming moments" ? #7

Open
VictorK1902 opened this issue Nov 10, 2015 · 3 comments
Open

How to determine "Upcoming moments" ? #7

VictorK1902 opened this issue Nov 10, 2015 · 3 comments
Labels

Comments

@VictorK1902
Copy link
Contributor

Right now we don't have a predefined column to expose the upcoming moments for each moment ID (and we should not). So I'm wondering if you guys have any input on what's the best way to achieve this?

What I'm thinking right now is using the met_end of a currently playing moment and compare that with met_start of all moments (global? or only within this story) after +/- some offset to allow certain range.
I'm just not clear if this is to be used, what's the best offset could be used? 1 min, 2mins?, 30s....

Link to the database schema https://github.com/UTD-CRSS/exploreapollo.org-schema/blob/channelChunk/README.md

@JamieCrisman
Copy link
Member

This should be coming from the story. The moment should know the next moment from the very beginning.

@VictorK1902
Copy link
Contributor Author

So will that be predefined as in db? When I look at the story table and moment_story_join table I dont see any metadata yielding this kinda of information.

...

And that the moment_IDs themselves (in order or not) should not suggest any order of the moments in the story anyway

@JamieCrisman
Copy link
Member

yeah, we need to figure out what determines that order.

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

No branches or pull requests

2 participants