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

Space bar plays/pauses music in queue view #4864

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

gantoine
Copy link

@gantoine gantoine commented Oct 9, 2023

Changes

This PR overrides the behavior of the space bar (when in queue view) to play/pause the player. The behavior and code were essentially lifted from playback/video but stripped down to the bare essentials.

Issues

Closes #4857

@gantoine gantoine requested a review from a team as a code owner October 9, 2023 19:18
@thornbill thornbill added the enhancement Improve existing functionality or small fixes label Oct 16, 2023
@thornbill
Copy link
Member

Hey @gantoine, just for future reference, we don't typically include issue numbers in commit messages / PR titles. We strive to follow these guidelines. Additional details can be found in our docs. Thanks!

@thornbill thornbill added the needs testing This PR requires additional testing label Oct 16, 2023
@gantoine gantoine changed the title [4857] Space bar plays/pauses music in queue view Space bar plays/pauses music in queue view Oct 16, 2023
@gantoine
Copy link
Author

Hey thanks for the heads up, I've gone ahead and updated the title. I use it as a way to link the linear/jira/trello ticket to a PR, and I guess it's become a habit lol. I'll give those link a quick read!

@sonarcloud
Copy link

sonarcloud bot commented Oct 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 296638c
Status ✅ Deployed!
Preview URL https://03e59306.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs
View bot logs

Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

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

👍 appears to work as expected!

@thornbill thornbill merged commit 83ed83f into jellyfin:master Oct 18, 2023
22 checks passed
@thornbill thornbill added this to the v10.9.0 milestone Oct 18, 2023
@thornbill thornbill removed the needs testing This PR requires additional testing label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or small fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent space key behavior
3 participants