Giter Club home page Giter Club logo

player's People

Contributors

bibo38 avatar bruhdev1290 avatar diegoroyo avatar phanan 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  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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

player's Issues

Error: The getter 'valueWrapper' isn't defined for the class 'ValueStream<Duration>'.

lib/ui/widgets/now_playing/audio_controls.dart:20:42: Error: The getter 'valueWrapper' isn't defined for the class 'ValueStream'.

  • 'ValueStream' is from 'package:rxdart/src/streams/value_stream.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/rxdart-0.27.3/lib/src/streams/value_stream.dart').
  • 'Duration' is from 'dart:core'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'valueWrapper'.
    audio.player.currentPosition.valueWrapper!.value.inSeconds > 5
    ^^^^^^^^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/shoaib/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/home/shoaib/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 36s
Running Gradle task 'assembleRelease'... 37.2s
Gradle task assembleRelease failed with exit code 1

Looks like a whole lot of backward compatability issue being discussed here ReactiveX/rxdart#556

I just changed it to get ".value" and removed the valueWrapper!

IOS APP UI ISSUE

微信截图_20211011203344
As shown in the screenshot above
There will be endless blank backgrounds after the homepage tab is swiped up, which is terrible.

Koel v1.1.0
IOS 15.0.1

The program is very good, there are still some suggestions for reference:

  1. Hope to support multiple languages, such as Chinese
  2. The app price is too expensive, not conducive to promotion.As a KOEL user, I am willing to pay this price, but when I share my music with my friends, they don’t think so.

Error: flutter_math_fork is missing implementation

Flutter 2.9.0-0.1.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 8f1f9c10f0 (2 weeks ago) • 2021-12-14 13:41:48 -0800
Engine • revision 234aca678a
Tools • Dart 2.16.0 (build 2.16.0-80.1.beta) • DevTools 2.9.1

`
flutter build apk
Running "flutter pub get" in player... 4.7s

💪 Building with sound null safety 💪

../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.3.3+1/lib/src/widgets/selectable.dart:407:7: Error: The non-abstract class 'InternalSelectableMathState' is missing implementations for these members:

  • TextSelectionDelegate.copySelection
  • TextSelectionDelegate.cutSelection
  • TextSelectionDelegate.pasteText
  • TextSelectionDelegate.selectAll
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class InternalSelectableMathState extends State
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../snap/flutter/common/flutter/packages/flutter/lib/src/services/text_input.dart:1034:8: Context: 'TextSelectionDelegate.copySelection' is defined here.
void copySelection(SelectionChangedCause cause);
^^^^^^^^^^^^^
../../snap/flutter/common/flutter/packages/flutter/lib/src/services/text_input.dart:1014:8: Context: 'TextSelectionDelegate.cutSelection' is defined here.
void cutSelection(SelectionChangedCause cause);
^^^^^^^^^^^^
../../snap/flutter/common/flutter/packages/flutter/lib/src/services/text_input.dart:1022:16: Context: 'TextSelectionDelegate.pasteText' is defined here.
Future pasteText(SelectionChangedCause cause);
^^^^^^^^^
../../snap/flutter/common/flutter/packages/flutter/lib/src/services/text_input.dart:1028:8: Context: 'TextSelectionDelegate.selectAll' is defined here.
void selectAll(SelectionChangedCause cause);
^^^^^^^^^

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/shoaib/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1102

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/home/shoaib/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 34s
Running Gradle task 'assembleRelease'... 34.9s
Gradle task assembleRelease failed with exit code 1

`

To resolve have to run

flutter pub upgrade --major-versions

Build.gradle requires compiled version 31

One or more plugins require a higher Android SDK version.
Fix this issue by adding the following to ~/player/android/app/build.gradle:
android {
compileSdkVersion 31
...
}

Unable to sign in

Just got my server up and running. I'm able to access the webapp on both my phone and desktop, but when trying to sign in using the mobile app it just says "Oops! Something wrong happened." with "Retry" and "Log Out". "Retry" just causes the app to sit there with a loading logo and it won't ever progress.

EDIT: Here's my nginx config

server {
        listen           *:8000;
        root             /usr/local/share/koel/public;
        server_name      koel.piehole;
        index            index.php;

        gzip             on;
        gzip_types       text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript application/json;
        gzip_comp_level  9;

        location / {
          try_files   $uri $uri/ /index.php?$args;

          error_log /var/log/nginx/koel.error.log;
        }

        location /media/ {
           internal;

           alias         $upstream_http_x_media_root;
        }

        location ~ \.php$ {
          try_files $uri $uri/ /index.php?$args;

          fastcgi_param     PATH_INFO $fastcgi_path_info;
          fastcgi_param     PATH_TRANSLATED $document_root$fastcgi_path_info;
          fastcgi_param     SCRIPT_FILENAME $document_root$fastcgi_script_name;

          fastcgi_pass              unix:/var/run/php74-fpm.sock;
          fastcgi_index             index.php;
          fastcgi_split_path_info   ^(.+\.php)(/.+)$;
          fastcgi_intercept_errors  on;
          include                   fastcgi_params;
        }
    }

Can not play downloaded music on iOS koel player.

Describe the bug
Can not play downloaded music on iOS koel player.
Besides, it takes much more time to start streaming music and finish downloading music compared to web client.

To reproduce
Steps to reproduce the behavior:

  1. Go to iOS koel player
  2. Tap on 'download'
  3. Tap on downloaded music
  4. It doesn't start playing.

Expected behavior
Downloaded should start playing immediately after tapping.

Screenshots
See this scree recording: https://cln.sh/sAptWi

Environment

  • Koel version v5.1.8
  • OS: iOS 15.2
  • Browser: latest koel player in App Store
  • PHP version v7.4.3
  • Node version v14.18.2

Downloaded Songs dissapear after time on IOS

Hi, i noticed that my downloaded songs are deleted after a while, so that i have to redownload them.
Not sure about the interval of this error. sometimes it takes two minutes and the songs are gone, sometimes 2 days.

I host the koel docker image with a mysql server container.
and big thanks to you, i'm really enjoying koel!

Add documentation

I have not seen any documentation on how to build and test the project so far, neither a license.
I am considering to start using Koel but this repels me - without these, this is not Communal Software.

Furthermore, what about a publication on F-Droid? I do not want to depend on Google Services.

Idea: Sync Library & Widgets

I would like to have my entire library synced with a local copy on the app. I'd rather not download all 2000 songs manually, so it would be amazing to have an option to enable this sort of sync.

Could you also add an option to store music files on SD cards?

Also, it would be awesome to have widgets. I'm quite attached to the 5x1 widgets from my old music app and would really like to see them here.

disable ssl certificate validation when playing audio?

I have Koel running on my local network. I have enabled ssl, but since it's only for my local network, I have self issued a certificate (which cannot be verified by the browser).

The app is running, but whenever I try to play a song, I get this error:

