From ec3629fd0f8ce3a3b39e207dcce672cc455c79ad Mon Sep 17 00:00:00 2001 From: Ryan Heise Date: Tue, 28 Jun 2022 00:09:32 +1000 Subject: [PATCH] Update to audio_service 0.18.6. --- just_audio/README.md | 6 +++--- just_audio_background/CHANGELOG.md | 5 +++++ just_audio_background/pubspec.yaml | 4 ++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/just_audio/README.md b/just_audio/README.md index 80e2c4860..eaf370f81 100644 --- a/just_audio/README.md +++ b/just_audio/README.md @@ -87,8 +87,8 @@ await player.setLoopMode(LoopMode.all); // Set playlist to loop (off|all| await player.setShuffleModeEnabled(true); // Shuffle playlist order (true|false) // Update the playlist -await playlist.add(newChild); -await playlist.insert(3, newChild); +await playlist.add(newChild1); +await playlist.insert(3, newChild2); await playlist.removeAt(3); ``` @@ -128,7 +128,7 @@ Note: `LockCachingAudioSource` is implemented via a local HTTP proxy which on An // Feed your own stream of bytes into the player class MyCustomSource extends StreamAudioSource { final List bytes; - MySource(this.bytes); + MyCustomSource(this.bytes); @override Future request([int? start, int? end]) async { diff --git a/just_audio_background/CHANGELOG.md b/just_audio_background/CHANGELOG.md index 9641e6c7e..69e287b63 100644 --- a/just_audio_background/CHANGELOG.md +++ b/just_audio_background/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.0.1-beta.7 + +* Fix build when targeting Android 13. +* Add MediaItem.artHeaders. + ## 0.0.1-beta.6 * Update documentation/example for Android 12. diff --git a/just_audio_background/pubspec.yaml b/just_audio_background/pubspec.yaml index aadeb9a61..aeaa3f4f3 100644 --- a/just_audio_background/pubspec.yaml +++ b/just_audio_background/pubspec.yaml @@ -1,13 +1,13 @@ name: just_audio_background description: An add-on for just_audio that supports background playback and media notifications. homepage: https://github.com/ryanheise/just_audio/tree/master/just_audio_background -version: 0.0.1-beta.6 +version: 0.0.1-beta.7 dependencies: just_audio_platform_interface: ^4.1.0 # just_audio_platform_interface: # path: ../just_audio_platform_interface - audio_service: ^0.18.5 + audio_service: ^0.18.6 audio_session: ^0.1.7 flutter: sdk: flutter