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

Set URL, video ID and duration on refresh operation #414

Closed
ceonelson opened this issue May 3, 2022 · 2 comments
Closed

Set URL, video ID and duration on refresh operation #414

ceonelson opened this issue May 3, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@ceonelson
Copy link
Contributor

With this year's releases of yt-dlp I've had quite a number of instances of videos being downloaded but their URL/duration/size/date not being recorded.

If I do a check and then a refresh, it will find the videos but won't populate the URL, video ID and duration. Is it possible to pull that information from the info.json file for the video when it is added to the database? Also it's late and I can't remember if the .description file is read in or not.

It would also be awesome if the same function that pulled that info in also ran if you go to video properties and manually choose the video file :)

Thanks Axcore!

@ceonelson ceonelson added the enhancement New feature or request label May 3, 2022
@axcore
Copy link
Owner

axcore commented May 4, 2022

Also it's late and I can't remember if the .description file is read in or not.

Tartube tries to fetch the description from both the JSON file or the .description file, using the first method that succeeds.

@axcore
Copy link
Owner

axcore commented May 5, 2022

The URL, video ID (etc) were not updated during the refresh because of a typo. Well done for spotting it, it's fixed in v2.4.021.

The video properties window now has an extra button for updating the database from the video's .info.json file, but this will happen automatically if you change the video file (in the same window tab).

@axcore axcore closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants