Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Allow resuming of a song that was previously playing. #1675

Closed
SketchNI opened this issue May 6, 2023 · 1 comment · Fixed by #1735
Closed

[feat] Allow resuming of a song that was previously playing. #1675

SketchNI opened this issue May 6, 2023 · 1 comment · Fixed by #1735

Comments

@SketchNI
Copy link
Contributor

SketchNI commented May 6, 2023

Description
Let's say I'm playing "Cliffs of Dover" by Eric Johnson and at 2 minutes 30 seconds, I close my browser. A few hours later, I reopen Koel in my browser and want to resume the song from that point but I can't.

Example
This could be achieved (maybe?) by writing the song uuid and progress to localStorage every few seconds and when initiating a new session in koel, check for koelMediaResume in localStorage, pull the song and set the progess to the last recorded timestamp.

@phanan
Copy link
Member

phanan commented May 12, 2023

Yeah, I've been thinking of the idea of maintaining the listening session (current song, current time, and current queue) but don't have time yet. The ideal case would be that these are synced between browsers/devices as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants