avdept / JellyBoxPlayer

Native desktop and mobile music client for Jellyfin
https://apps.apple.com/us/app/jellybox-player/id6469732117
GNU Affero General Public License v3.0
340 stars 10 forks source link

fix(linux): Add Linux specific audio dependencies #78

Closed Thogsit closed 2 months ago

Thogsit commented 2 months ago

Adds the required dependencies for audio to work under Linux; implements the steps given from just audio and just_audio_media_kit. Uses just_audio_media_kit instead of just_audio_mpv due to it being pretty much the successor.

Also fixes a bug when trying to play song with no image where it tried to load an Svg as a Png, see the changes in bottom_player.dart.

I can confirm that audio now runs with play/pause/skip/seek on my machine :+1: .

avdept commented 2 months ago

hey, thanks for PR, I will check it later today

avdept commented 2 months ago

@Thogsit I tried to build it locally, but having issues with lib-mpv. Is there any specific setup I need to build it? I did usual apt instal and got libmpv.so at /usr/lib/libmpv.so.1