Skip to content

Adds suffix removal for Apple Music playlist imports - #217

Merged
LumePart merged 7 commits into
LumePart:devfrom
Iced2004:dev
Oct 28, 2026
Merged

LumePart merged 7 commits into
LumePart:devfrom
Iced2004:dev

Conversation

@Iced2004

@Iced2004 Iced2004 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Hello!

I just found out about this service yesterday and was really interested in getting it set up! I currently use Apple Music and a lot of my playlists are on there, and I remembered that Apple Music will append " - Single / - EP" to albums that aren't full length albums, and a lot of last.fm scrobbling services either have an option to circumvent this or just entirely break scrobbling. I mention this because whenever you import an Apple Music playlist, the metadata is ripped straight from the site and thus, a self-hosted music library (in my case, Jellyfin) will display those album names with the suffixes appended at the end. Because of how Jellyfin handles metadata, this causes a lot of metadata to be skipped and mess up your music library.

With this, I decided to create a function and a toggle to use regular expressions to remove these suffixes from album names before being imported into your music library, allowing for a cleaner library. This optional feature can be toggled in the Settings tab in the frontend but is also an environment variable in the .env file! With that in mind, this is my first time writing in Go and JavaScript, so there may be some things incorrect and I would love to work through any potential issues that may arise.

Thank you for this incredible product and I hope that my contributions make it just a tad bit better!

@LumePart
LumePart merged commit 927d570 into LumePart:dev Oct 28, 2026
@LumePart

Copy link
Copy Markdown
Owner

Thanks for the PR!

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.

2 participants