Niagara-Issues icon indicating copy to clipboard operation
Niagara-Issues copied to clipboard

Media player not showing / support more Music Players

Open lepa22 opened this issue 8 years ago • 23 comments

I saw in a couple of screenshots that there is a music widget. However, when I play music (I am using BlackPlayer) I don't see that. Is this feature supported for certain music players?

lepa22 avatar Sep 02 '18 06:09 lepa22

Yes, as far as i know, it supports spotify

saboooor avatar Sep 02 '18 08:09 saboooor

should support most players, although for example Samsung Music integration is not perfect. You might need to allow the launcher to read your notifications

jakcharvat avatar Sep 02 '18 08:09 jakcharvat

You have grant notification access (should mention it somewhere in the app). All players using the "Media notification template" from Android. For example, on Android 8 and higher, it looks like this: image (image source: Material design)

Reported players, where it isn't working: Apple music & Samsung music

8bitPit avatar Sep 02 '18 09:09 8bitPit

Thanks for the answers. For BlackPlayer I had to change the notification style from the player's settings to "Nougat style". Works perfectly!

lepa22 avatar Sep 02 '18 09:09 lepa22

seems like it uses a custom approach with the other theme resulting to problems similar to those with Apple and Samsung Music. wonder how many other players have issues like these @8bitPit

jakcharvat avatar Sep 02 '18 09:09 jakcharvat

Yeah, it could be possible to support other media players as well I just have to read it's notification data and see, if there is an option to get the picture. I'll be adding a button to send me this information in Niagara settings.

8bitPit avatar Sep 02 '18 09:09 8bitPit

Retro Music with "Classic Notification Style" enabled doesn't work either. just with the default one

jakcharvat avatar Sep 02 '18 09:09 jakcharvat

One more to add to the list is Poweramp music player. But I'm on nougat .

DroidFreak32 avatar Sep 06 '18 17:09 DroidFreak32

Audible is also said to have issues.

Maxr1998 avatar Sep 06 '18 19:09 Maxr1998

That's a long list. I think we should also categorize them into those that are recognised, just don't show the info (eg. Samsung Music) and those that are totally unrecognized

jakcharvat avatar Sep 06 '18 23:09 jakcharvat

Good point. Will do some tests later today.

Maxr1998 avatar Sep 07 '18 02:09 Maxr1998

Poweramp is recognised, song title and artist or album cover aren't shown, music controls don't work. From #96

jakcharvat avatar Sep 07 '18 13:09 jakcharvat

Apparently, it’s also not working for “Vanilla Music”.

8bitPit avatar Sep 07 '18 16:09 8bitPit

Add an option in settings to grant notification access. I can't seem to do so from anywhere currently.

Shinra04 avatar Sep 08 '18 05:09 Shinra04

@Shinra04 it should appear in your favorites list.

8bitPit avatar Sep 08 '18 08:09 8bitPit

I don't see any such option to grant the permission there. Players like SoundCloud work fine, but Poweramp does not.

Shinra04 avatar Sep 08 '18 09:09 Shinra04

That's not an issue of the permission, that's an issue of the notification not being recognised

jakcharvat avatar Sep 08 '18 11:09 jakcharvat

Oh okay. It's probably being looked into already then.

Shinra04 avatar Sep 08 '18 12:09 Shinra04

@lepa22 @Shinra04 @DroidFreak32. You can now send me those media notification details since the latest Update. Click Settings > Advanced > Developer Options. I can check if those media players can be supported.

8bitPit avatar Sep 08 '18 17:09 8bitPit

Idk if it's okay to send here but here it is:

--- com.maxmpz.audioplayer - --- Notification(pri=1 contentView=com.maxmpz.audioplayer/0x7f030056 vibrate=null sound=null defaults=0x0 flags=0x62 color=0x00000000 category=transport vis=PUBLIC) [android.icon=2130837833] [android.appInfo=ApplicationInfo{f2524fc com.maxmpz.audioplayer}] [android.originatingUserId=0]

Shinra04 avatar Sep 08 '18 18:09 Shinra04