Skip to content

GerardvSchie/JukePi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JukePi

We use Mopidy to run the audio from a central spot. Selected since it is python based, can run as a service and is still well maintained. It is also not limited to run on RaspBerry PI, so it can be developed from a computer. And there are many extensions!

Also, there are web based clients which ties it all together which we can use as initial version.

Other commands

Warning: mopidy.config.keyring Fetching passwords from your keyring failed. Any passwords stored in the keyring will not be available. (org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally with the following error: Authorization required, but no authorization protocol specified Autolaunch error: X11 initialization failed.

docs.mopidy.com/en/release-2.3/service/ docs.mopidy.com/en/latest/troubleshooting/

sudo mopidyctl local scan sudo journalctl -r -u mopidy | tee /home/gerard/App/mopidy.log

https://www.alsa-project.org/wiki/Asoundrc sudo nano /etc/asound.conf https://bbs.archlinux.org/viewtopic.php?id=116042 https://discourse.mopidy.com/t/help-configure-mopidy-to-use-alsa-usb-soundcard/1397/4

Installation

Add to .bashrc to install for user and superuser

umask 022

Packages:

A few commands:

pip install mopidy
pip install Mopidy-YouTube
pip install Mopidy-Local
pip install yt-dlp
apt install Mopidy-Iris
pip install ytmusicapi
pip install Mopidy-YTMusic

Setup ytmusic (as listed in the github README.md)

mopidy ytmusic setup

Make sure mopidy user is added and do following:

sudo adduser mopidy video audio

Other:

Startup

Adapt config file:

sudo nano ~/.config/mopidy/mopidy.conf

Start mopidy directly:

mopidy

Then open link

Problem with gi

ModuleNotFoundError: No module named 'gi'

Didn't want to install pycairo. Fix listed Here

sudo apt install pkg-config libcairo2-dev gcc python3-dev libgirepository1.0-dev
pip install gobject PyGObject

Explored alternatives

Besides lists of comparing sites there are some popular options that stood out:

  • RoPiee(XL): OS + not customizable at all, not even ssh
  • Volumio: OS + their free version is quite limited

Because of that the solution is software based rather than an OS

scp myfile.txt pi@192.168.0.198:/home/pi/Documents

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages