lbryio / lbry-first

One stop shop for uploading digital content to alternatives to empower LBRY First!
MIT License
4 stars 1 forks source link

create synced_video entry for lbry-uploader publishes #1

Closed tzarebczan closed 4 years ago

tzarebczan commented 4 years ago

Or some other way to mark the video so it's not synced back. I assume some creators will go exlclusive lbry first and we can disable sync, but others may want to experiment with some content first.

kauffj commented 4 years ago

and record a column that it came from us!

tiger5226 commented 4 years ago

For this we can call the /yt/video_status API of internal-apis, the parameters are:

v.Field(&params.YoutubeChannelID, v.Required, validator.YoutubeChannelID),
        v.Field(&params.ClaimName, is.PrintableASCII),
        v.Field(&params.VideoID, is.PrintableASCII),
        v.Field(&params.ClaimID, validator.ClaimID),
        v.Field(&params.Status, v.Required, is.PrintableASCII),
        v.Field(&params.FailureReason, is.PrintableASCII),
        v.Field(&params.PublishedAt),
        v.Field(&params.Size),
        v.Field(&params.MetadataVersion),
        v.Field(&params.Transferred),

This would need to be solved first. https://github.com/lbryio/internal-apis/issues/1362

tiger5226 commented 4 years ago

This is written, but needs testing still with a ytsync account which is a bit complicated, so I need to data or update data in my db to test this one better.