Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Can't add song to playlist #765

Open
peyer221111 opened this issue Nov 1, 2019 · 16 comments
Open

Can't add song to playlist #765

peyer221111 opened this issue Nov 1, 2019 · 16 comments

Comments

@peyer221111
Copy link

Can't add song to playlist

Device info:

App version1.3.1
App version code175
Android build version00WW_4_15B
Android release version10
Android SDK version29
Android build ID00WW_4_15B
Device brandNokia
Device manufacturerHMD Global
Device namePNX_sprout
Device modelNokia 8.1
Device product namePhoenix_00WW
Device hardware nameqcom
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]
@aharish
Copy link

aharish commented Nov 5, 2019

Can you go into a bit more detail please?

@VidiviciVeni
Copy link

Can you go into a bit more detail please?

I can verify that this is a real issue that the OP, as well as multiple other users have recently reported having. I noticed it at least a month or so ago, and I cannot add nor even edit songs to any playlists.

Here are the details from a post I did about it on reddit (that unfortunately got no traction)...

Is Android and/or Android Music blocking my preferred music apps from editing my music playlists???

So, as we all know, for a while now, Android and/or GPM has been the centralized system for music playlists, including 'Favorites' playlists. This was annoying at first, having lost my playlists in the process, but it's been nice to have a unified system-wide playlist that would share across all apps.

My preferred music app, for years, now, has been Phonograph.

So this has never seemed to be an issue except for at some point in the last few months. This has definitely been an issue more recently, as I previously, from when I remember initially having this issue, chalked it up to either not-quite-remembering if I actually added the songs to my favorites playlists, to after a while thinking it was some glitch in the app that seemed to not always do it, to eventually realizing it was always happening.

Recently I got fed up, and downloaded two more music apps (Player Pro and Pulsar) to test out and find a common denominator with the issue. Upon trying to add or edit songs in playlists and favorites in these two apps, like in Phonograph, they wouldn't permanently stick. Just like with Phonograph, I'd add to a playlist, and while in the app, they'd show up in said playlist. If I swipe away or even 'force stop' the app, and load them back up, the songs would stay in favorites. However, once I restarted the phone, the songs I just added would no longer show up in the favorites list.

So this was clearly a system-wide issue and not merely a single third-party app issue.

This is also why it took so long to fully realize the issue, as I'd often just keep my phone charged and rarely actually restart my phone.

Okay, so is it a glitch with the system playlists or something more... Sinister? Well, guess which app whenever I load up and add a song to favorites where the favorites list stays updated with the newly added song? You guessed it -- fucking Android music. I dislike this music playing app for multiple reasons and strongly prefer any of these others, but this sealed the issue and makes me refuse to want to use it even more.

Does anyone know why this is happening? Was there an 'update' or 'feature' that rolled out that anyone is familiar with that caused this? Is there a workaround? Is it a simple and fixable issue that lays this all at the feet of my ignorance?

Device info:

App version1.3.1
App version code175
Android build version5974827
Android release version10
Android SDK version29
Android build IDQQ1A.191205.008
Device brandgoogle
Device manufacturerGoogle
Device nametaimen
Device modelPixel 2 XL
Device product nametaimen
Device hardware nametaimen
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]

@Aulig
Copy link

Aulig commented Dec 29, 2019

Same issue here on android 10 & version 1.3.2. Can't add any songs to playlists, no matter if creating a new playlist or adding one or multiple songs to an existing one. Also m3u files in the Playlist folder are no longer recognized.

@danwin23
Copy link

Same issue here. I'm able to create the favorites playlist but not able to add any songs to it. When I try to save the playlist as a file I get this error maybe this is helpful to you
Screenshot_20200122-222255_Phonograph

@shiomax
Copy link

shiomax commented Jan 27, 2020

I would guess this is connected to this issue
https://issuetracker.google.com/issues/147619577

Im facing the same problem on my oneplus 6.

If you have your music on internal storage it supposedly works. Would have to do further testing on this. Though I have an android 10 emulator where it does work. I just dont know for sure why.

Facing the same issue in a music synchonization app im working on. It also cannot create playlists on my oneplus 6 (well... it creates them it just fails to add anything afterwards). Everything is fine on the emulator again.

The EACCESS on the m3u file should be a different issue, though.

@aharish
Copy link

aharish commented May 29, 2020

Google says the issue has been fixed and will be available in a future Android release.

@cauerego
Copy link

cauerego commented Nov 8, 2020

@aharish except it's still broken! 😭

some forks like retro and oto have fixed it by using saf and private storage... (still wished MaxFour/Music-Player#88 (comment) could have fixed it, though)

android 11 also seem to have fixed it...

so annoying!

@jwhleung
Copy link

I've been having this problem as well. However, I noticed that moving my songs from my SD card to my internal storage fixed the problem. I've tried using another SD card, but it's the same issue. I only have like 20 GB of songs, but I'm not about to move them out of an SD card I specifically bought to store them just to fix this issue.

@aharish
Copy link

aharish commented Nov 18, 2020

@jwhleung What phone and what OS are you using?

@jwhleung
Copy link

@aharish I'm on an S9+ running Android 10.

@aharish
Copy link

aharish commented Nov 18, 2020

@aharish I'm on an S9+ running Android 10.

I had all the songs on my internal storage on my Mi A1 running Android 10 when I last came across this issue. It didn't detect the playlist when I tried adding a song however. I no longer have that phone, but will try it out on my current one and see if this issue still persists

@jwhleung
Copy link

jwhleung commented Nov 19, 2020

@aharish

I just tried it on my mom's phone (Moto G Fast, Android 10) and ran into the same issue. Playlist works when music is on internal storage, and it doesn't work when it's on an SD card. Not familiar at all with Android though, so that's about as much insight I can provide. Also, I'm not getting any error code at all. When I try to add a song from the SD card, it just closes the dialog but doesn't display anything else. When I successfully add from internal storage, it at least tells me that the song was successfully added to the playlist.

@aharish
Copy link

aharish commented Nov 22, 2020

So if I can recall what the specific issue is, it has to do with a bug on the implementation of MediaStore on Android 10. I haven't really dabbled with Android development in about 2 years however, so my memory about the specificity of this issue might be a bit off.

I will try setting up Android Studio this week and look into this issue. If it is a core Android bug however, we will need to wait for Google to patch this from their side for Android 10, and even then there is no saying if any of the device OEMs will update their existing devices with this patch. Maybe a custom ROM might be the way to go if that ends up being the case.

@cauerego
Copy link

the code to resolve this should be rather simple and make a lot of sense:

just save the m3u playlist files on the main memory and not in the sd card!

this also would prevent duplicated lists, such as what happens with favorite.

@ghost
Copy link

ghost commented Dec 25, 2020

just save the m3u playlist files on the main memory and not in the sd card!

Can you tell me where I can find the m3u file ? Thank you !!

@cauerego
Copy link

cauerego commented Jan 1, 2021

that idea was directed to the devs.

as an android 10+ phonograph user your only option to have a working playlist today is having your music files on the main memory and completely ditch the sd card.

yes, it is ridiculous. nobody cares enough to fix it, though. most forks even don't have a solution. i also might not care enough to continue engaging here.

there is a nice work around i won't get into any details, but you can probably compress your 128kbps mp3 to about 16% of their size by using ogg opus and 16kbps quality. in my experience, they give amazingly good results. the main drawback is they aren't compatible with most of other softwares today. had a conversation about it a while ago under termux offtopic i think.

This was referenced Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants