Some music videos with no album song version available seem to download as random songs.
TODO: Investigate and find the root cause. My suspicions lay in the audio counterpart logic.
2025-08-02 15:22:37,460: DEBUG: Fetching song info with album data for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-02 15:22:37,460: DEBUG: Fetching song info for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-02 15:22:38,044: DEBUG: Fetching album data for browseId: MPREb_08BnRyTLX5u
2025-08-02 15:22:38,839: DEBUG: Sleeping for 12 seconds...
2025-08-02 15:22:50,839: STATUS: Downloading song: 'Exciting Moods for Cats' (-mdahNe0mlI)...
2025-08-02 15:22:50,843: DEBUG: Downloading cover for 'Backdrop for Cats' (MPREb_08BnRyTLX5u) in format jpg
2025-08-02 15:22:51,138: DEBUG: Downloaded cover for 'Backdrop for Cats'
2025-08-02 15:22:51,138: DEBUG: Downloading Exciting Moods for Cats to /home/radu/media/Music/Library/Cat Music/Backdrop for Cats/7 - Exciting Moods for Cats.m4a
2025-08-02 15:22:51,138: DEBUG: Generated ytdlp_opts: {'format': '141/140', 'extractaudio': True, 'quiet': False, 'no_warnings': False, 'noprogress': False, 'outtmpl': '/home/radu/media/Music/Library/Cat Music/Backdrop for Cats/7 - Exciting Moods for Cats', 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a'}], 'cookiefile': '~/cookies.txt', 'ratelimit': 250000, 'extractor_args': {'youtube': {'player_client': ['default', 'web_music'], 'po_token': ['web_music.gvs+']}}}
2025-08-02 15:23:08,537: DEBUG: Downloaded Exciting Moods for Cats
2025-08-02 15:23:08,569: SUCCESS: Downloaded 'Exciting Moods for Cats' (-mdahNe0mlI)
--
2025-08-19 22:28:41,056: DEBUG: Fetching song info with album data for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-19 22:28:41,056: DEBUG: Fetching song info for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-19 22:28:41,536: DEBUG: Fetching album data for browseId: MPREb_2GKgzdy0YFZ
2025-08-19 22:28:42,272: DEBUG: Sleeping for 8 seconds...
2025-08-19 22:28:50,273: STATUS: Downloading song: 'I Adore You (feat. Daecolm)' (HoT5eWo8gVY)...
2025-08-19 22:28:50,275: DEBUG: Downloading cover for 'I Adore You (feat. Daecolm)' (MPREb_2GKgzdy0YFZ) in format jpg
2025-08-19 22:28:50,421: DEBUG: Downloaded cover for 'I Adore You (feat. Daecolm)'
2025-08-19 22:28:50,421: DEBUG: Downloading I Adore You (feat. Daecolm) to /home/radu/media/Music/Library/HUGEL/I Adore You (feat. Daecolm)/1 - I Adore You (feat. Daecolm).m4a
2025-08-19 22:28:50,421: DEBUG: Generated ytdlp_opts: {'format': '141/140', 'extractaudio': True, 'quiet': True, 'no_warnings': True, 'noprogress': True, 'outtmpl': '/home/radu/media/Music/Library/HUGEL/I Adore You (feat. Daecolm)/1 - I Adore You (feat. Daecolm)', 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a'}], 'cookiefile': '~/cookies.txt', 'ratelimit': 250000, 'extractor_args': {'youtube': {'player_client': ['default', 'web_music'], 'po_token': ['web_music.gvs+']}}}
2025-08-19 22:29:08,457: DEBUG: Downloaded I Adore You (feat. Daecolm)
2025-08-19 22:29:08,504: SUCCESS: Downloaded 'I Adore You (feat. Daecolm)' (HoT5eWo8gVY)
--
2025-08-19 23:13:43,024: DEBUG: Fetching song info with album data for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-19 23:13:43,024: DEBUG: Fetching song info for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-08-19 23:13:43,453: DEBUG: Fetching album data for browseId: MPREb_RAhT8FRLmFG
2025-08-19 23:13:43,992: DEBUG: Sleeping for 4 seconds...
2025-08-19 23:13:47,992: STATUS: Downloading song: 'Ode to the Turquoise Sea' (d6fxJuOrBQs)...
2025-08-19 23:13:47,994: DEBUG: Downloading cover for 'Island of Stars' (MPREb_RAhT8FRLmFG) in format jpg
2025-08-19 23:13:48,191: DEBUG: Downloaded cover for 'Island of Stars'
2025-08-19 23:13:48,191: DEBUG: Downloading Ode to the Turquoise Sea to /home/radu/media/Music/Library/Eventstellar/Island of Stars/1 - Ode to the Turquoise Sea.m4a
2025-08-19 23:13:48,191: DEBUG: Generated ytdlp_opts: {'format': '141/140', 'extractaudio': True, 'quiet': True, 'no_warnings': True, 'noprogress': True, 'outtmpl': '/home/radu/media/Music/Library/Eventstellar/Island of Stars/1 - Ode to the Turquoise Sea', 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a'}], 'cookiefile': '~/cookies.txt', 'ratelimit': 250000, 'extractor_args': {'youtube': {'player_client': ['default', 'web_music'], 'po_token': ['web_music.gvs+']}}}
2025-08-19 23:14:05,843: DEBUG: Downloaded Ode to the Turquoise Sea
2025-08-19 23:14:05,890: SUCCESS: Downloaded 'Ode to the Turquoise Sea' (d6fxJuOrBQs)
--
2025-09-12 10:59:06,248: DEBUG: Fetching song info with album data for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-09-12 10:59:06,248: DEBUG: Fetching song info for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-09-12 10:59:06,737: DEBUG: Fetching album data for browseId: MPREb_tRTru2Fa7ww
2025-09-12 10:59:07,342: DEBUG: Sleeping for 4 seconds...
2025-09-12 10:59:11,342: STATUS: Downloading song: 'Monsters' (bGMPohATVr4)...
2025-09-12 10:59:11,345: DEBUG: Downloading cover for 'Once Upon a Mind' (MPREb_tRTru2Fa7ww) in format jpg
2025-09-12 10:59:11,829: DEBUG: Downloaded cover for 'Once Upon a Mind'
2025-09-12 10:59:11,829: DEBUG: Downloading Monsters to /home/radu/media/Music/Library/James Blunt/Once Upon a Mind/4 - Monsters.m4a
2025-09-12 10:59:11,829: DEBUG: Generated ytdlp_opts: {'format': '141/140', 'extractaudio': True, 'quiet': False, 'no_warnings': False, 'noprogress': False, 'outtmpl': '/home/radu/media/Music/Library/James Blunt/Once Upon a Mind/4 - Monsters', 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a'}], 'cookiefile': '~/cookies.txt', 'ratelimit': 250000, 'extractor_args': {'youtube': {'player_client': ['default', 'web_music'], 'po_token': ['web_music.gvs+']}}}
2025-09-12 10:59:32,417: DEBUG: Downloaded Monsters
2025-09-12 10:59:32,444: SUCCESS: Downloaded 'Monsters' (bGMPohATVr4)
--
2025-09-20 23:53:56,110: DEBUG: Fetching song info with album data for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-09-20 23:53:56,110: DEBUG: Fetching song info for source: {'id': 'C5J7aJStZy8', 'type': 'watch', 'url': 'https://music.youtube.com/watch?v=C5J7aJStZy8'}
2025-09-20 23:53:56,659: DEBUG: Fetching album data for browseId: MPREb_bm2OVHnfVRW
2025-09-20 23:53:57,254: DEBUG: Sleeping for 4 seconds...
2025-09-20 23:54:01,254: STATUS: Downloading song: 'Cel mai fericit de pe pǎmânt' (SM-N4pmi73A)...
2025-09-20 23:54:01,257: DEBUG: Downloading cover for 'Cel mai fericit de pe pǎmânt' (MPREb_bm2OVHnfVRW) in format jpg
2025-09-20 23:54:01,434: DEBUG: Downloaded cover for 'Cel mai fericit de pe pǎmânt'
2025-09-20 23:54:01,434: DEBUG: Downloading Cel mai fericit de pe pǎmânt to /home/radu/media/Music/Library/rares/Cel mai fericit de pe pǎmânt/1 - Cel mai fericit de pe pǎmânt.m4a
2025-09-20 23:54:01,434: DEBUG: Generated ytdlp_opts: {'format': '141/140', 'extractaudio': True, 'quiet': False, 'no_warnings': False, 'noprogress': False, 'outtmpl': '/home/radu/media/Music/Library/rares/Cel mai fericit de pe pǎmânt/1 - Cel mai fericit de pe pǎmânt', 'postprocessors': [{'key': 'FFmpegExtractAudio', 'preferredcodec': 'm4a'}], 'cookiefile': '~/cookies.txt', 'ratelimit': 250000, 'extractor_args': {'youtube': {'player_client': ['default', 'web_music'], 'po_token': ['web_music.gvs+']}}}
2025-09-20 23:54:22,996: DEBUG: Downloaded Cel mai fericit de pe pǎmânt
2025-09-20 23:54:23,025: SUCCESS: Downloaded 'Cel mai fericit de pe pǎmânt' (SM-N4pmi73A)
Some music videos with no album song version available seem to download as random songs.
One example I've got so far is this video: https://music.youtube.com/watch?v=C5J7aJStZy8, which downloads with completely different metadata on every download, but the audio is the same.
TODO: Investigate and find the root cause. My suspicions lay in the audio counterpart logic.
Logs I've caught so far: