glomatico / gytmdl

A Python CLI app for downloading YouTube Music songs with tags from YouTube Music.
109 stars 13 forks source link

Fix missing "track" tag in response from YouTube #16

Closed ov1d1u closed 5 months ago

ov1d1u commented 10 months ago

I encountered some tracks having no "track" tag in the response from Dl.get_tags. Because the app relies on having this tag (when determining the filename), for this cases I added a fake track number immediately after retrieving the tags.

An example of a song without a "track" tag: https://music.youtube.com/watch?v=PsXNBR-zIww