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

Timestamp when a playlist source has been checked #135

Open
tdy opened this issue Oct 13, 2020 · 3 comments
Open

Timestamp when a playlist source has been checked #135

tdy opened this issue Oct 13, 2020 · 3 comments

Comments

@tdy
Copy link
Collaborator

tdy commented Oct 13, 2020

Re: classtranscribe/FrontEnd#245

Backend can set a timestamp like CheckedAt or something, so frontend will know if a playlist source actually contains 0 videos or simply hasn't been checked yet.

@tdy tdy added the bug Something isn't working label Oct 13, 2020
@tdy tdy closed this as completed Oct 13, 2020
@tdy tdy removed the bug Something isn't working label Oct 14, 2020
@tdy tdy reopened this Oct 14, 2020
@tdy tdy changed the title Playlists with empty source still display "We are preparing your videos" Timestamp when a playlist source has been checked Oct 14, 2020
@ghost
Copy link

ghost commented Dec 2, 2020

Hi Tim, could you explain what you mean by "CheckedAt"? When would this timestamp be set on the backend? I don't know the full process/terminology about playlists, but would be happy to help with this.

@ghost ghost self-assigned this Dec 2, 2020
@ghost
Copy link

ghost commented Aug 31, 2021

@tdy is this still an issue? If so, could you be more clear about what the purpose of CheckedAt is?

@ghost ghost removed their assignment Sep 8, 2021
@angrave
Copy link
Collaborator

angrave commented Nov 22, 2022

Implemented in abbc22a
Playlists now have two properties, initially null
"listUpdatedAt": null,
"listCheckedAt": null,

listUpdatedAt will always be updated whenever the playlist is synchronized
listCheckedAt will be updated whenever new media are added, or if the playlist has no upstream content.
i.e. listUpdatedAt>=listCheckedAt

"listUpdatedAt": "2022-11-22T03:05:57.460287"
"listCheckedAt": "2022-11-22T03:05:57.460287"

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

No branches or pull requests

2 participants