-
Notifications
You must be signed in to change notification settings - Fork 55
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
Videos not in Order #1005
Comments
Could this be to do with the video DateCreated somehow set incorrectly? |
Very likely. I'm not sure where it is set, either, or if it's set by Vimeo and we just import their value. Something to track down for sure. |
The code grabs the full video list from the db, then grabs a cached list also. Any videos that aren't in the cache get added at position 0. Guessing maybe given the close nature of those 2 videos recording time wise you uploaded the 27th before the 26th which left the 26th first in the list. There is no ordering on the cached list being returned. That would be the cheap and easy way to resolve... |
@totalitydevelopment any chance you could add a link to the code you are referencing? Thanks! |
thanks @totalitydevelopment. |
Yeah you're right. Dived in at that code without running as only had a few minutes.
|
That'll need a manual db tweak for the outstanding issue... or you can could change the spec to order by dateUploaded but there will always be scope for them being uploaded in the wrong order that way... |
@ardalis what is the process for creating a new video? I'm assuming it gets created locally, then gets uploaded to Vimeo, as well as an "overview" to the DB. Is that correct? |
There's a separate Uploaders github repo with a WPF app that does the upload to Vimeo. @ShadyNagy wrote it. It's interested the DateCreated is only Date, not time, which seems to be the issue. |
Makes sense! |
Just uploaded videos from 26th and 27th and they're appearing in this order:
Should be most recent first.
The text was updated successfully, but these errors were encountered: