Update share endpoint to return playback session, add get share file endpoint

This commit is contained in:
advplyr 2024-06-26 17:03:12 -05:00
parent 042035051d
commit 8cadaa57f6
6 changed files with 161 additions and 12 deletions

View file

@ -137,6 +137,11 @@ class Database {
return this.models.customMetadataProvider
}
/** @type {typeof import('./models/MediaItemShare')} */
get mediaItemShareModel() {
return this.models.mediaItemShare
}
/**
* Check if db file exists
* @returns {boolean}