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

Update originalReleaseDate field to new ItemDate type #80

Merged
merged 3 commits into from Dec 23, 2023

Conversation

dweymouth
Copy link
Member

NOTE: this is a breaking change but as of now, LMS (server) and Symfonium (client) are the only users of this field, and they have coordinated the ability to make the change.

This is needed because the original type of the field was an ISO date which does not allow the representation of "partial" dates (ie only year known, or year and month), which is a common scenario with music file tags.

Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for opensubsonic ready!

Name Link
🔨 Latest commit 8b12978
🔍 Latest deploy log https://app.netlify.com/sites/opensubsonic/deploys/6585ae2faaf06200083d1148
😎 Deploy Preview https://deploy-preview-80--opensubsonic.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@dweymouth
Copy link
Member Author

CC @certuna

@Tolriq
Copy link
Member

Tolriq commented Dec 22, 2023

The year needs to be optional too. If the server support the field it must return it not null, so in this case an empty object without year or month or day.

deluan added a commit to navidrome/navidrome that referenced this pull request Dec 23, 2023
deluan added a commit to navidrome/navidrome that referenced this pull request Dec 23, 2023
@dweymouth dweymouth merged commit bd15832 into main Dec 23, 2023
4 checks passed
@dweymouth dweymouth deleted the originalreleasedate-update branch December 23, 2023 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants