FFFFFFFXXXXXXX/league_record

Add YouTube upload support

Opened this issue · 4 comments

First of all, thank you for a great piece of software.

I was wondering if it would make sense to add a YouTube upload feature that adds the markers (JSON metadata) as chapters.

Hey, how would you imagine this feature to look like?
An 'upload' button next to rename, delete, ... that uploads the video to youtube?

I assume the general goal is to upload the recording somewhere in order to make it shareble?

Maybe it's better to just have a separate program for it honestly. I'll cook something up, when I get the will power 😅

I was thinking something that just automatically uploads your video to YouTube as unlisted (for long term storage and sharing).

I'm not against that feature here are my rough thoughts on what I need to consider:

  1. how to integrate the feature into the UI
  2. should the user need to click a button to manually upload a video or should all videos be auto-uploaded
  3. should uploads be paused during a game because some peoples internet connection isn't good enough / does the youtube api support pausing uploads?

In case you use JS/TS for your own solution, there are .d.ts definitions of the metadata file format here.

I'm not against that feature here are my rough thoughts on what I need to consider:

1. how to integrate the feature into the UI

2. should the user need to click a button to manually upload a video or should all videos be auto-uploaded

3. should uploads be paused during a game because some peoples internet connection isn't good enough / does the youtube api support pausing uploads?

In case you use JS/TS for your own solution, there are .d.ts definitions of the metadata file format here.

If it was to be integrated, I would just start with having it as a setting in the JSON file, and then auto upload it. Then you could always extend that to support manual uploads via the UI in the future as well.