mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 04:48:36 +02:00
Add sync local media progress
This commit is contained in:
@@ -166,6 +166,10 @@ class AbsDatabaseWeb extends WebPlugin {
|
||||
async removeLocalMediaProgress({ localMediaProgressId }) {
|
||||
return null
|
||||
}
|
||||
|
||||
async syncLocalMediaProgressWithServer() {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
const AbsDatabase = registerPlugin('AbsDatabase', {
|
||||
|
||||
@@ -88,6 +88,10 @@ class DbService {
|
||||
removeLocalMediaProgress(localMediaProgressId) {
|
||||
return AbsDatabase.removeLocalMediaProgress({ localMediaProgressId })
|
||||
}
|
||||
|
||||
syncLocalMediaProgressWithServer() {
|
||||
return AbsDatabase.syncLocalMediaProgressWithServer()
|
||||
}
|
||||
}
|
||||
|
||||
export default ({ app, store }, inject) => {
|
||||
|
||||
Reference in New Issue
Block a user