Announcements

Help Wizard

Step 1

NEXT STEP

Issue with storage option switching from SD Card to internal

Plan

Premium

Country

US 

Device

Moto X4

Operating System

Android Pie

 

My Question or Issue

 This happened with my last phone, Samsung S7 running Oreo (or whatever the most recent OS is) but it was fixed when I got the Moto X4. I like to keep a lot of songs downloaded offline because my service is terrible and I also spend a lot of time in the mountains. Before I I update my phone to the new Android Pie OS there was no problems. Now everytime I reset my phone I think spotify cannot see my SD card at first and tries to download all the music to its internal storage and I have to go back in and tell it to store it in the SD card. That is extremely annyoing but not the end of the world. What is really frustrating is that I think all of the downloaded songs are still on the SD card and just keep redownloading and taking up space. Eventually this will cause me to reformat the card which will be a major pain for me since I store a large amount of photos on there also. Is anyone else have this problem? I have already uninstalled and reinstalled the application so any other suggestions or help?

Hey there.

 

We just wanted to let you know that we've looked into this with the right folks now.

 

We are currently trying to resolve the issue. We don't have a timeframe for a fix, but we're really glad you let us know about this. If you have any other questions, just let us know!

 

Keep your app up-to-date and have a nice day 🙂

Comments
dgs2-q_s9hk3h
.... What exactly do you think this nanosleep is doing? Its holding the app
in sleep mode after the trigger is activated for a certain period of time
or a different trigger. The #include is a script that tells the kernel what
to do it's directly accessing the kernel. And yes linux is the kernel that
android (the GUI) runs on, or at least that's how it started the android
kernel has departed from that significantly but.....

the app(Spotify) would be asleep when this would need to be triggered or
not yet opened but the Spotify team can't add a script to control when it
opens. It would need to be added to the root system directory and have at
least partial root access in order to accomplish this....

Android could but🤷‍♂️

##- Please type your reply aboveground this line -##
ziul123

@dgs2-q_s9hk3h What are you talking about my friend? #include simply includes the declaration of the nanosleep syscall so your linker or loader can link to it later. Any user mode application can make use of system calls... that's the entire point of syscalls. If spotify calls the nanosleep syscall (or more accurately, calls some library function in whatever language it's written in that will then call nanosleep), it will sleep for that ammount of time, and then the OS will make it ready to execute again. Just as spotify can use the open, read and write syscalls, it can also use the nanosleep syscall.

dgs2-q_s9hk3h
re read what you just wrote... "if spotify calls the nanosleep...." we're
literally talking about a way to stop spotify from loading during the boot
process to give the sd card time to mount. in order for spotify to call a
nanosleep syscall (assuming it has permissions to call it at all) it has to
already be running and since the library search is part of the processes
start up routine by the time it can call a nanosleep syscall thats already
happened... you can add a pause into the startup routine by editing
/boot/loader.conf or /etc/rc.bootup or something similar but the spotify
team cant do that....
WillianWRM

@ziul123don't haste your time on @dgs2-q_s9hk3h, it will say it's an impossible thing to do even though other apps like Tidal, VLC and Poweramp works fine with SD.

Kazukini

I have this problem on my Galaxy a05s too. After rebooting the app loses the memory card and I have to download all the music again.

nhg41ny5

I'm also having this exact issue, Samsung Note10U, just got a new sd card for spotify, and now I'm completely baffled that spotify completely nukes 7gb of dowloads every time my phone restarts. Good thing I started with a small test.

Dear spotify, please don't kill my sd card, I know you have a tendency of leaving system breaking bugs for years, but it's never late, even if your bug is from 2019.

fugggoff1o1o1o1

It is absurd that this is still a issue for...? some? many? all?....

imho the root cause is this: the SD Card MUST! be ready before spotify is....or spotify waits a bit...But it is very hard as a user to have control over this.....it would be a SUUUper easy fix for spotify I guess...could be done in half a hour...but well...we stil discuss this over 48 pages and... maybe? already 10 years??

(I did not go through all the posts here.... I just post what has (so far...and hopefully permanently!) worked FOR ME)

Solution / my guess:
1) the device MUST! be secured somehow by PIN, Pattern, Fingerprint or Face ID
2) the SD Card should be formatted INSIDE the phone with the stock Android Tools

(a bit more in detail in the next post)

fugggoff1o1o1o1

*UPDATE* after it worked for some weeks..and 20 or more restart.the issue is here again so this does not help unfortunately (no updates happened or anything was done differently)!*
*UPDATE 2: maybe it still works/is stable if you just not start spotify immediately after a reboot (?) as it worked for me mostly so far.....but not always....maybe just 1)boot up and unlock the phone/device 2)wait a bit 3)then restart and use spotify)


I would recommend doing the following in the following order:


(*I have close to zero idea what steps really help > the goal is always (I think) to have the SD Card ready mounted and with file access/rights to it before Spotify starts up)
...but maybe better try to do it this way...?!! or try it out with a different/better SD Card

In case you do not want to do all steps:
my guess (...guess only!) is that the following things are most relevant:
a) have your device locked with fingerprint, face ID, patter or PIN b) have the SD Card formatted by the phone/Android System c) start from scratch with everything new/fresh
_____________________________________________________________________________

0) maybe you have this enabled anyway...but IN MY CASE having the device secured (via PIN / Lock pattern was the most (only?) relevant thing!..maybe?

1) go to Settings/Apps >then Spotify and clear Cache and Data there
2) (maybe do the same INSIDE the Spotify app too again) then uninstall Spotify
3) format the SD Card inside your device with the native Android Tools > so via Settings/Storage and Format it there
(my card was previously formatted with macOS Disc Utility as exFAT and contained only my folders first / Formatting the card IN the device did format the card as FAT32 AND! put already some default Android folders in there (Alarms, Android, DCIM, etc....it basically had the same/similar files and structure then as the internal storage)
4) maybe reboot now and see if the card mounts correctly
5) then install Spotify
6) maybe (hopefully) Spotify automatically defaults then to the SD card already...it seemed to be this way for me...
7) test, reboot a few times to see if this helps