Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
unable to run
python pydPiper.py
installed git , docker seems to be installed fine but getting error
Code: root@moode:/app# python pydPiper.py
GPIO not installed
Traceback (most recent call last):
File "pydPiper.py", line 23, in <module>
class music_controller(threading.Thread):
File "pydPiper.py", line 68, in music_controller
'localtime':moment.utcnow().timezone(pydPiper_config.TIMEZONE),
File "/usr/local/lib/python2.7/dist-packages/moment/core.py", line 81, in timezone
date = times.to_local(date, zone)
File "/usr/local/lib/python2.7/dist-packages/times/__init__.py", line 61, in to_local
'First argument to to_local() should be a universal time.'
ValueError: First argument to to_local() should be a universal time.
Posts: 13,421
Threads: 304
Joined: Mar 2018
Reputation:
545
Reboot and post the startup log.
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
(01-15-2023, 02:45 PM)Tim Curtis Wrote: Reboot and post the startup log.
Code: login as: pi
pi@192.168.1.5's password:
Linux: 5.15.76-v7l+ #1597 | armv7l (32-bit) | DebOS: 11.6
Model: Pi-4B 1.2 4GB
Audio: Pi HDMI 1
____ __ ___
__ _ ___ / __ \___/ /__ ( _ )
/ ' \/ _ \/ /_/ / _ / -_) / _ |
/_/_/_/\___/\____/\_,_/\__/ \___/
moOde audio player
Release 8.2.4 2022-12-27
(C) 2014 Tim Curtis
The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.
To set a new password for the user 'pi' type 'passwd'.
Last login: Sun Jan 22 12:20:23 2023 from 192.168.1.7
pi@moode:~ $ moodeutl -l
20230122 134146 worker: --
20230122 134146 worker: -- Start moOde 8 series
20230122 134146 worker: --
20230122 134146 worker: Successfully daemonized
20230122 134150 worker: File check (OK)
20230122 134151 worker: Session vacuumed
20230122 134151 worker: Session loaded
20230122 134151 worker: Debug logging (OFF)
20230122 134151 worker: --
20230122 134151 worker: -- Audio debug
20230122 134151 worker: --
20230122 134151 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20230122 134151 worker: MPD config: (0:Pi HDMI 1 | mixer:(HDMI) | card:0)
20230122 134151 worker: ALSA mixer actual (HDMI)
20230122 134152 worker: ALSA HDMI volume set to (0%)
20230122 134152 worker: --
20230122 134152 worker: -- System
20230122 134152 worker: --
20230122 134152 getMpdSock(): Connection to MPD failed
20230122 134156 worker: Host (moode)
20230122 134156 worker: moOde (8.2.4 2022-12-27)
20230122 134156 worker: RaspiOS (11.6)
20230122 134156 worker: Kernel (5.15.76-v7l+ #1597)
20230122 134156 worker: Platform (Pi-4B 1.2 4GB)
20230122 134156 worker: ARM arch (armv7l, 32-bit)
20230122 134156 worker: MPD ver (0.23.11)
20230122 134156 worker: CPU gov (ondemand)
20230122 134156 worker: USB boot (enabled)
20230122 134156 worker: File sys (expanded)
20230122 134156 worker: HDMI port (On)
20230122 134156 worker: Sys LED0 (On)
20230122 134157 worker: Sys LED1 (On)
20230122 134157 worker: --
20230122 134157 worker: -- Network
20230122 134157 worker: --
20230122 134157 worker: eth0 adapter exists
20230122 134157 worker: eth0 check for address (Off)
20230122 134157 worker: IP addr (192.168.1.5)
20230122 134157 worker: Netmask (255.255.255.0)
20230122 134157 worker: Gateway (192.168.1.1)
20230122 134157 worker: Pri DNS (8.8.8.8)
20230122 134157 worker: Domain ()
20230122 134157 worker: wlan0 adapter exists
20230122 134157 worker: wlan0 country (US)
20230122 134157 worker: wlan0 SSID is "None (activates AP mode)"
20230122 134157 worker: wlan0 AP mode not started (eth0 active but Router mode is Off)
20230122 134157 worker: wlan0 address not assigned
20230122 134157 worker: wlan0 power save disabled
20230122 134157 worker: apd0 router mode (Off)
20230122 134157 worker: --
20230122 134157 worker: -- Software update
20230122 134157 worker: --
20230122 134157 worker: Automatic check (Off)
20230122 134157 worker: --
20230122 134157 worker: -- Audio config
20230122 134157 worker: --
20230122 134159 worker: MPD conf updated
20230122 134159 worker: ALSA card number (0)
20230122 134159 worker: MPD audio output (Pi HDMI 1)
20230122 134159 worker: Audio formats (U8, S16_LE)
20230122 134159 worker: ALSA mixer name (HDMI)
20230122 134159 worker: MPD mixer type (hardware)
20230122 134159 worker: Hdwr volume controller exists
20230122 134159 worker: Max ALSA volume (100%)
20230122 134159 worker: ALSA output mode (Default: plughw)
20230122 134159 worker: ALSA loopback (On)
20230122 134159 worker: Reset renderer active flags
20230122 134159 worker: CamillaDSP (off)
20230122 134159 worker: --
20230122 134159 worker: -- File sharing
20230122 134159 worker: --
20230122 134159 worker: SMB file sharing (Off)
20230122 134159 worker: NFS file sharing (Off)
20230122 134159 worker: --
20230122 134159 worker: -- MPD startup
20230122 134159 worker: --
20230122 134200 worker: MPD started
20230122 134200 worker: MPD accepting connections
20230122 134200 worker: MPD output 1 ALSA Default (On)
20230122 134200 worker: MPD output 2 ALSA Bluetooth (Off)
20230122 134200 worker: MPD output 3 HTTP Server (Off)
20230122 134200 worker: MPD crossfade (off)
20230122 134201 worker: MPD ignore CUE files (yes)
20230122 134201 worker: --
20230122 134201 worker: -- Music sources
20230122 134201 worker: --
20230122 134201 worker: USB sources
20230122 134201 worker: No drives found
20230122 134201 worker: NAS sources
20230122 134201 worker: None configured
20230122 134201 worker: --
20230122 134201 worker: -- Feature availability
20230122 134201 worker: --
20230122 134201 worker: Input select (available)
20230122 134201 worker: Input (MPD)
20230122 134201 worker: Output (Pi HDMI 1)
20230122 134201 worker: Bluetooth (available)
20230122 134202 worker: AirPlay renderer (available)
20230122 134202 worker: Spotify renderer (available)
20230122 134202 worker: Squeezelite (available)
20230122 134202 worker: RoonBridge renderer (not installed)
20230122 134202 worker: Multiroom sender (available)
20230122 134202 worker: Multiroom receiver (available)
20230122 134202 worker: UPnP renderer (available)
20230122 134202 worker: DLNA server (available)
20230122 134202 worker: GPIO button handler (available)
20230122 134202 worker: Stream recorder (n/a)
20230122 134202 worker: HTTPS-Only mode (n/a)
20230122 134202 worker: --
20230122 134202 worker: -- Other
20230122 134202 worker: --
20230122 134202 worker: USB volume knob (Off)
20230122 134202 worker: USB auto-mounter (udisks-glue)
20230122 134202 worker: Saved MPD vol level (0)
20230122 134202 worker: Preamp volume level (0)
20230122 134202 worker: MPD volume level (52) restored
20230122 134202 worker: ALSA HDMI volume (84%)
20230122 134202 worker: Auto-play (Off)
20230122 134202 worker: LocalUI (On)
20230122 134202 worker: CoverView toggle (Off)
20230122 134202 worker: On-screen keyboard (Off)
20230122 134202 worker: Library scope (all)
20230122 134202 worker: View reset to playback
20230122 134202 worker: Maintenance interval (360 minutes)
20230122 134202 worker: Screen saver activation (Never)
20230122 134202 worker: Session permissions (OK)
20230122 134202 worker: Mount monitor (Off)
20230122 134202 worker: Watchdog started
20230122 134202 worker: Ready
Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
01-23-2023, 02:10 AM
(This post was last modified: 01-23-2023, 03:24 AM by TheOldPresbyope.
Edit Reason: deleted superfluous line from code block
)
@ KmPan
Seems you took a wrong turn somewhere but we can't know where you ended up if you don't tell us how you got there.
In my case, I have no suitable LCD/OLED display but that didn't stop me from doing a quick test.
On a moOde 8.2.4 (64-bit) player on an RPi4B I had no trouble executing the following steps (note that I'm presenting command line output so you can see what directory I'm in at each point)
Code: pi@m824p4b:~ $ git clone https://github.com/dhrone/pydPiper
...typical lines of output...
pi@m824p4b:~ $ sudo curl -fsSL https://get.docker.com -o get-docker.sh
pi@m824p4b:~ $ sudo sh get-docker.sh
...lots of output...
pi@m824p4b:~ $ cd pydPiper
pi@m824p4b:~/pydPiper $ sudo python configure.py
...accepted most defaults, wrote "moode" as name of distro...
pi@m824p4b:~/pydPiper $ cd
pi@m824p4b:~ $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
...number of lines of output as docker pulls bits and pieces, ending with...
Status: Downloaded newer image for dhrone/pydpiper:v0.31-alpha
WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@m824p4b:/app# python pydPiper.py
pydPiper starting
Loading font from /app/displays/fonts/latin1_5x8_fixed.fnt
...more font loading after which pydPiper is running...
I added some comment lines beginning and ending with "...". The warning that the requested image's platform doesn't match the host platform is not consequential here.
So how did your install differ?
Regards,
Kent
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
(01-23-2023, 02:10 AM)TheOldPresbyope Wrote: @KmPan
Seems you took a wrong turn somewhere but we can't know where you ended up if you don't tell us how you got there.
In my case, I have no suitable LCD/OLED display but that didn't stop me from doing a quick test.
On a moOde 8.2.4 (64-bit) player on an RPi4B I had no trouble executing the following steps (note that I'm presenting command line output so you can see what directory I'm in at each point)
Code: pi@m824p4b:~ $ git clone https://github.com/dhrone/pydPiper
...typical lines of output...
pi@m824p4b:~ $ sudo curl -fsSL https://get.docker.com -o get-docker.sh
pi@m824p4b:~ $ sudo sh get-docker.sh
...lots of output...
pi@m824p4b:~ $ cd pydPiper
pi@m824p4b:~/pydPiper $ sudo python configure.py
...accepted most defaults, wrote "moode" as name of distro...
pi@m824p4b:~/pydPiper $ cd
pi@m824p4b:~ $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
...number of lines of output as docker pulls bits and pieces, ending with...
Status: Downloaded newer image for dhrone/pydpiper:v0.31-alpha
WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@m824p4b:/app# python pydPiper.py
pydPiper starting
Loading font from /app/displays/fonts/latin1_5x8_fixed.fnt
...more font loading after which pydPiper is running...
I added some comment lines beginning and ending with "...". The warning that the requested image's platform doesn't match the host platform is not consequential here.
So how did your install differ?
Regards,
Kent thanks Kent for reply i just followed steps in page 1 1st post ..as it worked on v7 moode.
extra step is install git.
i have saved the text during install
Code: login as: pi
pi@192.168.1.5's password:
Linux: 5.15.76-v7l+ #1597 | armv7l (32-bit) | DebOS: 11.6
Model: Pi-4B 1.2 4GB
Audio: Pi HDMI 1
____ __ ___
__ _ ___ / __ \___/ /__ ( _ )
/ ' \/ _ \/ /_/ / _ / -_) / _ |
/_/_/_/\___/\____/\_,_/\__/ \___/
moOde audio player
Release 8.2.4 2022-12-27
(C) 2014 Tim Curtis
The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.
To set a new password for the user 'pi' type 'passwd'.
pi@moode:~ $ sudo install git
install: missing destination file operand after 'git'
Try 'install --help' for more information.
pi@moode:~ $ sudo apt install git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,583 kB of archives.
After this operation, 33.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf liberror-perl all 0.17029-1 [31.0 kB]
Get:2 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf git-man all 1:2.30.2-1 [1,827 kB]
Get:3 http://mirror.ossplanet.net/raspbian/raspbian bullseye/main armhf git armhf 1:2.30.2-1 [4,724 kB]
Fetched 6,583 kB in 26s (256 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 65171 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17029-1_all.deb ...
Unpacking liberror-perl (0.17029-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.30.2-1_all.deb ...
Unpacking git-man (1:2.30.2-1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.30.2-1_armhf.deb ...
Unpacking git (1:2.30.2-1) ...
Setting up liberror-perl (0.17029-1) ...
Setting up git-man (1:2.30.2-1) ...
Setting up git (1:2.30.2-1) ...
Processing triggers for man-db (2.9.4-2) ...
pi@moode:~ $ cd /home/pi
git clone https://github.com/dhrone/pydPiper
Cloning into 'pydPiper'...
remote: Enumerating objects: 2766, done.
remote: Counting objects: 100% (77/77), done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 2766 (delta 47), reused 64 (delta 42), pack-reused 2689
Receiving objects: 100% (2766/2766), 1.10 MiB | 709.00 KiB/s, done.
Resolving deltas: 100% (2001/2001), done.
pi@moode:~ $ cd pydPiper
pi@moode:~/pydPiper $ sudo ./install_docker.sh
Installing Docker from the convenience script
# Executing docker install script, commit: 1d97565eca92bb523082b7d4f530c74104e05d35
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c mkdir -p /etc/apt/keyrings && chmod -R 0755 /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
+ sh -c chmod a+r /etc/apt/keyrings/docker.gpg
+ sh -c echo "deb [arch=armhf signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/raspbian bullseye stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io docker-compose-plugin >/dev/null
+ version_gte 20.10
+ [ -z ]
+ return 0
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
+ sh -c docker version
Client: Docker Engine - Community
Version: 20.10.23
API version: 1.41
Go version: go1.18.10
Git commit: 7155243
Built: Thu Jan 19 17:33:53 2023
OS/Arch: linux/arm
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.23
API version: 1.41 (minimum version 1.12)
Go version: go1.18.10
Git commit: 6051f14
Built: Thu Jan 19 17:31:38 2023
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.6.15
GitCommit: 5b842e528e99d4d4c1686467debf2bd4b88ecd86
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
================================================================================
To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:
dockerd-rootless-setuptool.sh install
Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/
WARNING: Access to the remote API on a privileged Docker daemon is equivalent
to root access on the host. Refer to the 'Docker daemon attack surface'
documentation for details: https://docs.docker.com/go/attack-surface/
================================================================================
Enabling docker
Synchronizing state of docker.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable docker
v0.31-alpha: Pulling from dhrone/pydpiper
689dda5de45e: Pull complete
a3ed95caeb02: Pull complete
7e28376ea400: Pull complete
f98467deb8d3: Pull complete
7d26b233d4ce: Pull complete
a5642ef2c19b: Pull complete
c1543a387200: Pull complete
Digest: sha256:7096658fc25df45c6fd04c27f9d43c807c5761fb19c0328cb96ef5311e56020b
Status: Downloaded newer image for dhrone/pydpiper:v0.31-alpha
docker.io/dhrone/pydpiper:v0.31-alpha
Testing docker
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
04341b189be6: Pull complete
Digest: sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(arm32v7)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
pi@moode:~/pydPiper $ sudo raspi-config
pi@moode:~/pydPiper $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@moode:~/pydPiper $ sudo python configure.py
Creating configuration file for pydPiper
----------------------------------------
STARTUP CONFIGURATION
Startup mode duration (in seconds)? [5]: 5
DISPLAY CONFIGURATION
Display type? [winstar_weg]: hd44780_i2c
I2C Port? [1]: 1
I2C Address? [0x3d]: 0x27
Width of display (in pixels)? [80]: 100
Height of display (in pixels)? [16]: 32
Enable pulse duration (in microseconds)? [0.1]: 0.1
Location of the pagefile? [pages_weh_80x16.py]: pages_led_20x4.py
Animation Smoothing (in seconds)? [0.1]: 0.15
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]: info
Time Zone? [US/Eastern]: ASIA/Calcutta
24-hour clock? [false]: false
Temperature Scale? [fahrenheit]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [volumio]: moode
Server address? [localhost]: localhost
Port? [6600]: 6600
Password?: moodeaudio
UPDATING pydPiper.cfg
Creating pydpiper.service file
pi@moode:~/pydPiper $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw dhrone/pydpiper:v0.31-alpha /bin/bash
root@moode:/app# python pydPiper.py
GPIO not installed
Traceback (most recent call last):
File "pydPiper.py", line 23, in <module>
class music_controller(threading.Thread):
File "pydPiper.py", line 68, in music_controller
'localtime':moment.utcnow().timezone(pydPiper_config.TIMEZONE),
File "/usr/local/lib/python2.7/dist-packages/moment/core.py", line 81, in timezone
date = times.to_local(date, zone)
File "/usr/local/lib/python2.7/dist-packages/times/__init__.py", line 61, in to_local
'First argument to to_local() should be a universal time.'
ValueError: First argument to to_local() should be a universal time.
root@moode:/app# ^C
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
may be pydpiper have some sort of incompatibility with bullseye?
mean time i am running moode v8 with oled @ adrii (install guide), lirc for remote with out any issues
Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
(01-24-2023, 08:26 AM)KmPan Wrote: may be pydpiper have some sort of incompatibility with bullseye?
mean time i am running moode v8 with oled @ adrii (install guide), lirc for remote with out any issues
I see one error in your configuration. The time zone should be Asia/Calcutta, not ASIA/Calcutta. That's what is causing the traceback and ultimately the message
Code: ValueError: First argument to to_local() should be a universal time.
As for the rest of your configuration, I don't see a problem, but I'm neither a user of these displays nor an expert on Docker and containerization.
If I read through dhrone's python code, I see that this initial message
Code: root@moode:/app# python pydPiper.py
GPIO not installed
gets generated in display-related routines when the python RPi.GPIO module hasn't been loaded. There are various places in the same routines requesting this module be loaded. Running pip in the container to list all available modules, I see RPi.GPIO among them, so I don't know why it isn't loaded in your case.
If occurred to me that I might not be triggering these display-related routines in my test so I went back and reconfigured. I selected the same display as you did, yada, yada, yada, and restarted. I get exceptions because there is no display physically present to drive the i2C lines but I still don't get the "not installed" message you do.
Aside: Python2 officially sunset three years ago this month. The debian bullseye distro on which moOde is built has only python3.9 installed (and the RPi.GPIO module is present) whereas the docker container which we are loading has python2.7 installed. AFAIK, this doesn't matter since pydPiper (which is written in python2 dialect) is running within the container, but I thought I'd mention it. Like I said, I'm not an expert in containerization. I thought naively it would insulate one from differences in debian distros (at least within the same architecture family such as arm vs x86).
Perhaps one of the other users who have posted to this thread in the past would care to comment about pydPiper and moOde 8.
Regards,
Kent
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
thaks a lot Kent ....
for figuring out ...time zone typing mistake...
i reconfigured python configure.py......
every thing working fine ...
once again thank you for taking time to go through the log.
Code: login as: pi
pi@192.168.1.5's password:
Linux: 5.15.76-v7l+ #1597 | armv7l (32-bit) | DebOS: 11.6
Model: Pi-4B 1.2 4GB
Audio: Pi HDMI 1
____ __ ___
__ _ ___ / __ \___/ /__ ( _ )
/ ' \/ _ \/ /_/ / _ / -_) / _ |
/_/_/_/\___/\____/\_,_/\__/ \___/
moOde audio player
Release 8.2.4 2022-12-27
(C) 2014 Tim Curtis
The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.
To set a new password for the user 'pi' type 'passwd'.
Last login: Tue Jan 24 23:23:22 2023 from 192.168.1.6
pi@moode:~ $ sudo python configure.py
python: can't open file '/home/pi/configure.py': [Errno 2] No such file or directory
pi@moode:~ $ cd pydPiper
pi@moode:~/pydPiper $ sudo python configure.py
Creating configuration file for pydPiper
----------------------------------------
STARTUP CONFIGURATION
Startup mode duration (in seconds)? [5]: 5
DISPLAY CONFIGURATION
Display type? [hd44780_i2c]: hd44780_i2c
I2C Port? [1]: 1
I2C Address? [0x27]: 0x27
Width of display (in pixels)? [100]: 100
Height of display (in pixels)? [32]: 32
Enable pulse duration (in microseconds)? [0.1]: 0.1
Location of the pagefile? [pages_led_20x4.py]: pages_lcd_20x4.py
Animation Smoothing (in seconds)? [0.15]: 0.15
SYSTEM CONFIGURATION
Location of log file? [/var/log/pydPiper.log]: /var/log/pydPiper.log
Logging Level? [info]: info
Time Zone? [ASIA/Calcutta]: Asia/Calcutta
24-hour clock? [false]: false
Temperature Scale? [celsius]: celsius
Enable weather? [n]: n
MUSIC DISTRIBUTION
Name of distribution? [moode]: moode
Server address? [localhost]: localhost
Port? [6600]: 6600
Password? [moodeaudio]: moodeaudio
UPDATING pydPiper.cfg
Creating pydpiper.service file
pi@moode:~/pydPiper $ sudo /usr/bin/docker run --network=host --privileged -ti -v /var/log:/var/log:rw -v /home/pi/pydPiper:/app:rw
dhrone/pydpiper:v0.31-alpha /bin/bash
root@moode:/app# python pydPiper.py
GPIO not installed
pydPiper starting
Loading font from /app/displays/fonts/latin1_5x8_fixed.fnt
Loading font from /app/displays/fonts/latin1_5x8_lcd.fnt
Loading font from /app/displays/fonts/BigFont_10x16_fixed.fnt
Loading font from /app/displays/fonts/upperasciiwide_3x5_fixed.fnt
^CShutting down threads
Exiting...
root@moode:/app# exit
exit
Posts: 8
Threads: 2
Joined: Mar 2024
Reputation:
0
Hello everyone
I have got Pydpiper working nicely and it displays info when playing music from a network source for example. But when I stream to it using Spotify Connect, the display doesn’t wake up. It just continues showing the clock. Is there any way I can at least perhaps get it to just show “Spotify Connect” or something?
Thank you
Posts: 13,421
Threads: 304
Joined: Mar 2018
Reputation:
545
Wouldn't this be a question for the Pydpiper maintainer?
|