mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 02:13:33 +00:00
Fix music sync with info/cover/notification
This commit is contained in:
parent
dfc10c76ca
commit
c0088ff224
10 changed files with 132 additions and 51 deletions
|
|
@ -118,7 +118,7 @@ public class MusicPlayerRemote {
|
|||
|
||||
public static void playNextSong() {
|
||||
if (musicService != null) {
|
||||
musicService.playNextSong(true);
|
||||
musicService.playNextSong();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -170,6 +170,14 @@ public class MusicPlayerRemote {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static Song getCurrentSong() {
|
||||
if (musicService != null) {
|
||||
return musicService.getCurrentSong();
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public static int getPosition() {
|
||||
if (musicService != null) {
|
||||
return musicService.getPosition();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue