The Wayback Machine - http://web.archive.org/web/20201006234954/https://github.com/ZeroQI/YouTube-Agent.bundle/issues/40
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

youtube-dl's "--write-info-json" local json file option support #40

Closed
ZeroQI opened this issue Jul 3, 2020 · 3 comments
Closed

youtube-dl's "--write-info-json" local json file option support #40

ZeroQI opened this issue Jul 3, 2020 · 3 comments
Assignees
Labels

Comments

@ZeroQI
Copy link
Owner

@ZeroQI ZeroQI commented Jul 3, 2020

It is possible to instruct YouTubeDL to generate a local Json file with: youtube-dl.exe KJB_RyESQqs --write-info-json --skip-download -o "[%(id)s].%(ext)s"

Example attached: KJB_RyESQqs.info.json.txt

The aim would be to make the agent use local metadata in the local file, if present:

  • If the local file exists, load locally metadata from json file, otherwise do as usual.
@Banner-Keith
Copy link
Contributor

@Banner-Keith Banner-Keith commented Jul 27, 2020

Hi @ZeroQI I took a crack at this and I believe I have it working properly at least for TV Series libraries. I do not have a Movie library to test it on. Would you like me to create a fork and open a PR for you to review?

@ZeroQI
Copy link
Owner Author

@ZeroQI ZeroQI commented Jul 27, 2020

@Banner-Keith Yes please. I could expend on that to support the movie library

@Banner-Keith
Copy link
Contributor

@Banner-Keith Banner-Keith commented Jul 27, 2020

I believe the code is done for the movie library part too. Just haven't tested it yet. I'll try to get the PR up later tonight.

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

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.