Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 | Unable to start playlists (web-app / rfid-reader) #2306

Closed
FMuenke opened this issue Mar 24, 2024 · 15 comments
Closed

🐛 | Unable to start playlists (web-app / rfid-reader) #2306

FMuenke opened this issue Mar 24, 2024 · 15 comments
Labels
bug installation legacy_v2 Issues, discussions and PRs related to Version 2.x

Comments

@FMuenke
Copy link

FMuenke commented Mar 24, 2024

Version

2.5.0 - 4101984 - master

Branch

master

OS

Raspbian GNU/Linux 11 (bullseye)

Pi model

3B

Hardware

RC522 RFID Reader
ALMO Speaker Set

What happened?

I have just setup the raspi and installed the phonie box.

I am able to upload playlists and upload files into them, but when pressing the play-button in the playlist it states:

PLAYLIST is now playing, but it does not start, and it does not show up in the playlist (new songs list)

Finally, i can start the individual tracks in the playlist separately and as well add them manually to the next songs list.

I tried to reseach but i cannot find the solution.
Any ideas what i can try?

Logs

No response

Configuration

No response

More info

No response

@FMuenke FMuenke added bug legacy_v2 Issues, discussions and PRs related to Version 2.x needs triage labels Mar 24, 2024
@s-martin
Copy link
Collaborator

@FMuenke
Copy link
Author

FMuenke commented Mar 25, 2024

I was able to upload files through the web-app and i can see the files as well when i log into the rpi.
I can even start the tracks when i select them separately directly from the list of files below the folder in the web app)

When i hit the play button in the web-app of the folder it gives feedback: playlist is now playing.
But no response or audio further

@AlvinSchiller
Copy link
Collaborator

AlvinSchiller commented Mar 25, 2024

Hi,
using playlist (e.g. m3u) files is not supported in version 2 as far as i know, and its not easliy added, as the current handling is folder based. It's confusing that the files are shown in the UI though.

Please have a look at version 3 where this feature has been added (https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/future3/main/documentation/builders/webapp/playlists-livestreams-podcasts.md#playlists).

@FMuenke
Copy link
Author

FMuenke commented Mar 25, 2024

Thanks for the reply, i think i miss-used the word "playlist". I am referring to a folder with all files i want to play included.
I created a folder, i uploaded files into the folder (web-app) and tried to start the folder via web-app.
I cannot start the whole folder at once, but starting the individual tracks in the folder does work.

I hope a am not totally missing the point here.
But i confirmed the file are in the folder just pressing the play button of the folder does nothing.

Funnily i installed phniebox on my raspberry pi 2 and it workd perfectly there

@AlvinSchiller
Copy link
Collaborator

AlvinSchiller commented Mar 25, 2024

Ok that's a different case :)
Can you supply you log file after trying to play the folder?

How many files are in this folder?

And could you check for special characters in the file names?

@FMuenke
Copy link
Author

FMuenke commented Mar 26, 2024

In the folder there are 25 .m4a files.

in the ~/phoniebox_logs folder i see the install file (i did rerun the install so there are two files)

In the ~/RPi-Jukebox-RFID/logs there is only a placeholeder file

here is the second install log-file:

################################################
WIFIconfig="YES"
WIFIcountryCode="DE"
WIFIssid="FRITZ!Box 6490 Cable"
WIFIip="192.168.178.67"
WIFIipRouter="192.168.178.1"
EXISTINGuse=NO
AUTOHOTSPOTconfig="YES"
AUTOHOTSPOTssid="phoniebox"
AUTOHOTSPOTcountryCode="DE"
AUTOHOTSPOTpass="PlayItLoud"
AUTOHOTSPOTip="10.0.0.5"
AUDIOiFace="Headphone"
SPOTinstall="NO"
MPDconfig="NO"
DIRaudioFolders="/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
GPIOconfig="YES"
WIFIconfig="YES"
WIFIcountryCode="DE"
WIFIssid="FRITZ!Box 6490 Cable"
WIFIip="192.168.178.67"
WIFIipRouter="192.168.178.1"
EXISTINGuse=NO
AUTOHOTSPOTconfig="YES"
AUTOHOTSPOTssid="phoniebox"
AUTOHOTSPOTcountryCode="DE"
AUTOHOTSPOTpass="PlayItLoud"
AUTOHOTSPOTip="10.0.0.5"
AUDIOiFace="Headphone"
SPOTinstall="NO"
MPDconfig="NO"
DIRaudioFolders="/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
GPIOconfig="YES"
################################################
Generating locales (this might take a while)...
  en_GB.UTF-8... done
Generation complete.
Cloning into 'RPi-Jukebox-RFID'...
Writing to /root/.config/pip/pip.conf
Installing additional Python packages...
Configuring Samba...
Configuring web server...
already enabled
Run "service lighttpd force-reload" to enable changes
already enabled
Run "service lighttpd force-reload" to enable changes
### Deleting older versions of service daemons. This might throw errors, ignore them
Failed to disable unit: Unit file idle-watchdog.service does not exist.
Failed to disable unit: Unit file rfid-reader.service does not exist.
Failed to disable unit: Unit file phoniebox-startup-sound.service does not exist.
Failed to disable unit: Unit file gpio-buttons.service does not exist.
Failed to disable unit: Unit file phoniebox-rotary-encoder.service does not exist.
Failed to disable unit: Unit file phoniebox-gpio-buttons.service does not exist.
rm: cannot remove '/etc/systemd/system/rfid-reader.service': No such file or directory
rm: cannot remove '/etc/systemd/system/startup-sound.service': No such file or directory
rm: cannot remove '/etc/systemd/system/gpio-buttons.service': No such file or directory
rm: cannot remove '/etc/systemd/system/idle-watchdog.service': No such file or directory
rm: cannot remove '/etc/systemd/system/phoniebox-rotary-encoder.service': No such file or directory
rm: cannot remove '/etc/systemd/system/phoniebox-gpio-buttons.service': No such file or directory
### Done with erasing old daemons. Stop ignoring errors!
Updating DB (#2) ...
volume: n/a   repeat: off   random: off   single: off   consume: off
Setting /etc/dhcpcd.conf...
Setting /etc/wpa_supplicant/wpa_supplicant.conf...
Starting dhcpcd service...
Synchronizing state of hostapd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable hostapd
Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable dnsmasq
Setting owner and permissions for directories...
numid=1,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---R--,values=1,min=-10239,max=400,step=0
  : values=400
  | dBscale-min=-102.39dB,step=0.01dB,mute=1

#
# INSTALLATION FINISHED
#
#####################################################

If you are using an RFID reader, connect it to your RPi.
(In case your RFID reader required soldering, consult the manual.)
Have you connected your RFID reader? [Y/n] Y
Please select the RFID reader you want to use
1) USB-Reader (e.g. Neuftech)
2) RC522
3) PN532
4) Manual configuration
5) Multiple RFID reader
#? Please make sure that the RC522 reader is wired up correctly to the GPIO ports before continuing...
Continue (y/n)? Installing Python requirements for RC522...
Activating SPI...
Configure RFID reader in Phoniebox...
Restarting phoniebox-rfid-reader service...
Done.

