diff --git a/ultrasonic/lint-baseline.xml b/ultrasonic/lint-baseline.xml
index 3e743d06..62a8f675 100644
--- a/ultrasonic/lint-baseline.xml
+++ b/ultrasonic/lint-baseline.xml
@@ -12,17 +12,6 @@
column="66"/>
-
-
-
-
@@ -257,50 +246,6 @@
column="1"/>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/NavigationActivity.kt b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/NavigationActivity.kt
index 031f56a6..af7c8fd4 100644
--- a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/NavigationActivity.kt
+++ b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/activity/NavigationActivity.kt
@@ -27,6 +27,7 @@ import androidx.core.content.ContextCompat
import androidx.core.view.GravityCompat
import androidx.drawerlayout.widget.DrawerLayout
import androidx.fragment.app.FragmentContainerView
+import androidx.media3.common.MediaItem
import androidx.media3.common.Player.STATE_BUFFERING
import androidx.media3.common.Player.STATE_READY
import androidx.navigation.NavController
@@ -417,8 +418,8 @@ class NavigationActivity : AppCompatActivity() {
if (nowPlayingView != null) {
val playerState: Int = mediaPlayerController.playbackState
if (playerState == STATE_BUFFERING || playerState == STATE_READY) {
- val file: DownloadFile? = mediaPlayerController.currentPlayingLegacy
- if (file != null) {
+ val item: MediaItem? = mediaPlayerController.currentMediaItem
+ if (item != null) {
nowPlayingView?.visibility = View.VISIBLE
}
} else {
diff --git a/ultrasonic/src/main/res/values-cs/strings.xml b/ultrasonic/src/main/res/values-cs/strings.xml
index bcf81ec5..5e8dd6ef 100644
--- a/ultrasonic/src/main/res/values-cs/strings.xml
+++ b/ultrasonic/src/main/res/values-cs/strings.xml
@@ -238,10 +238,6 @@
75
Historie hledání vyčištěna
Nastavení vyhledávání
- Odesílat upozornění přehrávání přes bluetooth
- Odesílat bluetooth upozornění
- Odesílat obrázky alb přes bluetooth (může způsobit selhávání bluetooth upozornění)
- Obrázky alb přes bluetooth
Spravovat servery
Adresa serveru
Název
@@ -249,12 +245,6 @@
Stahovat škálované obrázky ze serveru místo plné velikosti (šetří přenos dat)
Škálování obrázků alb na serveru
Uživatelské jméno
- Zobrazit ovládání na zamknuté obrazovce
- Zobrazí ovládání přehrávače na zamknuté obrazovce
- Zobrazení upozornění
- Vždy zobrazovat upozornění
- Vždy zobrazovat upozornění přehrávané skladby při vytvoření playlistu
- Zobrazovat přehrávanou skladbu ve stavovém panelu
Zobrazovat přehrávanou skladbu
Zobrazovat přehrávanou skladbu v aktivitách
Zobrazovat číslo skladby
diff --git a/ultrasonic/src/main/res/values-de/strings.xml b/ultrasonic/src/main/res/values-de/strings.xml
index 762ecb7f..b8f35122 100644
--- a/ultrasonic/src/main/res/values-de/strings.xml
+++ b/ultrasonic/src/main/res/values-de/strings.xml
@@ -278,12 +278,6 @@
75
Suchhistorie gelöscht
Sucheinstellungen
- Wiedergabe-Benachrichtigungen über Bluetooth senden
- Bluetooth-Benachrichtigung
- Albumcover über Bluetooth versenden (kann dazu führen, dass Bluetooth-Benachrichtigungen fehlschlagen)
- Album Cover über Bluetooth
- Die aktuellen Wiedergabeliste wird nicht an verbundene Geräte gesendet. Das kann die Kompatibilität mit AVRCP 1.3 Geräten herstellen, wenn die aktuelle Titelanzeige nicht dargestellt wird
- Deaktiviere senden der aktuellen Wiedergabeliste
Server verwalten
Server Adresse
Name
@@ -292,12 +286,6 @@
Serverseitige Skalierung der Cover
Benutzername
Server Farbe
- Steuerelemente auf Sperrbildschirm
- Wiedergabeelemente auf dem Sperrbildschirm anzeigen
- Benachrichtigungen anzeigen
- Immer Benachrichtigungen zeigen
- Benachrichtigung beim Abspielen immer anzeigen, wenn Einträge in der Wiedergabeliste sind
- Abspielbenachrichtigung in der Statusleiste anzeigen
Aktuellen Titel anzeigen
Aktuellen Titel in allen Aktivitäten anzeigen
Titelnummer anzeigen
diff --git a/ultrasonic/src/main/res/values-es/strings.xml b/ultrasonic/src/main/res/values-es/strings.xml
index 6ef40581..0a6e78d5 100644
--- a/ultrasonic/src/main/res/values-es/strings.xml
+++ b/ultrasonic/src/main/res/values-es/strings.xml
@@ -278,12 +278,6 @@
75
Se ha limpiado el historial de búsqueda
Configuración de la búsqueda
- Enviar notificaciones de reproducción vía Bluetooth
- Enviar notificaciones Bluetooth
- Enviar la carátula del álbum vía Bluetooth (Puede causar que las notificaciones Bluetooth fallen)
- Carátula del Álbum vía Bluetooth
- La lista de reproducción actual no se enviará a los dispositivos conectados. Esto puede restaurar la compatibilidad con dispositivos AVRCP 1.3, cuando la visualización de la pista actual no se actualiza
- Desactivar el envío de la lista de reproducción actual
Administrar servidores
Dirección del servidor
Nombre
@@ -292,12 +286,6 @@
Escalado de caratulas en el servidor
Nombre de usuario
Color del servidor
- Mostrar controles en la pantalla de bloqueo
- Mostrar controles de reproducción en la pantalla de bloqueo
- Mostrar notificación
- Mostrar siempre la notificación
- Mostrar siempre la notificación de reproduciendo ahora cuando la lista de reproducción contiene datos
- Mostrar la notificación de reproduciendo ahora en la barra de estado
Mostrar reproduciendo ahora
Mostrar la pista que se esta reproduciendo en todas las actividades
Mostrar número de pista
diff --git a/ultrasonic/src/main/res/values-fr/strings.xml b/ultrasonic/src/main/res/values-fr/strings.xml
index 6be37c10..c70bd81b 100644
--- a/ultrasonic/src/main/res/values-fr/strings.xml
+++ b/ultrasonic/src/main/res/values-fr/strings.xml
@@ -258,12 +258,6 @@
75
Historique des recherches effacé
Paramètres de recherche
- Envoyer des notifications de lecture via Bluetooth
- Envoyer une notification Bluetooth
- Envoyer la pochette de l\'album via Bluetooth (peut causer l\'échec des notifications Bluetooth)
- Pochette de l\'album via Bluetooth
- La liste de lecture ne sera pas envoyée aux appareils connectés. Cela peut restaurer la compatibilité avec les appareils AVRCP 1.3 lorsque l’affichage de la piste actuelle n’est pas mise à jour.
- Désactiver l’envoi de la liste de lecture
Gérer les serveurs
Adresse du serveur
Nom
@@ -272,12 +266,6 @@
Mise à l\'échelle des pochettes d\'album sur le serveur
Nom d\'utilisateur
Couleur du serveur
- Boutons de contrôle sur l\'écran de verrouillage
- Afficher les contrôles de lecture sur l\'écran de verrouillage
- Notifications
- Toujours afficher les notifications
- Toujours afficher la notification de lecture en cours lorsque la liste de lecture est remplie
- Afficher la notification d\'un nouveau titre en lecture dans la barre d\'état
Montrer la lecture en cours
Afficher les pistes en cours de lecture dans les autres activités d\'Ultrasonic
Afficher le numéro du titre
diff --git a/ultrasonic/src/main/res/values-hu/strings.xml b/ultrasonic/src/main/res/values-hu/strings.xml
index 5327976b..9e508a6c 100644
--- a/ultrasonic/src/main/res/values-hu/strings.xml
+++ b/ultrasonic/src/main/res/values-hu/strings.xml
@@ -246,10 +246,6 @@
75
Keresési előzmények törölve.
Keresés beállításai
- Lejátszási értesítések küldése Bluetooth-on.
- Bluetooth értesítések küldése
- Albumborító küldése Bluetooth-on (Problémát okozhat a Bluetooth értesítéseknél)
- Albumborító Bluetooth-on
Kiszolgálók kezelése
Kiszolgáló címe
Név
@@ -257,12 +253,6 @@
Teljes méretű helyett átméretezett képek letöltése a kiszolgálóról (sávszélesség-takarékos).
Albumborító átméretezés (Kiszolgáló-oldali)
Felhasználónév
- Képernyőzár kezelése
- Lejátszó-kezelőpanel megjelenítése a képernyőzáron.
- Értesítések megjelenítése
- Állandó kijelzés
- Lejátszás jelzése az értesítési sávon, míg a várólista aktív.
- Lejátszás jelzése az értesítési sávon.
Lejátszó-kezelőpanel
Lejátszó-kezelőpanel megjelenítése minden oldalon.
Sorszám megjelenítése
diff --git a/ultrasonic/src/main/res/values-it/strings.xml b/ultrasonic/src/main/res/values-it/strings.xml
index 802f288f..9253f199 100644
--- a/ultrasonic/src/main/res/values-it/strings.xml
+++ b/ultrasonic/src/main/res/values-it/strings.xml
@@ -233,22 +233,12 @@
75
Storico ricerche eliminato
Impostazioni ricerca
- Invia notifiche di riproduzione via Bluetooth
- Invia notifica Bluetooth
- Invia copertine degli album tramite Bluetooth (potrebbe causare errori nelle notifiche)
- Copertine Album tramite Bluetooth
Indirizzo Server
Nome
Password
Scarica dal server le immagini ridimensionate (risparmia larghezza di banda)
Ridimensionamento copertine Album lato server
Username
- Mostra i controlli del blocco schermo
- Mostra i controlli di riproduzione sulla schermata di blocco
- Mostra notifica
- Mostra sempre notifica
- Mostra sempre la notifica In Riproduzione quando viene popolata la playlist
- Mostra la notifica In Riproduzione nella barra di stato
Mostra In Riproduzione
Mostra la traccia attualmente in riproduzione in tutte le attività
Visualizza numero traccia
diff --git a/ultrasonic/src/main/res/values-nl/strings.xml b/ultrasonic/src/main/res/values-nl/strings.xml
index 84e4cd5e..e5b3e6a7 100644
--- a/ultrasonic/src/main/res/values-nl/strings.xml
+++ b/ultrasonic/src/main/res/values-nl/strings.xml
@@ -278,12 +278,6 @@
75
Zoekgeschiedenis gewist
Zoekinstellingen
- Afspeelmeldingen sturen via bluetooth
- Bluetoothmelding sturen
- Albumhoezen versturen via bluetooth (dit kan leiden tot mislukte bluetoothmeldingen)
- Albumhoezen versturen via bluetooth
- De lijst ‘Nu aan het afspelen’ wordt niet gedeeld met verbonden apparaten. Hierdoor wordt de comptabiliteit met AVCRP 1.3-apparaten hersteld als het huidige nummer niet wordt bijgewerkt.
- ‘Nu aan het afspelen’-lijst niet delen
Manage Servers
Serveradres
Naam
@@ -292,12 +286,6 @@
Verkleinde afbeeldingen ophalen van server
Gebruikersnaam
Serverkleur
- Vergrendelschermbediening tonen
- Toont afspeelbediening op het vergrendelscherm
- Melding tonen
- Altijd melding tonen
- Altijd een \"nu aan het afspelen\"-melding tonen tijdens het samenstellen van een afspeellijst
- \"Nu aan het afspelen\"-melding tonen op de statusbalk
\"Nu aan het afspelen\"-melding tonen
Toont het momenteel afspelende nummer in alle activiteiten
Itemnummer tonen
diff --git a/ultrasonic/src/main/res/values-pl/strings.xml b/ultrasonic/src/main/res/values-pl/strings.xml
index 1ad64489..7e5e6373 100644
--- a/ultrasonic/src/main/res/values-pl/strings.xml
+++ b/ultrasonic/src/main/res/values-pl/strings.xml
@@ -238,10 +238,6 @@
75
Wyczyść historię wyszukiwania
Ustawienia wyszukiwania
- Wysyła powiadomienia o odtwarzaniu przez Bluetooth
- Wysyłaj powiadomienia Bluetooth
- Wysyła okładki przez Bluetooth (może powodować problemy z powiadomieniami)
- Okładki przez Bluetooth
Manage Servers
Adres serwera
Nazwa
@@ -249,12 +245,6 @@
Pobiera przeskalowane obrazy z serwera zamiast pełnego rozmiaru (oszczędza ilość przesyłanych danych)
Skalowanie okładek po stronie serwera
Nazwa użytkownika
- Wyświetlaj na ekranie blokady
- Wyświetla widżet odtwarzacza na ekranie blokady
- Wyświetlaj powiadomienia
- Zawsze wyświetlaj powiadomienia
- Zawsze wyświetla powiadomienia o odtwarzanych utworach, gdy playlista jest wypełniona
- Wyświetla powiadomienia o odtwarzanym utworze na pasku statusu
Wyświetlaj powiadomienia o utworach
Wyświetla bieżący utwór we wszystkich aktywnościach
Wyświetlaj numer utworu
diff --git a/ultrasonic/src/main/res/values-pt-rBR/strings.xml b/ultrasonic/src/main/res/values-pt-rBR/strings.xml
index f5aede4e..c8201db1 100644
--- a/ultrasonic/src/main/res/values-pt-rBR/strings.xml
+++ b/ultrasonic/src/main/res/values-pt-rBR/strings.xml
@@ -253,12 +253,6 @@
75
Histórico de pesquisas apagado
Configurações de Pesquisa
- Enviar notificações de reprodução via Bluetooth
- Notificações via Bluetooth
- Enviar a arte do álbum via Bluetooth (Pode causar falhas nas notificações do Bluetooth)
- Arte do Álbum via Bluetooth
- A Lista Tocando Agora não será enviada aos dispositivos conectados. Isso pode restaurar a compatibilidade com dispositivos AVRCP 1.3 quando a exibição da trilha atual não é atualizada
- Desativar Envio da Lista Tocando Agora
Gerenciar Servidores
Endereço do Servidor
Nome
@@ -266,12 +260,6 @@
Baixar imagens reduzidas do servidor ao invés do tamanho completo (economiza banda)
Reduzir Arte dos Álbuns
Login
- Controles na Tela de Bloqueio
- Mostrar controles de reprodução na tela de bloqueio
- Mostrar Notificações
- Sempre Mostrar Notificações
- Sempre mostrar a reprodução atual quando uma playlist é preenchida
- Mostrar a notificação de reprodução atual na barra de status
Mostrar Reprodução Atual
Mostrar a faixa tocada atualmente em todas as atividades
Mostrar o Número da Faixa
diff --git a/ultrasonic/src/main/res/values-pt/strings.xml b/ultrasonic/src/main/res/values-pt/strings.xml
index 404a807d..373681e2 100644
--- a/ultrasonic/src/main/res/values-pt/strings.xml
+++ b/ultrasonic/src/main/res/values-pt/strings.xml
@@ -238,10 +238,6 @@
75
Histórico de pesquisas apagado
Configurações de Pesquisa
- Envia notificações de reprodução via Bluetooth
- Notificações via Bluetooth
- Envia a arte do álbum via Bluetooth (Pode causar falhas nas notificações do Bluetooth)
- Arte do Álbum via Bluetooth
Manage Servers
Endereço do Servidor
Nome
@@ -249,12 +245,6 @@
Descarrega imagens reduzidas do servidor ao invés do tamanho completo (economiza banda)
Reduzir Arte dos Álbuns
Login
- Controles no Ecrã de Bloqueio
- Mostra controles de reprodução no ecrã de bloqueio
- Mostrar Notificações
- Sempre Mostrar Notificações
- Sempre mostrar a reprodução atual quando uma playlist é preenchida
- Mostra a notificação de reprodução atual na barra de estado
Mostrar Reprodução Atual
Mostrar a faixa tocada atualmente em todas as atividades
Mostrar o Número da Faixa
diff --git a/ultrasonic/src/main/res/values-ru/strings.xml b/ultrasonic/src/main/res/values-ru/strings.xml
index 99e79a04..2bbb030a 100644
--- a/ultrasonic/src/main/res/values-ru/strings.xml
+++ b/ultrasonic/src/main/res/values-ru/strings.xml
@@ -264,10 +264,6 @@
75
История поиска очищена
Настройки поиска
- Отправлять уведомления о воспроизведении через Bluetooth
- Отправить уведомление Bluetooth
- Отправить обложку альбома через Bluetooth (может привести к сбою уведомлений Bluetooth)
- Обложка альбома через Bluetooth
Управление серверами
Адрес сервера
Имя
@@ -275,12 +271,6 @@
Загрузка масштабированных изображений с сервера вместо полноразмерного (экономит трафик)
Серверное масштабирование обложек альбомов
Имя пользователя
- Показать блокировку экрана
- Показать элементы управления воспроизведением на экране блокировки
- Показывать уведомления
- Всегда показывать уведомления
- Всегда показывать воспроизведение, когда плейлист заполнен
- Показать уведомление о воспроизведении в строке состояния
Показать что сейчас играет
Показать текущий воспроизводимый трек во всех активностях
Показать номер трека
diff --git a/ultrasonic/src/main/res/values-zh-rCN/strings.xml b/ultrasonic/src/main/res/values-zh-rCN/strings.xml
index a6e84a59..6f20b74f 100644
--- a/ultrasonic/src/main/res/values-zh-rCN/strings.xml
+++ b/ultrasonic/src/main/res/values-zh-rCN/strings.xml
@@ -258,12 +258,6 @@
75
搜索记录已清除
搜索设置
- 通过蓝牙发送播放通知
- 发送蓝牙通知
- 通过蓝牙发送专辑封面(可能导致蓝牙通知失败)
- 通过蓝牙发送专辑封面
- 现在播放列表不会发送到已连接的设备。 当前曲目显示未更新时,这可能会恢复AVRCP 1.3的设备的兼容性。
- 禁用发送正在播放列表
管理服务器
服务器地址
名称
@@ -272,12 +266,6 @@
服务器端专辑图片缩放
用户名
服务器颜色
- 锁屏显示控制器
- 在锁定屏幕上显示播放控件
- 显示通知
- 总是显示通知
- 当播放列表有音乐时,总是在通知栏显示播放信息
- 在状态栏中显示正在播放通知
显示正在播放
在所有活动页面显示正在播放信息
显示曲目编号
diff --git a/ultrasonic/src/main/res/values/strings.xml b/ultrasonic/src/main/res/values/strings.xml
index 1cddd882..5ca00267 100644
--- a/ultrasonic/src/main/res/values/strings.xml
+++ b/ultrasonic/src/main/res/values/strings.xml
@@ -281,12 +281,6 @@
75
Search history cleared
Search Settings
- Send playback notifications via Bluetooth
- Send Bluetooth Notification
- Send album art over Bluetooth (May cause Bluetooth notifications to fail)
- Album Art Over Bluetooth
- Now Playing List won\'t be sent to connected devices. This may restore compatibility with AVRCP 1.3 devices, when current track display is not updated
- Disable sending of Now Playing List
Manage Servers
Server Address
Name
@@ -295,12 +289,6 @@
Server-Side Album Art Scaling
Username
Server color
- Show Lock Screen Controls
- Show playback controls on the lock screen
- Show Notification
- Always Show Notification
- Always show now playing notification when playlist is populated
- Show now playing notification in the status bar
Show Now Playing
Show currently playing track in all activities
Show Track Number