This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add - | |
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/bullseye.list | |
sudo apt update | |
sudo apt install mopidy python3-pip | |
sudo adduser mopidy video | |
sudo pip3 install Mopidy-Iris | |
sudo pip3 install Mopidy-Local | |
sudo sh -c 'echo "mopidy ALL=NOPASSWD: /usr/local/lib/python3.9/dist-packages/mopidy_iris/system.sh" >> /etc/sudoers’ | |
mkdir -p ~/Music | |
sudo systemctl enable mopidy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[http] | |
hostname = 0.0.0.0 | |
[audio] | |
output = alsasink | |
[local] | |
media_dir = /home/pi/Music |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Minecraft Server | |
After=network.target | |
[Service] | |
User=minecraft | |
Nice=1 | |
KillMode=none | |
SuccessExitStatus=0 1 | |
ProtectHome=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CamJam EduKit 3 - Robotics | |
# Motor Test Code | |
import time # Import the Time library | |
from gpiozero import CamJamKitRobot # Import the CamJam GPIO Zero Library | |
robot = CamJamKitRobot() | |
# Turn the motors on | |
robot.forward() |
OlderNewer