Skip to content

Commit 0582866

Browse files
authoredApr 29, 2025
chore: update audio metadata reader (#1243)
Ref #1240
1 parent 934a515 commit 0582866

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
 

‎lib/common/data/audio.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,10 @@ class Audio {
307307
printMessageInDebugMode(error);
308308
onError?.call(file.path);
309309
audio = Audio._localWithoutMetadata(path: file.path);
310+
} catch (error) {
311+
printMessageInDebugMode(error);
312+
onError?.call(file.path);
313+
audio = Audio._localWithoutMetadata(path: file.path);
310314
}
311315
return audio;
312316
}

‎pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ packages:
7777
dependency: "direct main"
7878
description:
7979
name: audio_metadata_reader
80-
sha256: "402b314c7212d04ecc425325d2145a0e406c50cb4c80150972ba2fb447e78688"
80+
sha256: "3a8f69540f2c8ffab3d22fad65d3dd91a29170850766843390d2b5beebc902ee"
8181
url: "https://pub.dev"
8282
source: hosted
83-
version: "1.4.0"
83+
version: "1.4.1"
8484
audio_service:
8585
dependency: "direct main"
8686
description:

‎pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010

1111
dependencies:
1212
animated_emoji: ^3.1.0
13-
audio_metadata_reader: ^1.4.0
13+
audio_metadata_reader: ^1.4.1
1414
audio_service: ^0.18.12
1515
audio_service_mpris:
1616
git:

0 commit comments

Comments
 (0)