DONE. Let the sounds begin.
Find more information and documentation on the github account:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/
Reboot is needed to activate all settings
Would you like to reboot now? [Y/n] Y


@FMuenke
Copy link
Author

FMuenke commented Mar 26, 2024

Ah i have found these logs after i have enabled WebApp-API logs:

$responseList: {"repeat":"0","random":"0","single":"0","consume":"0","partition":"default","playlist":"7","playlistlength":"0","mixrampdb":"0.000000","state":"stop","chapters":[]}GET  ######### SCRIPT inc.readArgsFromCommandLine.sh (2024-03-26.11:23:15) ##
  # VAR CARDID: 
  # VAR COMMAND: savepos
  # VAR FOLDER: 
  # VAR VALUE: 
  ######### SCRIPT inc.readArgsFromCommandLine.sh (2024-03-26.11:23:15) ##
  # VAR CARDID: 
  # VAR COMMAND: playlistaddplay
  # VAR FOLDER: ilias
  # VAR VALUE: ilias
  ######### SCRIPT inc.readArgsFromCommandLine.sh (2024-03-26.11:23:15) ##
  # VAR CARDID: 
  # VAR COMMAND: single_check
  # VAR FOLDER: ilias
  # VAR VALUE: 
  ######### SCRIPT inc.readArgsFromCommandLine.sh (2024-03-26.11:23:15) ##
  # VAR CARDID: 
  # VAR COMMAND: shuffle_check
  # VAR FOLDER: ilias
  # VAR VALUE: 
  ######### SCRIPT inc.readArgsFromCommandLine.sh (2024-03-26.11:23:15) ##
  # VAR CARDID: 
  # VAR COMMAND: resume
  # VAR FOLDER: ilias
  # VAR VALUE: 

# WebApp API # /home/pi/RPi-Jukebox-RFID/htdocs/api/player.php
  # $_SERVER['REQUEST_METHOD']: GET
  # function handleGet() 
$responseList: {"repeat":"0","random":"0","single":"0","consume":"0","partition":"default","playlist":"8","playlistlength":"0","mixrampdb":"0.000000","state":"stop","chapters":[]}GET
# WebApp API # /home/pi/RPi-Jukebox-RFID/htdocs/api/playlist.php
  # $_SERVER['REQUEST_METHOD']: GET
  # function execSuccessfully: echo 'playlistinfo
