- 0

Cannot get Python script to send command to network device
Asked by
cvdave
About Us
CinemaVision began in 2014 as a collaboration to create content for use with your home theater, offering movie trivia slides and video bumpers. It has since grown to be THE PREMIER WAY to create and customize your preshow experience. Download the CinemaVision add-on for Kodi today from the official Kodi repository, and easily create a sequence of trivia, videos, trailers, home automation triggers and more that will bring the experience of a movie theater straight to your screen!
Greetings all!
I am trying to help a friend get CinemaVision controlling a GlobalCache IP2IR device, using a Python script called from CinemaVision. I can execute the script directly (outside of CinemaVision), but I don't have any luck calling it from an action file. This appears to be a common problem, but I can't find any solutions.
I have been able to call the Python script from the Kodi Callbacks add-on, so I think this rules out Kodi as the issue.
This is the Action file:
This is the Python script:
I have also tried calling the Python script from a basic shell script:
#!/bin/sh python /Users/me/Desktop/CVcontent/CinemaVision/Actions/irsend.py
As well as using the command:// function to call Python directly:
I'm running Kodi 17.6 and CinemaVision 1.1.0 on OSX 10.13 High Sierra.
Any tips or troubleshooting advice would be appreciated!
Dave
Share this post
Link to post
Share on other sites