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

IINA unpauses on media load #566

Open
Lann094 opened this issue Nov 19, 2022 · 8 comments
Open

IINA unpauses on media load #566

Lann094 opened this issue Nov 19, 2022 · 8 comments

Comments

@Lann094
Copy link

Lann094 commented Nov 19, 2022

Not entirely sure if this should be raised here or with IINA. But despite being based on mpv, media unpauses when it is loaded via Syncplay. I've verified mpv doesn't unpause on load on the same system, and the IINA setting of pause on media load isn't being respected. Adding media via the player window rather than Syncplay does respect this option, and remains paused.

I've had trouble triggering iina-cli and preventing it from playing media, but would love to hear if anyone has any ideas on how this could be pulled off.

@Et0h Et0h added the macOS label Nov 19, 2022
@Et0h
Copy link
Contributor

Et0h commented Nov 19, 2022

Is the issue resolved by setting pause=yes and reset-on-next-file=pause in your mpv.conf config file for IINA? Does that create new issues of it pausing when it shouldn't be changing pausing?

@Lann094
Copy link
Author

Lann094 commented Nov 20, 2022

No effect after adding those flags to config. Digging further into logs, I can see pause=yes appears to be getting set regardless, but I'm not particularly well-versed in mpv. Also just attempted no-resume-playback to no avail.

@Et0h
Copy link
Contributor

Et0h commented Dec 25, 2022

Unfortunately I don't have a mac so can't investigate this. I'm not sure if this is an issue that can be fixed on the Syncplay side or if it is something that requires changes to IINA. This might relate to iina/iina#3839 and iina/iina#1974

@yonkoma
Copy link

yonkoma commented Feb 11, 2023

I think this is mpv (but not IINA) maintaining pause state when switching files

@Et0h
Copy link
Contributor

Et0h commented Feb 19, 2023

Someone who experiences this problem could make an issue at https://github.com/iina/iina and explain the problem and link to the issue to see if anyone from the IINA team wishes to either modify their software to avoid the issue or propose a fix on Syncplay's side to avoid it.

@yonkoma
Copy link

yonkoma commented Feb 19, 2023

I've been testing a rough change to IINA which seems to be working well, I'm going to try to clean it up and make a PR soon.

@Et0h
Copy link
Contributor

Et0h commented Apr 16, 2023

I've been testing a rough change to IINA which seems to be working well, I'm going to try to clean it up and make a PR soon.

How's progress on this @yonkoma?

@sakronos
Copy link

I've been testing a rough change to IINA which seems to be working well, I'm going to try to clean it up and make a PR soon.

Hi @yonkoma ,

Could you provide a concise explanation of the change? Thank you beforehand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants