MrBrax / LiveStreamDVR

An automatic livestream recorder
MIT License
309 stars 24 forks source link

VOD did not download at end of stream #502

Open nothing2obvi opened 3 months ago

nothing2obvi commented 3 months ago

Describe the bug VOD did not download.

To Reproduce Steps to reproduce the behavior:

  1. Set channel to download VOD at end of stream (Note: I did add this channel while this stream was already live. Then I restarted the container.)
  2. VOD does not download.

Expected behavior VOD should download.

Screenshots Screen Shot 2024-03-16 at 1 21 49 AM

Logs

2024-03-16 00:47:41 | automator.end | info | Stream end
-- | -- | -- | --
2024-03-16 00:47:41 | automator.end | info | Stream offline for arilyna
2024-03-16 00:47:41 | clientBroker.notify | info | (streamOffline) arilyna has gone offline!:
2024-03-16 00:47:41 | clientBroker.notify | warn | No body specified
2024-03-16 00:47:41 | automator.end | warn | Stream offline notification for arilyna but channel is not capturing.
2024-03-16 00:47:41 | route.channels.download | error | Failed to fetch video data: GQL requests are disabled. Check your config.
2024-03-16 00:47:41 | tw.vod.downloadVideo | info | Prepare to download VOD 2092207347
2024-03-16 00:47:41 | tw.vod.downloadVideo | info | Downloading VOD 2092207347...
2024-03-16 00:47:42 | helper.execAdvanced | success | Spawned process 88 for download_vod_2092207347
2024-03-16 00:47:42 | job.save | info | Save job download_vod_2092207347 with PID 88 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_2092207347.json
2024-03-16 00:47:42 | helper.execAdvanced | info | Attached to all streams for process 88 for download_vod_2092207347
2024-03-16 00:47:43 | job.clear | info | Clear job download_vod_2092207347 with PID 88
2024-03-16 00:47:43 | job.clear | success | Job download_vod_2092207347 removed from jobs list
2024-03-16 00:47:43 | helper.execAdvanced | error | Process 88 for download_vod_2092207347 exited with code 1
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.vodBasenameTemplate | error | Invalid start date:
2024-03-16 00:47:43 | automator.getStartDate | error | No start date for arilyna
2024-03-16 00:47:43 | automator.getVodID | error | No VOD ID for arilyna
2024-03-16 00:47:43 | automator.end | error | Error downloading VOD at end: {year}.{month}.{day}_Arilyna_π•§π•šπ••π•–π• π•˜π•’π•žπ•– π•žπ•¦π•€π•šπ•” πŸŒ™ !HelloFresh_[false] (Failed to download vod: Process 88 for download_vod_2092207347 exited with code 1)

Server:

MrBrax commented 3 months ago

it seems like that video is deleted, are you sure it existed when the stream ended?

nothing2obvi commented 3 months ago

Thank you for your quick reply.

Interesting. No, I am not sure that it existed when the stream ended. I'm new to LiveStreamDVR, so I'll see how it goes with a livestream that's currently happening (with a different streamer) and let you know if the problem persists.

That does point out to me the advantage of capturing rather than downloading once the stream is over, though.

nothing2obvi commented 3 months ago

@MrBrax

It did it again. This time I can see that the livestream is indeed available. I just noticed the error about not having GQL enabled. The message advises to do it at my own risk, so I didn't enable it. But would that solve my problem?

2024-03-16 22:26:38 | clientBroker.notify | warn | No body specified
-- | -- | -- | --
2024-03-16 22:26:38 | automator.end | warn | Stream offline notification for sashagrey but channel is not capturing.
2024-03-16 22:26:38 | route.channels.download | error | Failed to fetch video data: GQL requests are disabled. Check your config.
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Prepare to download VOD 2092956221
2024-03-16 22:26:57 | tw.vod.downloadVideo | info | Downloading VOD 2092956221...
2024-03-16 22:26:57 | helper.execAdvanced | success | Spawned process 103 for download_vod_2092956221
2024-03-16 22:26:57 | job.save | info | Save job download_vod_2092956221 with PID 103 to /usr/local/share/twitchautomator/data/cache/pids/download_vod_2092956221.json
2024-03-16 22:26:57 | helper.execAdvanced | info | Attached to all streams for process 103 for download_vod_2092956221
2024-03-16 22:26:59 | job.clear | info | Clear job download_vod_2092956221 with PID 103
2024-03-16 22:26:59 | job.clear | success | Job download_vod_2092956221 removed from jobs list
2024-03-16 22:26:59 | helper.execAdvanced | error | Process 103 for download_vod_2092956221 exited with code 1
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.vodBasenameTemplate | error | Invalid start date:
2024-03-16 22:26:59 | automator.getStartDate | error | No start date for sashagrey
2024-03-16 22:26:59 | automator.getVodID | error | No VOD ID for sashagrey
2024-03-16 22:26:59 | automator.end | error | Error downloading VOD at end: {year}.{month}.{day}_sashagrey_COSPLAY !POBOX UNBOXING !TTS !PATREON_[false] (Failed to download vod: Process 103 for download_vod_2092956221 exited with code 1)
MrBrax commented 3 weeks ago

is it still broken? this could have been streamlink being out of date

nothing2obvi commented 3 weeks ago

I'll have to find some time to test it out. I kind of gave up so I haven't used it. Will report back.