Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOD ID already exists #504

Open
Serph91P opened this issue Apr 15, 2024 · 5 comments
Open

VOD ID already exists #504

Serph91P opened this issue Apr 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Serph91P
Copy link

Describe the bug
getting alot of streams not beeing recorded. the log says that VOD ID already exists.

To Reproduce
Steps to reproduce the behavior:
Dunno how maybe its because it has been running for over a year.

Expected behavior
All vods get recorded

Logs

2024-04-14T16:06:28.435Z | automator.handle <info> Automator stream.online event for gronkh (retry 0)
2024-04-14T16:06:28.442Z | automator.handle <info> gronkh stream has ID 42242096984, started 2024-04-14T16:06:13Z
2024-04-14T16:06:28.444Z | clientBroker.notify <info> (streamOnline) gronkh is live!: Just Chatting
Nächster Stream vsl. Sonntag. Kommt gut durchs Wochenende und bis dahin ⭐ 24/7 auf @GronkhTV ⭐ !shop !comic !archiv
2024-04-14T16:06:28.446Z | automator.download <error> VOD ID already exists for gronkh
2024-04-14T16:06:28.449Z | tw.channel.createVOD <info> Create VOD JSON for gronkh: GRONKH2024 - s202404e07.json @ /usr/local/share/twitchautomator/data/storage/vods/gronkh/Season 202404
2024-04-14T16:06:28.449Z | vod.saveJSON <success> Saving JSON of GRONKH2024 - s202404e07  (create json)
2024-04-14T16:06:28.450Z | vod.setupAssoc <error> No chapters on GRONKH2024 - s202404e07!
2024-04-14T16:06:28.451Z | vod.saveJSON <warn> Saving JSON of GRONKH2024 - s202404e07 with no chapters!!
2024-04-14T16:06:28.451Z | vod.saveJSON <success> Saving JSON of GRONKH2024 - s202404e07  (is_capturing set)
2024-04-14T16:06:28.451Z | automator.download <info> Update game for GRONKH2024 - s202404e07
2024-04-14T16:06:28.452Z | vod.addChapter <info> Adding chapter Nächster Stream vsl. Sonntag. Kommt gut durchs Wochenende und bis dahin ⭐ 24/7 auf @GronkhTV ⭐ !shop !comic !archiv (Just Chatting) to GRONKH2024 - s202404e07
2024-04-14T16:06:28.452Z | chapter.calculateDurationAndOffset <warn> No next chapter or vod end time for chapter Nächster Stream vsl. Sonntag. Kommt gut durchs Wochenende und bis dahin ⭐ 24/7 auf @GronkhTV ⭐ !shop !comic !archiv (2024-04-13T02:11:34.143Z), duration will probably be 0.
2024-04-14T16:06:28.452Z | vod.saveJSON <success> Saving JSON of GRONKH2024 - s202404e07  (game update)
2024-04-14T16:06:28.453Z | automator.updateGame <success> Stream updated on 'gronkh' to 'Just Chatting' (Nächster Stream vsl. Sonntag. Kommt gut durchs Wochenende und bis dahin ⭐ 24/7 auf @GronkhTV ⭐ !shop !comic !archiv) using cache.
2024-04-14T16:06:28.453Z | clientBroker.notify <info> (streamStatusChange) GRONKH is now streaming Just Chatting!: Nächster Stream vsl. Sonntag. Kommt gut durchs Wochenende und bis dahin ⭐ 24/7 auf @GronkhTV ⭐ !shop !comic !archiv
2024-04-14T16:06:28.454Z | vod.saveJSON <success> Saving JSON of GRONKH2024 - s202404e07  (dt_capture_started set)
2024-04-14T16:06:28.454Z | automator.captureVideo <info> Starting capture with filename GRONKH2024 - s202404e07.ts
14.04.2024
18:06:28
startJob process /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink [
14.04.2024
18:06:28
  '/home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink',
14.04.2024
18:06:28
  '--hls-live-edge',
14.04.2024
18:06:28
  '99999',
14.04.2024
18:06:28
  '--stream-timeout',
14.04.2024
18:06:28
  '200',
14.04.2024
18:06:28
  '--stream-segment-timeout',
14.04.2024
18:06:28
  '200',
14.04.2024
18:06:28
  '--hls-segment-queue-threshold',
14.04.2024
18:06:28
  '3',
14.04.2024
18:06:28
  '--stream-segment-threads',
14.04.2024
18:06:28
  '5',
14.04.2024
18:06:28
  '--ffmpeg-fout',
14.04.2024
18:06:28
  'mpegts',
14.04.2024
18:06:28
  '--twitch-disable-hosting',
14.04.2024
18:06:28
  '--twitch-disable-reruns',
14.04.2024
18:06:28
  '--retry-streams',
14.04.2024
18:06:28
  '10',
14.04.2024
18:06:28
  '--retry-max',
14.04.2024
18:06:28
  '5',
14.04.2024
18:06:28
  '-o',
14.04.2024
18:06:28
  '/usr/local/share/twitchautomator/data/storage/vods/gronkh/Season 202404/GRONKH2024 - s202404e07.ts',
14.04.2024
18:06:28
  '--url',
14.04.2024
18:06:28
  'https://twitch.tv/gronkh',
14.04.2024
18:06:28
  '--default-stream',
14.04.2024
18:06:28
  'best'
14.04.2024
18:06:28
]
14.04.2024
18:06:28
2024-04-14T16:06:28.458Z | exec.startJob <info> Executing /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2/bin/streamlink --hls-live-edge 99999 --stream-timeout 200 --stream-segment-timeout 200 --hls-segment-queue-threshold 3 --stream-segment-threads 5 --ffmpeg-fout mpegts --twitch-disable-hosting --twitch-disable-reruns --retry-streams 10 --retry-max 5 -o /usr/local/share/twitchautomator/data/storage/vods/gronkh/Season 202404/GRONKH2024 - s202404e07.ts --url https://twitch.tv/gronkh --default-stream best
14.04.2024
18:06:28
2024-04-14T16:06:28.458Z | exec.startJob <success> Spawned process 13063 for capture_gronkh_42242096984
14.04.2024
18:06:28
2024-04-14T16:06:28.459Z | job.save <info> Save job capture_gronkh_42242096984 with PID 13063 to /usr/local/share/twitchautomator/data/cache/pids/capture_gronkh_42242096984.json
14.04.2024
18:06:28
2024-04-14T16:06:28.460Z | exec.startJob <info> Attached to all streams for process 13063 for capture_gronkh_42242096984
14.04.2024
18:06:28
2024-04-14T16:06:28.460Z | automator.captureVideo <success> Spawned process 13063 for capture_gronkh_42242096984
14.04.2024
18:06:28
192.168.4.1 - - [14/Apr/2024:16:06:28 +0000] "POST /api/v0/hook/twitch HTTP/1.1" 200 0 "-" "Go-http-client/1.1"
14.04.2024
18:06:29
2024-04-14T16:06:29.486Z | automator.captureTicker <info> Stream resolution for GRONKH2024 - s202404e07: 936p60
14.04.2024
18:06:29
2024-04-14T16:06:29.486Z | automator.captureTicker <warn> Stream resolution 936p60 assumed to not be in channel quality list
14.04.2024
18:06:29
2024-04-14T16:06:29.486Z | automator.captureTicker <info> Streamlink now writing output to container.
14.04.2024
18:24:03
2024-04-14T16:24:03.409Z | automator.captureTicker <info> Closing currently open stream for GRONKH2024 - s202404e07!
14.04.2024
18:24:03
2024-04-14T16:24:03.441Z | automator.captureVideo <error> Job capture_gronkh_42242096984 exited with code 1, signal null
14.04.2024
18:24:03
2024-04-14T16:24:03.441Z | job.clear <info> Clear job capture_gronkh_42242096984 with PID 13063
14.04.2024
18:24:03
2024-04-14T16:24:03.441Z | job.clear <success> Job capture_gronkh_42242096984 removed from jobs list
14.04.2024
18:24:03
2024-04-14T16:24:03.442Z | automator.captureVideo <error> Capture GRONKH2024 - s202404e07 failed
14.04.2024
18:24:03
2024-04-14T16:24:03.442Z | exec.startJob <error> Process 13063 for capture_gronkh_42242096984 closed with code 1
14.04.2024
18:24:03
2024-04-14T16:24:03.442Z | job.clear <warn> Job capture_gronkh_42242096984 not found in jobs list
14.04.2024
18:24:03
2024-04-14T16:24:03.442Z | automator.download <fatal> Failed to capture video: undefined
14.04.2024
18:24:03
2024-04-14T16:24:03.442Z | vod.saveJSON <success> Saving JSON of GRONKH2024 - s202404e07  (capture fail)

Server:

  • Docker

Additional context
Dunno what else to add.

@Serph91P Serph91P added the bug Something isn't working label Apr 15, 2024
@MrBrax
Copy link
Owner

MrBrax commented Apr 15, 2024

i'll update streamlink, could be too outdated

do you mean the capturing has been stuck for a very long time or that your server has been up for that long?

@Serph91P
Copy link
Author

i'll update streamlink, could be too outdated

do you mean the capturing has been stuck for a very long time or that your server has been up for that long?

the server has been up for that long :)

@MrBrax
Copy link
Owner

MrBrax commented Apr 15, 2024

i would probably suggest to restart at least livestreamdvr in that time, i've noticed some dumping stuff getting stuck

new updated build is being pushed to main

@Serph91P
Copy link
Author

i would probably suggest to restart at least livestreamdvr in that time, i've noticed some dumping stuff getting stuck

new updated build is being pushed to main

I restarted it from time to time but only like on a monthly basis.

Thanks for the quick response.

@MaddoScientisto
Copy link

I had this happen the other day, the stream lagged after 40 minutes and capture ended, when it tried to restart the log said VOD ID already exists and did not record anything, can we get another streamlink update? It seems version 7.0.0 is out now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants