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

Add OS Media Controls #115

Closed
onlyreportingissues opened this issue Jun 19, 2022 · 13 comments
Closed

Add OS Media Controls #115

onlyreportingissues opened this issue Jun 19, 2022 · 13 comments
Labels
deployed This issue has been fixed/implmented and has been released enhancement New feature or request

Comments

@onlyreportingissues
Copy link

No description provided.

@onlyreportingissues onlyreportingissues added the enhancement New feature or request label Jun 19, 2022
@flexagoon
Copy link
Contributor

It seems like using just_audio_background instead of audio_service can fix this issue.

@KRTirtho
Copy link
Owner

KRTirtho commented Jun 26, 2022

@flexagoon just_audio_background integrates directly with just_audio playlists so even though play/pause work, next/previous track doesn't work for android. Thus I had to implement audio_services manually since Spotube has custom playback manager. Because of this Spotube is able to support next/prev+play/pause track in android now
Also @onlyreportingissues is talking about desktop media controls

@KRTirtho
Copy link
Owner

Lucky for Linux users, I've recently implemented dbus MPRIS (Media Player Remote Interfacing Specification) for spotube. That means OS Media Controls (only hardware keyboard media controls) are now supported in Spotube

@flexagoon
Copy link
Contributor

is talking about desktop media controls

@KRTirtho ah, alright. Are Android media controls planned then? It's the biggest thing stopping me from using Spotube, because the lack of media controls

  1. Is just inconvinient
  2. Means that Last.fm scrobbling with apps like Pano Scrobbler doesn't work

@KRTirtho
Copy link
Owner

Android Media Controls (Notification Panel & Lock Screen Media Player) are already available in the latest apk

@flexagoon
Copy link
Contributor

@KRTirtho only the next/previous track buttons work, the seekbar still doesn't.

@flexagoon
Copy link
Contributor

Clarification: I'm talking about the seekbar in the notification.

@KRTirtho
Copy link
Owner

Ohh, ok now I understand. Usually in other platforms by Media Controls only Next/Prev, Play/Pause and Stop buttons are meant. Completely didn't know that Android allows Seekbar in Notification panel

@flexagoon
Copy link
Contributor

flexagoon commented Jul 1, 2022

@KRTirtho iOS, macOS and Linux (KDE at least) also have a seekbar in OS Media Controls though 🤔

@KRTirtho
Copy link
Owner

KRTirtho commented Jul 11, 2022

Well, The Android & Linux version now has SeekBar support in the latest release v2.3.0

@KRTirtho KRTirtho moved this to In progress in Spotube Board Feb 1, 2023
@fleixi
Copy link

fleixi commented Apr 18, 2023

You say spotube is supporting mpris, but i dont have any control in the kde systemtray-widget for mpris control. Are only keyboard buttons working or do i miss something.

System is Arch-Linux and i have installed spotube via aur "spotube-bin" (Version: 2.7.1)

@KRTirtho KRTirtho moved this from In progress to Done in Spotube Board Apr 27, 2023
@RaptaG
Copy link
Contributor

RaptaG commented Jul 2, 2023

Added in 3.0.0

@RaptaG RaptaG closed this as completed Jul 2, 2023
@RaptaG RaptaG moved this from Done to Deployed in Spotube Board Jul 2, 2023
@RaptaG RaptaG added the deployed This issue has been fixed/implmented and has been released label Jul 2, 2023
@Schorsch980
Copy link

Hi, for me these media controls don't work on Version 3.5 (Android, via F-Droid).
I use Spotube on an Android Naviceiver, Media Control buttons are on the steering wheel. Media controls do work with Spotify app and all other media apps (e.g. Poweramp, DAB-Z), just not on Spotube...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed This issue has been fixed/implmented and has been released enhancement New feature or request
Projects
Status: Deployed
Development

No branches or pull requests

6 participants