Skip to content

Commit

Permalink
bug fix in play next feature and version bumps to 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Mar 27, 2024
1 parent e903e9c commit f3973b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ jobs:
run: jarsigner --verify --verbose build/app/outputs/flutter-apk/app-release.apk

- name: Rename APK file
run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/bloomee_tunes_v2.4.0+${{github.run_number}}.apk
run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/bloomee_tunes_v2.4.1+${{github.run_number}}.apk

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: Release
path: |
build/app/outputs/flutter-apk/bloomee_tunes_v2.4.0+${{github.run_number}}.apk
build/app/outputs/flutter-apk/bloomee_tunes_v2.4.1+${{github.run_number}}.apk
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/bloomee_tunes_v2.4.0+${{github.run_number}}.apk"
tag: v2.4.0+${{github.run_number}}
artifacts: "build/app/outputs/flutter-apk/bloomee_tunes_v2.4.1+${{github.run_number}}.apk"
tag: v2.4.1+${{github.run_number}}
token: ${{secrets.SECRET_KEY}}
4 changes: 0 additions & 4 deletions lib/blocs/search/fetch_search_results.dart
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:developer';

import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
import 'package:flutter/foundation.dart';

import 'package:Bloomee/model/MediaPlaylistModel.dart';
import 'package:Bloomee/model/saavnModel.dart';
import 'package:Bloomee/model/songModel.dart';
import 'package:Bloomee/model/youtube_vid_model.dart';
Expand Down
1 change: 1 addition & 0 deletions lib/services/bloomeePlayer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class BloomeeMusicPlayer extends BaseAudioHandler
fromPlaylist.add(false);
if (!doPlay) {
queue.add([currentMedia, mediaItem]);
currentPlayingIdx = 0;
if (audioPlayer.processingState == ProcessingState.completed) {
queue.add([mediaItem]);
await prepare4play(idx: 0, doPlay: doPlay);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 2.4.0+0
version: 2.4.1+0

environment:
sdk: '>=3.0.6 <4.0.0'
Expand Down

0 comments on commit f3973b7

Please sign in to comment.