mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-09 05:18:40 +02:00
Fix:Stream sync make sure server url and token exist
This commit is contained in:
@@ -111,6 +111,10 @@ class AudiobookProgressSyncer constructor(playerNotificationService:PlayerNotifi
|
||||
var serverUrl = playerNotificationService.getServerUrl()
|
||||
var token = playerNotificationService.getUserToken()
|
||||
|
||||
if (serverUrl == "" || token == "") {
|
||||
return
|
||||
}
|
||||
|
||||
Log.d(tag, "Sync Stream $serverUrl | $token")
|
||||
var url = "$serverUrl/api/syncStream"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user