Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Handle outdated tracks #63

Closed
matthias4217 opened this issue May 22, 2019 · 2 comments
Closed

Handle outdated tracks #63

matthias4217 opened this issue May 22, 2019 · 2 comments
Labels
backend question Further information is requested
Milestone

Comments

@matthias4217
Copy link
Owner

Sometimes, a video gets removed from Youtube, (or the other sources) we should consider what happens then.

@matthias4217 matthias4217 added help wanted Extra attention is needed backend labels May 22, 2019
@matthias4217 matthias4217 added this to the MkIII-v1.0 milestone May 22, 2019
@matthias4217 matthias4217 added question Further information is requested and removed help wanted Extra attention is needed labels May 22, 2019
@matthias4217
Copy link
Owner Author

How to implement this : add a field "obsolete" (or maybe another appellation) to track_info. In the player_worker thread, if mpv is unable to play the song, and the source is Youtube, ask Youtube whether the song still exist (or if it is just a temporary network error). If it has been removed, mark it as obsolete.
Obsolete songs won't be displayed in the suggestions.
Also I will check that during searches, metadata are well updated.

@matthias4217
Copy link
Owner Author

Fixed with 21d22a8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant