Open coolapso opened 3 weeks ago
seems to be an issue with the channel in particular, same code sames to return correct result:
☸ virt01 ❯go run main.go
Video Title: acoustic show prep + horror score | ORLANDO SHOW NOVEMBER 8TH!! | !bfmvtrv !charityevent !jtcsale 2024-11-04T14:02:24Z live
Video Title: Steel 2024-11-03T14:05:52Z none
Video Title: @matthewkheafy - @trivium- 'The Heart From Your Hate' Acoustic Cover 2024-11-02T14:45:00Z none
Video Title: The Immortal 2024-11-02T14:32:25Z none
Video Title: Let’s talk lights 2024-10-29T15:31:13Z none
Video Title: Metal Musician Reacts - 'Watch The World Burn' Acoustic Cover by @LeaMoonchild 2024-10-19T14:30:31Z none
Video Title: I’m back 2024-10-14T13:19:50Z none
Video Title: Life lately am I right? 2024-10-12T15:17:58Z none
Video Title: Remnant 2 x Matt Heafy I Spire Of The Hellspawn 2024-10-10T16:00:39Z none
Video Title: Brave this rain 2024-10-09T13:23:54Z none
Video Title: Brrr brrr brrrrr 2024-09-29T12:24:52Z none
Video Title: Tree pose downpick 2024-09-23T12:21:45Z none
Video Title: PLANKTON - DYING IN YOUR ARMS (Trivium Cover) 2024-09-21T16:00:17Z none
Video Title: Stream deck studio 2024-09-20T12:05:23Z none
Video Title: Scream like dad 2024-09-12T13:10:32Z none
Suspect this may be caused by the livestream not being the most recent video.
This seems to be caused by the "Unlist live replay once stream ends"
If turned on while stream is active, makes the output return to "none" If turned on when starting the stream, makes the output return "upcoming"
"unlist live replay once stream ends" needs to be turned of for the exporter to properly get the stream status.
Seems that youtube API stopped marking the videos as LiveBroadCast content and the VideoSnippet now returns active broadcast videos as "none"
Sample listing all channel videos:
Maybe should investigate changing the authentication method to OAUTH and use the LiveBroadcast api:https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/list