jenslys / autovod

Automatically upload Twitch.tv / Kick.com streams in realtime to Youtube or a Rclone supported provider
MIT License
94 stars 10 forks source link

[Feature request] automatic video scheduling for the "youtube" provider #69

Closed BenjiThatFoxGuy closed 1 year ago

BenjiThatFoxGuy commented 1 year ago

Please Describe The Problem To Be Solved The Twitch affiliate agreement includes a timed exclusivity period (Affiliate agreement §2.2), which requires VODs and livestreams to be available only on Twitch for at least 24hrs. This means even with a project like autovod, there's still some manual labor - mainly with scheduling the VODs.

(Optional): Suggest A Solution youtubeuploader supports specifying when to schedule a video to (for that to work, the visibility has to be set to private). if autovod incorporated that in some way, it would make lives of streamers who maintain a VOD channel so much easier.

jenslys commented 1 year ago

This should be fairly easy to add using the publishAt I just have to think about a queue system for this to work efficiently.

Fetching current date and date in 2 days with the same format:

current_date=$(date +'%Y-%m-%dT%H:%M:%S%z')
timestamp=$(date -j -f '%Y-%m-%dT%H:%M:%S%z' "$current_date" +%s)
new_timestamp=$((timestamp + 2 * 24 * 60 * 60))
new_date=$(date -j -f '%s' "$new_timestamp" +'%Y-%m-%dT%H:%M:%S%z')
jenslys commented 1 year ago

It seems Twitch has removed section 2.2 regarding the ability to re-upload the VOD. and I cant find any other reference to restrictions regarding this.

Is this still a wanted feature?

BenjiThatFoxGuy commented 1 year ago

I guess not, because it was meant as a solution after all :) Hopefully they don't change it back haha