-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot find second file download #470
Comments
This has probably been caused by the merge of #459. I'll take a look soon. I'm amazed something like this wasn't caught by our test suite. We'll also need to add a regression test once this is fixed. |
Thanks. That sounds like a good path forward :) |
#475 should fix this but I'll keep this open to serve a reminder to add a regression test. |
I have the same issue. |
|
@ritiek Awesome, thanks! |
Hi, I have this issue as well, and I have installed the latest spot-dl from @jvolker 's post above, but still get this odd error. Any solutions? |
Can confirm I'm also having this issue intermittently on the latest build |
I am also having this issue |
Also seeing this issue with quite a few songs, and not only for playlists as per OP. It's always the same songs causing it though, here's an example that reliably does it for me: |
Also having this error
|
For me, running |
Shouldn't be an issue in v3. I know it's late, just clearing out old issues. |
What is the purpose of your issue?
Description
While downloding a --list, the second song gets downloaded, but remains in a .temp extention file and cannot by found by the script as it does not have the mp4 extention to be converted from.
Log
DEBUG: Opening URL: https://www.youtube.com/results?sp=EgIQAQ%253D%253D&q=Florence%20%2B%20The%20Machine%20-%20Ship%20To%20Wreck%20lyrics
INFO: 2. Florence & The Machine ~ Ship To Wreck Lyrics (http://www.youtube.com/watch?v=u6VuGNJUYLc)
DEBUG: Refining songname from "Florence & The Machine ~ Ship To Wreck Lyrics" to "Florence The Machine - Ship To Wreck"
DEBUG: Cleaning any temp files and checking if "Florence The Machine - Ship To Wreck" already exists
DEBUG: Downloading from URL: https://r1---sn-x0gvfxc-vu2e.googlevideo.com/videoplayback?requiressl=yes&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&dur=237.052&ei=iKQ1XM2vMsLcgAfb2oagDg&itag=140&mime=audio%2Fmp4&expire=1547041001&fvip=2&lmt=1540632706354560&clen=3765621&source=youtube&mv=m&id=o-AKhuhetGmacQWi5b3GoKnWcg4A3NabMBLeGOdavnGZ3c&mn=sn-x0gvfxc-vu2e%2Csn-c0q7lnly&mm=31%2C29&txp=5432432&pl=24&keepalive=yes&c=WEB&key=yt6&ip=194.126.146.46&ms=au%2Crdu&ipbits=0&initcwndbps=4175000&gir=yes&mt=1547019290&signature=32BCEB725689FC68DC639BF2D26809AA5F476E79.8A55D20BFDD07DB7EDE7E8CAF97810A3B94FB799&ratebypass=yes
DEBUG: Saving to: C:\Users\user\Music\Florence The Machine - Ship To Wreck.m4a
3,765,621 Bytes [100.00%] received. Rate: [16264 KB/s]. ETA: [0 secs]
INFO: Correcting container in "Florence The Machine - Ship To Wreck.m4a"
DEBUG: Input file and output file are going will be same during encoding, will append ".temp" to input file just before starting encoding to avoid conflict
DEBUG: ['ffmpeg', '-y', '-i', 'C:\Users\user\Music\Florence The Machine - Ship To Wreck.m4a.temp', '-acodec', 'copy', '-b:a', '192k', '-vn', 'C:\Users\user\Music\Florence The Machine - Ship To Wreck.m4a']
WARNING: Could not find ffmpeg, skipping conversion
INFO: Applying metadata
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\mutagen_util.py", line 235, in _openfile
fileobj = open(filename, "rb+" if writable else "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\user\Music\Florence The Machine - Ship To Wreck.m4a'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\user\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\user\AppData\Local\Programs\Python\Python37-32\Scripts\spotdl.exe_main.py", line 9, in
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\spotdl.py", line 62, in main
match_args()
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\spotdl.py", line 38, in match_args
list_dl.download_list()
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\downloader.py", line 196, in download_list
return self._download_list()
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\downloader.py", line 205, in _download_list
track_dl.download_single()
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\downloader.py", line 114, in download_single
return self._download_single(songname)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\downloader.py", line 137, in _download_single
os.path.join(const.args.folder, output_song), self.meta_tags
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\metadata.py", line 33, in embed
return embed.as_m4a()
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\spotdl\metadata.py", line 106, in as_m4a
audiofile = MP4(music_file)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\mutagen_file.py", line 49, in init
self.load(*args, **kwargs)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\mutagen_util.py", line 139, in wrapper
writable, create) as h:
File "c:\users\user\appdata\local\programs\python\python37-32\lib\contextlib.py", line 112, in enter
return next(self.gen)
File "c:\users\user\appdata\local\programs\python\python37-32\lib\site-packages\mutagen_util.py", line 256, in _openfile
raise MutagenError(e)
mutagen.MutagenError: [Errno 2] No such file or directory: 'C:\Users\user\Music\Florence The Machine - Ship To Wreck.m4a'
The text was updated successfully, but these errors were encountered: