mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Extended the compatibility level starting from Android 7.0 (SDK 24)
This commit is contained in:
parent
e1f52958ba
commit
b9e8faac38
8 changed files with 21 additions and 25 deletions
|
|
@ -8,7 +8,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "com.cappielloantonio.playforsubsonic"
|
||||
minSdkVersion 26
|
||||
minSdkVersion 24
|
||||
targetSdkVersion 33
|
||||
versionCode 4
|
||||
versionName "3.1.0"
|
||||
|
|
@ -66,8 +66,8 @@ dependencies {
|
|||
implementation "com.arthurivanets.adapster:adapster:1.0.13"
|
||||
|
||||
// Glide
|
||||
implementation 'com.github.bumptech.glide:glide:4.15.0'
|
||||
implementation 'com.github.bumptech.glide:annotations:4.15.0'
|
||||
implementation 'com.github.bumptech.glide:glide:4.15.1'
|
||||
implementation 'com.github.bumptech.glide:annotations:4.15.1'
|
||||
|
||||
// Media3
|
||||
implementation 'androidx.media3:media3-session:1.0.0-rc02'
|
||||
|
|
@ -76,7 +76,7 @@ dependencies {
|
|||
implementation 'androidx.media3:media3-ui:1.0.0-rc02'
|
||||
implementation 'androidx.media3:media3-cast:1.0.0-rc02'
|
||||
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.15.0'
|
||||
annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
|
||||
annotationProcessor 'androidx.room:room-compiler:2.5.0'
|
||||
|
||||
// Retrofit
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
package com.cappielloantonio.play.repository;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.lifecycle.LiveData;
|
||||
import androidx.lifecycle.MutableLiveData;
|
||||
|
|
@ -15,9 +13,7 @@ import com.cappielloantonio.play.subsonic.base.ApiResponse;
|
|||
import com.cappielloantonio.play.subsonic.models.Child;
|
||||
import com.cappielloantonio.play.subsonic.models.PlayQueue;
|
||||
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
|
|
@ -349,7 +345,7 @@ public class QueueRepository {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
queueDao.setLastPlay(mediaId, Instant.now().toEpochMilli());
|
||||
queueDao.setLastPlay(mediaId, System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class Artist {
|
||||
var id: String? = null
|
||||
var name: String? = null
|
||||
var starred: LocalDateTime? = null
|
||||
var starred: Date? = null
|
||||
var userRating: Int? = null
|
||||
var averageRating: Double? = null
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class Bookmark {
|
||||
var entry: Child? = null
|
||||
var position: Long = 0
|
||||
var username: String? = null
|
||||
var comment: String? = null
|
||||
var created: LocalDateTime? = null
|
||||
var changed: LocalDateTime? = null
|
||||
var created: Date? = null
|
||||
var changed: Date? = null
|
||||
}
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class Directory {
|
||||
var children: List<Child>? = null
|
||||
var id: String? = null
|
||||
var parentId: String? = null
|
||||
var name: String? = null
|
||||
var starred: LocalDateTime? = null
|
||||
var starred: Date? = null
|
||||
var userRating: Int? = null
|
||||
var averageRating: Double? = null
|
||||
var playCount: Long? = null
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class License {
|
||||
var isValid = false
|
||||
var email: String? = null
|
||||
var licenseExpires: LocalDateTime? = null
|
||||
var trialExpires: LocalDateTime? = null
|
||||
var licenseExpires: Date? = null
|
||||
var trialExpires: Date? = null
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class Share {
|
||||
var entries: List<Child>? = null
|
||||
|
|
@ -8,8 +8,8 @@ class Share {
|
|||
var url: String? = null
|
||||
var description: String? = null
|
||||
var username: String? = null
|
||||
var created: LocalDateTime? = null
|
||||
var expires: LocalDateTime? = null
|
||||
var lastVisited: LocalDateTime? = null
|
||||
var created: Date? = null
|
||||
var expires: Date? = null
|
||||
var lastVisited: Date? = null
|
||||
var visitCount = 0
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
package com.cappielloantonio.play.subsonic.models
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.util.*
|
||||
|
||||
class User {
|
||||
var folders: List<Int>? = null
|
||||
|
|
@ -20,5 +20,5 @@ class User {
|
|||
var isJukeboxRole = false
|
||||
var isShareRole = false
|
||||
var isVideoConversionRole = false
|
||||
var avatarLastChanged: LocalDateTime? = null
|
||||
var avatarLastChanged: Date? = null
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue