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

Handling deleted videos #132

Closed
GuillaumeRoss opened this issue Dec 29, 2023 · 2 comments
Closed

Handling deleted videos #132

GuillaumeRoss opened this issue Dec 29, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@GuillaumeRoss
Copy link

Hi!

I did look at the documentation, apologies if this is documented somewhere I missed, but I think there are probably feature requests in what I'm about to discuss anyway.

How does yark handle video removal from a channel or playlist? There are channels I archive with yark for which I absolutely do NOT want to remove videos, ever. I have extra backups so I know at least the actual video files are safe, but it would be nice to have a "no delete" option - maybe that would mark the videos as having been deleted when serving the site, but leaving them there.

@Owez
Copy link
Owner

Owez commented Dec 29, 2023

Hey, no problem. The docs are quite sparse to be fair – I should probably add an in-depth algorithm explainer.

Every time Yark runs it'll get all channel information (e.g. all videos), and then it will download the videos present. It then checks the channel informartion against the information in the archive, and add/update the archive with the new information. Including the lack of a video via the deleted tag.

For example, if Video A was archived, then the uploader deletes the video, and the channel was archived again, Yark will tag Video A as deleted. The deleted tag also tracks if a video is privated, so you have a history of when the uploader privated and unprivated the video. Archives are always additive, they'll never delete information.

I don't think there's a nice UI indicator for it at the moment but it might be in the per-video bulletpoint history.


Overall, Yark will keep and properly archive the deleted/privated state of a video. As long as you keep the archive backed up, you should never lose information :)

@GuillaumeRoss
Copy link
Author

Awesome, great to hear confirmation that it will not delete anything.

I added a line in the README in : #133

@Owez Owez added the documentation Improvements or additions to documentation label Jan 8, 2024
@Owez Owez self-assigned this Jan 8, 2024
@Owez Owez closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants