-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update all YT claims with new metadata #18
Comments
What is the status of this as a blocker |
|
Niko and I ran through this today and all the fields we need are available in the YouTube api. The email we'll populate from their LBRY account. We'd have to link back their featured content URL to a published file which is the trickiest part since we'll need to know the URL beforehand or update it later. I'll get a full sample of a channel publish to the app squad soon. |
@nikooo777 this just came up in a discussion with @robvsmith: we should pull in the tags already set in internal-apis and apply those as well |
This is completed, please reopen if that's not the case @nikooo777 |
This will serve as the ytsyc issue to implement the below and an epic to track types/sdk required changes. When the sdk tickets are filed, I'll update it.
Setup a process to perform claim updates, preferably in batch mode
(Allow batching of transactions, including publishes/updates lbry-sdk#1821). If easy update mode is available (Claim updates via publish require superfluous paramaters lbry-sdk#1423), use it, if not, read from existing claim data. This also includes grabbing the sdblob for each claim in order to populate some of the new file related fields.
From the sdblob, grab the filename and file size to populate name/size in Add file attributes to metadata types#9.
Grab video length from the YouTube api to populate length in Add file attributes to metadata types#9
Grab published date from YouTube api to populate releaseTime in Add releaseTime to schema types#13
Grab category/tags from YouTube api to populate in Add category to schema types#15 or Add tags to schema types#16
Grab language from YouTube api and populate language on claim metadata
Research other relevant youtube API data that may require new types/sdk entries.
The text was updated successfully, but these errors were encountered: