mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
style: @keep class from minification
This commit is contained in:
parent
cb3f1290d1
commit
76c53bd502
68 changed files with 163 additions and 56 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.base
|
package com.cappielloantonio.tempo.subsonic.base
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.cappielloantonio.tempo.subsonic.models.SubsonicResponse
|
import com.cappielloantonio.tempo.subsonic.models.SubsonicResponse
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ApiResponse {
|
class ApiResponse {
|
||||||
@SerializedName("subsonic-response")
|
@SerializedName("subsonic-response")
|
||||||
var subsonicResponse: SubsonicResponse? = null
|
var subsonicResponse: SubsonicResponse? = null
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
open class AlbumID3 : Parcelable {
|
open class AlbumID3 : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name: String? = null
|
var name: String? = null
|
||||||
var artist: String? = null
|
var artist: String? = null
|
||||||
var artistId: String? = null
|
var artistId: String? = null
|
||||||
|
|
||||||
@SerializedName("coverArt")
|
@SerializedName("coverArt")
|
||||||
var coverArtId: String? = null
|
var coverArtId: String? = null
|
||||||
|
|
||||||
var songCount: Int? = 0
|
var songCount: Int? = 0
|
||||||
var duration: Int? = 0
|
var duration: Int? = 0
|
||||||
var playCount: Long? = null
|
var playCount: Long? = null
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class AlbumInfo {
|
class AlbumInfo {
|
||||||
var notes: String? = null
|
var notes: String? = null
|
||||||
var musicBrainzId: String? = null
|
var musicBrainzId: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class AlbumList {
|
class AlbumList {
|
||||||
var albums: List<Child>? = null
|
var albums: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class AlbumList2 {
|
class AlbumList2 {
|
||||||
@SerializedName("album")
|
@SerializedName("album")
|
||||||
var albums: List<AlbumID3>? = null
|
var albums: List<AlbumID3>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class AlbumWithSongsID3 : AlbumID3(), Parcelable {
|
class AlbumWithSongsID3 : AlbumID3(), Parcelable {
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class Artist : Parcelable {
|
class Artist : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,16 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
open class ArtistID3 : Parcelable {
|
open class ArtistID3 : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name: String? = null
|
var name: String? = null
|
||||||
|
|
||||||
@SerializedName("coverArt")
|
@SerializedName("coverArt")
|
||||||
var coverArtId: String? = null
|
var coverArtId: String? = null
|
||||||
var albumCount = 0
|
var albumCount = 0
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ArtistInfo : ArtistInfoBase() {
|
class ArtistInfo : ArtistInfoBase() {
|
||||||
var similarArtists: List<Artist>? = null
|
var similarArtists: List<Artist>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ArtistInfo2 : ArtistInfoBase() {
|
class ArtistInfo2 : ArtistInfoBase() {
|
||||||
@SerializedName("similarArtist")
|
@SerializedName("similarArtist")
|
||||||
var similarArtists: List<SimilarArtistID3>? = emptyList()
|
var similarArtists: List<SimilarArtistID3>? = emptyList()
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
open class ArtistInfoBase {
|
open class ArtistInfoBase {
|
||||||
var biography: String? = null
|
var biography: String? = null
|
||||||
var musicBrainzId: String? = null
|
var musicBrainzId: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class ArtistWithAlbumsID3 : ArtistID3(), Parcelable {
|
class ArtistWithAlbumsID3 : ArtistID3(), Parcelable {
|
||||||
@SerializedName("album")
|
@SerializedName("album")
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ArtistsID3 {
|
class ArtistsID3 {
|
||||||
@SerializedName("index")
|
@SerializedName("index")
|
||||||
var indices: List<IndexID3>? = null
|
var indices: List<IndexID3>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class AudioTrack {
|
class AudioTrack {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name: String? = null
|
var name: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Bookmark {
|
class Bookmark {
|
||||||
var entry: Child? = null
|
var entry: Child? = null
|
||||||
var position: Long = 0
|
var position: Long = 0
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Bookmarks {
|
class Bookmarks {
|
||||||
var bookmarks: List<Bookmark>? = null
|
var bookmarks: List<Bookmark>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Captions {
|
class Captions {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var name: String? = null
|
var name: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ChatMessage {
|
class ChatMessage {
|
||||||
var username: String? = null
|
var username: String? = null
|
||||||
var time: Long = 0
|
var time: Long = 0
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ChatMessages {
|
class ChatMessages {
|
||||||
var chatMessages: List<ChatMessage>? = null
|
var chatMessages: List<ChatMessage>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,110 +1,82 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import androidx.room.ColumnInfo
|
import androidx.room.ColumnInfo
|
||||||
import androidx.room.PrimaryKey
|
import androidx.room.PrimaryKey
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
open class Child(
|
open class Child(
|
||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
@ColumnInfo(name = "id")
|
@ColumnInfo(name = "id")
|
||||||
open val id: String,
|
open val id: String,
|
||||||
|
|
||||||
@ColumnInfo(name = "parent_id")
|
@ColumnInfo(name = "parent_id")
|
||||||
@SerializedName("parent")
|
@SerializedName("parent")
|
||||||
var parentId: String? = null,
|
var parentId: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "is_dir")
|
@ColumnInfo(name = "is_dir")
|
||||||
var isDir: Boolean = false,
|
var isDir: Boolean = false,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var title: String? = null,
|
var title: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var album: String? = null,
|
var album: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var artist: String? = null,
|
var artist: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var track: Int? = null,
|
var track: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var year: Int? = null,
|
var year: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
@SerializedName("genre")
|
@SerializedName("genre")
|
||||||
var genre: String? = null,
|
var genre: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "cover_art_id")
|
@ColumnInfo(name = "cover_art_id")
|
||||||
@SerializedName("coverArt")
|
@SerializedName("coverArt")
|
||||||
var coverArtId: String? = null,
|
var coverArtId: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var size: Long? = null,
|
var size: Long? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "content_type")
|
@ColumnInfo(name = "content_type")
|
||||||
var contentType: String? = null,
|
var contentType: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var suffix: String? = null,
|
var suffix: String? = null,
|
||||||
|
|
||||||
@ColumnInfo("transcoding_content_type")
|
@ColumnInfo("transcoding_content_type")
|
||||||
var transcodedContentType: String? = null,
|
var transcodedContentType: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "transcoded_suffix")
|
@ColumnInfo(name = "transcoded_suffix")
|
||||||
var transcodedSuffix: String? = null,
|
var transcodedSuffix: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var duration: Int? = null,
|
var duration: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo("bitrate")
|
@ColumnInfo("bitrate")
|
||||||
@SerializedName("bitRate")
|
@SerializedName("bitRate")
|
||||||
var bitrate: Int? = null,
|
var bitrate: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var path: String? = null,
|
var path: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "is_video")
|
@ColumnInfo(name = "is_video")
|
||||||
@SerializedName("isVideo")
|
@SerializedName("isVideo")
|
||||||
var isVideo: Boolean = false,
|
var isVideo: Boolean = false,
|
||||||
|
|
||||||
@ColumnInfo(name = "user_rating")
|
@ColumnInfo(name = "user_rating")
|
||||||
var userRating: Int? = null,
|
var userRating: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "average_rating")
|
@ColumnInfo(name = "average_rating")
|
||||||
var averageRating: Double? = null,
|
var averageRating: Double? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "play_count")
|
@ColumnInfo(name = "play_count")
|
||||||
var playCount: Long? = null,
|
var playCount: Long? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "disc_number")
|
@ColumnInfo(name = "disc_number")
|
||||||
var discNumber: Int? = null,
|
var discNumber: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var created: Date? = null,
|
var created: Date? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var starred: Date? = null,
|
var starred: Date? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "album_id")
|
@ColumnInfo(name = "album_id")
|
||||||
var albumId: String? = null,
|
var albumId: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "artist_id")
|
@ColumnInfo(name = "artist_id")
|
||||||
var artistId: String? = null,
|
var artistId: String? = null,
|
||||||
|
|
||||||
@ColumnInfo
|
@ColumnInfo
|
||||||
var type: String? = null,
|
var type: String? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "bookmark_position")
|
@ColumnInfo(name = "bookmark_position")
|
||||||
var bookmarkPosition: Long? = null,
|
var bookmarkPosition: Long? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "original_width")
|
@ColumnInfo(name = "original_width")
|
||||||
var originalWidth: Int? = null,
|
var originalWidth: Int? = null,
|
||||||
|
|
||||||
@ColumnInfo(name = "original_height")
|
@ColumnInfo(name = "original_height")
|
||||||
var originalHeight: Int? = null
|
var originalHeight: Int? = null
|
||||||
) : Parcelable
|
) : Parcelable
|
||||||
|
|
@ -1,10 +1,12 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class Directory : Parcelable {
|
class Directory : Parcelable {
|
||||||
@SerializedName("child")
|
@SerializedName("child")
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Error {
|
class Error {
|
||||||
var code: ErrorCode? = null
|
var code: ErrorCode? = null
|
||||||
|
|
||||||
var message: String? = null
|
var message: String? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
class ErrorCode(val value: Int) {
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
|
class ErrorCode(val value: Int) {
|
||||||
companion object {
|
companion object {
|
||||||
var GENERIC_ERROR = 0
|
var GENERIC_ERROR = 0
|
||||||
var REQUIRED_PARAMETER_MISSING = 10
|
var REQUIRED_PARAMETER_MISSING = 10
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class Genre : Parcelable {
|
class Genre : Parcelable {
|
||||||
@SerializedName("value")
|
@SerializedName("value")
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Genres {
|
class Genres {
|
||||||
@SerializedName("genre")
|
@SerializedName("genre")
|
||||||
var genres: List<Genre>? = null
|
var genres: List<Genre>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Index {
|
class Index {
|
||||||
@SerializedName("artist")
|
@SerializedName("artist")
|
||||||
var artists: List<Artist>? = null
|
var artists: List<Artist>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class IndexID3 {
|
class IndexID3 {
|
||||||
@SerializedName("artist")
|
@SerializedName("artist")
|
||||||
var artists: List<ArtistID3>? = null
|
var artists: List<ArtistID3>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Indexes {
|
class Indexes {
|
||||||
var shortcuts: List<Artist>? = null
|
var shortcuts: List<Artist>? = null
|
||||||
@SerializedName("index")
|
@SerializedName("index")
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class InternetRadioStation : Parcelable {
|
class InternetRadioStation : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class InternetRadioStations {
|
class InternetRadioStations {
|
||||||
@SerializedName("internetRadioStation")
|
@SerializedName("internetRadioStation")
|
||||||
var internetRadioStations: List<InternetRadioStation>? = null
|
var internetRadioStations: List<InternetRadioStation>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class JukeboxPlaylist : JukeboxStatus() {
|
class JukeboxPlaylist : JukeboxStatus() {
|
||||||
var entries: List<Child>? = null
|
var entries: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
open class JukeboxStatus {
|
open class JukeboxStatus {
|
||||||
var currentIndex = 0
|
var currentIndex = 0
|
||||||
var isPlaying = false
|
var isPlaying = false
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class License {
|
class License {
|
||||||
var isValid = false
|
var isValid = false
|
||||||
var email: String? = null
|
var email: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Lyrics {
|
class Lyrics {
|
||||||
var value: String? = null
|
var value: String? = null
|
||||||
var artist: String? = null
|
var artist: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class MediaType {
|
class MediaType {
|
||||||
var value: String? = null
|
var value: String? = null
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class MusicFolder : Parcelable {
|
class MusicFolder : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class MusicFolders {
|
class MusicFolders {
|
||||||
@SerializedName("musicFolder")
|
@SerializedName("musicFolder")
|
||||||
var musicFolders: List<MusicFolder>? = null
|
var musicFolders: List<MusicFolder>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class NewestPodcasts {
|
class NewestPodcasts {
|
||||||
@SerializedName("episode")
|
@SerializedName("episode")
|
||||||
var episodes: List<PodcastEpisode>? = null
|
var episodes: List<PodcastEpisode>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class NowPlaying {
|
class NowPlaying {
|
||||||
var entries: List<NowPlayingEntry>? = null
|
var entries: List<NowPlayingEntry>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class NowPlayingEntry(
|
class NowPlayingEntry(
|
||||||
@SerializedName("_id")
|
@SerializedName("_id")
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class PlayQueue {
|
class PlayQueue {
|
||||||
@SerializedName("entry")
|
@SerializedName("entry")
|
||||||
var entries: List<Child>? = null
|
var entries: List<Child>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import androidx.room.ColumnInfo
|
import androidx.room.ColumnInfo
|
||||||
import androidx.room.Entity
|
import androidx.room.Entity
|
||||||
import androidx.room.Ignore
|
import androidx.room.Ignore
|
||||||
|
|
@ -9,6 +10,7 @@ import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
@Entity(tableName = "playlist")
|
@Entity(tableName = "playlist")
|
||||||
open class Playlist(
|
open class Playlist(
|
||||||
|
|
@ -18,32 +20,23 @@ open class Playlist(
|
||||||
) : Parcelable {
|
) : Parcelable {
|
||||||
@ColumnInfo(name = "name")
|
@ColumnInfo(name = "name")
|
||||||
var name: String? = null
|
var name: String? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var comment: String? = null
|
var comment: String? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var owner: String? = null
|
var owner: String? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
@SerializedName("public")
|
@SerializedName("public")
|
||||||
var isUniversal: Boolean? = null
|
var isUniversal: Boolean? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var songCount: Int = 0
|
var songCount: Int = 0
|
||||||
|
|
||||||
@ColumnInfo(name = "duration")
|
@ColumnInfo(name = "duration")
|
||||||
var duration: Long = 0
|
var duration: Long = 0
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var created: Date? = null
|
var created: Date? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var changed: Date? = null
|
var changed: Date? = null
|
||||||
|
|
||||||
@ColumnInfo(name = "coverArt")
|
@ColumnInfo(name = "coverArt")
|
||||||
var coverArtId: String? = null
|
var coverArtId: String? = null
|
||||||
|
|
||||||
@Ignore
|
@Ignore
|
||||||
var allowedUsers: List<String>? = null
|
var allowedUsers: List<String>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class PlaylistWithSongs(
|
class PlaylistWithSongs(
|
||||||
@SerializedName("_id")
|
@SerializedName("_id")
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Playlists(
|
class Playlists(
|
||||||
@SerializedName("playlist")
|
@SerializedName("playlist")
|
||||||
var playlists: List<Playlist>? = null
|
var playlists: List<Playlist>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class PodcastChannel : Parcelable {
|
class PodcastChannel : Parcelable {
|
||||||
@SerializedName("episode")
|
@SerializedName("episode")
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,18 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import androidx.room.ColumnInfo
|
import androidx.room.ColumnInfo
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class PodcastEpisode : Parcelable {
|
class PodcastEpisode : Parcelable {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
|
|
||||||
@SerializedName("parent")
|
@SerializedName("parent")
|
||||||
var parentId: String? = null
|
var parentId: String? = null
|
||||||
|
|
||||||
@SerializedName("isDir")
|
@SerializedName("isDir")
|
||||||
var isDir = false
|
var isDir = false
|
||||||
var title: String? = null
|
var title: String? = null
|
||||||
|
|
@ -21,7 +21,6 @@ class PodcastEpisode : Parcelable {
|
||||||
var track: Int? = null
|
var track: Int? = null
|
||||||
var year: Int? = null
|
var year: Int? = null
|
||||||
var genre: String? = null
|
var genre: String? = null
|
||||||
|
|
||||||
@SerializedName("coverArt")
|
@SerializedName("coverArt")
|
||||||
var coverArtId: String? = null
|
var coverArtId: String? = null
|
||||||
var size: Long? = null
|
var size: Long? = null
|
||||||
|
|
@ -34,7 +33,6 @@ class PodcastEpisode : Parcelable {
|
||||||
@SerializedName("bitRate")
|
@SerializedName("bitRate")
|
||||||
var bitrate: Int? = null
|
var bitrate: Int? = null
|
||||||
var path: String? = null
|
var path: String? = null
|
||||||
|
|
||||||
@ColumnInfo(name = "is_video")
|
@ColumnInfo(name = "is_video")
|
||||||
@SerializedName("isVideo")
|
@SerializedName("isVideo")
|
||||||
var isVideo: Boolean = false
|
var isVideo: Boolean = false
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class PodcastStatus {
|
class PodcastStatus {
|
||||||
var value: String? = null
|
var value: String? = null
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Podcasts {
|
class Podcasts {
|
||||||
@SerializedName("channel")
|
@SerializedName("channel")
|
||||||
var channels: List<PodcastChannel>? = null
|
var channels: List<PodcastChannel>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
class ResponseStatus(val value: String) {
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
|
class ResponseStatus(val value: String) {
|
||||||
companion object {
|
companion object {
|
||||||
@JvmField
|
@JvmField
|
||||||
var OK = "ok"
|
var OK = "ok"
|
||||||
|
|
||||||
@JvmField
|
@JvmField
|
||||||
var FAILED = "failed"
|
var FAILED = "failed"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class ScanStatus {
|
class ScanStatus {
|
||||||
var isScanning = false
|
var isScanning = false
|
||||||
var count: Long? = null
|
var count: Long? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SearchResult {
|
class SearchResult {
|
||||||
var matches: List<Child>? = null
|
var matches: List<Child>? = null
|
||||||
var offset = 0
|
var offset = 0
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SearchResult2 {
|
class SearchResult2 {
|
||||||
@SerializedName("artist")
|
@SerializedName("artist")
|
||||||
var artists: List<Artist>? = null
|
var artists: List<Artist>? = null
|
||||||
|
|
||||||
@SerializedName("album")
|
@SerializedName("album")
|
||||||
var albums: List<Child>? = null
|
var albums: List<Child>? = null
|
||||||
|
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SearchResult3 {
|
class SearchResult3 {
|
||||||
@SerializedName("artist")
|
@SerializedName("artist")
|
||||||
var artists: List<ArtistID3>? = null
|
var artists: List<ArtistID3>? = null
|
||||||
|
|
||||||
@SerializedName("album")
|
@SerializedName("album")
|
||||||
var albums: List<AlbumID3>? = null
|
var albums: List<AlbumID3>? = null
|
||||||
|
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Share {
|
class Share {
|
||||||
var entries: List<Child>? = null
|
var entries: List<Child>? = null
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Shares {
|
class Shares {
|
||||||
var shares: List<Share>? = null
|
var shares: List<Share>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
import android.os.Parcelable
|
import android.os.Parcelable
|
||||||
|
import androidx.annotation.Keep
|
||||||
import kotlinx.parcelize.Parcelize
|
import kotlinx.parcelize.Parcelize
|
||||||
|
|
||||||
|
@Keep
|
||||||
@Parcelize
|
@Parcelize
|
||||||
class SimilarArtistID3 : ArtistID3(), Parcelable
|
class SimilarArtistID3 : ArtistID3(), Parcelable
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SimilarSongs {
|
class SimilarSongs {
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SimilarSongs2 {
|
class SimilarSongs2 {
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Songs {
|
class Songs {
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Starred {
|
class Starred {
|
||||||
var artists: List<Artist>? = null
|
var artists: List<Artist>? = null
|
||||||
var albums: List<Child>? = null
|
var albums: List<Child>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Starred2 {
|
class Starred2 {
|
||||||
@SerializedName("artist")
|
@SerializedName("artist")
|
||||||
var artists: List<ArtistID3>? = null
|
var artists: List<ArtistID3>? = null
|
||||||
|
|
||||||
@SerializedName("album")
|
@SerializedName("album")
|
||||||
var albums: List<AlbumID3>? = null
|
var albums: List<AlbumID3>? = null
|
||||||
|
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class SubsonicResponse {
|
class SubsonicResponse {
|
||||||
var error: Error? = null
|
var error: Error? = null
|
||||||
var scanStatus: ScanStatus? = null
|
var scanStatus: ScanStatus? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
|
@Keep
|
||||||
class TopSongs {
|
class TopSongs {
|
||||||
@SerializedName("song")
|
@SerializedName("song")
|
||||||
var songs: List<Child>? = null
|
var songs: List<Child>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
|
@Keep
|
||||||
class User {
|
class User {
|
||||||
var folders: List<Int>? = null
|
var folders: List<Int>? = null
|
||||||
var username: String? = null
|
var username: String? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Users {
|
class Users {
|
||||||
var users: List<User>? = null
|
var users: List<User>? = null
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class VideoConversion {
|
class VideoConversion {
|
||||||
var id: String? = null
|
var id: String? = null
|
||||||
var bitRate: Int? = null
|
var bitRate: Int? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class VideoInfo {
|
class VideoInfo {
|
||||||
var captions: List<Captions>? = null
|
var captions: List<Captions>? = null
|
||||||
var audioTracks: List<AudioTrack>? = null
|
var audioTracks: List<AudioTrack>? = null
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
package com.cappielloantonio.tempo.subsonic.models
|
package com.cappielloantonio.tempo.subsonic.models
|
||||||
|
|
||||||
|
import androidx.annotation.Keep
|
||||||
|
|
||||||
|
@Keep
|
||||||
class Videos {
|
class Videos {
|
||||||
var videos: List<Child>? = null
|
var videos: List<Child>? = null
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue