Skip to content

Remember playlist position when resume=true - #1325

Merged
flyingmutant merged 1 commit into
cmus:masterfrom
gavtroy:resume-pl
Sep 8, 2024
Merged

flyingmutant merged 1 commit into
cmus:masterfrom
gavtroy:resume-pl

Conversation

@gavtroy

@gavtroy gavtroy commented Mar 27, 2024

Copy link
Copy Markdown
Collaborator

Slightly overengineered as it could be done without a loaded event, but I wanted to avoid surprising behavior in the unlikely case where the playlist is cleared offline and then repopulated some time after cmus was started.

Fixes #729.

@jdholtz

jdholtz commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

This works great for me. Thanks gavtroy!

@pgaskin pgaskin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, LGTM.

@pgaskin

pgaskin commented Sep 2, 2024

Copy link
Copy Markdown
Member

@flyingmutant

Slightly overengineered as it could be done without a loaded event, but
I wanted to avoid surprising behavior in the unlikely case where the
playlist is cleared offline and then repopulated some time after cmus
was started.

Fixes cmus#729.
@flyingmutant
flyingmutant merged commit e8e2432 into cmus:master Sep 8, 2024
@flyingmutant

Copy link
Copy Markdown
Member

Thanks! Merged.

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 this pull request may close these issues.

Remember the last-played track in the playlist view across invocations of cmus

4 participants