marcopeocchi / yt-dlp-web-ui

A terrible web ui for yt-dlp. Designed to be self-hosted.
Mozilla Public License 2.0
657 stars 67 forks source link

Runtime error on /exec API call #153

Closed nano9g closed 1 month ago

nano9g commented 1 month ago

Version running Docker latest sha256:ed1883dd95df0a641ecd5357e6a1a26e1899a2ad13fc727c35607fcb4672238d

Describe the bug Any time I try to start a download using the API, yt-dlp-web-ui crashes with “panic: runtime error: invalid memory address or nil pointer dereference”. It used to work fine, but one of the updates in the past few months seems to have broken something (I’m not sure exactly when it started, sorry.)

To Reproduce Steps to reproduce the behavior:

  1. Make a call to /exec as documented.
  2. yt-dlp-web-ui crashes and the container restarts.

Expected behavior The download starts instead of crashing.

Additional context Here’s the log.

Thanks for an awesome tool!