Thomas-Sohier / jellyflut

Just a jellyfin client made in flutter (side project quality code)
MIT License
147 stars 21 forks source link

Exoplayer error and Music player not working #35

Open TheCez opened 2 years ago

TheCez commented 2 years ago

No video is getting played with exoplayer, there is a PlatformException error. Also when try to play audio, no audio is getting played, it jest shows duration as infinity. I also saw that you have added BetterPlayer so does the exoplayer use betterplayer plugin or video_player plugin. If it's using video_player can you please tell me how to shift it to betterplayer. Also there is mpv player file, so you are gonna add mpv player support? Is there a telegram group for this project?

Thomas-Sohier commented 2 years ago

Hello, On which platform do you use the app ? Video_player is only used for the web version (which very WIP) else on android or IOS better_player is used. There was an MPV plugin once (https://github.com/alexmercerind/libmpv.dart 404 now) but it was barebone. I don't have time nor the resources to develop an MPV player on my own.

No telegram, it's just a hobby project nothing too serious.

TheCez commented 2 years ago

Screenshot_2022-07-07-22-11-12-66_0c5ab6c551b082fd8a9f9888fa8da885~2.jpg

I am receiving the above error for any video I try to play. It's not an unsupported video in better_player because I tried playing same video using direct link and it plays and it also plays on jellyfin original app on exoplayer.

Screenshot_2022-07-07-22-13-47-58_0c5ab6c551b082fd8a9f9888fa8da885~2.jpg

Screenshot_2022-07-07-22-13-53-09_0c5ab6c551b082fd8a9f9888fa8da885.jpg

On music player playing any song I get a player as above (1st photo on home screen) and on clicking three dots (2nd photo is shown which shows infinite time)

Device: Realme GT Neo 2 Android version : 12

Ya I understand this project is just hobby, but still maybe a telegram group or discord group might be good for communication.

TheCez commented 2 years ago

Any Solution?

Thomas-Sohier commented 2 years ago

It's a strange bug as it works on One plus 6T. But right now I'm reworking the whole to go away from the shitty spaghetti code. When it's done I'm going to look these issues.