dresdner353 / mpd2chromecast

Simple Python script to get MPD-based streaming platforms such as Volumio, moOde to stream audio to a Chromecast device or multi-room group
MIT License
50 stars 10 forks source link

Installation error #9

Closed bernardovalente closed 1 year ago

bernardovalente commented 1 year ago

After running the script I'm getting a couple of errors, perhaps because of user naming differences? Do I need a fresh install or can I correct somehow?

curl -s https://raw.githubusercontent.com/dresdner353/mpd2chromecast/master/install.sh | sudo bash Detected home user:pi Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Get:3 https://dl.cloudsmith.io/public/moodeaudio/m8y/deb/raspbian bullseye InRelease [5,190 B] Fetched 5,190 B in 4s (1,428 B/s) Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: pychromecast in /usr/local/lib/python3.9/dist-packages (13.0.7) Requirement already satisfied: cherrypy in /usr/local/lib/python3.9/dist-packages (18.8.0) Requirement already satisfied: python-mpd2 in /usr/local/lib/python3.9/dist-packages (3.0.5) Requirement already satisfied: cheroot>=8.2.1 in /usr/local/lib/python3.9/dist-packages (from cherrypy) (9.0.0) Requirement already satisfied: more-itertools in /usr/lib/python3/dist-packages (from cherrypy) (4.2.0) Requirement already satisfied: zc.lockfile in /usr/local/lib/python3.9/dist-packages (from cherrypy) (3.0.post1) Requirement already satisfied: portend>=2.1.1 in /usr/local/lib/python3.9/dist-packages (from cherrypy) (3.1.0) Requirement already satisfied: jaraco.collections in /usr/local/lib/python3.9/dist-packages (from cherrypy) (4.1.0) Requirement already satisfied: jaraco.functools in /usr/local/lib/python3.9/dist-packages (from cheroot>=8.2.1->cherrypy) (3.6.0) Requirement already satisfied: six>=1.11.0 in /usr/lib/python3/dist-packages (from cheroot>=8.2.1->cherrypy) (1.16.0) Requirement already satisfied: tempora>=1.8 in /usr/local/lib/python3.9/dist-packages (from portend>=2.1.1->cherrypy) (5.2.2) Requirement already satisfied: pytz in /usr/local/lib/python3.9/dist-packages (from tempora>=1.8->portend>=2.1.1->cherrypy) (2023.3) Requirement already satisfied: casttube>=0.2.0 in /usr/local/lib/python3.9/dist-packages (from pychromecast) (0.2.1) Requirement already satisfied: protobuf>=3.19.1 in /usr/local/lib/python3.9/dist-packages (from pychromecast) (4.22.4) Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.9/dist-packages (from pychromecast) (0.62.0) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from casttube>=0.2.0->pychromecast) (2.25.1) Requirement already satisfied: async-timeout>=3.0.0 in /usr/lib/python3/dist-packages (from zeroconf>=0.25.1->pychromecast) (3.0.1) Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.9/dist-packages (from zeroconf>=0.25.1->pychromecast) (0.2.0) Requirement already satisfied: jaraco.text in /usr/local/lib/python3.9/dist-packages (from jaraco.collections->cherrypy) (3.11.1) Requirement already satisfied: autocommand in /usr/local/lib/python3.9/dist-packages (from jaraco.text->jaraco.collections->cherrypy) (2.2.2) Requirement already satisfied: jaraco.context>=4.1 in /usr/local/lib/python3.9/dist-packages (from jaraco.text->jaraco.collections->cherrypy) (4.3.0) Requirement already satisfied: inflect in /usr/local/lib/python3.9/dist-packages (from jaraco.text->jaraco.collections->cherrypy) (6.0.4) Requirement already satisfied: pydantic>=1.9.1 in /usr/local/lib/python3.9/dist-packages (from inflect->jaraco.text->jaraco.collections->cherrypy) (1.10.7) Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.9/dist-packages (from pydantic>=1.9.1->inflect->jaraco.text->jaraco.collections->cherrypy) (4.5.0) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from zc.lockfile->cherrypy) (52.0.0) su: user pi does not exist or the user entry does not contain all the required fields Systemd steps for ~/home/pi/mpd2chromecast/mpd2chromecast.service sed: can't read /home/pi/mpd2chromecast/mpd2chromecast.service: No such file or directory Failed to enable unit: Unit file /etc/systemd/system/mpd2chromecast.service is masked. Failed to restart mpd2chromecast.service: Unit mpd2chromecast.service is masked.