Skip to content

Second#7

Open
xtreamx2 wants to merge 63 commits intomainfrom
Second
Open

Second#7
xtreamx2 wants to merge 63 commits intomainfrom
Second

Conversation

@xtreamx2
Copy link
Owner

@xtreamx2 xtreamx2 commented Feb 9, 2026

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 436b050083

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +28 to +29
while True:
pass

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid busy-spin main loop

This while True: pass loop will spin at 100% CPU indefinitely on the Pi, which can starve the rest of the system and degrade audio/IO responsiveness. If the intent is to keep the process alive, insert a sleep or a blocking event loop so the main thread yields CPU.

Useful? React with 👍 / 👎.

Comment on lines 6 to 10
sudo apt install -y \
mpd mpc \
# bluez bluealsa bluealsa-aplay \
# camilladsp \
python3 python3-pip python3-venv \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Fix broken apt install continuation

The line continuation ends before the commented package lines, so the apt install command stops after mpd mpc, and the next line starting with python3 runs as a separate command (and fails under set -e). On a clean install this causes the installer to abort before installing dependencies. Keeping the backslash on the last non-comment line or moving comments above the command avoids the premature termination.

Useful? React with 👍 / 👎.

Comment on lines 10 to 11
else
git clone https://github.com/<repo>/streamer.git

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace placeholder clone URL

The clone command uses https://github.com/<repo>/streamer.git, which is a placeholder and will always fail. As written, a fresh installation cannot fetch the project and will stop here.

Useful? React with 👍 / 👎.


echo "[install_python] Instaluję biblioteki Python..."

pip3 install RPi.GPIO smbus2 pillow mpd2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Install luma OLED dependency

The UI display module imports luma.core/luma.oled, but the installer only installs RPi.GPIO smbus2 pillow mpd2. On a clean install this leads to ImportError: No module named 'luma' when ui/display.py is imported. Add the luma packages to the install step to avoid startup failure.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant