vincelwt / RaspberryCast

:tv: Transform your Raspberry Pi into a streaming device. Videos can be sent from mobile devices or computers (Chrome extension).
MIT License
868 stars 139 forks source link

Move mkfifo from the shell script to server.py #63

Closed jarondl closed 6 years ago

jarondl commented 6 years ago

And replace the rc.local line with calling the py file. This should help a bit with #62. (A side-effect is that we won't git clone every time we run).

vincelwt commented 6 years ago

Hi! Thank you for the contribution :) The git clone on start is used as an autoupdate mechanism and I think it shouldn't be disabled, especially in case of important fixes. Maybe we could also put it in server.py with 'os' or with GitPython?

jarondl commented 6 years ago

Well it is one of the things package maintainers hate. I want to control the updates of the software myself, not let it call home and download stuff (especially in ArchLinux that was mentioned in #62)

So what I did is revert the change to rc.local. Now we have both options: run the .sh to include the git update, or run the python script directly to run the server without any git calls.

vincelwt commented 6 years ago

True :/ The proper way would be to make a package for Debian (and Arch ?)