close' | nc -w 1 localhost 6600
# WebApp API # /home/pi/RPi-Jukebox-RFID/htdocs/api/cover.php
# $_SERVER['REQUEST_METHOD']: GET
# WebApp API # /home/pi/RPi-Jukebox-RFID/htdocs/api/player.php
  # $_SERVER['REQUEST_METHOD']: GET
  # function handleGet() 
$responseList: {"repeat":"0","random":"0","single":"0","consume":"0","partition":"default","playlist":"8","playlistlength":"0","mixrampdb":"0.000000","state":"stop","chapters":[]}GET

@AlvinSchiller
Copy link
Collaborator

Can you also supply the output of tail -n 200 /var/log/syslog?

@AlvinSchiller
Copy link
Collaborator

I read from your installation log that you chose NO at MPD configuration. For a specific reason?
Can you supply your /etc/mpd.conf?

@FMuenke
Copy link
Author

FMuenke commented Mar 26, 2024

Here is the Output of tail -n 200 /var/log/syslog:

Mar 26 13:25:01 raspberrypi CRON[10500]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:26:10 raspberrypi kernel: [ 8478.644438] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:28:13 raspberrypi kernel: [ 8601.525505] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:28:33 raspberrypi kernel: [ 8622.007081] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:30:01 raspberrypi CRON[10555]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:30:46 raspberrypi kernel: [ 8755.127012] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:31:07 raspberrypi kernel: [ 8775.607164] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:32:49 raspberrypi kernel: [ 8878.008183] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:33:10 raspberrypi kernel: [ 8898.488495] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:35:01 raspberrypi CRON[10632]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:35:23 raspberrypi kernel: [ 9031.609924] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:37:26 raspberrypi kernel: [ 9154.490791] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:37:46 raspberrypi kernel: [ 9174.972013] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:39:01 raspberrypi CRON[10730]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 26 13:39:03 raspberrypi systemd[1]: Starting Clean php session files...
Mar 26 13:39:03 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Mar 26 13:39:03 raspberrypi systemd[1]: Finished Clean php session files.
Mar 26 13:39:59 raspberrypi kernel: [ 9308.092530] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:40:01 raspberrypi CRON[10776]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:42:02 raspberrypi kernel: [ 9430.973734] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:42:23 raspberrypi kernel: [ 9451.454964] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:44:36 raspberrypi kernel: [ 9584.574792] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:45:02 raspberrypi CRON[10873]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:46:39 raspberrypi kernel: [ 9707.456753] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:46:59 raspberrypi kernel: [ 9727.937065] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:49:12 raspberrypi kernel: [ 9861.057613] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:50:01 raspberrypi CRON[10989]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:51:15 raspberrypi kernel: [ 9983.938918] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:51:36 raspberrypi kernel: [10004.419170] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:53:49 raspberrypi kernel: [10137.539979] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:55:01 raspberrypi CRON[11044]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 13:55:52 raspberrypi kernel: [10260.423514] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:56:12 raspberrypi kernel: [10280.902635] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 13:58:25 raspberrypi kernel: [10414.028878] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 14:00:01 raspberrypi CRON[11161]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 14:00:28 raspberrypi kernel: [10536.917292] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 14:00:49 raspberrypi kernel: [10557.399788] vc4-drm soc:gpu: [drm] User-defined mode not supported: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x60 0xa
Mar 26 14:02:35 raspberrypi daemon_rfid_reader.py[615]: 2024-03-26 14:02:35,142 - pirc522.rfid - WARNING - Error E1
Mar 26 14:02:58 raspberrypi kernel: [10686.849892] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850136] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850259] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850384] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850509] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850524] usb 1-1.4-port1: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.850635] usb 1-1.4-port1: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850760] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.850884] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851009] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851134] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851259] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851273] usb 1-1.4-port1: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.851384] usb 1-1.4-port1: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851509] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851634] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851760] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.851884] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852009] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852024] usb 1-1.4-port1: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.852135] usb 1-1.4-port1: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852259] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852384] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852509] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852635] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852760] usb 1-1.4-port1: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.852775] usb 1-1.4-port1: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.852884] usb 1-1.4-port1: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.853009] usb 1-1.4-port1: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.853637] hub 1-1.4:1.0: hub_ext_port_status failed (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.855886] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856009] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856134] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856259] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856384] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856399] usb 1-1.4-port3: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.856509] usb 1-1.4-port3: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856634] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856759] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.856884] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857009] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857133] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857148] usb 1-1.4-port3: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.857259] usb 1-1.4-port3: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857384] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857509] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857635] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857759] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857883] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.857898] usb 1-1.4-port3: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.858010] usb 1-1.4-port3: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858134] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858259] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858384] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858509] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858634] usb 1-1.4-port3: cannot reset (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858648] usb 1-1.4-port3: Cannot enable. Maybe the USB cable is bad?
Mar 26 14:02:58 raspberrypi kernel: [10686.858759] usb 1-1.4-port3: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.858884] usb 1-1.4-port3: cannot disable (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.859522] hub 1-1.4:1.0: hub_ext_port_status failed (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10686.860138] hub 1-1.4:1.0: hub_ext_port_status failed (err = -32)
Mar 26 14:02:58 raspberrypi kernel: [10687.034820] usb 1-1.4: USB disconnect, device number 4
Mar 26 14:02:58 raspberrypi kernel: [10687.034857] usb 1-1.4.1: USB disconnect, device number 5
Mar 26 14:02:58 raspberrypi thd[414]: Error reading device '/dev/input/event0'
Mar 26 14:02:58 raspberrypi kernel: [10687.120508] usb 1-1.4.3: USB disconnect, device number 6
Mar 26 14:02:59 raspberrypi thd[414]: Error reading device '/dev/input/event1'
Mar 26 14:02:59 raspberrypi thd[414]: Error reading device '/dev/input/event2'
Mar 26 14:02:59 raspberrypi thd[414]: Error reading device '/dev/input/event3'
Mar 26 14:02:59 raspberrypi kernel: [10688.039122] usb 1-1.4: new full-speed USB device number 7 using dwc_otg
Mar 26 14:02:59 raspberrypi kernel: [10688.191159] usb 1-1.4: New USB device found, idVendor=05ac, idProduct=1003, bcdDevice= 4.20
Mar 26 14:02:59 raspberrypi kernel: [10688.191201] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 26 14:02:59 raspberrypi kernel: [10688.191218] usb 1-1.4: Product: Hub in Apple Extended USB Keyboard
Mar 26 14:02:59 raspberrypi kernel: [10688.191231] usb 1-1.4: Manufacturer: Mitsumi Electric
Mar 26 14:02:59 raspberrypi kernel: [10688.193611] hub 1-1.4:1.0: USB hub found
Mar 26 14:02:59 raspberrypi kernel: [10688.195427] hub 1-1.4:1.0: 3 ports detected
Mar 26 14:03:00 raspberrypi kernel: [10688.509155] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
Mar 26 14:03:00 raspberrypi kernel: [10689.369163] usb 1-1.4.1: new low-speed USB device number 9 using dwc_otg
Mar 26 14:03:01 raspberrypi kernel: [10689.513411] usb 1-1.4.1: New USB device found, idVendor=05ac, idProduct=0306, bcdDevice=26.54
Mar 26 14:03:01 raspberrypi kernel: [10689.513452] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 26 14:03:01 raspberrypi kernel: [10689.513468] usb 1-1.4.1: Product: Apple Optical USB Mouse
Mar 26 14:03:01 raspberrypi kernel: [10689.513480] usb 1-1.4.1: Manufacturer: Logitech
Mar 26 14:03:01 raspberrypi kernel: [10689.524574] input: Logitech Apple Optical USB Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/0003:05AC:0306.0004/input/input5
Mar 26 14:03:01 raspberrypi kernel: [10689.525278] hid-generic 0003:05AC:0306.0004: input,hidraw0: USB HID v1.10 Mouse [Logitech Apple Optical USB Mouse] on usb-3f980000.usb-1.4.1/input0
Mar 26 14:03:01 raspberrypi mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.1"
Mar 26 14:03:01 raspberrypi mtp-probe: bus: 1, device: 9 was not an MTP device
Mar 26 14:03:01 raspberrypi kernel: [10689.639187] usb 1-1.4.3: new full-speed USB device number 10 using dwc_otg
Mar 26 14:03:01 raspberrypi kernel: [10689.800277] usb 1-1.4.3: New USB device found, idVendor=05ac, idProduct=020c, bcdDevice= 4.20
Mar 26 14:03:01 raspberrypi kernel: [10689.800313] usb 1-1.4.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Mar 26 14:03:01 raspberrypi kernel: [10689.800329] usb 1-1.4.3: Product: Apple Extended USB Keyboard
Mar 26 14:03:01 raspberrypi kernel: [10689.800341] usb 1-1.4.3: Manufacturer: Mitsumi Electric
Mar 26 14:03:01 raspberrypi kernel: [10689.817665] input: Mitsumi Electric Apple Extended USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0/0003:05AC:020C.0005/input/input6
Mar 26 14:03:01 raspberrypi kernel: [10689.880369] hid-generic 0003:05AC:020C.0005: input,hidraw1: USB HID v1.10 Keyboard [Mitsumi Electric Apple Extended USB Keyboard] on usb-3f980000.usb-1.4.3/input0
Mar 26 14:03:01 raspberrypi kernel: [10689.896632] input: Mitsumi Electric Apple Extended USB Keyboard System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.1/0003:05AC:020C.0006/input/input7
Mar 26 14:03:01 raspberrypi kernel: [10689.959716] input: Mitsumi Electric Apple Extended USB Keyboard Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.1/0003:05AC:020C.0006/input/input8
Mar 26 14:03:01 raspberrypi kernel: [10689.960166] hid-generic 0003:05AC:020C.0006: input,hidraw2: USB HID v1.10 Device [Mitsumi Electric Apple Extended USB Keyboard] on usb-3f980000.usb-1.4.3/input1
Mar 26 14:03:01 raspberrypi mtp-probe: checking bus 1, device 10: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3"
Mar 26 14:03:01 raspberrypi mtp-probe: bus: 1, device: 10 was not an MTP device
Mar 26 14:03:02 raspberrypi systemd-udevd[11234]: mouse0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:02 raspberrypi systemd-udevd[11270]: event3: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:02 raspberrypi systemd-udevd[11253]: event2: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:02 raspberrypi systemd-udevd[11252]: event1: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:02 raspberrypi mtp-probe: checking bus 1, device 10: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.3"
Mar 26 14:03:02 raspberrypi mtp-probe: bus: 1, device: 10 was not an MTP device
Mar 26 14:03:02 raspberrypi systemd-udevd[11255]: event0: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:02 raspberrypi mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4.1"
Mar 26 14:03:02 raspberrypi mtp-probe: bus: 1, device: 9 was not an MTP device
Mar 26 14:03:03 raspberrypi kernel: [10691.689290] usb 1-1.2: new full-speed USB device number 11 using dwc_otg
Mar 26 14:03:03 raspberrypi kernel: [10691.822276] usb 1-1.2: New USB device found, idVendor=4c4a, idProduct=4155, bcdDevice= 1.00
Mar 26 14:03:03 raspberrypi kernel: [10691.822312] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 26 14:03:03 raspberrypi kernel: [10691.822327] usb 1-1.2: Product: USB Composite Device
Mar 26 14:03:03 raspberrypi kernel: [10691.822341] usb 1-1.2: Manufacturer: Jieli Technology
Mar 26 14:03:03 raspberrypi kernel: [10691.822352] usb 1-1.2: SerialNumber: 433036333732342E
Mar 26 14:03:03 raspberrypi kernel: [10691.823356] usb-storage 1-1.2:1.0: USB Mass Storage device detected
Mar 26 14:03:03 raspberrypi kernel: [10691.827736] scsi host0: usb-storage 1-1.2:1.0
Mar 26 14:03:03 raspberrypi kernel: [10691.833049] input: Jieli Technology USB Composite Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.4/0003:4C4A:4155.0007/input/input9
Mar 26 14:03:03 raspberrypi kernel: [10691.899959] hid-generic 0003:4C4A:4155.0007: input,hidraw3: USB HID v1.00 Device [Jieli Technology USB Composite Device] on usb-3f980000.usb-1.2/input4
Mar 26 14:03:03 raspberrypi mtp-probe: checking bus 1, device 11: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2"
Mar 26 14:03:03 raspberrypi mtp-probe: bus: 1, device: 11 was not an MTP device
Mar 26 14:03:03 raspberrypi kernel: [10692.096363] usbcore: registered new interface driver uas
Mar 26 14:03:04 raspberrypi kernel: [10692.420576] usbcore: registered new interface driver snd-usb-audio
Mar 26 14:03:04 raspberrypi systemd-udevd[11257]: event5: Process '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with exit code 1.
Mar 26 14:03:04 raspberrypi mtp-probe: checking bus 1, device 11: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2"
Mar 26 14:03:04 raspberrypi mtp-probe: bus: 1, device: 11 was not an MTP device
Mar 26 14:03:04 raspberrypi kernel: [10692.836273] scsi 0:0:0:0: Direct-Access     BR25     UDISK            1.00 PQ: 0 ANSI: 2
Mar 26 14:03:04 raspberrypi kernel: [10692.840062] sd 0:0:0:0: [sda] Media removed, stopped polling
Mar 26 14:03:04 raspberrypi kernel: [10692.850026] sd 0:0:0:0: [sda] Attached SCSI removable disk
Mar 26 14:03:04 raspberrypi systemd[991]: Reached target Sound Card.
Mar 26 14:03:04 raspberrypi kernel: [10692.953984] sd 0:0:0:0: Attached scsi generic sg0 type 0
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Supervising 7 threads of 3 processes of 1 users.
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Successfully made thread 11316 of process 1102 owned by '1000' RT at priority 5.
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Supervising 8 threads of 3 processes of 1 users.
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Supervising 8 threads of 3 processes of 1 users.
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Successfully made thread 11318 of process 1102 owned by '1000' RT at priority 5.
Mar 26 14:03:05 raspberrypi rtkit-daemon[1104]: Supervising 9 threads of 3 processes of 1 users.
Mar 26 14:03:56 raspberrypi pulseaudio[1102]: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Mar 26 14:03:56 raspberrypi pulseaudio[1102]: Most likely this is a bug in the ALSA driver 'snd_usb_audio'. Please report this issue to the ALSA developers.
Mar 26 14:03:56 raspberrypi pulseaudio[1102]: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Mar 26 14:04:57 raspberrypi lighttpd[11742]: MPD error: No such playlist
Mar 26 14:05:01 raspberrypi CRON[11819]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 14:05:04 raspberrypi rngd[577]: stats: bits received from HRNG source: 140064
Mar 26 14:05:04 raspberrypi rngd[577]: stats: bits sent to kernel pool: 90240
Mar 26 14:05:04 raspberrypi rngd[577]: stats: entropy added to kernel pool: 90240
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2 successes: 7
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2 failures: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2(2001-10-10) Monobit: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2(2001-10-10) Poker: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2(2001-10-10) Runs: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2(2001-10-10) Long run: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS 140-2(2001-10-10) Continuous run: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: HRNG source speed: (min=461.230; avg=736.873; max=859.083)Kibits/s
Mar 26 14:05:04 raspberrypi rngd[577]: stats: FIPS tests speed: (min=24.933; avg=25.641; max=26.057)Mibits/s
Mar 26 14:05:04 raspberrypi rngd[577]: stats: Lowest ready-buffers level: 2
Mar 26 14:05:04 raspberrypi rngd[577]: stats: Entropy starvations: 0
Mar 26 14:05:04 raspberrypi rngd[577]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us
Mar 26 14:09:01 raspberrypi CRON[12381]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 26 14:09:03 raspberrypi systemd[1]: Starting Clean php session files...
Mar 26 14:09:03 raspberrypi systemd[1]: phpsessionclean.service: Succeeded.
Mar 26 14:09:04 raspberrypi systemd[1]: Finished Clean php session files.
Mar 26 14:10:01 raspberrypi CRON[12446]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 14:15:01 raspberrypi CRON[12522]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
Mar 26 14:17:01 raspberrypi CRON[12607]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar 26 14:20:01 raspberrypi CRON[12619]: (pi) CMD (sudo /usr/bin/autohotspot >/dev/null 2>&1)
`
``

@FMuenke
Copy link
Author

FMuenke commented Mar 26, 2024

For the MPD-Config, it stated that i could also do it later and it was not necessary for my raspberry pi 2 (where is successfully installed it), so i did not consider it further. I really hope this is now not the issue.

here is the content of my mpd.conf file

# An example configuration file for MPD.
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
# or /usr/share/doc/mpd/html/user.html


# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
music_directory		"/var/lib/mpd/music"
#
# This setting sets the MPD internal playlist directory. The purpose of this
# directory is storage for playlists created by MPD. The server will use
# playlist files not created by the server but only if they are in the MPD
# format. This setting defaults to playlist saving being disabled.
#
playlist_directory		"/var/lib/mpd/playlists"
#
# This setting sets the location of the MPD database. This file is used to
# load the database at server start up and store the database while the
# server is not up. This setting defaults to disabled which will allow
# MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol.
#
db_file			"/var/lib/mpd/tag_cache"
#
# These settings are the locations for the daemon log files for the daemon.
# These logs are great for troubleshooting, depending on your log_level
# settings.
#
# The special value "syslog" makes MPD use the local syslog daemon. This
# setting defaults to logging to syslog, or to journal if mpd was started as
# a systemd service.
#
log_file			"/var/log/mpd/mpd.log"
#
# This setting sets the location of the file which stores the process ID
# for use of mpd --kill and some init scripts. This setting is disabled by
# default and the pid file will not be stored.
#
pid_file			"/run/mpd/pid"
#
# This setting sets the location of the file which contains information about
# most variables to get MPD back into the same general shape it was in before
# it was brought down. This setting is disabled by default and the server
# state will be reset on server start up.
#
state_file			"/var/lib/mpd/state"
#
# The location of the sticker database.  This is a database which
# manages dynamic information attached to songs.
#
sticker_file                   "/var/lib/mpd/sticker.sql"
#
###############################################################################


# General music daemon options ################################################
#
# This setting specifies the user that MPD will run as. MPD should never run as
# root and you may use this setting to make MPD change its user ID after
# initialization. This setting is disabled by default and MPD is run as the
# current user.
#
user				"mpd"
#
# This setting specifies the group that MPD will run as. If not specified
# primary group of user specified with "user" setting will be used (if set).
# This is useful if MPD needs to be a member of group such as "audio" to
# have permission to use sound card.
#
#group				"nogroup"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other than the default, any.
# This setting can deny access to control of the daemon. Choose any if you want
# to have mpd listen on every address. Not effective if systemd socket
# activation is in use.
#
# For network
bind_to_address			"localhost"
#
# And for Unix Socket
#bind_to_address		"/run/mpd/socket"
#
# This setting is the TCP port that is desired for the daemon to get assigned
# to.
#
#port				"6600"
#
# Suppress all messages below the given threshold.  Use "verbose" for
# troubleshooting. Available setting arguments are "notice", "info", "verbose",
# "warning" and "error".
#
#log_level			"notice"
#
# Setting "restore_paused" to "yes" puts MPD into pause mode instead
# of starting playback after startup.
#
#restore_paused "no"
#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#
#save_absolute_paths_in_playlists	"no"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. The complete list of possible values can be
# found in the user manual.
#metadata_to_use	"artist,album,title,track,name,genre,date,composer,performer,disc"
#
# This example just enables the "comment" tag without disabling all
# the other supported tags:
#metadata_to_use "+comment"
#
# This setting enables automatic update of MPD's database when files in
# music_directory are changed.
#
#auto_update	"yes"
#
# Limit the depth of the directories being watched, 0 means only watch
# the music directory itself.  There is no limit by default.
#
#auto_update_depth "3"
#
###############################################################################


# Symbolic link behavior ######################################################
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links outside of the configured music_directory.
#
#follow_outside_symlinks	"yes"
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links inside of the configured music_directory.
#
#follow_inside_symlinks		"yes"
#
###############################################################################


# Zeroconf / Avahi Service Discovery ##########################################
#
# If this setting is set to "yes", service information will be published with
# Zeroconf / Avahi.
#
#zeroconf_enabled		"yes"
#
# The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network. %h will be replaced with the hostname.
#
#zeroconf_name			"Music Player @ %h"
#
###############################################################################


# Permissions #################################################################
#
# If this setting is set, MPD will require password authorization. The password
# setting can be specified multiple times for different password profiles.
#
#password                        "password@read,add,control,admin"
#
# This setting specifies the permissions a user has who has not yet logged in.
#
#default_permissions             "read,add,control,admin"
#
###############################################################################


# Database #######################################################################
#
# An example of a database section instead of the old 'db_file' setting.
# It enables mounting other storages into the music directory.
#
#database {
#       plugin "simple"
#       path "/var/lib/mpd/tag_cache"
#       cache_directory "/var/lib/mpd/cache"
#}
#
# An example of database config for a sattelite setup
#
#music_directory "nfs://fileserver.local/srv/mp3"
#database {
#       plugin "proxy"
#       host "other.mpd.host"
#       port "6600"
#}

# Input #######################################################################
#
input {
        plugin "curl"
#       proxy "proxy.isp.com:8080"
#       proxy_user "user"
#       proxy_password "password"
}

# Decoder #####################################################################
#

decoder {
        plugin                  "hybrid_dsd"
        enabled                 "no"
#       gapless                 "no"
}
decoder {
        plugin        "wildmidi"
        enabled       "no"
        #config_file "/etc/timidity/timidity.cfg"
}

#
###############################################################################

# Audio Output ################################################################
#
# MPD supports various audio output types, as well as playing through multiple
# audio outputs at the same time, through multiple audio_output settings
# blocks. Setting this block is optional, though the server will only attempt
# autodetection for one sound card.
#
# An example of an ALSA output:
#
#audio_output {
#	type		"alsa"
#	name		"My ALSA Device"
##	device		"hw:0,0"	# optional
##	mixer_type      "hardware"	# optional
##	mixer_device	"default"	# optional
##	mixer_control	"PCM"		# optional
##	mixer_index	"0"		# optional
#}
#
# An example of an OSS output:
#
#audio_output {
#	type		"oss"
#	name		"My OSS Device"
##	device		"/dev/dsp"	# optional
##	mixer_type      "hardware"	# optional
##	mixer_device	"/dev/mixer"	# optional
##	mixer_control	"PCM"		# optional
#}
#
# An example of a shout output (for streaming to Icecast):
#
#audio_output {
#	type		"shout"
#	encoder		"vorbis"		# optional
#	name		"My Shout Stream"
#	host		"localhost"
#	port		"8000"
#	mount		"/mpd.ogg"
#	password	"hackme"
#	quality		"5.0"
#	bitrate		"128"
#	format		"44100:16:1"
##	protocol	"icecast2"		# optional
##	user		"source"		# optional
##	description	"My Stream Description"	# optional
##	url		"http://example.com"	# optional
##	genre		"jazz"			# optional
##	public		"no"			# optional
##	timeout		"2"			# optional
##	mixer_type      "software"		# optional
#}
#
# An example of a recorder output:
#
#audio_output {
#	type		"recorder"
#	name		"My recorder"
#	encoder		"vorbis"		# optional, vorbis or lame
#	path		"/var/lib/mpd/recorder/mpd.ogg"
##	quality		"5.0"			# do not define if bitrate is defined
#	bitrate		"128"			# do not define if quality is defined
#	format		"44100:16:1"
#}
#
# An example of a httpd output (built-in HTTP streaming server):
#
#audio_output {
#	type		"httpd"
#	name		"My HTTP Stream"
#	encoder		"vorbis"		# optional, vorbis or lame
#	port		"8000"
#	bind_to_address	"0.0.0.0"		# optional, IPv4 or IPv6
##	quality		"5.0"			# do not define if bitrate is defined
#	bitrate		"128"			# do not define if quality is defined
#	format		"44100:16:1"
#	max_clients	"0"			# optional 0=no limit
#}
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
# Please see README.Debian if you want mpd to play through the pulseaudio
# daemon started as part of your graphical desktop session!
#
#audio_output {
#	type		"pulse"
#	name		"My Pulse Output"
##	server		"remote_server"		# optional
##	sink		"remote_server_sink"	# optional
##	media_role	"media_role"		#optional
#}
#
# An example of a winmm output (Windows multimedia API).
#
#audio_output {
#	type		"winmm"
#	name		"My WinMM output"
##	device		"Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
#		or
##	device		"0"		# optional
##	mixer_type	"hardware"	# optional
#}
#
# An example of an openal output.
#
#audio_output {
#	type		"openal"
#	name		"My OpenAL output"
##	device		"Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
#}
#
# An example of an sndio output.
#
#audio_output {
#	type		"sndio"
#	name		"sndio output"
#	mixer_type	"hardware"
#}
#
# An example of an OS X output:
#
#audio_output {
#	type		"osx"
#	name		"My OS X Device"
##	device		"Built-in Output"	# optional
##	channel_map      "-1,-1,0,1"	# optional
#}
#
## Example "pipe" output:
#
#audio_output {
#	type		"pipe"
#	name		"my pipe"
#	command		"aplay -f cd 2>/dev/null"
## Or if you're want to use AudioCompress
#	command		"AudioCompress -m | aplay -f cd 2>/dev/null"
## Or to send raw PCM stream through PCM:
#	command		"nc example.org 8765"
#	format		"44100:16:2"
#}
#
## An example of a null output (for no audio output):
#
#audio_output {
#	type		"null"
#	name		"My Null Output"
#	mixer_type      "none"			# optional
#}
#
###############################################################################


# Normalization automatic volume adjustments ##################################
#
# This setting specifies the type of ReplayGain to use. This setting can have
# the argument "off", "album", "track" or "auto". "auto" is a special mode that
# chooses between "track" and "album" depending on the current state of
# random playback. If random playback is enabled then "track" mode is used.
# See <https://wiki.hydrogenaud.io/index.php?title=Replaygain> for
# more details about ReplayGain.
# This setting is off by default.
#
#replaygain			"album"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
#
#replaygain_preamp		"0"
#
# This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
# By default this setting is disabled.
#
#replaygain_missing_preamp	"0"
#
# This setting enables or disables ReplayGain limiting.
# MPD calculates actual amplification based on the ReplayGain tags
# and replaygain_preamp / replaygain_missing_preamp setting.
# If replaygain_limit is enabled MPD will never amplify audio signal
# above its original level. If replaygain_limit is disabled such amplification
# might occur. By default this setting is enabled.
#
#replaygain_limit		"yes"
#
# This setting enables on-the-fly normalization volume adjustment. This will
# result in the volume of all playing audio to be adjusted so the output has
# equal "loudness". This setting is disabled by default.
#
#volume_normalization		"no"
#
###############################################################################

# Character Encoding ##########################################################
#
# If file or directory names do not display correctly for your locale then you
# may need to modify this setting.
#
filesystem_charset		"UTF-8"
#
###############################################################################

@s-martin
Copy link
Collaborator

https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/develop/scripts%2Finstallscripts%2Finstall-jukebox.sh#L648-L650

Here is the question, if MPD should be configured.

From my point of view it doesn't make any sense, why the user should decide that, because Phoniebox is broken, if you decide NO.

Should be fixed.

@s-martin
Copy link
Collaborator

Second issue:

In https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/develop/misc%2Fsampleconfigs

we have a mpd.conf.sample and a mpd.conf.buster-default.sample. this should be harmonized and checked, which one the install script uses.

@AlvinSchiller
Copy link
Collaborator

For the MPD-Config, it stated that i could also do it later and it was not necessary for my raspberry pi 2 (where is successfully installed it), so i did not consider it further. I really hope this is now not the issue

I believe that's the problem, as the path don't match.

I have look in the installation settings later and can supply a config ready to use.

Or you rerun the installation and select the option.

@FMuenke
Copy link
Author

FMuenke commented Mar 26, 2024

Hi everyone, sorry for the ticket, it was indeed the MPD config.
I rerun the installation and this time configuring the MPD as it was stated in the installation command.

Now everything is working perfectly. Thanks for the patience, people like you make the internet work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug installation legacy_v2 Issues, discussions and PRs related to Version 2.x
Projects
None yet
Development

No branches or pull requests

3 participants