deepjyoti30 / ytmdl

A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
https://ytmdl.deepjyoti30.dev
MIT License
3.22k stars 164 forks source link

Ytmdl skipping meta without flags and deleting the downloaded file. #274

Closed R-Satwik closed 1 year ago

R-Satwik commented 1 year ago

Bug report

Version Info

How Ytmdl was installed?

pip command

Console Log

Console is skipping the flag --level DEBUG however, I uploaded the log.cat file here: https://cloudvyzor.com/logpad/?query&database=sandbox-472fb346885b081b62c053a24bbbe8b6

Description

Ytmdl command is skipping the meta and the file isn't even moving to the default users/music folder. Also, it's ignoring the flags like skip meta and level debug. it just shows: "Something went wrong with iTunes. The program will continue withthe other providers. Please check '[C:\Users\satwi.cache\ytmdl\logs\log.cat]' for more details. Couldn't read cache at: .cache Couldn't write token to cache at: .cache" And the console says it copied to my music folder, but it's nowhere to be seen.

R-Satwik commented 1 year ago

It seems that this problem is only specific to windows. it worked fine in linux. I think it's searching meta for the url instead of song name (I'm not sure, but thats what I got from the logs.) Anyway I just updated to the latest version, and this bug is only specific to this version, since I didn't have any problem with the last one.

The only temporary fix is to put --url tag infront of the url you put directly after ytmdl command. Eg: ytmdl --url https://music.youtube.com/watch?v=OYD-XNY_cDI

!!! ytmdl https://music.youtube.com/watch?v=OYD-XNY_cDI - This command will give you an itunes error and will not copy to your dest. folder.