-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Simple Youdao Translate] Fail to read words. #5366
Comments
Thank you for opening this issue! 🔔 @xeric you might want to have a look. 💡 Tip: Once the issue is resolved, comment |
Hi @hongzzz
The actual process of pronunciation is downloading the audio file and use afplay command to play it. |
Hey @xeric , I tried that both 1 and 2 were successful. But for 3, it can not be played. And I tried to open the file via IINA and Quicktime player, also failed |
Maybe the issue is related to downloading an MP3 file. |
@hongzzz Thanks for your information! |
@hongzzz yes, I feel there's something wrong with your youdao audio url accessing, but you said it works fine in your browser, right? If yes, means the behavior in browser and in Raycast they are different, did you setup any proxy or special DNS for your Raycast? or your browser has setup some proxy or DNS to make it work? |
Raycast is the same network env with my browser. |
That's tricky.
save it, run from raycast, check the output of the script command, I printed status code and content in this code. |
@xeric Thanks for your help. I just discovered the issue - I had not turned on the TTS function, which resulted in error code 110. |
oh, I see, I did not realize that the audio file is from the pronunciation link of API, I thought your case would run into fallback url, thanks for your feedback and glad to see it turn to work now. |
@raycastbot close this issue |
Extension
https://www.raycast.com/xeric/simple-youdao
Description
Error:
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response
The text was updated successfully, but these errors were encountered: