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

Bug: playlist markers get deleted if video file goes offline #53

Open
gkertai opened this issue Apr 13, 2021 · 1 comment
Open

Bug: playlist markers get deleted if video file goes offline #53

gkertai opened this issue Apr 13, 2021 · 1 comment
Labels
bug Something isn't working Screen

Comments

@gkertai
Copy link

gkertai commented Apr 13, 2021

Steps to reproduce:

  • create a playlist with at least one video
  • add some markers to the video
  • save the playlist & close Screen
  • move the video file to another volume or unmount the volume
  • open the playlist in Screen - the video will be marked "unreadable" in the playlist sidebar
  • close Screen

What is the expected behavior?

The playlist should retain markers and other user data for the offline file, so it can be accessed when the video is online again.

What happens instead?

The playlist gets auto-saved without prompting the user upon closing Screen, and all user data is removed for the offline file. Only a skeleton with { "type" : "media", "sourceURL" : "…", "sourceRelativePath" : "…" } remains in the JSON.

Related issues

  • There seems to be no way to relink a playlist to moved files. A workaround could be manual editing of the JSON, but the stripping and overwriting of the playlist currently prevents this.
  • Screen does not ask for user confirmation when saving the modified playlist upon quitting the application.
  • Screen warns the user about not being able to save playlist versions on some filesystems (eg. exFAT) the first time the playlist is saved, but there is no warning upon subsequent auto-saves of the playlist. Also, the user may not be aware of the consequences (markers being stripped) of overwriting their playlist.
@gkertai gkertai changed the title Bug: playlist markers get deleted if video file is moved Bug: playlist markers get deleted if video file goes offline Apr 13, 2021
@gregcotten
Copy link
Member

Eeek! Yes, this sort of testing is sorely needed. Thanks for bringing to my attention

@wilg wilg transferred this issue from videovillage/Screen-Issues Mar 10, 2023
@wilg wilg added Screen bug Something isn't working labels Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Screen
Projects
None yet
Development

No branches or pull requests

3 participants