LiveStreamDVR icon indicating copy to clipboard operation
LiveStreamDVR copied to clipboard

[Bug] Recording Stream 3x

Open Serph91P opened this issue 2 years ago • 3 comments

After Streamer Went live I went to check if everything with the new folder naming was working. Where I noticed that the same Stream is beeing recorded 3times. Everything got called 3 Times, even got the notification on telegram 3x.

2022-09-02 15:58:13.143 29 | hook <INFO> Hook called 2022-09-02 15:58:24.754 29 | automator.handle <INFO> Automator stream.online event for h0llylp (retry 0) 2022-09-02 15:58:39.184 29 | channel <INFO> Create VOD JSON for h0llylp: h0llylp_202209_4.json @ /usr/local/share/twitchautomator/data/storage/vods/h0llylp/20220909 2022-09-02 15:58:39.185 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_4 (create json) 2022-09-02 15:58:39.189 29 | vodclass <ERROR> No chapters on h0llylp_202209_4! 2022-09-02 15:58:39.192 29 | vodclass <WARNING> Loaded VOD h0llylp_202209_4 is not finalized! 2022-09-02 15:58:39.194 29 | channel <ERROR> Vod on disk and vod in memory are not the same for h0llylp 2022-09-02 15:58:39.194 29 | channel <ERROR> Vod on disk and vod in main memory are not the same for h0llylp 2022-09-02 15:58:39.196 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_4 with no chapters!! 2022-09-02 15:58:39.197 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_4 (is_capturing set) 2022-09-02 15:58:39.200 29 | automator <INFO> Update game for h0llylp_202209_4 2022-09-02 15:58:39.201 29 | automator <SUCCESS> Channel data for h0llylp fetched from cache. 2022-09-02 15:58:39.202 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_4 with no chapters!! 2022-09-02 15:58:39.203 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_4 (dt_capture_started set) 2022-09-02 15:58:39.203 29 | automator <INFO> Starting capture with filename h0llylp_202209_4.ts 2022-09-02 15:58:39.226 29 | automator <SUCCESS> Spawned process 58 for capture_h0llylp_202209_4 2022-09-02 15:58:39.228 29 | job <INFO> Save job capture_h0llylp_202209_4 with PID 58 to /usr/local/share/twitchautomator/data/cache/pids/capture_h0llylp_202209_4.json 2022-09-02 15:58:39.231 29 | vod.addChapter <INFO> Adding chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (The Last of Us Part I) to h0llylp_202209_4 2022-09-02 15:58:39.232 29 | chapter <WARNING> No next chapter or vod end time for chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (2022-09-02T13:55:35.855Z), duration will probably be 0. 2022-09-02 15:58:39.232 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_4 (game update) 2022-09-02 15:58:39.241 29 | automator <SUCCESS> Stream updated on 'h0llylp' to 'The Last of Us Part I' (The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP) using cache. 2022-09-02 15:58:39.370 29 | hook <INFO> Hook called 2022-09-02 15:58:39.372 29 | automator.handle <INFO> Automator stream.online event for h0llylp (retry 1) 2022-09-02 15:58:39.372 29 | automator.handle <INFO> h0llylp is already live, yet another stream online event received. 2022-09-02 15:58:39.376 29 | channel <INFO> Create VOD JSON for h0llylp: h0llylp_202209_6.json @ /usr/local/share/twitchautomator/data/storage/vods/h0llylp/20220909 2022-09-02 15:58:39.376 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_6 (create json) 2022-09-02 15:58:39.381 29 | vodclass <ERROR> No chapters on h0llylp_202209_6! 2022-09-02 15:58:39.384 29 | vodclass <WARNING> Loaded VOD h0llylp_202209_6 is not finalized! 2022-09-02 15:58:39.385 29 | channel <ERROR> Vod on disk and vod in memory are not the same for h0llylp 2022-09-02 15:58:39.385 29 | channel <ERROR> Vod on disk and vod in main memory are not the same for h0llylp 2022-09-02 15:58:39.387 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_6 with no chapters!! 2022-09-02 15:58:39.388 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_6 (is_capturing set) 2022-09-02 15:58:39.391 29 | automator <INFO> Update game for h0llylp_202209_6 2022-09-02 15:58:39.392 29 | automator <SUCCESS> Channel data for h0llylp fetched from cache. 2022-09-02 15:58:39.393 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_6 with no chapters!! 2022-09-02 15:58:39.393 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_6 (dt_capture_started set) 2022-09-02 15:58:39.394 29 | automator <INFO> Starting capture with filename h0llylp_202209_6.ts 2022-09-02 15:58:39.401 29 | automator <SUCCESS> Spawned process 59 for capture_h0llylp_202209_6 2022-09-02 15:58:39.402 29 | job <INFO> Save job capture_h0llylp_202209_6 with PID 59 to /usr/local/share/twitchautomator/data/cache/pids/capture_h0llylp_202209_6.json 2022-09-02 15:58:39.404 29 | vod.addChapter <INFO> Adding chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (The Last of Us Part I) to h0llylp_202209_6 2022-09-02 15:58:39.405 29 | chapter <WARNING> No next chapter or vod end time for chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (2022-09-02T13:55:35.855Z), duration will probably be 0. 2022-09-02 15:58:39.405 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_6 (game update) 2022-09-02 15:58:39.414 29 | automator <SUCCESS> Stream updated on 'h0llylp' to 'The Last of Us Part I' (The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP) using cache. 2022-09-02 15:58:40.921 29 | automator <INFO> Stream resolution for h0llylp_202209_4: 1080p60 2022-09-02 15:58:40.922 29 | automator <INFO> Capturing of h0llylp_202209_4, will try to remove ads! 2022-09-02 15:58:40.922 29 | automator <INFO> Streamlink now writing output to container. 2022-09-02 15:58:40.932 29 | automator <INFO> Stream resolution for h0llylp_202209_6: 1080p60 2022-09-02 15:58:40.934 29 | automator <INFO> Capturing of h0llylp_202209_6, will try to remove ads! 2022-09-02 15:58:40.934 29 | automator <INFO> Streamlink now writing output to container. 2022-09-02 15:58:52.996 29 | hook <INFO> Hook called 2022-09-02 15:58:52.997 29 | automator.handle <INFO> Automator stream.online event for h0llylp (retry 2) 2022-09-02 15:58:52.997 29 | automator.handle <INFO> h0llylp is already live, yet another stream online event received. 2022-09-02 15:58:55.973 29 | channel <INFO> Create VOD JSON for h0llylp: h0llylp_202209_8.json @ /usr/local/share/twitchautomator/data/storage/vods/h0llylp/20220909 2022-09-02 15:58:55.973 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_8 (create json) 2022-09-02 15:58:55.977 29 | vodclass <ERROR> No chapters on h0llylp_202209_8! 2022-09-02 15:58:55.981 29 | vodclass <WARNING> Loaded VOD h0llylp_202209_8 is not finalized! 2022-09-02 15:58:55.981 29 | channel <ERROR> Vod on disk and vod in memory are not the same for h0llylp 2022-09-02 15:58:55.982 29 | channel <ERROR> Vod on disk and vod in main memory are not the same for h0llylp 2022-09-02 15:58:55.984 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_8 with no chapters!! 2022-09-02 15:58:55.984 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_8 (is_capturing set) 2022-09-02 15:58:55.987 29 | automator <INFO> Update game for h0llylp_202209_8 2022-09-02 15:58:55.988 29 | automator <SUCCESS> Channel data for h0llylp fetched from cache. 2022-09-02 15:58:55.988 29 | vodclass <WARNING> Saving JSON of h0llylp_202209_8 with no chapters!! 2022-09-02 15:58:55.989 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_8 (dt_capture_started set) 2022-09-02 15:58:55.989 29 | automator <INFO> Starting capture with filename h0llylp_202209_8.ts 2022-09-02 15:58:56.001 29 | automator <SUCCESS> Spawned process 78 for capture_h0llylp_202209_8 2022-09-02 15:58:56.002 29 | job <INFO> Save job capture_h0llylp_202209_8 with PID 78 to /usr/local/share/twitchautomator/data/cache/pids/capture_h0llylp_202209_8.json 2022-09-02 15:58:56.005 29 | vod.addChapter <INFO> Adding chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (The Last of Us Part I) to h0llylp_202209_8 2022-09-02 15:58:56.005 29 | chapter <WARNING> No next chapter or vod end time for chapter The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP (2022-09-02T13:55:35.855Z), duration will probably be 0. 2022-09-02 15:58:56.006 29 | vodclass <SUCCESS> Saving JSON of h0llylp_202209_8 (game update) 2022-09-02 15:58:56.014 29 | automator <SUCCESS> Stream updated on 'h0llylp' to 'The Last of Us Part I' (The Last of Us Part I - Tag 2 (PS5|GROUNDED) / Danke Sony! | @H0llyLP) using cache. 2022-09-02 15:58:57.285 29 | automator <INFO> Stream resolution for h0llylp_202209_8: 1080p60 2022-09-02 15:58:57.287 29 | automator <INFO> Capturing of h0llylp_202209_8, will try to remove ads! 2022-09-02 15:58:57.287 29 | automator <INFO> Streamlink now writing output to container.

