Skip to content

Commit

Permalink
Hardcodes a browser root for Qobuz
Browse files Browse the repository at this point in the history
Obtained from a quick decompilation of Qobuz, hard to test without an account
Should fix #644
  • Loading branch information
hufman committed Dec 13, 2022
1 parent be0d5b8 commit 2a693ab
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -104,6 +104,7 @@ class MusicBrowser(val handler: Handler, val mediaBrowser: MediaBrowserCompat, v
"com.tbig.playerprotrial" -> "__ROOT__" // PlayerPro Free
"com.tbig.playerpro" -> "__ROOT__" // PlayerPro
"com.amazon.mp3" -> "BROWSER_ROOT" // Amazon Music, except it sends a null root first
"com.qobuz.music" -> "QOBUZ_MEDIA_ROOT" // Qobuz
else -> return when(musicAppInfo.className) { // some apps have a shared service library
"com.itmwpb.vanilla.radioapp.player.MusicService" -> "/" // OneCMS (HOT97 Official)
"com.example.android.uamp.media.MusicService" -> "/" // UAMP Example player (Radio Bob)
Expand Down

0 comments on commit 2a693ab

Please sign in to comment.