Skip to content

new feature: edit artist images - #1169

Merged
digimezzo merged 80 commits into
digimezzo:masterfrom
FranzDeschler:feature/artist-image-editing
Jul 26, 2026
Merged

new feature: edit artist images#1169
digimezzo merged 80 commits into
digimezzo:masterfrom
FranzDeschler:feature/artist-image-editing

Conversation

@FranzDeschler

Copy link
Copy Markdown
Contributor

This is an addition to the "show artist images" feature. It allows the user to edit the artist images.

In case "show artist images" is enabled, the context menu of the artist entries contains an "Edit..." option.
grafik

That button opens the "Edit artist" dialog.
grafik

Here, the user can remove the artist image or select a custom one from the local computer. This works the same way as when editing album covers. The dialog also provides the possibility to search for images online. This functionality uses the fanart API which usually provides multiple images for an artist. The user can select one of those images afterwards.
grafik

If no images could be found online, a corresponding dialog is shown.
grafik

No AI
I used AI to do the translations. Everything else is 100% human intelligence ;-)

To clarify
Similar to the "edit album cover" functionality, this feature uses a "IsManuallySet" flag in the database. This flag is set to "1" if the user chooses a local image or selects one of the images found online. If the user deletes the image, the flag stays "0". That way, removed images are loaded again when pressing "refresh all" in the settings.
How does this work for the album covers? Should a deleted artist image be treated as manually set?

# Conflicts:
#	src/app/common/application/i18n.spec.ts
#	src/app/data/database-migrator.ts
#	src/app/services/indexing/indexing.service.spec.ts
#	src/app/services/indexing/indexing.service.ts
#	src/assets/i18n/pt-PT.json
…to feature/artist-image-editing

# Conflicts:
#	src/assets/i18n/pt-PT.json
# Conflicts:
#	src/app/app.module.ts
#	src/app/common/api/fanart/fanart.api.ts
#	src/app/common/application/i18n.spec.ts
#	src/app/data/database-migrator.ts
#	src/app/data/migrations/migration11.ts
#	src/app/data/repositories/artist-artwork-repository.base.ts
#	src/app/data/repositories/artist-artwork-repository.spec.ts
#	src/app/data/repositories/artist-artwork-repository.ts
#	src/app/services/artist/artist-splitter.spec.ts
#	src/app/services/artist/artist-splitter.ts
#	src/app/services/artist/artist.service.spec.ts
#	src/app/services/artist/artist.service.ts
#	src/app/services/dialog/dialog.service.base.ts
#	src/app/services/dialog/dialog.service.ts
#	src/app/services/indexing/artist-artwork-adder.spec.ts
#	src/app/services/indexing/artist-artwork-adder.ts
#	src/app/services/indexing/indexing.service.spec.ts
#	src/app/services/indexing/indexing.service.ts
#	src/app/services/indexing/online-artist-artwork-getter.spec.ts
#	src/app/services/indexing/online-artist-artwork-getter.ts
#	src/app/ui/components/collection/collection-artists/artist-browser/artist-browser.component.spec.ts
#	src/app/ui/components/collection/collection-artists/artist-browser/artist-browser.component.ts
#	src/app/ui/components/collection/collection-artists/artist/artist.component.html
#	src/app/ui/components/collection/collection-artists/artist/artist.component.scss
#	src/app/ui/components/manage-collection/manage-albums/manage-albums.component.html
#	src/assets/i18n/ar.json
#	src/assets/i18n/bg.json
#	src/assets/i18n/cs.json
#	src/assets/i18n/de.json
#	src/assets/i18n/el.json
#	src/assets/i18n/en.json
#	src/assets/i18n/es.json
#	src/assets/i18n/fa.json
#	src/assets/i18n/fr.json
#	src/assets/i18n/he.json
#	src/assets/i18n/hr.json
#	src/assets/i18n/it.json
#	src/assets/i18n/ja-JP.json
#	src/assets/i18n/ko.json
#	src/assets/i18n/ku.json
#	src/assets/i18n/nl.json
#	src/assets/i18n/pl.json
#	src/assets/i18n/pt-BR.json
#	src/assets/i18n/pt-PT.json
#	src/assets/i18n/ru.json
#	src/assets/i18n/sv.json
#	src/assets/i18n/tr.json
#	src/assets/i18n/vi.json
#	src/assets/i18n/zh-CN.json
#	src/assets/i18n/zh-TW.json
@digimezzo digimezzo closed this in 9c8f3b7 Jul 5, 2026
@digimezzo digimezzo reopened this Jul 5, 2026
@digimezzo

Copy link
Copy Markdown
Owner

@FranzDeschler Thank you! This looks great. i'll review it very soon. I see that I accidentally closed it today when pushing a commit using the wrong id. So if you wondered why this was, that's the reason 😝. PR is now re-opened.

@digimezzo digimezzo added this to the Dopamine 3.0.8 milestone Jul 5, 2026
# Conflicts:
#	src/assets/i18n/bg.json
#	src/assets/i18n/pt-PT.json
#	src/assets/i18n/zh-CN.json

@digimezzo digimezzo left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Great work! Thanks!

@digimezzo
digimezzo merged commit abdba49 into digimezzo:master Jul 26, 2026
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