Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Videolooper question
Post Flair (click to view more posts with a particular flair)
Post Body

Hi, i'm currently testing the videolooper script on a raspberry pi 4, i made it work without too much issues, but i want to modify the main script to simply add a a blinking led while its working. I'm using v2.6 image provided here, and by default, all the script files are located at this directory:

/home/pi/pi_video_looper/Adafruit_Video_Looper

Inside this directory there are multiple python files, the one i'm working on is called video_looper.py.

For some reason that i don't understand, whatever change i make to any of these files doesn't seem to affect the program that runs at startup, it seems like its running from somewhere else and not this directory.

There's also a configuration file named video_looper.conf to make it run at startup located at:

/etc/supervisor/conf.d

This conf file contains this:

[program:video_looper]
command=python3 -u -m Adafruit_Video_Looper.video_looper
autostart=true
autorestart=unexpected
startsecs=5

From this file i don't understand what this line means:

command=python3 -u -m Adafruit_Video_Looper.video_looper 

if i modify it to point to the directory where my modified files are, like this:

command=python3 -u -m /home/pi/pi_video_looper/Adafruit_Video_Looper.video_looper

this doesn't seem to work, does anyone know what i'm doing wrong here?

Edit: htop also doesn't explicitly tells me which python file is running

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
7,864
Link Karma
540
Comment Karma
7,324
Profile updated: 1 day ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago