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

When I play any song, it jumps between play and pause in quick succession #244

Closed
CreateWebNZ opened this issue Sep 11, 2023 · 11 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@CreateWebNZ
Copy link

Expected Behavior

After starting to play, it should continuously play the selected song.

Current Behavior

The play button flashes between play and pause about 4 times/second, the music plays/pauses along with it and the player buttons become unresponsive.
No error messages in the js console.

Steps to Reproduce

Select a song or songs and press play or start a song in any other of the possible ways.

Your Environment

Ubuntu 22.10
Feishin 0.3.0
MPV 0.34.1-ubuntu5
Navidrome 0.49.3

@CreateWebNZ CreateWebNZ added the bug Something isn't working label Sep 11, 2023
@OddBloke
Copy link

OddBloke commented Sep 12, 2023

I encounter something like this for jellyfin also (which I can work around by using the "Web" player). In the terminal I launched the AppImage from, I see (repeated a lot):

MPV Event: status pause false []
MPV Event: paused
MPV Event: paused
MPV Event: status pause true []
MPV Event: resumed
MPV Event: resumed
MPV Event: status pause false []
MPV Event: paused
MPV Event: paused
MPV Event: status pause true []

(Ubuntu 20.04, Feishin 0.3.0, mpv 0.32.0-1ubuntu1)

@CreateWebNZ
Copy link
Author

CreateWebNZ commented Sep 12, 2023

MPV Event: status pause false []
MPV Event: paused
MPV Event: paused
MPV Event: status pause true []
MPV Event: resumed
MPV Event: resumed
MPV Event: status pause false []
MPV Event: paused
MPV Event: paused
MPV Event: status pause true []

I just started it from a terminal and can confirm that.

@gabeclarke
Copy link

I'm encountering the same issue described by Oddbloke,

PopOS 22.04, Feishin 0.3.0, mpv 0.34.1 running off a Jellyfin server.

@Luxed
Copy link

Luxed commented Sep 15, 2023

Yup, same issue here. Same fix of using the "Web" player instead of mpv.

OS: OpenSUSE Leap 15.4
Feishin: 0.3.0
mpv: 0.34.0+git.20211101T154439.9ca9066d05
Jellyfin server: 10.8.10

@jeffvli
Copy link
Owner

jeffvli commented Sep 15, 2023

Has mpv worked previously for anyone or did it never work from the start?

I'm wondering if this is an issue due to a new mpv version or if it may be something else.

@jeffvli jeffvli self-assigned this Sep 15, 2023
@iiPythonx
Copy link
Contributor

Not sure if it helps, but running mpv 0.35.1 on Fedora leads to no issues with playback jumping.
On Windows, I have encountered this issue when running mpv 0.34.1.

@CreateWebNZ
Copy link
Author

CreateWebNZ commented Sep 15, 2023

Not sure if it helps, but running mpv 0.35.1 on Fedora leads to no issues with playback jumping. On Windows, I have encountered this issue when running mpv 0.34.1.

Thx @iiPythonx, Installing mpv_0.36.0+fruit.1 from here https://apt.fruit.je/ubuntu/kinetic/mpv/ solved it for me.
I hope this helps anyone else and in particular @jeffvli. Btw. great work!

@jeffvli
Copy link
Owner

jeffvli commented Sep 15, 2023

Just tried out v0.34.0 and it reproduces the rapid pause/play issue. Seems to be an external issue due to that version (and some previous ones) then. Thanks @iiPythonx for the information and @CreateWebNZ for the follow up. I'm going to pin this issue and add a notice in the README regarding the broken version.

If anyone else still encounters this issue using a known working version (v0.35.x or v0.36.x) we can re-open this.

@jeffvli jeffvli closed this as completed Sep 15, 2023
@jeffvli jeffvli pinned this issue Sep 15, 2023
@Sculas
Copy link

Sculas commented Jan 1, 2024

I just installed the v0.5.3 AppImage on Pop!_OS and I'm encountering this issue as well, using mpv from:

mpv 0.37.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on Dec 24 2023 11:54:26
libplacebo version: v6.338.1
FFmpeg version: 6.1
FFmpeg library versions:
   libavutil       58.29.100
   libavcodec      60.31.102
   libavformat     60.16.100
   libswscale      7.5.100
   libavfilter     9.12.100
   libswresample   4.12.100

Switched to the web player for now. I don't have this issue on Windows.

@SamLawAnthro
Copy link

Exact same problem, MPV 0.36, pop 22.06, jellyfin

@Luxed
Copy link

Luxed commented Mar 1, 2024

Additional information on my side:
It's now random. Sometimes it will work with my system's MPV (0.34), sometimes it will work with a version installed using Flatpak (0.37).
If I keep restarting the program again and again it ends up working after some time.......

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
None yet
Development

No branches or pull requests

8 participants