Open tzarebczan opened 4 years ago
Someone also recently noticed that a filename is not set on the YouTube side - is that possible via the API? They said that's an important field to have set for algorithm purposes.
monetization status is another important one.
Users should be able to choose if they want the video to be private or premiere ( in x hours?). It would be good to track what they chose somewhere.
Just for clarity:
thumbnail - just the url ( comes with publish info in app ) tags - also comes with app info filename - currently the local file path used to upload. You want to just pass the filename excluding the path to youtube. monetization status - it can be passed via the api, but we need some sort of selection in the app unless this is just always the same value. premiere vs status - I can set the status but I dont see an api for premiere. I am sure it is there, just need to look for it. If it falls under a different scope this may be harder. However, this would also require a UI for the user to choose private, public, unlisted, or to premiere it.
type YoutubeArgs struct {
Title string
Description string
FilePath string
Keywords string
ThumbnailURL string
PublishAt string //premiere date (default now)
PublishType string // 'private', 'public', or 'unlisted'
MonetizationOff bool
}
These are the parameters that can now be passed to lbry-first upload call.
The youtube APIs will not accept filename
or monetization
parameters. Not sure if its scope related or if it's not something that can passed via video insert api.
From the feedback I got, monetization would be an important one, especially if they are setting it to public with a premiere date. Will need to see if that's something that's just enabled by default or needs to be done manually once the video is on Youtube.
Looked like it worked well for thumbs/tags, awesome! Is language an option? Or "is this video meant for kids"? License? I noticed these while editing the video on youtube.
Also, not sure if premiere date corresponds to publish date - we'd need to try that.
Language, License, Monetization, Age settings remaining
Set thumbnail and tags on the publishes
Edit: a lot of this has been done, a few fields remain