Giter Site home page Giter Site logo

Comments (4)

low-batt avatar low-batt commented on June 25, 2024 1

Thanks for rephrasing the issue. Sorry I didn't understand the initial request.

Indeed IINA does not distinguish between playing video vs. playing audio and always establishes a kIOPMAssertionTypeNoDisplaySleep assertion with the macOS power management system when playback is in progress.

The user should be able to control whether IINA prevents the display from sleeping separately for audio and video playback.

In general there can be a reason why an audio player might want to prevent the display from sleeping. For example, some players support displaying lyrics. There are requests for IINA to add that feature.

When you say "enable the screensaver" you mean not block it from automatically starting, yes?

from iina.

low-batt avatar low-batt commented on June 25, 2024

I don't see a way to use the Screen Time Framework to turn off a display?

from iina.

pritam12426 avatar pritam12426 commented on June 25, 2024

I don't have extensive knowledge in Swift or macOS development.

I noticed that the IINA application can distinguish between audio and video files. My request is: if a audio file does not contain subtitles or lyrics, could we enable the screensaver while playing audio?

In the future, it would be great if this feature could be added to IINA. This enhancement would allow users to enjoy their audio content without worrying about screen burn-in or unnecessary battery drain, while still providing a seamless viewing experience when subtitles or lyrics are present.

from iina.

low-batt avatar low-batt commented on June 25, 2024

By "enable the screensaver" you don't mean "start the screen saver", you mean IINA should stop blocking the screen saver from starting after the inactivity timeout configured in the macOS Lock Screen setting, yes?

from iina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.