on_audio_query

Flutter Plugin used to query audios/songs infos [title, artist, album, etc..] from device storage.

Stars
43

Bot releases are hidden (Show)

on_audio_query - v2.9.0 Latest Release

Published by LucJosin over 1 year ago

Features

  • Added support to Dart 3.
on_audio_query - v2.8.1

Published by LucJosin over 1 year ago

Fixes

  • Fixed broken pubspec links. - #115

iOS

  • Fixed wrong name of podspec in iOS. - #116

Changes

  • Updated dart-analyzer to support cache
  • Updated README
on_audio_query - v2.8.0

Published by LucJosin over 1 year ago

Features

  • Added showDetailedLog.

Changes

  • Moved android and ios into separated folders.
  • Replaced /details with /src.

⚠ Important Changes

Android

  • Updated kotlin version from 1.4.32 to 1.6.10. - #110
  • Updated kotlin coroutines version from 1.5.2-native-mt to 1.6.4.
on_audio_query - v2.7.0

Published by LucJosin over 1 year ago

Features

  • Added [LogType].
  • Added [LogConfig].
  • Added [PermissionController] (Native)
  • Added [PluginProvider] (Native)
  • Added [setLogConfig] method.
  • Added [checkAndRequest] method.
  • Added [controller] to [QueryArtworkWidget].
  • Added [retryRequest] param to [checkAndRequest] and [permissionsRequest].

Fixes

Android

  • Fixed crash after request permission. - #68
  • Fixed quality always being sent as 200 using [queryArtwork].

Changes

  • Updated example.
  • Renamed natives files/folders.
  • Reduced the default artwork resolution (from 100 to 50).
  • Updated [QueryArtworkWidget] params.
  • Updated quality assert on [QueryArtworkWidget].

⚠ Important Changes

  • Updated application permission check.
    • If application doesn't have permission to access the library, will throw a PlatformException.
  • Updated quality param from [QueryArtworkWidget].
    • This param cannot be defined as null anymore and, by default, will be set to 50.
  • Updated minimum supported Dart version.
    • Increase minimum version from 2.12 to 2.17.
on_audio_query - 2.6.2

Published by LucJosin over 1 year ago

[2.6.2] - [03.03.2023]

Fixes

Android

on_audio_query - 2.6.1

Published by LucJosin over 2 years ago

Fixes

Android

  • [Fixed] incompatibility with Flutter 3. - #78
on_audio_query - 2.6.0

Published by LucJosin over 2 years ago

Features

  • [Added] [scanMedia] method that will scan the given path and update the [Android] MediaStore.

Fixes

  • [Fixed] media showing when calling [querySongs] even after deleting with [dart:io]. - #67

Changes

  • [Updated] some required packages.

Documentation

  • Updated README documentation.
  • Updated DEPRECATED documentation.
  • Updated PLATFORMS documentation.
  • Updated some broken links.
on_audio_query - 2.5.3+1

Published by LucJosin over 2 years ago

Changes

  • [Updated] all Github links.
on_audio_query - 2.5.3

Published by LucJosin almost 3 years ago

Fixes

IOS

  • [Fixed] song/artist/album from Apple Music returning when 'querying' - #61
  • [Fixed] wrong artistId returning from [AlbumModel] - #60

Documentation

  • Updated README documentation.
on_audio_query - 2.5.2

Published by LucJosin almost 3 years ago

Fixes

Android

  • [Fixed] wrong value returning from: - #56
    • [is_music].
    • [is_alarm].
    • [is_notification].
    • [is_ringtone].
    • [is_podcast].
    • [is_audiobook].

Documentation

  • Updated README documentation.
on_audio_query - 2.5.1

Published by LucJosin almost 3 years ago

Fixes

Dart

  • [Fixed] wrong value returning from [artistId] when using [AlbumModel]. - #54

Android

  • [Fixed] missing songs from [queryAudiosFrom] when using GENRE. - #46

Documentation

  • Updated README documentation.

⚠ Important Changes

Dart

  • Now [artistId] from [AlbumModel] return a [int].
on_audio_query - 2.5.0

Published by LucJosin about 3 years ago

Release

  • [2.5.0] release.

Features

Dart

  • [Added] errorBuilder and frameBuilder to [QueryArtworkWidget].

Fixes

Web

  • [Fixed] empty result when using [querySongs].
  • [Fixed] error when decoding some images.

See all development changes:

on_audio_query - 2.4.2

Published by LucJosin about 3 years ago

Fixes

IOS

  • [Fixed] no artwork returning from [queryArtwork] when using ArtworkType.ALBUM. - #45

Documentation

  • Updated README documentation.
on_audio_query - 2.4.1

Published by LucJosin about 3 years ago

Fixes

Dart

  • [Fixed] wrong type of numOfSongs from [SongModel]. - #39

IOS

  • [Fixed] wrong filter configuration when using [queryWithFilters].
  • [Fixed] crash when using any 'query' method with a null sortType. - #43
  • [Fixed] error with wrong [MPMediaQuery] filter. - #38
on_audio_query - 2.4.0

Published by LucJosin about 3 years ago

Features

Android

  • [Added] a better 'search' method to [queryWithFilters], now the query uses 'contains' when 'querying'. - #35

Fixes

IOS

  • [Fixed] error with wrong [MPMediaQuery] type and wrong value from [jpegData]. - #37

Documentation

  • Updated broken README links. - #36

Documentation

  • Updated README documentation.
on_audio_query - 2.3.1

Published by LucJosin about 3 years ago

Features

Android/Web

  • [Added] [ignoreCase] to:
    • [querySongs].
    • [queryAlbums].
    • [queryArtists].
    • [queryPlaylists].
    • [queryGenres].

Fixes

Android

  • [Fixed] error when trying to build using Android. - #32 & #33
  • [Fixed] error related to android song projection. - #31
  • [Fixed] 'bug' when using SongSortType.TITLE. This is now a 'feature' and can be controlled using [ignoreCase]. - #29

Documentation

  • Updated README documentation.

Changes

Android

  • Updated [Kotlin] and [Dependencies] versions.
  • Moved from [JCenter] to [MavenCentral].
on_audio_query - 2.3.0

Published by LucJosin about 3 years ago

Features

Android/IOS/Web

  • [Added] [numOfSongs] to [PlaylistModel] and [GenreModel].
  • [Added] Playlist and Artist to ArtworkType.

Android/IOS

  • [Added] quality to queryArtwork.

Android

  • [Added] [isAudioBook], [Genre] and [GenreId] to [SongModel].
  • Re-[Added] to [SongModel]:
    • [isAlarm].
    • [isMusic].
    • [isNotification].
    • [isPodcast].
    • [isRingtone].

Fixes

Android

  • [Fixed] wrong value returning from [id] when using [ArtistModel].
  • [Fixed] wrong value returning from [id] when using [GenreModel].
  • [Fixed] no value returning from [queryAudiosFrom] when using ARTIST_ID.

Documentation

  • Updated README documentation.
  • Updated OnAudioQuery and OnAudioQueryExample documentation to support new [Flutter 2.5].

Changes

  • [Changed] wrong name DATA_ADDED to DATE_ADDED for both [SongSortType] and [PlaylistSortType]. - #27

⚠ Important Changes

Dart

  • The parameter args from [queryWithFilters] is no longer required.

@.Deprecated

  • [DEFAULT] from [SongSortType].
  • [DEFAULT] from [PlaylistSortType].
  • [DEFAULT] from [ArtistSortType].
  • [DEFAULT] from [AlbumSortType].
  • [DEFAULT] from [GenreSortType].
  • [ARTIST_KEY] from [ArtistSortType].
  • [ARTIST_NAME] from [ArtistSortType].
  • [ALBUM_NAME] from [AlbumSortType].
  • [GENRE_NAME] from [GenreSortType].
  • [DATA_ADDED] from [SongSortType].
  • [DATA_ADDED] from [PlaylistSortType].
on_audio_query - 2.2.0

Published by LucJosin about 3 years ago

Features

IOS

  • Added a filter to avoid cloud audios/songs.

Fixes

IOS

  • [Fixed] wrong value returning from [permissionsStatus]. - #24

Documentation

  • Updated README documentation.
on_audio_query - 2.1.2

Published by LucJosin about 3 years ago

Fixes

Android

  • Fixed duplicate media from [queryWithFilters].
  • Fixed crash when calling [queryWithFilters]. - Fixed #23
  • Fixed null artwork returning from [queryArtwork] on Android 11/R. - Fixed #21

Documentation

  • Updated README documentation.
  • Updated pubspec documentation.
on_audio_query - 2.1.1

Published by LucJosin about 3 years ago

Fixes

Android

  • Fixed error when using [removeFromPlaylist]. - Fixed #22

Documentation

  • Updated README documentation.
  • Updated [OnAudioQueryExample] to support [Web] platform.