on_audio_query

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

Stars
43

Bot releases are visible (Hide)

on_audio_query - 2.1.0

Published by LucJosin about 3 years ago

Features

on_audio_query

  • The plugin now supports [Web].
  • The plugin now utilize [Platform interface] package.

Web

  • Added:
    • [querySongs].
    • [queryAlbums].
    • [queryArtists].
    • [queryGenres].
    • [queryAudiosFrom].
    • [queryWithFilters].
    • [queryArtwork].
    • [queryDeviceInfo].

Documentation

  • Updated on_audio_query documentation.
  • Updated README documentation.
  • Updated PLATFORMS documentation.
  • Added documentation to Web platform.
on_audio_query - 2.0.0

Published by LucJosin about 3 years ago

on_audio_query - 2.0.0-beta.3

Published by LucJosin about 3 years ago

See all development changes: CHANGELOG

Features

Android

  • Now ALL methods will only "query" if has permission to READ.

Fixes

Android

  • Fixed no value returning when using [requestPermission].

Documentation

  • Updated README documentation.
  • Added more documentation to Android platform.
on_audio_query - 2.0.0-beta.2

Published by LucJosin about 3 years ago

See all development changes: CHANGELOG

Features

IOS

  • Now ALL methods will only "query" if has permission to library.
  • Added [addToPlaylist].

Dart

  • Added [author] and [desc] arguments to [createPlaylist]. (IOS only)

Fixes

IOS

  • Fixed crash when using [queryArtwork].
  • Fixed wrong [id] value returning from [PlaylistModel].

Documentation

  • Updated README documentation.
on_audio_query - 2.0.0-beta.1

Published by LucJosin about 3 years ago

See all development changes: CHANGELOG

Features

IOS

  • Added [queryArtwork].

Fixes

Kotlin

  • Fixed error when building to [Android].

IOS

  • Fixed wrong [duration], [dateAdded] and [bookmark] values returning from [SongModel].

Documentation

  • Updated on_audio_query documentation.
  • Updated README documentation.
  • Updated DEPRECATED documentation.
  • Added documentation to IOS platform.

⚠ Important Changes

@Deprecated

  • [artwork] from [QueryArtworkWidget].
  • [deviceSDK] from [QueryArtworkWidget].
  • [requestPermission] from [QueryArtworkWidget].
on_audio_query -

Published by LucJosin about 3 years ago

See all development changes: CHANGELOG

Features

on_audio_query

Documentation

  • Updated on_audio_query documentation.
  • Updated README documentation.
  • Updated DEPRECATED documentation.
  • Created PLATFORMS file.

⚠ Important Changes

Dart

  • Now ALL methods has Named Optional arguments.
  • Changed [queryArtworks] to [queryArtwork].

@Deprecated

  • [requestPermission] argument from ALL methods.
  • [queryAudios].
  • [artwork] from [SongModel].
  • [path] from [querySongs].
on_audio_query - 1.2.0

Published by LucJosin about 3 years ago

Features

  • Added [path] parameter to [querySongs] and [queryAudio].
  • Added [getMap] to:
    • [SongModel]
    • [AlbumModel]
    • [ArtistModel]
    • [GenreModel]
    • [PlaylistModel]
    • [DeviceModel]

Documentation

  • Updated README documentation.
on_audio_query - 1.1.3+1

Published by LucJosin over 3 years ago

[1.1.3+1]

Fixes

Kotlin

  • Fixed [Kotlin] issue when installing the plugin.

Documentation

  • Updated README documentation.

Changes

Kotlin

  • Downgraded some [Kotlin] dependencies.

[1.1.3]

Fixes

Kotlin

  • Fixed [cursor] problem when using [AudiosFromType.GENRE_NAME] or [AudiosFromType.GENRE_ID] on [queryAudiosFrom]. - Fixed #16 and Fixed #12

Documentation

  • Updated README documentation.

Changes

Kotlin

  • Updated some [Kotlin] dependencies.
on_audio_query - 1.1.2

Published by LucJosin over 3 years ago

Fixes

Kotlin

  • Fixed [cursor] problem when using [AudiosFromType.GENRE_NAME] or [AudiosFromType.GENRE_ID] on [queryAudiosFrom]. - Fixed #12

Documentation

  • Updated README documentation.
on_audio_query - 1.1.1

Published by LucJosin over 3 years ago

Features

Dart/Kotlin

Fixes

Kotlin

  • Fixed java.lang.Integer cannot be cast to java.lang.Long from [queryArtworks]. - Fixed #11

Documentation

  • Updated README documentation.
  • Created DEPRECATED file/history.

Changes

Dart

  • Changed from [deviceInfo] to [deviceSDK] on [QueryArtworkWidget].

⚠ Important Changes

Dart

  • Deprecated [deviceInfo] from [QueryArtworkWidget].
on_audio_query - 1.1.0

Published by LucJosin over 3 years ago

Features

Dart/Kotlin

  • Added [queryDeviceInfo].
  • Added [dateModified] to [SongModel].
  • Added [querySongsBy] and [SongsByType].

Fixes

Kotlin

Dart

  • Fixed wrong name. From [dataAdded] to [dateAdded].

Documentation

  • Updated README documentation.
  • Updated [OnAudioQueryExample] to add new [queryDeviceInfo] and [QueryArtworkWidget] methods.

Changes

Kotlin

  • Updated some [Kotlin] dependencies.
  • Changed some [Kotlin] methods.

⚠ Important Changes

Dart

  • Now [getDeviceSDK], [getDeviceRelease] and [getDeviceCode] are part of [queryDeviceInfo].
  • Now [QueryArtworkWidget] support Android above and below 29/Q/10.
  • Now [size], [albumId], [artistId], [dataAdded], [dataModified], [duration], [track] and [year] from [SongModel] will return [int].
on_audio_query - 1.0.8

Published by LucJosin over 3 years ago

Features

Dart

  • Added [artworkClipBehavior], [keepOldArtwork], [repeat] and [scale] to [QueryArtworkWidget].
  • Added comments to [QueryArtworkWidget].

Fixes

Kotlin

  • Now [queryArtworks] will return null. - Fixed #6

Documentation

  • Updated README documentation.

⚠ Important Changes

Dart

  • Now [queryArtworks] return [Uint8List?].
on_audio_query - 1.0.7

Published by LucJosin over 3 years ago

Features

Dart/Kotlin

  • Added [queryFromFolder].
  • Added [queryAllPath].
  • Added [_display_name_wo_ext] ([displayName] without extension) to [SongModel]. - Added #5
  • Added [file_extension] (Only file extension) to [SongModel].
  • Added [file_parent] (All the path before file) to [SongModel].
  • Added [Genre] to [queryAudiosFrom].
  • Added [ALBUM_ID], [ARTIST_ID] and [PLAYLIST_ID] to [AudiosFromType]. - Added #2

Documentation

  • Updated README documentation.

Changes

Dart/Kotlin

  • Now [queryAudiosFrom] supports [name] and [id].
  • Now [albumId] from [AlbumModel] return a [int].

Kotlin

  • Now all [Kotlin] checks will throw a [Exception] if value don't exist.
  • Updated some [Kotlin] dependencies.

Important Changes

Dart/Kotlin

  • Changed [ALBUM], [ARTIST] and [PLAYLIST] to [ALBUM_NAME], [ARTIST_NAME] and [PLAYLIST_NAME] in [AudiosFromType].
on_audio_query - 1.0.6

Published by LucJosin over 3 years ago

Fixes

Kotlin

  • Fixed [queryArtwork] returning null album image in Android 11.

Documentation

  • Updated README documentation.

Changes

Kotlin

  • Removed unnecessary code from [WithFiltersType].
  • Updated some [Kotlin] dependencies.
on_audio_query - 1.0.5

Published by LucJosin over 3 years ago

Features

Dart/Kotlin

  • Added [queryAudiosOnly].
  • Added [queryWithFilters].
  • Added [AudiosOnlyType] and [WithFiltersType].
  • Added [SongsArgs], [AlbumsArgs], [PlaylistsArgs], [ArtistsArgs], [GenresArgs].
  • Added [EXTERNAL] and [INTERNAL] parameters for some query methods.

Documentation

  • Updated README documentation.

Changes

Dart/Kotlin

  • Now [querySongs], [queryAlbums], [queryArtists], [queryPlaylists] and [queryGenres] have [UriType] as parameter.

Kotlin

  • Updated some [Kotlin] dependencies.
on_audio_query - 1.0.3

Published by LucJosin over 3 years ago

⚠ Important Changes

Dart

  • Migrate to null safety.
on_audio_query - 1.0.2

Published by LucJosin over 3 years ago

Fixes

Dart

  • Fixed flutter example.

Kotlin

  • Fixed [audiosFromPlaylist] [Now this method is part of queryAudiosFrom]
  • Fixed "count(*)" error from [addToPlaylist]. [Permission bug on Android 10 still happening]

Documentation

  • Updated README documentation.

Changes

Dart

  • Now [Id] in models return [int] instead [String].

⚠ Important Changes

Dart/Kotlin

  • Removed [ALBUM_KEY], [ARTIST_KEY] from all query audio methods.

Kotlin

  • Moved [audiosFromPlaylist] to [queryAudiosFrom].
on_audio_query - Release

Published by LucJosin over 3 years ago

This is the release of the on_audio_query plugin.

  • A Flutter Plugin used to query audio/songs info.
  • See more in CHANGELOG