Skip to content

Commit

Permalink
Check for PictureType::Other when fetching cover (fix #826)
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Feb 26, 2025
1 parent 1e66b73 commit 17e7d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/plugins/cover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ fn get_cover_from_id3(path: String) -> Option<String> {
let cover = primary_tag
.get_picture_type(PictureType::CoverFront)
.or_else(|| primary_tag.get_picture_type(PictureType::Illustration))
.or_else(|| primary_tag.get_picture_type(PictureType::Other))
.or_else(|| primary_tag.get_picture_type(PictureType::Icon))
.or_else(|| primary_tag.get_picture_type(PictureType::OtherIcon))?;

Expand Down

0 comments on commit 17e7d25

Please sign in to comment.