github ErrorFlynn/ytdlp-interface v1.6.4

latest releases: v2.14.1, v2.14.0, v2.13.3...
21 months ago

Changes

  • fixed a crash that happened when certain YouTube videos were added to the queue

I'll give a technical explanation for this crash, for any who may want it.

When a URL is added to the queue, the program uses yt-dlp.exe to get metadata for the media that the URL points to. The data produced by yt-dlp is in JSON format, so the program parses that data and gets useful info from it (like the media title). In the cases when this crash happens, the data contains an unexpected line at the end: yt_dlp\jsinterp.py:346: FutureWarning: Possible nested set at position 3, which is what causes the crash (I couldn't be bothered to catch exceptions from the JSON parser).

That line looks like the result of some kind of bug or issue with yt-dlp, and there's nothing I can do to prevent it from appearing as far as I know, so this version simply removes anything that may exist after the last } character in the JSON text, before giving the text to the JSON parser.

Don't miss a new ytdlp-interface release

NewReleases is sending notifications on new releases.