8000 Inline TrackArtistLinks in Album page by defvs · Pull Request #633 · epoupon/lms · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Inline TrackArtistLinks in Album page #633

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

Merged
merged 2 commits into from
Mar 9, 2025
Merged

Conversation

defvs
Copy link
Contributor
@defvs defvs commented Mar 4, 2025

Implement #626
First time using Wt, feel free to correct me, similarly feel free to correct my code styling.

Current implementation works for all TrackArtistLinkType. It is currently hardcoded to display them all. This PR is set as draft as I will be implementing a config in the user's settings to either show only remixers (my initial goal), all relationships, or nothing.

image

image

defvs added 2 commits March 4, 2025 10:46
First implementation is a bit of a hardcode; working on making it work with all artist relations. Will then add a config flag or something for it to be user-toggleable.
For now, it's always shown. Soon, I will be implementing a setting to chose whether to show everything, remixers only, or nothing.
@epoupon
Copy link
Owner
epoupon commented Mar 4, 2025

Heh, thanks for the pr, it does look quite good!
Can you please rebase on develop instead of master?
I think it would be better to just have a checkbox for each type of artist you want (instead of a single setting all/remixers/none)

@defvs defvs changed the base branch from master to develop March 4, 2025 10:55
@epoupon
Copy link
Owner
epoupon commented Mar 4, 2025

What do you think of the current track artists?
It looks like they are a bit misplaced in both small and large views?

@epoupon
Copy link
Owner
epoupon commented Mar 7, 2025

@defvs if you are OK, I will use your branch as a first step to implement this feature myself.

@epoupon
Copy link
Owner
epoupon commented Mar 8, 2025

Current tests:
image

image

image

Changes:

  • made more space for the track name + the new artist roles
  • made the artist roles + anchors a bit smaller
  • moved the artist roles within the track name's div, in order to prevent the roles to span all over the lines

Next step would be to centralize code to get the exact roles for performers (like in the track info panel)

@epoupon
Copy link
Owner
epoupon commented Mar 8, 2025

image

@epoupon epoupon merged commit 2e5c9e9 into epoupon:develop Mar 9, 2025
9 checks passed
@defvs
Copy link
Contributor Author
defvs commented Mar 10, 2025

Nice, thanks for merging this. Sorry, I was away for the weekend. Tell me if there's anything linked I can work on.

@defvs
Copy link
Contributor Author
defvs commented Mar 10, 2025

I see that you implemented a WSelectionBox which was exactly what I was working on. Seems like you were more efficient than me : )

@epoupon
Copy link
Owner
epoupon commented Mar 10, 2025

Unfortunately, I implemented something clunky I need to rework (https://redmine.emweb.be/boards/2/topics/18850)

8000
@Bigmack3000
Copy link

Hey, is there anything in particular I need to do to have Performers show up inline? I have all the options selected under settings, and I know the tracks have performers when I look in mbz picard.

Lyricist, composer, remixer, conductor, all show up. But performers do not.

Thanks!

@epoupon
Copy link
Owner
epoupon commented May 23, 2025

Hello!
Please send me a file where performers are not shown, will tell you.
You can also use lms-metadata to see if these performers are extracted or not.

@Bigmack3000
Copy link

Hello! Please send me a file where performers are not shown, will tell you. You can also use lms-metadata to see if these performers are extracted or not.
1-01 Sgt. Pepper's Lonely Hearts Club Band (2018 Mix).mp3.zip

I've attached a song file here.

This is a screenshot of it from my computer:

Screen Shot 2025-05-23 at 3 35 51 PM

And the settings:

Screen Shot 2025-05-23 at 3 36 13 PM

Let me know if anything else is needed. Thanks!

@Bigmack3000
Copy link

@epoupon hey, just curious if you were able to reproduce this? Thanks.

@epoupon
Copy link
Owner
epoupon commented Jun 1, 2025

Hello, indeed lms-metadata does not report any performer tags but it looks like picard does read them.
I have not investigated more for now!

@Bigmack3000
Copy link

Thanks!

@epoupon
Copy link
Owner
epoupon commented Jun 2, 2025

Well I am not sure.
I do see performer entries in a TIPL frame, but it looks like this is not used by taglib.
Resaving the file using the latest picard version rewrites performers in a TMCL frame.
Looks like taglib is happy with that
image

@Bigmack3000
Copy link

Well I am not sure. I do see performer entries in a TIPL frame, but it looks like this is not used by taglib. Resaving the file using the latest picard version rewrites performers in a TMCL frame. Looks like taglib is happy with that image

So my tags are too old? Is there any way to make tipl tags work? Or is resaving with the newer version the only option? Also, what version of picard did you use? Thanks!

@epoupon
Copy link
Owner
epoupon commented Jun 6, 2025

For now, resaving is the only option. I could hack in lms but I think we should first report the issue on taglib

@Bigmack3000
Copy link

Ok great. Whats the best way for me to contact them?

@epoupon
Copy link
Owner
epoupon commented Jun 6, 2025

You can open an issue here: https://github.com/taglib/taglib , provide your sample file, and tell your performers in the TIPL frame are not parsed by TagLib (but it works if resavec in a TMCL frame)

@Bigmack3000
Copy link

I received few responses there, but I'm not sure what any of it means, unfortunately.

@epoupon
Copy link
Owner
epoupon commented Jun 9, 2025

Basically, the author suggests that taglib handles the IPLS frame of your id3v2.3 differently (the one that contains your performers), so that performers will be handled with no change on LMS side.
The other option would be to make changes in LMS, but that would require to recode some logic already done un taglib, and would be prone to bugs and regressions in the future, if taglib eventually makes the suggested change on their side.

Or you could just resave your file using id3v2.4 (you would also benefit from true multi-valued tags, no need for custom seprators)

@Bigmack3000
Copy link

Gotcha. Thanks! Is there a suggested way to update my tags to 2.4 other than running them all again through picard?

@Bigmack3000
Copy link

It looks like someone made a pull request and fixed the issue:

< 67E6 a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3146042734" data-permission-text="Title is private" data-url="https://github.com/taglib/taglib/issues/1276" data-hovercard-type="pull_request" data-hovercard-url="/taglib/taglib/pull/1276/hovercard" href="https://github.com/taglib/taglib/pull/1276">taglib/taglib#1276

So now it's just a matter of waiting until its added to the main code?

@epoupon
Copy link
Owner
epoupon commented Jun 16, 2025

Perfect! Yes, we have to wait for a new taglib release, and if you use the lms docker image, it will be available shortly after

@Bigmack3000
Copy link

Does "merged with taglib: master" mean it's in?

You do a great job of showing the next release status with that milestone tab. They're a little more vague.

@epoupon
Copy link
Owner
epoupon commented Jun 22, 2025

It is in their master branch, so we now have to wait for their next release.
Unfortunately, I can't tell when it will happen!

@Bigmack3000
Copy link

Taglib has released a new update including the fix for this issue.

@epoupon
Copy link
Owner
epoupon commented Jun 30, 2025

Thanks for the notification, will do this in #700

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.

3 participants
0