Skip to content
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

Pinned media widget & multiple players #2258

Closed
1 task done
Lorestan00 opened this issue Apr 23, 2023 · 2 comments
Closed
1 task done

Pinned media widget & multiple players #2258

Lorestan00 opened this issue Apr 23, 2023 · 2 comments

Comments

@Lorestan00
Copy link

Is your feature request related to a problem?

While the current media widget is fine it is limited to showing just one music player unlike android media player notification which allows you to scroll between other live players e. G. YouTube and Spotify in the example below

Screenshot_20230423_040318_GitHub
Screenshot_20230423_040324_GitHub

Describe the solution you'd like

It woudl be great if the media widget mirrored how androids default notfication media player works allowing you to scroll between live players

Also and this I think would need to be optional but being able to pin the media player so it is always available (assuming there is media app running in the background) and can't be accidentally swiped away would be fantastic.

These changes would allow for immediate access to music, podcasts etc all the time

Feature Request Procedure

@Amorphous404
Copy link

Amorphous404 commented Apr 25, 2023

Hi @Lorestan00, Thank you for your suggestion. But I am unsure whether third-party applications have the capability to stack media sessions. Additionally, even if they do, I do not believe it aligns with Niagara's Design Principles and could potentially complicate the media widget.

With regards to pinning the media widget, please refer to this article:
Integrated Media Widget

Why doesn't the Media widget stay on the screen all the time?

The idea is that Niagara's adaptive home screen only shows you the information you need right now. In our opinion, the media widget takes up too much space to be always visible. Moreover, Android 11 already keeps the media player in the quick settings/notification shade (you might have to expand it), so you can also resume it that way. On top of that, we cannot use Android's API for "standby" media sessions because it's a system API (to be more precise, most media players only allow the system to access their last media session).

I will keep this issue open for a member of the dev team to review and address as needed.

@Amorphous404 Amorphous404 removed their assignment May 7, 2023
@8bitPit
Copy link
Owner

8bitPit commented Jul 12, 2023

Hi @Lorestan00, yeah, unfortunately, we don't have access to all the inactive media players, unlike the system/notification shade. I fear that we cannot properly mirror the behavior of Android's notification shade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants