ryanfox1985 / OctoPrint-Youtube-Timelapse

Automatically uploaded rendered timelapses to Youtube
14 stars 1 forks source link

Add ability to upload from stock timelapse capture system #13

Open ArMaTeC opened 3 years ago

ArMaTeC commented 3 years ago

Please can you add the stock timelapse video system to the settings so it can upload also

ryanfox1985 commented 3 years ago

Hello @ArMaTeC, which images do you mean? is it an option from Octolapse?

ido-nl commented 3 years ago

I am also wondering about this. I configured everything, but nothing gets uploaded. I dont use Octolapse, but the default timelapse option Octoprint offers. In the Custom events octolapse is configured. So my guess is that these events trigger the upload, but only when using octolapse. Dont know how to find out the event names for the default octoprint timelapse functionality.

ryanfox1985 commented 3 years ago

Hi, now I think that I understand the issue, to able to use the stock timelapse system I think you need to use the Custom Events and set this values:

Custom Event Name: MovieDone Payload Path Key: movie

I extracted from here:

https://github.com/OctoPrint/OctoPrint/blob/361162aac2ed906b393d05bc4a69d0e41a8a4457/src/octoprint/events.py#L117 https://github.com/OctoPrint/OctoPrint/blob/master/src/octoprint/timelapse.py#L306-L312

Can you confirm if it works? I will update the readme.