|
|
|
@ -744,7 +744,7 @@ class RemoteAccessServer(private val context: Context) : PlaybackService.Callbac |
|
|
|
data class WSBookmark(val title: String, val time: Long) |
|
|
|
|
|
|
|
data class PlayQueue(val medias: List<PlayQueueItem>) : WSMessage("play-queue") |
|
|
|
data class PlayQueueItem(val id: Long, val title: String, val artist: String, val length: Long, val artworkURL: String, val playing: Boolean, val resolution: String = "", val path: String = "", val isFolder: Boolean = false, val progress: Long = 0L, val played: Boolean = false, var fileType: String = "", val favorite: Boolean = false) |
|
|
|
data class PlayQueueItem(val id: Long, val title: String, val artist: String, val duration: Long, val artworkURL: String, val playing: Boolean, val resolution: String = "", val path: String = "", val isFolder: Boolean = false, val progress: Long = 0L, val played: Boolean = false, var fileType: String = "", val favorite: Boolean = false) |
|
|
|
data class WebSocketAuthorization(val status:String, val initialMessage:String) : WSMessage("auth") |
|
|
|
data class Volume(val volume: Int) : WSMessage("volume") |
|
|
|
data class PlayerStatus(val playing: Boolean) : WSMessage("player-status") |
|
|
|
|