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

Issue: Enabling loop Playlist on Reboot for Mac M2 #4933

Open
cowtasticfilms opened this issue May 20, 2024 · 3 comments
Open

Issue: Enabling loop Playlist on Reboot for Mac M2 #4933

cowtasticfilms opened this issue May 20, 2024 · 3 comments

Comments

@cowtasticfilms
Copy link

Description:

I am using your player on a Mac M2 to run a playlist, and I have set it to loop. I have also configured the player to auto-launch after a reboot using macOS settings.

However, when the player relaunches, the Loop Playlist setting is turned off. I have not found a way to automate re-enabling the loop after a reboot.

Use Case:

I need the player to run a continuous playlist on a large LED board at a trade show. In the event of a power outage or system reboot, I would like the player to resume playing from where it left off and loop indefinitely.

Question:

Is there a way to automate the Loop Playlist setting to stay enabled after a reboot?

Thank you,
Cowtasticfilms

@low-batt
Copy link
Contributor

For audio/video playback and subtitle rendering support IINA is using a library from the mpv project. In some cases it is possible to configure mpv directly to obtain a desired behavior.

To enable playlist looping IINA sets the mpv loop-playlist option. From the mpv manual:

--loop-playlist=<N|inf|force|no>, --loop-playlist
Loops playback N times. A value of 1 plays it one time (default), 2 two times, etc. inf means forever. no is the same as 1 and disables looping. If several files are specified on command line, the entire playlist is looped. --loop-playlist is the same as --loop-playlist=inf.

The force mode is like inf, but does not skip playlist entries which have been marked as failing. This means the player might waste CPU time trying to loop a file that doesn't exist. But it might be useful for playing webradios under very bad network conditions.

To configure IINA to activate playlist looping when IINA is started follow these instructions:

  • Start IINA
  • Click on Settings… under the IINA menu
  • The settings panel appears
  • On the left side of the panel click on Advanced
  • Slide the Enable advanced settings toggle button to be on (blue)
  • In the Additional mpv options section click on +
  • A new entry appears in the table
  • Double click on name and replace it with loop-playlist
  • Double click on value and replace it with inf
  • Confirm the settings panel looks like the screenshot below
  • Restart IINA to activate the new settings

loop-playlist

I am going to label this issue as a feature request for IINA to provide a setting to activate playlist looping at startup.

@cowtasticfilms
Copy link
Author

cowtasticfilms commented May 22, 2024 via email

@cowtasticfilms
Copy link
Author

cowtasticfilms commented May 24, 2024 via email

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

2 participants