on_audio_room 2.2.1+1
on_audio_room: ^2.2.1+1 copied to clipboard
Flutter Package used to create a room to storage audio sections [Favorites, Internal Playlists, Most Played, etc...].
2.2.1 [10.02.2021] #
Fixes #
- [Fixed] wrong
ignoreDuplicatemethod on all[addTo]methods. - [Fixed] wrong value returning from
checkIn. - #9
Documentation #
- Updated
READMEdocumentation. - Updated
OnAudioRoomExample.
Changes #
- [Changed] the
keyvalue from[Favorites],[LastPlayed]and[MostPlayed]entities to songidinstead of a generated value.
2.2.0 [09.20.2021] #
Features #
- [Added] a conversion to lowercase and make the
checkmore accurate when usingignoreDuplicate.
Fixes #
- [Fixed]
ignoreDuplicatein[createPlaylist]. - Thanks @giga10
Documentation #
- Updated
READMEdocumentation. - Updated
OnAudioRoomandOnAudioRoomExampledocumentation to support new[Flutter 2.5].
2.1.1 [09.17.2021] #
2.1.0 [09.15.2021] #
Features #
- [Added]
getMapto[SongEntity]asextension, this will help to convert[SongEntity]to[SongModel]. - #3
Fixes #
- [Fixed] Entity checker error when using
[addAllTo]. - #5 - [Fixed] No value returning when using
[queryLastPlayed]. - #4
Documentation #
- Updated
READMEdocumentation. Updated.OnAudioRoomExampledocumentation to support new[Flutter 2.5]
2.0.0-beta.2 [07.28.2021] #
2.0.0-beta.1 [07.26.2021] #
Features #
- Added
[ID],[TITLE],[DURATION]and[DATE_ADDED]to[RoomSortType]. - Added
[RoomSortType]to[query]methods. - Added
[deleteRoomFile]. This method will delete the file PERMANENTLY. - Added
[clearRoom]. - Added
[updateRoom].
Fixes #
- Fixed wrong export. - Fixed #1
Documentation #
- Updated
READMEdocumentation.
Changes #
- Added a better example using the
[Favorites]method has example. - Added a better documentation to example.
- Now all
[entity/entities]will be checked based on[RoomType]. - Added internal
[RoomController]to clean the package main method.
⚠ Important Changes #
- Now
[deleteAllFrom]no longer delete all data from specific[Room], use[clearRoom]instead. - Now
[queryAllFromFavorites]are[queryFavorites]. - Now
[queryAllFromLastPlayed]are[queryLastPlayed]. - Now
[queryAllFromMostPlayed]are[queryMostPlayed]. - Now
[resetAllDatabase]are[clearAll].
@Deprecated
[setDatabaseName]-[setDatabaseLimit]-[getDatabaseName]-[getDatabaseStatus]- Use
[getRoomInfo]instead.
- Use
[resetDatabaseName]-[resetDatabaseLimit]-[queryAllIdsFrom]-
2.0.0-beta.0 [07.26.2021] #
1.0.1+1 [07.19.2021] #
1.0.1 [07.17.2021] #
0.10.1 [06.18.2021] #
Features #
Dart
- Created
[OnTimerFormatter]and[OnEntityFormatter]. - Created a int extension(OnTimerFormatter) used to format the duration into Time.
- Created a String extension(OnEntityFormatter) used to format the string to
[PlaylistEntity].
Fixes #
Dart/Kotlin
- Fixed all problems with comminication between Dart <-> Kotlin.
Dart
- Changed method to check null values.
Documentation #
- Added better comments to all plugin.
- Created
READMEtranslation forpt-BR[Portuguese]. - Updated
READMEdocumentation. - Updated
README.pt-BRdocumentation. - Updated
pubspec.yaml.
0.10.0 [06.16.2021] #
Features #
Kotlin
- Added basics methods for futures
[Migrations]. - Added
[OnGlobalSource],[OnPlaylistSource]and[OnQuerySource].
Dart/Kotlin
- Added
[getDatabaseLimit],[resetDatabaseLimit],[setDatabaseLimit]. - Added
[AddAllTo]. - Added
[RoomType]. - Added
[FAVORITES],[LASTPLAYED],[MOSTPLAYED],[PLAYLIST_SONGS]to[RoomType].
Changes #
Dart/Kotlin
- All methods used to
[Add/Delete/DeleteAll/Check]are now[AddTo],[DeleteFrom],[DeleteAllFrom]and[CheckIn].
⚠ Important Changes #
Dart/Kotlin
- Removed:
[getFavoritesSize][getFavoritesTotalDuration][getLastPlayedSize][getLastPlayedTotalDuration][getMostPlayedSize][getMostPlayedTotalDuration]
- Removed:
[addToFavorites][deleteFromFavorites][deleteAllFromFavorites][checkInFavorites]
- Removed:
[addToLastPlayed][deleteFromLastPlayed][deleteAllFromLastPlayed][checkInLastPlayed]
- Removed:
[addToMostPlayed][deleteFromMostPlayed][deleteAllFromMostPlayed][checkInMostPlayed]
0.9.0 [06.11.2021] #
Features #
Kotlin
- Added
[getDatabaseName],[resetDatabaseName],[setDatabaseName]. - Added
[closeDatabase],[resetAllDatabase]. - Added
[getDatabaseStatus]. - Added:
[getFavoritesSize][getFavoritesTotalDuration][getLastPlayedSize][getLastPlayedTotalDuration][getMostPlayedSize][getMostPlayedTotalDuration]
0.6.0 [06.07.2021] #
Features #
Kotlin
- Created
[OnPlaylistDao]and[OnPlaylistEntity]. - Created
[OnPlaylistSongsDao]and[OnPlaylistSongsEntity].
Dart
- Created
[PlaylistEntity]and[PlaylistSongsEntity]. - Added
[createPlaylist],[deletePlaylist],[renamePlaylist],[checkPlaylist]and[queryAllPlaylist]. - Added:
[addToPlaylist][deleteAllFromPlaylist][deleteFromPlaylist][checkInPlaylist][queryAllFromPlaylist].
0.5.0 [06.02.2021] #
Features #
Dart
- Created
[SongEntity],[FavoritesEntity],[LastPlayedEntity]and[MostPlayedEntity]. - Added:
[addToFavorites][deleteFromFavorites][deleteAllFromFavorites][checkInFavorites][queryAllFromFavorites]
- Added:
[addToLastPlayed][deleteFromLastPlayed][deleteAllFromLastPlayed][checkInLastPlayed][queryAllFromLastPlayed]
- Added:
[addToMostPlayed][deleteFromMostPlayed][deleteAllFromMostPlayed][updateCount][checkInMostPlayed][queryAllFromMostPlayed]
Changes #
Kotlin
- Changed some function methods.
0.3.0 [05.25.2021] #
Features #
Kotlin
- Created
[OnLastPlayedDao]and[OnLastPlayedEntity]. - Created
[OnMostPlayedDao]and[OnMostPlayedEntity].
0.2.0 [05.24.2021] #
Features #
Kotlin
- Added
[Room]database and[Lifecyle]. - Created
[OnAudioDatabase], the main class to start using[Room]database. - Created
[OnSongEntity]. - Created
[OnFavoritesDao]and[OnFavoritesEntity]. - Added basic functions to database.