Posts: 369
Threads: 9
Joined: Apr 2018
Reputation:
10
After regenerating the library the counts are unchanged. The track count of 38,638 and the total time of 2891 hours look right, but 1480 albums is obviously too low.
It's not a problem, since all my albums seem to be present in Folder view, which is the one I use.
Thanks for the help.
John
Posts: 12
Threads: 2
Joined: Apr 2018
Reputation:
1
(07-25-2020, 12:41 PM)Tim Curtis Wrote: (07-23-2020, 07:20 PM)jbajci Wrote: (07-23-2020, 07:03 PM)Tim Curtis Wrote: (07-23-2020, 06:08 PM)jbajci Wrote: (07-23-2020, 03:02 PM)Pixxel Wrote: Hi,
probably still some problem with Piano 2.1 + Kali. Moode reports without music:
Code: pi@moode:~ $ cat /var/log/moode.log
20200723 104759 worker: -- Start
20200723 104759 worker: Successfully daemonized
20200723 104800 worker: Integrity check (passed)
20200723 104800 worker: Session loaded
20200723 104800 worker: Debug logging (off)
20200723 104800 worker: Device raw: (0:empty|1:empty|2:empty|3:empty
20200723 104800 worker: Device i2s: (Allo Piano 2.1 Hi-Fi DAC)
20200723 104800 worker: Device mpd: (0:Allo Piano 2.1 Hi-Fi DAC)
20200723 104800 worker: Device ses: (0|Allo Piano 2.1 Hi-Fi DAC|Master|Invalid card number.%)
20200723 104800 worker: ALSA Master volume set to (Invalid card number.)
20200723 104800 worker: -- System
20200723 104803 worker: Host (moode)
20200723 104803 worker: moOde (6.7.1 2020-07-22)
20200723 104803 worker: RaspiOS (10.4)
20200723 104803 worker: Kernel (5.4.51-v7+ #1325)
20200723 104803 worker: Platform (Pi-3B+ 1GB v1.3)
20200723 104803 worker: ARM arch (armv7l, 32-bit kernel)
20200723 104803 worker: MPD ver (0.21.24)
20200723 104803 worker: CPU gov (ondemand)
20200723 104803 worker: USB boot enabled
20200723 104803 worker: File system not expanded yet
20200723 104804 worker: HDMI port on
20200723 104805 worker: File check (OK)
20200723 104805 worker: -- Network
20200723 104805 worker: eth0 exists
20200723 104805 worker: IP addr (192.168.1.102)
20200723 104805 worker: Netmask (255.255.255.0)
20200723 104806 worker: Gateway (192.168.1.1)
20200723 104806 worker: Pri DNS (192.168.1.1)
20200723 104806 worker: Domain (None)
20200723 104806 worker: wlan0 exists
20200723 104806 worker: wifi country (US)
20200723 104806 worker: wlan0 SSID is blank
20200723 104806 worker: eth0 addr exists, AP mode not started
20200723 104806 worker: wlan0 address not assigned
20200723 104806 worker: -- Audio
20200723 104807 worker: MPD conf updated
20200723 104807 worker: ALSA outputs unmuted
20200723 104807 worker: ALSA card number (0)
20200723 104807 worker: Audio output (Allo Piano 2.1 Hi-Fi DAC)
20200723 104808 worker: Audio formats (cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory)
20200723 104808 worker: ALSA mixer name (Master)
20200723 104808 worker: MPD volume control (disabled)
20200723 104808 worker: Hdwr volume controller exists
20200723 104808 worker: Max ALSA volume (100%)
20200723 104808 worker: Piano output mode (Invalid card number.)
20200723 104809 worker: Piano 2.1 initialized
20200723 104809 worker: Reset renderer active flags
20200723 104809 worker: -- MPD
20200723 104809 worker: MPD started
20200723 104810 worker: MPD accepting connections
20200723 104810 worker: Configure MPD outputs
20200723 104810 worker: MPD output 1 ALSA default (on)
20200723 104810 worker: MPD output 2 ALSA crossfeed (off)
20200723 104810 worker: MPD output 3 ALSA parametric eq (off)
20200723 104810 worker: MPD output 4 ALSA graphic eq (off)
20200723 104810 worker: MPD output 5 ALSA polarity inversion (off)
20200723 104810 worker: MPD output 6 ALSA bluetooth (off)
20200723 104810 worker: MPD output 7 HTTP stream (off)
20200723 104810 worker: MPD crossfade (off)
20200723 104810 worker: -- Feature availability
20200723 104810 worker: Source select (available)
20200723 104810 worker: Source select (source: MPD)
20200723 104810 worker: Source select (output: Allo Piano 2.1 Hi-Fi DAC)
20200723 104811 worker: Bluetooth (available)
20200723 104811 worker: Airplay renderer (available)
20200723 104811 worker: Spotify renderer (available)
20200723 104811 worker: Squeezelite renderer (available)
20200723 104811 worker: UPnP renderer (available)
20200723 104811 worker: DLNA server (available)
20200723 104811 worker: UPnP browser (available)
20200723 104811 worker: Audio scrobbler (available)
20200723 104811 worker: GPIO button handler (available)
20200723 104811 worker: -- Music sources
20200723 104811 worker: USB source (AUDIOMALINA)
20200723 104811 worker: NAS and UPnP sources (none configured)
20200723 104811 worker: -- Miscellaneous
20200723 104811 worker: USB volume knob (Off)
20200723 104811 worker: USB auto-mounter (udisks-glue)
20200723 104811 worker: LED0 (On)
20200723 104811 worker: LED1 (On)
20200723 104811 worker: Saved MPD vol level (0)
20200723 104811 worker: Preamp volume level (0)
20200723 104812 worker: MPD volume level (0) restored
20200723 104812 worker: ALSA Master volume (Invalid card number.)
20200723 104812 worker: Auto-play (Off)
20200723 104812 worker: Maintenance interval (3 hrs)
20200723 104812 worker: Screen saver activation (Never)
20200723 104812 worker: Session permissions (OK)
20200723 104812 worker: Watchdog started
20200723 104812 worker: Ready
hi, i have the same
problem
Reboot and then post the output from the cmd below
pi@moode:~ $ dmesg | grep allo
[ 0.000000] pcpu-alloc: s89240 r8192 d29544 u126976 alloc=31*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] ftrace: allocating 31756 entries in 125 pages
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.024029] ASID allocator initialised with 32768 entries
[ 0.185970] DMA: preallocated 1024 KiB pool for atomic allocations
[ 5.840786] snd-allo-piano-dac-plus socound: ASoC: Neither/both codec name/of_node are set for PianoDACPlus
[ 5.840806] snd-allo-piano-dac-plus socound: ASoC: failed to init link PianoDACPlus: -22
[ 5.840818] snd-allo-piano-dac-plus socound: snd_soc_register_card() failed: -22
[ 5.840858] snd-allo-piano-dac-plus: probe of socound failed with error -22
I'm wondering whether this could be similar to another driver load issue where the Katana driver fails to load on a Pi-4B during boot and has to be loaded manually in rc.local.
Try below and see if the Piano 2.1 driver loads
Code: rmmod snd-allo-piano-dac-plus
rmmod snd_soc_audio_graph_card
modprobe snd_soc_audio_graph_card
modprobe snd-allo-piano-dac-plus
dmesg | grep allo
Output is this:/
Code: pi@moode:~ $ dmesg | grep allo
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] pcpu-alloc: s49792 r8192 d23936 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] ftrace: allocating 27959 entries in 55 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.035205] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 2.562316] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 7.809572] snd-allo-piano-dac-plus soc:sound: ASoC: Neither/both codec name/of_node are set for PianoDACPlus
[ 7.809652] snd-allo-piano-dac-plus soc:sound: ASoC: failed to init link PianoDACPlus: -22
[ 7.809724] snd-allo-piano-dac-plus soc:sound: snd_soc_register_card() failed: -22
[ 7.809889] snd-allo-piano-dac-plus: probe of soc:sound failed with error -22
[ 8.182642] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 8.462837] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
Posts: 13,429
Threads: 304
Joined: Mar 2018
Reputation:
545
I would contact Allo and report the dmesg output and kernel version 5.4.51, 32-bit.
Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
@ jonners
I can't explain your specific numbers without seeing the details of your entire collection, but there's nothing to guarantee the two counts will be the same.
Tim already gave it away with his comment "The 2617 figure represents the number of directories scanned by the Thumbnail generator. The 1480 figure listed in Tag view represents the number of albums that MPD was able to index."
The thumbnail generator is counting the number of file directories it found to be containing tracks. IIRC, MPD is counting the number of unique strings it found in the album field of the tags of the tracks as it indexed them.
In my own case, my library is a hodge-podge collection of tracks, some carefully tagged, some incorrectly or inconsistently tagged, some untagged, and all approximately sorted into directories. When scanned by moOde, I get the counts:
Music collection: 653 albums
Albums processed: 908
Perhaps we should be labeling the thumbnail generator report "Directories processed" or "Album directories processed". I think the former is more correct since it's perfectly possible to have directories containing tracks which come from no album.
Now that you've got my attention on this, though, I want to look more closely. It never bothered me that my counts were mismatched so I never checked that both counts were actually correct according to their respective algorithms. They should be, but ....
Regards,
Kent
Posts: 13,429
Threads: 304
Joined: Mar 2018
Reputation:
545
Correct - "IIRC, MPD is counting the number of unique strings it found in the album field of the tags of the tracks as it indexed them"
I should prolly do something with that name.
Posts: 37
Threads: 6
Joined: Sep 2018
Reputation:
1
(07-27-2020, 04:28 PM)Tim Curtis Wrote: I would contact Allo and report the dmesg output and kernel version 5.4.51, 32-bit.
Yes piano2.1 not working in this or the previous version - I have reverted to 6.52 which mostly works tho it forgets the sub settings between reboots
Tim I really think a communication from you to Allo would carry more weight
Lx
Posts: 13,429
Threads: 304
Joined: Mar 2018
Reputation:
545
I don't have a Piano 2.1 device so if there is a fix I'm not able to test and verify it for moOde, only someone that has the device can do that on my behalf.
Their support is really good so I'm sure they will help you out.
Posts: 130
Threads: 12
Joined: Jun 2018
Reputation:
3
07-27-2020, 11:08 PM
(This post was last modified: 07-27-2020, 11:12 PM by moodenigo.)
Hello, this one is for @ Tim Curtis
I have tackled the problem by dumping moode-sqlite3.db in /var/local/www/db, changing 131072 to 262144 in the definition of max_output_buffer_size, and then regenerating the db from that. Now the new value "sticks" – but of course any new release would probably restore it. Could you please use the new larger value from now on? Yes, the problem would one day resurface for people with even larger libraries, but this is life...
My problem is different from the one @ jonners encountered – the system gives different numbers because in the mpd database it counts albums by name, I think, and the album cover search by directories.
Posts: 13,429
Threads: 304
Joined: Mar 2018
Reputation:
545
As I've mentioned in other posts moOde is not designed for giant, multi-100,000 track collections. Important parts of moOde simply won't function well or at all for example Library Tag/Album views, Auto-shuffle. There will probably be other parts that break as well.
I can add to the TODO list though and possibly add it as an option to MPD Config at some point but there is also a buffer setting in PHP-FPM that involves data transfer size that I would need to investigate to see if it also would need to be part of such an option.
Posts: 17
Threads: 1
Joined: Oct 2019
Reputation:
0
(07-27-2020, 11:51 PM)Tim Curtis Wrote: As I've mentioned in other posts moOde is not designed for giant, multi-100,000 track collections. Important parts of moOde simply won't function well or at all for example Library Tag/Album views, Auto-shuffle. There will probably be other parts that break as well.
For my purposes, moOde works fine with my giant, multi-100,000 track collection -- as long as I set the system to use the 32-bit kernel while databasing the collection, and then switch to the 64-bit kernel when the database is complete. The only functions that seem broken are in fact the Tag and Album views, which just show the Stereo Test track on the SD card. But I never use those views -- I just select music to be played from the Folder view. For me, the Tag and Album views simply aren't "important parts of moOde."
I don't use the Auto-shuffle function, either, but I tested it and it seems to work fine with my collection.
|