[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
#0 AudioProvider.init. (package:app/providers/audio_provider.dart:37:40)
#1 _rootRunUnary (dart:async/zone.dart:1436:47)
#2 _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#3 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341:11)
#5 _DelayedData.perform (dart:async/stream_impl.dart:591:14)
#6 _StreamImplEvents.handleNext (dart:async/stream_impl.dart:706:11)
#7 _PendingEvents.schedule. (dart:async/stream_impl.dart:663:7)
#8 _rootRun (dart:async/zone.dart:1420:47)
#9 _CustomZone.run (dart:async/zone.dart:1328:19)
#10 _CustomZone.runGuarded (dart:async/zone.dart:1236:7)
#11 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1276:23)
#12 _rootRun (dart:async/zone.dart:1428:13)
#13 _CustomZone.run (dar<…>
flutter: PlatformException(PLAY_ERROR, Cannot play https://zique.fr.local/play/30e58cc455e7d4f55c2bda3573123937?api_token=9%7CwQ8EfNXK93ZTPyvLBcZ2qStLH23MYa04jeM2zukA, The certificate for this server is invalid., null)

Is there a way to disable certificate validation when playing audio?

I tried to add these keys in Info.plist, which made the app running, but seem to have no impact on audio playback restrictions:

        <key>NSAllowsArbitraryLoads</key>
        <true/>
        <key>NSAllowsArbitraryLoadsForMedia</key>
        <true/>
        <key>NSAllowsArbitraryLoadsInWebContent</key>
        <true/>
        <key>NSAllowsLocalNetworking</key>
        <true/>

Self Signed Cert Mobile App

Hi,

There is bug/(feature needed) for those people who are using self signed certificate with nginx or apache2 while connected to Keol locally when home. I am using Android and self signed certificate with nginx and cannot login to the android app(Koel Player) unless I replace the certificate with Let's Encrypt.

Thanks,

Allow Offline Listening / Downloads

While I know that koel is designed for streaming, it would be cool to be able to store albums songs or artists offline for repetitive listening without redownloading!

[Feature Request] Support offline access to downloaded content

How to reproduce : Kill the Koel Player application and disconnect your internet access, you won't be able to access your downloaded content because you won't be able to login.

Why : When you need your music but you are on a plane, don't have data, or you want to use koel as a mp3 player.

Proposed solution : Support login even when application was killed, or add a "offline music" button on the login page.

Songs won't play

The app looks amazing and everything seems to work as expected, until I tap on a song to play it. Nothing happens. I don't see any errors come up in my NGINX log as I'm using the app. How can I go about debugging this?

[Bug] [Feedback] koel android application

Hi

It's just to give my firsts feedback about the application recently bought.

It's really nice, I like it globally, nice work!
However, I have some remarks.

  1. the application doesn't stop to play music after that I disconnect my bluetooth device.
    I have all my others music's application which stop to play the current music when my BT device is switch off. Here, koel continue to play music :/

  2. bug really weird, sometimes, one time by day, when I click on a music and then I click on it again or even on an other music, the previous one is not cancelled, and koel start the new one over the old one. If I click 5 times, I have 5 music's which are running in the same time 😂.
    The problem is when I click on pause or stop. I saw that it's only applied to the last music started. So I have to hard kill the app and start it again. But as I said it's not all the time, I don't know how I get this issue.

  3. on the home page, in the 'most played songs' ect, I would have the possibility to go on the album directly clicking on it. Today, the current behavior is just to start the music where I clicked. But it doesn't open the album. Have some shortcut like this could be very interesting.

  4. and to finish, I didn't know if its on the roadmap, but I have difficulties to accept to have several same album with a album for each feat. Is there a way to have all the albums directly into one, without to have 4 albums with 3 albums containing only one song because there is only one feat?

Thank you for advices on this

Regards

Can't play any song "The network connection was lost"

I enjoy music life by koel and bought Koel Player.
Thank you for your developing!
But, I have one problem so I report you.

I have many mp3 songs and can play by Chrome on Mac.
But, I can't play any mp3 song by Koel Player on iPhone.

I tried on iOS Simulator, I caught following error

PlatformException (PlatformException(PLAY_ERROR, Cannot play http://192.168.xxx.xxx:8000/play/30c8123xxxxxxxxx?api_token=xx%7CH3Yxxxxxxxx, The network connection was lost., null))

at

lib/providers/audio_provider.dart:85 -> await _player.playlistPlayAtIndex(index);
and
lib/ui/widgets/song_row.dart:62 -> onTap: () async => await audio.play(song: widget.song),

This exception is not on iPhone screen and continue app.
Server has no error.

If you know, please tell me resolve method.

Best Regards,

Server
Mac mini M1
macOS 11.5.2
php 7.4.22
mysql 8.0.25
koel version(tag) 5.1.5

Player
iOS14.7.1
iPhone se 2nd Gen
App Version 1.0.1

スクリーンショット 2021-08-15 1 16 09

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.