KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
31.45k stars 1.3k forks source link

spotube (3.8.0)can't download songs on iOS 17.6.1 #1776

Open sren00-d opened 3 months ago

sren00-d commented 3 months ago

Is there an existing issue for this?

Current Behavior

spotube (3.8.0)can't download songs on iOS 17.6.1.

please find the log below. Thanks! IMG_0042

Expected Behavior

Able to download songs

Steps to reproduce

open the app;connect to spotify (YouTube is selected as source);then, not able to download any songs

Operating System

IOS 17.6.1

Spotube version

v3.8.0

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

Zthrowaway commented 1 month ago

I have a solution (workaround?) which also benefits the end user @KRTirtho: 17.0, installed with TS, (should have system perms, but oh well) and was having the errno 1 as well. (For nontechy people, basically the app doesn’t have permission to write the file) I noticed that it was trying to write in the [APP DATA]/ folder directly, instead of in [APP DATA]/Documents folder, which (if the Files app is supported) allows the user access to written files. (Again, the app should have access, but again, oh well)

Edit: I was a bit hasty in one thing. Who knew Apple phones don’t love symlinks like that? You can’t symlink all the folders to Documents, which I didn’t knew before. If you can move the download location in settings: That should work. If you can’t do that: Move the Downloads folder from [APP DATA]/Downloads to [APP DATA]/Documents/Downloads, that made it work. Make sure to symlink it too, if you’re the end user.