xbmc / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.

Home Page:https://kodi.tv/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any selected mp3 track to be played stays stuck at 00:00 (Flatpak version)

linlinxza opened this issue · comments

Bug report

Any selected mp3 track to be played stays stuck at 00:00

Describe the bug

Open Kodi.
Select mp3 music file
Track stays stuck at 00:00

Expected Behavior

Selected mp3 file should play

Actual Behavior

Doesn't play any mp3 file. Stuck at 00:00

To Reproduce

Steps to reproduce the behavior:

  1. Open Kodi
  2. Select music (mp3) file to play

Screenshots

Screenshot_20240509_213126

Screenshot_20240509_213613

Your Environment

Used Operating system:

  • [ *] Linux - Flatpak version

  • Operating system version/name:

  • Kodi version: Git: 20240406-60c4500-dirty

Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot 😉

It seems that you have not followed the template we provide and require for all bug reports (or have opened a roadmap item by accident). Please understand that following the template is mandatory and required for the team to be able handle the volume of open issues efficiently.

Please edit your issue message to follow our template and make sure to fill in all fields appropriately. The issue will be closed after one week has passed without satisfactory follow-up from your side.

This is an automatically generated message. If you believe it was sent in error, please say so and a team member will remove the "Ignored rules" label.

Can't reproduce and haven't heard from similar cases so far. A debug log is required for further investigation. With the Flatpak the log should be located in ~/.var/app/tv.kodi.Kodi/data/temp/kodi.log.

This is happening on my computer and also my mom's computer (which she uses to play her albums):

When I attempt to play an mp3 file, I am getting this often (according to the log):

2024-05-10 16:40:50.701 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:40:51.898 T:46       info <general>: Skipped 1 duplicate messages..
2024-05-10 16:40:51.898 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:40:56.901 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:40:57.625 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:40:57.626 T:46       info <general>: CActiveAESink::OpenSink - initialize sink
2024-05-10 16:41:00.018 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:41:02.755 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:41:07.882 T:46       info <general>: Skipped 1 duplicate messages..
2024-05-10 16:41:07.882 T:46       info <general>: CActiveAESink::OpenSink - initialize sink
2024-05-10 16:41:09.925 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:41:11.099 T:71       info <general>: Skipped 3 duplicate messages..
2024-05-10 16:41:11.099 T:71       info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp3float
2024-05-10 16:41:11.173 T:71       info <general>: AudioDecoder: File is queued
2024-05-10 16:41:11.182 T:71       info <general>: PAPlayer::PrepareStream - Ready
2024-05-10 16:41:11.206 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:41:16.153 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:41:21.280 T:46       info <general>: Skipped 1 duplicate messages..
2024-05-10 16:41:21.280 T:46       info <general>: CActiveAESink::OpenSink - initialize sink
2024-05-10 16:41:27.990 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:41:32.797 T:7     warning <general>: CGLContextEGL::SwapBuffers: last msc time greater than interval (1)
2024-05-10 16:41:36.028 T:46      error <general>: CActiveAESink::OutputSamples - failed
2024-05-10 16:41:36.029 T:46       info <general>: CActiveAESink::OpenSink - initialize sink

I even play a video and there is no audio.

The full log is mandatory, just upload it to https://paste.kodi.tv/.

I assume your are on Ubuntu 22.04. Your problem is #25002 and the proper fix is queued for Kodi 21.1 (#25019). Also a workaround has been added to the Flatpak today, see flathub/tv.kodi.Kodi#252. This should become available as an update through Flathub over the weekend. Until then you can launch Kodi with the --audio-backend=pulseaudio parameter.

People still use Pulseaudio. You know? Anyway, thanks.

Updated Flatpak has been released.

Awesome. Thanks!