Giter VIP home page Giter VIP logo

ufmp's People

Contributors

narakai avatar rohansohonee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ufmp's Issues

Duration issue

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:

  1. Play a song and go to Now Playing page.
  2. Click previous icon to skip to a previous song.

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPod
  • OS: iOS 12.4.5
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Playback status issue

Describe the bug
Playback status and duration not correct when skipping to a previous song.

To Reproduce
Steps to reproduce the behavior:

  1. Play a song and go to Now Playing page.
  2. Click previous icon to skip to a previous song.
  3. When the song starts to play, click pause icon.

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: iPod
  • OS: iOS 12.4.5
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

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)

Config so i can point the musicCatalog to pull off my Google Drive shared folder

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.