rohansohonee / ufmp Goto Github PK
View Code? Open in Web Editor NEWA sample audio app for Flutter
License: MIT License
A sample audio app for Flutter
License: MIT License
Describe the bug
The duration starts to count immediately after skipping to the new song (seems it is in buffing state, not in started status yet).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Duration starts to count after buffing complete.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
Playback status and duration not correct when skipping to a previous song.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The song should be in paused state, but it still continues to play, and the duration will be different when switching between play state and pause state.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
I also tried on my Android phone and it seems fine on Android.
Found some logs which shows pause action is failed on iOS:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Exception: Can call pause only from playing and buffering states (AudioPlaybackState.stopped)
#0 AudioPlayer.pause (package:just_audio/just_audio.dart:329:9)
#1 AudioPlayerTask.onPause (package:ufmp/service/audioPlayerTask.dart:89:18)
#2 AudioServiceBackground.run. (package:audio_service/audio_service.dart:847:16)
#3 MethodChannel._handleAsMethodCall (package:flutter/src/services/platform_channel.dart:402:55)
#4 MethodChannel.setMethodCallHandler. (package:flutter/src/services/platform_channel.dart:370:54)
#5 _DefaultBinaryMessenger.handlePlatformMessage (package:flutter/src/services/binding.dart:200:33)
#6 BinaryMessages.handlePlatformMessage (package:flutter/src/services/platform_messages.dart:54:29)
#7 _invoke3. (dart:ui/hooks.dart:303:15)
#8 _rootRun (dart:async/zone.dart:1126:13)
#9 _CustomZone.run (dart:async/zone.dart:1023:19)
#10 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#11 _invoke3 (dart:ui/hooks.dart:302:10)
#12 _dispatchPlatformMessage (dart:ui/hooks.dart:162:5)
Describe the bug
A clear and concise description of what the bug is.
I cant see where i can implement a config to use my google drive shared folder.
I checked the audio plugin and it supports playing from an URL.
But from what i can see in the data model (https://github.com/rohansohonee/ufmp/blob/main/lib/data/musicCatalog.dart) , it wants to get a JSON list of audio files and the meta data about them.
I can easily write a script to loop my google drive files to produce a big JSON file that holds all the Music meta data.
Looking for advice on how to give it a URL to load up the musicCatalog from a certain URL.
I can see you have the URL hardcoded here: https://storage.googleapis.com/uamp/catalog.json
So i think if this can be a config then i can point it to my GDrive.
Maybe also surface it in a Setting Preference too ?
Describe your suggestion
Hello, After Completed of song Next Song Don't Play. Please Help me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.