diff --git a/pages/item/_id/index.vue b/pages/item/_id/index.vue index 97c99ed5..17686d30 100644 --- a/pages/item/_id/index.vue +++ b/pages/item/_id/index.vue @@ -32,10 +32,13 @@
Media is not linked to an Audiobookshelf server. No progress will be synced.
Media is linked to an Audiobookshelf server on a different address ({{ localLibraryItem.serverAddress }}). No progress will be synced until you connect to this server.
+Media is linked to an Audiobookshelf server on a different address ({{ localLibraryItem.serverAddress }}). Progress will be synced when connected to this server address.
+Media is linked to this server but was downloaded by a different user. Progress will only be synced to the user that downloaded it.
Media is linked to a different server connection config. This might mean a different user downloaded this media (User Id: {{ localLibraryItem.serverUserId }}). Currently connected user id: {{ user.id }}. Progress will only sync to the user that downloaded the media.
+Media is linked to a different server connection config. Downloaded User Id: {{ localLibraryItem.serverUserId }}. Downloaded Server Address: {{ localLibraryItem.serverAddress }}. Currently connected User Id: {{ user.id }}. Currently connected server address: {{ currentServerAddress }}.
Downloaded media is linked to this server
@@ -264,6 +267,13 @@ export default { if (this.isLocalOnly || !this.localLibraryItem || !this.currentServerAddress) return false return this.localLibraryItem.serverAddress === this.currentServerAddress }, + /** + * User is currently connected to a server and this local library item has the same user id + */ + isLocalMatchingUser() { + if (this.isLocalOnly || !this.localLibraryItem || !this.user) return false + return this.localLibraryItem.serverUserId === this.user.id + }, /** * User is currently connected to a server and this local library item has the same connection config id */