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

allow Squeezeplay to display date in parentheses next to the album #1179

Open
wants to merge 1 commit into
base: public/9.0
Choose a base branch
from

Conversation

kerneljake
Copy link

This patch allows Squeezeplay to display the date in parentheses next to the album in Now Playing. This makes it behave similar to Material. No modifications to Squeezeplay are required.

image

This is my first ever LMS pull request, so I’m looking for feedback and guidance if I’m off the mark here.

test plan:

  • Squeezplay (Now Playing widget) on Linux & macOS
    • local FLAC, local mp3, and Radio Paradise interactive FLAC streams - shows year in parentheses correctly
    • Asterisk radio - no effect
  • Transporter - no effect
  • Squeezer on Android - no effect

@@ -5105,7 +5105,7 @@ sub _addJivePlaylistControls {

# **********************************************************************
# *** This is a performance-critical method ***
# Take cake to understand the performance implications of any changes.
# Take care to understand the performance implications of any changes.
Copy link
Member

Choose a reason for hiding this comment

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

The truth lies in the cake, doesn't it? 😁

Copy link
Member

@michaelherger michaelherger left a comment

Choose a reason for hiding this comment

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

Looking good for a first PR! Thanks!

Unfortunately I'm a big hesitant to merge at this point, as I could imagine this to cause quite a bit of opinionated discussions... "I want to be able to turn this off!". People don't like changes to what they became used to seeing.

So what I'd suggest is to wait for 9.0 to be released and put this in whatever comes next (9.1). And you could make it depend on the showYear pref: there's an option to "show year with albums" in the standard web UI. This mostly applies to album lists and such, but could probably satisfy some of the naysayers.

And please also test with online radio stations and such. Thanks!

@michaelherger michaelherger added this to the 9.1.0 milestone Oct 15, 2024
@michaelherger michaelherger self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants