Skip to content
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

no file #262

Open
charlesRivias opened this issue Mar 3, 2023 · 7 comments
Open

no file #262

charlesRivias opened this issue Mar 3, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@charlesRivias
Copy link

after download no files exist in dir

Downloaded!
==> Getting song data for https://music.youtube.com/watch?v=o_ryMz8OLxY...
==> Something went wrong with iTunes. The program will continue withthe other providers. Please check '[C:\Users\RAVIXVI.cache\ytmdl\logs\log.cat]' for more details.
Couldn't read cache at: .cache
Couldn't write token to cache at: .cache
==> Moved to D:...
==> Done

@charlesRivias charlesRivias added the bug Something isn't working label Mar 3, 2023
@user666acid
Copy link

user666acid commented Mar 5, 2023

Same issue

Looks like the file gets saved in temp directory first (something like .cache) but then just disappears (when in fact it should be moved to default directory) . I managed to save a copy manually while the original file still existed. Then it disappeared and i was left with the copy only which is kind of a workaround..

@deepjyoti30
Copy link
Owner

@pimpmobile01 Are you able to reproduce the issue on a Linux machine or is it an Windows machine? @charlesRivias seems to be using Windows.

I just confirmed and this issue is not producable on Linux. I think it's specific to Windows.

@charlesRivias
Copy link
Author

yes im using Windows is there any fix

@PanConKisu
Copy link

I got the same issue and I fixed it by myself
If you are tryng to download a song directly by the youtube link, use the --url flag

example: ytmdl --url https://www.youtube.com/watch?v=7MCoMI0I5IU

(sorry if my english is bad, spanish is my main language and im too lazy to use a translator.)

@PanConKisu
Copy link

PanConKisu commented Mar 26, 2023

oh and use the --skip-meta flag to avoid the Something went wrong with iTunes. thing.

@R-Satwik
Copy link

R-Satwik commented Jun 8, 2023

Yes, only put --url infront of the actual url. Its searching for the metadata of url instead of song name (which returns an error)
eg: ytmdl --url URL

if you dont put --url, it will ignore all the flags after the url and returns an itunes error and will delete your file

@deepjyoti30
Copy link
Owner

There are two issues here.

  1. itunes failing. This is a bug though I am unable to reproduce it on both Mac and Linux at the moment, I have seen this issue before happen a few times. Most of the times, it goes away on it's own without any fix being required. This issue is not thrown if --skip-meta is used because itunes is part of the metadata step.
  2. While moving the file from .cache to the users current directory (or the music directory) the token error is showing up which is making ytmdl unusable.

Since I am unable to reproduce this atm, can one of you confirm if the 2nd issue still shows up if --skip-meta is used. If not than that would confirm that the 2nd issue only shows up when the 1st issue does and only in Windows systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants