-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extended the Albums model according to the OpenSubsonic API pro…
…ject indications
- Loading branch information
1 parent
08e9be1
commit 25900c8
Showing
5 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app/src/main/java/com/cappielloantonio/tempo/subsonic/models/DiscTitle.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.cappielloantonio.tempo.subsonic.models | ||
|
||
import android.os.Parcelable | ||
import androidx.annotation.Keep | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Keep | ||
@Parcelize | ||
open class DiscTitle : Parcelable { | ||
var disc: Int? = null | ||
var title: String? = null | ||
} |
13 changes: 13 additions & 0 deletions
13
app/src/main/java/com/cappielloantonio/tempo/subsonic/models/ItemDate.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.cappielloantonio.tempo.subsonic.models | ||
|
||
import android.os.Parcelable | ||
import androidx.annotation.Keep | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Keep | ||
@Parcelize | ||
open class ItemDate : Parcelable { | ||
var year: Int? = null | ||
var month: Int? = null | ||
var day: Int? = null | ||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/com/cappielloantonio/tempo/subsonic/models/ItemGenre.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.cappielloantonio.tempo.subsonic.models | ||
|
||
import android.os.Parcelable | ||
import androidx.annotation.Keep | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Keep | ||
@Parcelize | ||
open class ItemGenre : Parcelable { | ||
var name: String? = null | ||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/com/cappielloantonio/tempo/subsonic/models/RecordLabel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.cappielloantonio.tempo.subsonic.models | ||
|
||
import android.os.Parcelable | ||
import androidx.annotation.Keep | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Keep | ||
@Parcelize | ||
open class RecordLabel : Parcelable { | ||
var name: String? = null | ||
} |