Maybe fixed #303
This commit is contained in:
parent
4818fe1d0c
commit
4503d408df
1 changed files with 2 additions and 2 deletions
|
@ -519,8 +519,8 @@ class LibraryUpdateService(
|
|||
val service = trackManager.getService(track.sync_id)
|
||||
if (service != null && service in loggedServices) {
|
||||
try {
|
||||
service.refresh(track)
|
||||
db.insertTrack(track).executeAsBlocking()
|
||||
val newTrack = service.refresh(track)
|
||||
db.insertTrack(newTrack).executeAsBlocking()
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e)
|
||||
}
|
||||
|
|
Reference in a new issue