Serph91P avatar Sep 02 '22 14:09 Serph91P

Looks like it moved the files itself somerwhere else and then starts to record again? error_log.txt

Serph91P avatar Sep 02 '22 14:09 Serph91P

is this happening for each chapter change? i could guess where something could go wrong

MrBrax avatar Sep 02 '22 14:09 MrBrax

pretty sure it happens because the check if the capture is running is made before the final name is created which is used for checking... gonna have to find a new way to identify the events - annoying because there's no id sent with them

MrBrax avatar Sep 02 '22 14:09 MrBrax

pretty sure it happens because the check if the capture is running is made before the final name is created which is used for checking... gonna have to find a new way to identify the events - annoying because there's no id sent with them

same error one master branch now? Stream is beeing recorded 2x image error.txt

Serph91P avatar Sep 08 '22 13:09 Serph91P

master branch does not support changing the template of vods, so that is not possible

MrBrax avatar Sep 08 '22 14:09 MrBrax

master branch does not support changing the template of vods, so that is not possible

well then its another error? Using this to record the streams I defnetly want it to record and only those two channel are added. They dont exist on my second docker(dev) or anything. image

Serph91P avatar Sep 08 '22 14:09 Serph91P

unless that was stuck and it's not recording right now, that's not possible on the master branch

MrBrax avatar Sep 08 '22 14:09 MrBrax

unless that was stuck and it's not recording right now, that's not possible on the master branch

its recording: image

Serph91P avatar Sep 08 '22 14:09 Serph91P

yeah can't explain that, impossible for the old version to have names like that

MrBrax avatar Sep 08 '22 14:09 MrBrax

yeah can't explain that, impossible for the old version to have names like that

But that's master branch and I can set the name here? Screenshot_20220908-175957

Serph91P avatar Sep 08 '22 16:09 Serph91P

wait did i actually push that to master? that seems careless :o

well, any bugs on master won't be fixed until it eventually merges

MrBrax avatar Sep 08 '22 16:09 MrBrax

wait did i actually push that to master? that seems careless :o

well, any bugs on master won't be fixed until it eventually merges

Xd well now it's 3 times recording. Screenshot_20220908-190131

Serph91P avatar Sep 08 '22 17:09 Serph91P

if you're still on the master branch it will continue to happen if you have changed the basename template

MrBrax avatar Sep 08 '22 17:09 MrBrax

if you're still on the master branch it will continue to happen if you have changed the basename template

Oh ok got it :D

Serph91P avatar Sep 08 '22 17:09 Serph91P