spotitube icon indicating copy to clipboard operation
spotitube copied to clipboard

YouTube/Genius mismatch with no fallback

Open thief-sty opened this issue 10 months ago • 3 comments

For the song at https://open.spotify.com/track/6q6F7jNAtgVsEeAkreSJ5h the software seems to find the correct Genius lyrics but the wrong YouTube video (it currently finds this one: https://youtu.be/jntXoskAPL8 which is a different song by the same artist). This happens along with a "download failure:" error, then a "Error:" message with no clear explanation.

In general there should be a fallback for download failures so that one song failing to be downloaded doesn't prevent all further songs from being retrieved.

thief-sty avatar Jun 11 '25 00:06 thief-sty

If I get it right you reporting two different problems:

  1. Download failure: make sure you have yt-dlp and ffmpeg installed.
  2. Wrong YouTube video identified: running the same sync leads to the download of https://youtu.be/7JiRcfbOpxg. Although in my case it's right, YouTube returned results may vary on every run. I suggest to fix the specific case running sync with --manual flag and pass it the right YouTube URL.

streambinder avatar Jun 11 '25 12:06 streambinder

Thanks, your fix works. The only two things I finally find lacking are

  • documentation for the --manual flag
  • making it work with https://www.youtube.com/watch?v= URLs, but that's a nitpick

Thank you very much.

thief-sty avatar Jun 11 '25 13:06 thief-sty

Alright, thanks for your report. I'll make sure to include those :)

streambinder avatar Jun 11 '25 14:06 streambinder