Getting the eStreamPlayer32 interface working on Pi-hole with 3,5″ touchscreen.

The rPi acts as file server for the ESP32 and as interface for the eStreamPlayer32 through the chromium web browser that comes preinstalled with Raspbian.
The output from the browser goes to the 3.5″ TFT touchscreen that is attached.

This post is about the web-interface on the rPi.

Working from memory here. Probably forgot some step.

  • Install Raspbian with desktop on the rPi.
  • Open raspi-config and:
    Open Boot options and set Wait for Network at Boot to <Yes>.
    (Not enabling this will make NFS mounts fail at boot)
    Open Interfacing Options and enable both SSH and SPI.
    Close raspi-config.
  • Install Pi-Hole on the rPi. Remember to set a static ip. Let Pi-Hole reboot the rPi.
  • Edit /etc/fstab to mount on /mnt/muziek.
  • Make a symlink in /var/www/html named muziek that points to /mnt/muziek.
  • Edit /etc/lighttpd/lighttpd.conf and add the handler ".mp3" => "audio/mpeg", to mimetype.assign.
    The MP3 decoder will not recognize audio files if this header is absent and fails to play the file without any error.
    (TODO: raise an issue about this at the ESP32-audioI2S repo)
  • Install LCD-show and start the LCD with the LCD35-show script.
    The script will reboot the rPi to display the desktop on the LCD.
  • Rotate the rPi display to 270 degrees. See here how to.
  • Invert the touchscreen coordinates. See here how to.
  • Set the screensaver to never activate. See here how to.
  • Open chromium on the rPI and browse to the ESP32 ip address.
  • Set the browser to full screen.

Edward Bernays, the man who created the modern elite. (aka The father of spin)

You thought fake news was invented with the rise of the social media Orwellian spy networks?
You are wrong.

Meet Edward Bernays, the probably most influential early spin doctor. This man is in part responsible for women picking up smoking, the first banana republic and the way information is molded and spun in present day society.

Especially the Green Ball spin (Getting women to smoke more Lucky Strikes) is an excellent example of how to use influencers and celebrities to make stupid stuff look cool.
You need a reason to avoid influencers and other spineless for-sale mofos?

Then Wikipedia has a rather good article about Bernays that you really shouldn’t miss.

Continue reading

How to update a forked GitHub repo.

# Add the remote, call it "upstream":

git remote add upstream

# Fetch all the branches of that remote into remote-tracking branches,
# such as upstream/master:

git fetch upstream

# Make sure that you're on your master branch:

git checkout master

# Rewrite your master branch so that any commits of yours that
# aren't already in upstream/master are replayed on top of that
# other branch:

git rebase upstream/master

# And finally push your local updated copy to GitHub:

git push