Giter Club home page Giter Club logo

Comments (4)

lk3de avatar lk3de commented on August 18, 2024

Unfortunately I have no MacOS device to test this 🙁 Can you confirm that the issue can be fixed via pip3 install -U PyObjC? Then we can add it to the readme 🙂

from impftermin-checker.

fazzer4x avatar fazzer4x commented on August 18, 2024

Sadly I didn't hear anything when I revived a notification. I had PyObjC installed though.

I did test on playsound() and it worked. Not quite sure why it didn't trigger.

Maybe the system output and volume need to be set?

from impftermin-checker.

lk3de avatar lk3de commented on August 18, 2024

Maybe the system output and volume need to be set?

At least on Linux, playsound() just behaves as every media player would do and uses the standard system audio device and the current system volume as set by the user. Not sure if Mac OS behaves differently here.

from impftermin-checker.

MeFisto94 avatar MeFisto94 commented on August 18, 2024

Yeah, I followed this advice: https://stackoverflow.com/q/47270354
I don't know if AppKit as a package is minimal enough, but certainly PyObjC did solve the issues (probably pulls in AppKit).

For me, playsound did work and I heard the sounds, actually the alarm is quite offensive, on full volume you can even hear it from the distance.

If direct playsound() works, maybe it was a user error? Like your volume was low at that point? It doesn't automatically bump the volume.
The only other alternative I could see is like if the e-mail works, but then there's an exception causing the script to not play a sound.

from impftermin-checker.

Related Issues (12)

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.