-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracks that are missing from the YouTube playlist don't appear in the "noresults" file #19
Comments
That is strange. How many videoIds do you have in l. 182 after running search_songs? You can add a breakpoint or debug print statement to find out. Perhaps also print out all the videoIds in case there is something strange going on. |
In Then in YouTube Music playlist contains 1512. I think it's either duplicate tracks or duplicate matches from songs that have similar names but different lengths? So maybe not an issue. I'll log the tracks names when there's a |
The Spotify playlist has duplicates (e.g. added from different region/language, or added by a different person). If I add the the number of missing and duplicate tracks I get what I expected. Since duplicates will be matched to the same YouTube Music track, I suggest logging them in The alternative is to remove duplicates from the Spotify playlist when it's first retrieved. But there are other tools to do that (eg. https://github.com/stavlocker/SpotifyNoDupes) if necessary. |
Edit: Nvm this is intentional behavior. Perhaps we should add a flag to include duplicates optionally, as it's not immediately apparent to the user |
My issue is that my "noresults" file is generated but it's empty, and I expect there to be 9 tracks. I'm using windows, running the "create" command from the "site-packages" folder. This happens with the "create" and "liked "commands (that I have tried so far). There are some tracks that are not found but don't appear in the "noresults" file. Which now that I test them separately it seems that they get matched to the wrong song. |
I'm getting this same issue, but i'm missing songs that aren't dupes. Nothing in the noresults file |
Encountered the same problem, Before transferring my liked songs from Spotify to YTM, I too, thought this was a duplicate problem. But you can't like a song twice on Spotify nor can you have duplicates there. So I suspect it skips some songs for other reasons. My noresults_youtube.txt is completely empty. So I have yet to figure out what songs it missed. |
I would go ahead and implement the suggestion by Lucas to dump duplicates in a separate file, since this keeps coming up |
My Spotify playlist has 1587 tracks. The YouTube playlist created has 1511. However, the "noresults" file only contains 4. I expect there to be 76.
Note: the playlist is named "1587" (the number of tracks) for convenience as I validate the transfer.
The text was updated successfully, but these errors were encountered: