Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media does not play. Command loadfile: argument index has incompatible type. #579

Closed
MenchenFive opened this issue Mar 13, 2024 · 3 comments · Fixed by #597
Closed

Media does not play. Command loadfile: argument index has incompatible type. #579

MenchenFive opened this issue Mar 13, 2024 · 3 comments · Fixed by #597
Labels
bug Something isn't working

Comments

@MenchenFive
Copy link

Describe the bug
App launches fine and allows for navigation between all the different menus and libraries. However, whenever the play button is pressed in order to reproduce video or audio files.

When attempting to play audio bottom bar shows, but player appears always paused. Timeline shows --:--. App is still responsive, but audio never starts. (Screenshot 1)
With video, spinner loader shows for a second, then app becomes unresponsive, no elements react to mouse click. It is possible to right-click anywhere in screen and reload, which unfreezes the app. (Screenshot 2)

I have observed a critical error in the attached log file:[critical] PlayerComponent::handleMpvEvent @ 597 - main: Command loadfile: argument index has incompatible type.
Which happens immediately after clicking play, preceded by some other log lines.

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to play media
  2. Fail :(

Expected behavior
Either mpv or in-app player launching and playing the file.

Screenshots
Screenshot_20240313_181656
Screenshot_20240313_181951

Desktop (please complete the following information):

  • OS: ArchLinux (updated as of March 13th 2024)
  • DE: KDE Plasma 6, X11
  • Installation Method: AUR package jellyfin-media-player 1.9.1-2

Additional context
Add any other context about the problem here.
jellyfinmediaplayer.log

@sevenrats
Copy link
Member

please try this:
jellyflix-app/jellyflix#46 (comment)

@svarqq
Copy link

svarqq commented Apr 2, 2024

Same issue, my logs look pretty much the same as those uploaded by MenchenFive. I tried softlinking to the mpv2 library in /usr/lib/local/x86_64-linux-gnu and /usr/lib/x86_64-linux-gnu as suggested by @sevenrats and it didn't help. More specifically, I softlinked libmpv.so, libmpv.so.1 and libmpv.so.2 in the directories mentioned before

  • first to non-symlinked, built-from-source libmpv.so.2.3.0, and after continued failure
  • to non-symlinked libmpv.so.2.2.0 provided by a package from my distribution

Desktop:

OS: OpenSUSE Tumbleweed
DE: KDE Plasma 6, X11
Installation Method: Built from source, from tag `v1.9.1`

@svarqq
Copy link

svarqq commented Apr 2, 2024

Solved. Using ldd I figured out that the jellyfin binary was looking for libmpv at /usr/local/lib64/libmpv.so.2. It works when symlinked against libmpv.so.2.2.0, but not libmpv.so.2.3.0. Not sure if that's a result of not correctly building libmpv.so.2.3.0, or if its interface has changed since 2.2.0, but regardless it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

3 participants