Giter VIP home page Giter VIP logo

Comments (8)

pbrena avatar pbrena commented on August 20, 2024

me too.

any changes since posted?

from plexconnect.

moodyblue avatar moodyblue commented on August 20, 2024

Try the following: edit line 83 in PlexConnect_daemon.bash replacing darwin by ventura

from plexconnect.

cferron avatar cferron commented on August 20, 2024

@moodyblue I tried your suggestion. No luck. I tried "Ventura" and "ventura" in case it was case sensitive. Once modification was made, I stopped, uninstall and re-installed the deamon, no luck. I have to manually start Plex in the terminal (and keep the terminal opened) to have it to work.

Software:

System Software Overview:

  System Version: macOS 13.5.1 (22G90)
  Kernel Version: Darwin 22.6.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 40 minutes et 4 secondes

from plexconnect.

pbrena avatar pbrena commented on August 20, 2024

I guess a quick and dirty work around might be to launch a script at login time or automate with iterm2.

@cferron, Did you try/succeed installing Pil/Pillow (in the case you are running on apple silicon) ?

from plexconnect.

moodyblue avatar moodyblue commented on August 20, 2024

Found this, maybe it can help: https://support.apple.com/guide/terminal/script-management-with-launchd-apdc6c1077b-5d5d-4d35-9c19-60f2397b2369/mac

from plexconnect.

pbrena avatar pbrena commented on August 20, 2024

Found this, maybe it can help: https://support.apple.com/guide/terminal/script-management-with-launchd-apdc6c1077b-5d5d-4d35-9c19-60f2397b2369/mac

mmmhhh.... that link is about launching deamons like the one is failing for us, the work around I meant is to use a bash or zsh script to issue the command as if typed in the terminal, I remember having include one in the login items for another project a few years ago, I will try in a few days and post if it worked.

from plexconnect.

cferron avatar cferron commented on August 20, 2024

from plexconnect.

pbrena avatar pbrena commented on August 20, 2024

As a temporary workarround to the unresponsive LaunchDeamon for Macos Ventura, the following steps allowed me to automatically run Plexconnect.py at login time with iterm2, YMMV.

a) allow PlexConnect.py to be called by sudo wihout asking password

sudo visudo

Then, press I, and at the bottom insert:

username ALL= NOPASSWD: /path/to/PlexConnect.py

Here, you need to change the username for the user who is supposed to run the command without having to type a password. Also, change the path to your executable

Press Esc, then write :wq, then Enter.

b) I created a script named templexcon.zsh whose contents is the single line:

sudo /path/to/PlexConnect.py

then change it to be executable with command

chmod +x templexcon.zsh

c) (see *Update bellow) I changed the user preferences to open the above script at login time.

System Preferences->General-> Login Items

click add and follow the open finder window to select your script.

d) at longin time Macos will open the script, in my user it is opened by default by iterm2 in a new window, where all PlexConnect.py output will be displayed. The first time, iterm2 asked if templexcon.zsh should be allowed to run, but gave an option (flag) to never ask again.

  • Update: step c might be redundant depending on your user settings. It may be the case that at longing time all the previous opened windows and tabs will be reopened hence starting Plexconnect twice.

Hope it helps someone.

from plexconnect.

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.