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

If a music file doesn't have an album name, album art won't be displayed. #173

Open
IcyEyeG opened this issue May 3, 2022 · 2 comments
Open

Comments

@IcyEyeG
Copy link

IcyEyeG commented May 3, 2022

I'm using Rhythmbox 3.4.4 with Alternative Toolbar 0.20.2 on Ubuntu 22.04 and noticed that If a music file doesn't have an album name, album art won't be displayed.

If I deactivate the Alternative Toolbar plugin, this problem doesn't exist. I think the problem is related to this Rhythmbox bug: Album covers for songs without albums are not displayed in the MPRIS notification, since notifications never show album art if a file doesn't have an album name.

Since the bug is 4 years old and hasn't been fixed, I wonder if there's a workaround to make it work on the Alternative Toolbar plugin.

@IcyEyeG IcyEyeG changed the title If a music file doesn't have a track number, album art won't be displayed. If a music file doesn't have an album name, album art won't be displayed. May 3, 2022
@fossfreedom
Copy link
Owner

please can you share a track that shows this behaviour. thx.

@IcyEyeG
Copy link
Author

IcyEyeG commented May 6, 2022

I don't think that's necessary, since all you have to do to reproduce is to select a track with album art, go to properties, remove text in "Album" field and the album art disappears once you close the properties window. If you add something back to the "Album" field, art reappears.

In any case, GitHub doesn't allow me to upload a mp3 file, still, it's possible to generate a file that replicates the problem:
Lets use eyeD3 to take the royalty-free music Ambler (it's just 0:46 long) from Incompetech and make it show the bug. The cover art is available at https://musicbrainz.org/release/b7caa873-5223-4ee1-80c6-e4043ec89ac7/cover-art

wget https://incompetech.com/music/royalty-free/mp3-royaltyfree/Ambler.mp3
eyeD3 --to-v2.3 Ambler.mp3
eyeD3 -A "" Ambler.mp3
wget https://ia601607.us.archive.org/17/items/mbid-b7caa873-5223-4ee1-80c6-e4043ec89ac7/mbid-b7caa873-5223-4ee1-80c6-e4043ec89ac7-16261225699_thumb250.jpg -O cover.jpg
eyeD3 --add-image "cover.jpg:FRONT_COVER" Ambler.mp3

The generated file will have album art, but not album name, thus showing the behavior I described.

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

No branches or pull requests

2 participants