diff --git a/CHANGELOG.md b/CHANGELOG.md index 15125a49..817e22ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## 1.10.0 +Fixes: +* fix: allow use of qt window decorations by @Merrit +* fix: system tray causing crash on linux by @Merrit +* Fixed Won't load big playlists #222 +* Fixed tab ui mismatch issue #239 +* Fixed griditem overlap in library playlist section #239 +* Fixed song restarts from beginning when radio is enabled #223 +* Fixed - Repeatative entries from Recently played can be removed #261 +* Changes in downloader & Fixed issue - Audio from videos will not download #264 + +Features: +* Poweramp support #82 +* Enabled backup and restore feature for Android #90 #250 +* Made App landscape mode compatible #218 #115 +* Added support for direct opening of YTM links #242 +* Added song info for current song #201 +* Added option to view lyrics in desktop mode #226 +* Added play/pause feature using spacebar #249 +* Added scrollbars for horizontal contents for desktops #249 +* Added button to minimize full screen player #249 +* Added shuffle mode #174 #252 +* Added searchbar in homescreen for desktops #249 +* Added loudness normalization feature (Android) #15 #243 +* Added app version info & customized settings screen #254 +* Added feature to browse content using url via search #203 + +## 1.9.2 +* Fixed Showing Black screen #197 +* Fixed loading of deeplink playlist #198 +* Fixed broken things #210,#209,#198 +* Backup & restore feature for Windows by @encryptionstudio + + ## 1.9.1 * Added volume slider for desktop app #169 * Added open in youtube/youtube music option #189 diff --git a/fastlane/metadata/android/changelogs/15.txt b/fastlane/metadata/android/changelogs/15.txt new file mode 100644 index 00000000..543326e9 --- /dev/null +++ b/fastlane/metadata/android/changelogs/15.txt @@ -0,0 +1,3 @@ +* Fixed Showing Black screen #197 +* Fixed loading of deeplink playlist #198 +* Fixed broken things #210,#209,#198 \ No newline at end of file diff --git a/fastlane/metadata/android/changelogs/16.txt b/fastlane/metadata/android/changelogs/16.txt new file mode 100644 index 00000000..506ee5d2 --- /dev/null +++ b/fastlane/metadata/android/changelogs/16.txt @@ -0,0 +1,15 @@ +* Fixed Won't load big playlists #222 +* Fixed tab ui mismatch issue #239 +* Fixed griditem overlap in library playlist section #239 +* Fixed song restarts from beginning when radio is enabled #223 +* Fixed - Repeatative entries from Recently played can be removed #261 +* Changes in downloader & Fixed issue - Audio from videos will not download #264 +* Poweramp support #82 +* Enabled backup and restore feature for Android #90 #250 +* Made App landscape mode compatible #218 #115 +* Added support for direct opening of YTM links #242 +* Added song info for current song #201 +* Added shuffle mode #174 #252 +* Added loudness normalization feature (Android) #15 #243 +* Added app version info & customized settings screen #254 +* Added feature to browse content using url via search #203 \ No newline at end of file diff --git a/lib/services/audio_handler.dart b/lib/services/audio_handler.dart index 2b900321..3ed6b18d 100644 --- a/lib/services/audio_handler.dart +++ b/lib/services/audio_handler.dart @@ -212,13 +212,11 @@ class MyAudioHandler extends BaseAudioHandler with GetxServiceMixin { void _listenForDurationChanges() { _player.durationStream.listen((duration) async { final currQueue = queue.value; - if (currentIndex == null || currQueue.isEmpty) return; + if (currentIndex == null || currQueue.isEmpty || duration == null) return; final currentSong = queue.value[currentIndex]; - if (currentSong.duration == null) { + if (currentSong.duration == null || currentIndex == 0) { final newMediaItem = currentSong.copyWith(duration: duration); - await Future.delayed(const Duration(milliseconds: 700), () { - mediaItem.add(newMediaItem); - }); + mediaItem.add(newMediaItem); } }); } diff --git a/lib/ui/screens/Settings/settings_screen.dart b/lib/ui/screens/Settings/settings_screen.dart index 1e0eda15..3224f928 100644 --- a/lib/ui/screens/Settings/settings_screen.dart +++ b/lib/ui/screens/Settings/settings_screen.dart @@ -49,7 +49,7 @@ class SettingsScreen extends StatelessWidget { Obx( () => settingsController.isNewVersionAvailable.value ? Padding( - padding: const EdgeInsets.only(top: 8.0, right: 10), + padding: const EdgeInsets.only(top: 8.0, right: 10,bottom: 8.0), child: Material( type: MaterialType.transparency, child: ListTile( diff --git a/lib/ui/screens/Settings/settings_screen_controller.dart b/lib/ui/screens/Settings/settings_screen_controller.dart index 03e22e40..517ec2a4 100644 --- a/lib/ui/screens/Settings/settings_screen_controller.dart +++ b/lib/ui/screens/Settings/settings_screen_controller.dart @@ -42,7 +42,7 @@ class SettingsScreenController extends GetxController { final backgroundPlayEnabled = true.obs; final restorePlaybackSession = false.obs; final cacheHomeScreenData = true.obs; - final currentVersion = "V1.9.2"; + final currentVersion = "V1.10.0"; @override void onInit() { diff --git a/lib/ui/widgets/backup_dialog.dart b/lib/ui/widgets/backup_dialog.dart index 12c8dba9..10e2ae52 100644 --- a/lib/ui/widgets/backup_dialog.dart +++ b/lib/ui/widgets/backup_dialog.dart @@ -64,21 +64,22 @@ class BackupDialog extends StatelessWidget { : "letsStrart".tr, textAlign: TextAlign.center, )), - Obx(() => (GetPlatform.isAndroid && - backupDialogController - .isDownloadedfilesSeclected.isTrue) - ? Padding( - padding: const EdgeInsets.only(top: 8.0), - child: Text( - "androidBackupWarning".tr, - textAlign: TextAlign.center, - style: Theme.of(context) - .textTheme - .titleSmall! - .copyWith(fontWeight: FontWeight.bold), - ), - ) - : const SizedBox.shrink()) + if (GetPlatform.isAndroid) + Obx(() => (backupDialogController + .isDownloadedfilesSeclected.isTrue) + ? Padding( + padding: const EdgeInsets.only(top: 8.0), + child: Text( + "androidBackupWarning".tr, + textAlign: TextAlign.center, + style: Theme.of(context) + .textTheme + .titleSmall! + .copyWith( + fontWeight: FontWeight.bold), + ), + ) + : const SizedBox.shrink()) ], ) ], diff --git a/pubspec.yaml b/pubspec.yaml index d436c631..62c7f99b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.9.2+15 +version: 1.10.0+16 environment: sdk: ">=3.1.5 <4.0.0" @@ -58,7 +58,7 @@ dependencies: sdk_int: git: url: https://github.com/anandnet/sdk_int.git - ref: master + ref: 91b2d4e0863de4effb2c89dd7868506cbd85a1ee file_picker: ^8.0.6 audiotags: ^1.4.1 google_fonts: ^6.1.0 diff --git a/windows/packaging/exe/inno_setup.iss b/windows/packaging/exe/inno_setup.iss index 24a2db66..c0677f8e 100644 --- a/windows/packaging/exe/inno_setup.iss +++ b/windows/packaging/exe/inno_setup.iss @@ -1,6 +1,6 @@ [Setup] AppId=B9F6E402-0CAE-4045-BDE6-14BD6C39C4EA -AppVersion=1.9.2+15 +AppVersion=1.10.0+16 AppName=Harmony Music AppPublisher=anandnet AppPublisherURL=https://github.com/anandnet/Harmony-Music @@ -9,7 +9,7 @@ AppUpdatesURL=https://github.com/anandnet/Harmony-Music DefaultDirName={autopf}\harmonymusic DisableProgramGroupPage=yes OutputDir=. -OutputBaseFilename=harmonymusicv1.9.2 +OutputBaseFilename=harmonymusicv1.10.0 Compression=lzma SolidCompression=yes SetupIconFile=..\..\windows\runner\resources\app_icon.ico