Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
@ moodenigo
@ Dradder
I'm not in a position to test with such large source libraries nor is this post an endorsement of the change you propose, but you can make the change yourself with a single sqlite3 update statement.
Installing a new moOde release or making a new installation of an existing one? Just run the statement again.
Save the following code snippet into a file. let's call it update_max_output_buffer_size.sql, in user pi's home directory on your moOde player.
Code: /* make the change */
update cfg_mpd
set value=262144
where
param='max_output_buffer_size';
/* show the modified table */
select * from cfg_mpd;
This is a single update statement which I split and indented for clarity. I followed it with an unnecessary select statement to print the contents of the entire table, just for confirmation.
To execute this on your moOde player from the command line:
Code: sqlite3 /var/local/www/db/moode-sqlite3.db < update_max_output_buffer_size.sql
As always, make a backup copy of the database file before you muck around with it.
Regards,
Kent
Posts: 37
Threads: 6
Joined: Sep 2018
Reputation:
1
(07-28-2020, 07:47 AM)Pixxel Wrote: I already wrote here about problem between Piano 2.1 and new Linux kernel. You can add some additional information there
Tx Pixxel - added my 2p's worth - we shall have to see if Allo care to support their products - would certainly influence any future purchases !
Posts: 130
Threads: 12
Joined: Jun 2018
Reputation:
3
(07-28-2020, 11:28 AM)TheOldPresbyope Wrote: @moodenigo
@Dradder
I'm not in a position to test with such large source libraries nor is this post an endorsement of the change you propose, but you can make the change yourself with a single sqlite3 update statement.
Installing a new moOde release or making a new installation of an existing one? Just run the statement again.
Save the following code snippet into a file. let's call it update_max_output_buffer_size.sql, in user pi's home directory on your moOde player.
Code: /* make the change */
update cfg_mpd
set value=262144
where
param='max_output_buffer_size';
/* show the modified table */
select * from cfg_mpd;
This is a single update statement which I split and indented for clarity. I followed it with an unnecessary select statement to print the contents of the entire table, just for confirmation.
To execute this on your moOde player from the command line:
Code: sqlite3 /var/local/www/db/moode-sqlite3.db < update_max_output_buffer_size.sql
As always, make a backup copy of the database file before you muck around with it.
Regards,
Kent
OK, this is a bit faster than the dump and regenerate operations. Thanks.
Roberto
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
(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
(07-28-2020, 12:56 PM)lurkio Wrote: (07-28-2020, 07:47 AM)Pixxel Wrote: I already wrote here about problem between Piano 2.1 and new Linux kernel. You can add some additional information there
Tx Pixxel - added my 2p's worth - we shall have to see if Allo care to support their products - would certainly influence any future purchases !
Me also waiting for any sort if support they can provide for piano2.1 by allo,
Posts: 12
Threads: 3
Joined: Apr 2018
Reputation:
0
07-29-2020, 03:18 AM
(This post was last modified: 07-29-2020, 03:18 AM by Ryan Haaland.)
Same issues here... (re Piano 2.1 and Kali)
Posts: 21
Threads: 0
Joined: Apr 2018
Reputation:
0
07-29-2020, 04:17 PM
(This post was last modified: 07-29-2020, 04:19 PM by ear5142.)
Какая версия Moode отлично работает с Allo 2.1+ Kali?
Volumio has similar problems with Piano, it seems.
Posts: 39
Threads: 1
Joined: Jun 2020
Reputation:
0
Moode 6.5.2 works fine without any tinkering,
Still wish to use 6.7.1 need to download grade kernel to 4.19. . not a good idea though
Posts: 3
Threads: 0
Joined: Jul 2020
Reputation:
0
07-31-2020, 04:41 PM
(This post was last modified: 08-03-2020, 07:46 PM by wavemountain.)
Hi, I'm using Pi4 (8G) with Moode 6.7.1 version. It is great!
However, I found that I can't access DSD files through UPNP/DLNA apps.
I've tried to restart MPD, UPNP renderer and rebuild DNLA database, but the result are still the same.
I've tested different UPNP apps/plugin on Windows (Foobar), Android (Bubble UPNP) and iPad (Mconnect), the result are the same. I can enter the folder, but there's no any DSD tracks listed in the folder, only PCM left.
I'm using a 1T WD HDD (3.5", external power, NTFS format), connecting to Pi4 via USB.
There's no any issue when I'm using the browser to select the songs as well. DSD files can be detected.
However they can't be detected in Moode DLNA server.
Anyone is facing the same issue? Any idea how to solve it?
ps. I'm using Moode for display and audition purpose. I prefer to use UPNP apps for audience to select music, because I don't want to give them authority to access and change my Moode setting.
Posts: 6,024
Threads: 176
Joined: Apr 2018
Reputation:
235
I don't normally use UPnP/DLNA apps and equipment but I do try to test that each moOde release works with them.
Here, moOde 6.7.1 on an RPi4B/4GB, DLNA server enabled.
Files on Samba share on OpenMediaVault NAS.
- includes several directories of .dsf demo files, such as the NativeDSD Sampler, downloaded from the usual sources.
After rebuilding DLNA database [1] the UPnP Control Point apps on my Pixel 3a Android phone---mConnectLite, BubbleUPnP, and BubbleDS---and on my iPad---Linn Kinsky and mConnectLite---all allow me to drill down through directories to DSD-encoded tracks.
Regards,
Kent
[1] scanning a media library comprising ca 5700 tracks takes a long time.
Posts: 63
Threads: 10
Joined: Apr 2018
Reputation:
2
I am organizing my library.
It seems that each track in Moode uses %year% in the player view. Where does the date come from in library view?
-Tom
|