Update:Media item share endpoints and audio player #1768

- Add endpoints for getting tracks, getting cover image and updating progress
- Implement share session cookie and caching share playback session
- Audio player UI/UX
This commit is contained in:
advplyr 2024-06-29 15:05:35 -05:00
parent c1349e586a
commit 31146082f0
6 changed files with 229 additions and 33 deletions

View file

@ -43,6 +43,10 @@ class PlaybackSession {
this.audioTracks = []
this.videoTrack = null
this.stream = null
// Used for share sessions
this.shareSessionId = null
this.mediaItemShareId = null
this.coverAspectRatio = null
if (session) {
this.construct(session)