Closed vipermetcaff closed 4 years ago
hi there thanks for reporting the issue
local/temp/
folder in explorer, when ordered by date modified
to most recents
?Type in Explorer path:
%APPDATA%
, back of one folder and go to/Local/Temp/
%APPDATA% its been happening on every recording yes its showing the temp files in /local/temp i got it working
%APPDATA% its been happening on every recording yes its showing the temp files in /local/temp i got it working
can you explain the solution i have same issue
you have to give access to spytify to write in temp data, normally any app can do. Here are some stuff to try:
C:\
drive root (normally the app will have more rights after the move)You should see a .tmp
file being added to the most recents file in
YOUR_USER\AppData\Local\Temp\
@vipermetcaff @rock6663 let me know what worked so I can prevent this in the future
you have to give access to spytify to write in temp data, normally any app can do. Here are some stuff to try:
- make sure you don't run the app in the zip file, unzip it somewhere like your User/Desktop
- run the app as an admin
- this app has no certificate, so antivirus might block it from executing, make sure it is whitelisted
- try to move the app folder to
C:\
drive root (normally the app will have more rights after the move)You should see a
.tmp
file being added to the most recents file inYOUR_USER\AppData\Local\Temp\
@vipermetcaff @rock6663 let me know what worked so I can prevent this in the future
@jwallet i tried these it worked but i realised something it works but only when i dont do anything (surfing the web chatting from dc etc.) on pc. when i start to do something it gives same error again
is it because another app is requesting the sound card, maybe set the audio device as Virtual Audio Device
and output Spotify to the same one ?
Having same issue here, tried everything you suggested @jwallet . Didn't fix it Unlike @rock6663 even if I don't use my computer the error still persists. Something I would like to point out is that I am using the 'LastFM' API because the 'Spotify' API is not available for me to select (grayed out). Hope you can fix the issue soon.
still doing it to me
Recorder.cs#L119 new NAudio.WaveFileReader(_tempFile) look like it can't open the file because it is still locked, some report that they solve the issue using System Stream instead
Any suggestions on how do do that? the system stream. Not too familiar with that
if this happens for anyone, I will like to see the actual console logs, screenshots of settings you use, upload here the .tmp
files that you have, like shown above related to spytify apps (order by date - recents) and the song used that failed to save to mp3 https://open.spotify.com/search. My guess at the moment is a third party app that keep spytify from writing on the disk like anti-malware, anti-virus, looks like this issue does not hit all 3,000 ish users online right now.
Hey @jwallet , just wanted to let you know that this only affects my laptop, has no effects on my pc. my pc is more updated and kept away from apps that look shady, and the pc is using the latest windows updates. Both pc and laptop have default windows defender installed and do not have any third party anti virus installed. Thought this might help.
I also don't think this is an issue with Spytify, it is happening on other programs in Windows
I think the error literally states that it expected a WAVE file but got an mp3 file. I'm currently using the WAVE file export function and it's working
Yup it's confirmed you just need to select the WAVE file export. I don't program much so I can't fix the issue but I hope that the dev can fix it soon
p.s. Moving it to C drive even in windows programs doesn't make it work
Basically you can:
selecting wav format does not execute the same code, that's why it is working.
im useing an older version of spytify v1.2 with the vb audio Calbe and it works Great Havent Had Any Errors
im using an older version of spytify v1.2 with the vb audio Calbe and it works Great Havent Had Any Errors
Could you send the source code to me?
subscribe to this thread for those who have the issue, I'm gonna release here the debug version to see what could fix it. I can't reproduce the issue myself.
Also can someone add here, the header of a .tmp
file that Spytify created that failed. The path to a .tmp
file is shown in my .gif above, you can open it with notepad and copy the first 3 lines... or just paste the file in the Reply box here
Thanks
if you can screenshots the settings and advanced settings you were using, (cover/hide your outputh path)
it should log the error into the console
Hi jwallet, first thanks for your work on this app. I'll contribute with a translation soon.
I'm receiving the same WAVE header error message.
I tried just now using the "spytify-audio-writer" debug version you posted above, and receive the following error message on the log (output path has been blurred):
Error while recording: Unknown exception: tempFile used: F:\Users\username\AppData\Local\Temp\tmp84F9.tmp, track used: Zhavia Ward - All I Am, The byte stream type of the given URL is unsupported. (Exception from HRESULT: 0xC00D36C4)
Instead of a TEMP file, a failed MP3 output was created in the output folder. See attachment.
another one here: spytify-reset-position-without-flush.zip
This latest one (spytify-reset-position-without-flush.zip) is working fine for me. Managed to record about 10 songs without error messages, using the same settings as my previous post.
Offtopic: I finished the spanish translation for future versions.
I lied, apparently selecting wav still gets the error. I don't know how but it seems random, I managed to get about 20 songs before it crashed
I made a PR that applies https://github.com/jwallet/spy-spotify/issues/224#issuecomment-625019343 If you guys here confirm that this is the one that fix the issue you are having I will release a patch @I-Have-Bugs @vipermetcaff @rock6663
it should log the error into the console
Hi, I'm not a programmer so have no idea what half of this thread means but I signed up to let you know this link fixed the described problem for me, thank you. I will make sure to donate.
I made a PR that applies #224 (comment) If you guys here confirm that this is the one that fix the issue you are having I will release a patch @I-Have-Bugs @vipermetcaff @rock6663
Just as the user above, I signed up to say thanks! This fixed the no header issue for me. Just dropped it into C: drive and that's it, no antivirus exception or any other modification. Ill keep updated, thanks a lot.
Ok then I will release a patch and some other features that were in the pipes
Error Report
Application: Spytify
Version: 1.6.0.0
Region:
Date: 4/30/2020
Time: 11:37 PM
Error Message: Not a WAVE file - no WAVE header
Stack Traces
Assembly References
System Info