Hi,
Crash is probably due to "no free space" condition.
In the original code, the miniDLNA database is created in /run dir (tmpfs) which is not very big.
Here is post that explains a workaround. The user has 46K files successfully indexed after changing the location of the db: Moode Audio Player for Raspberry Pi - Page 15
I have a TODO to move the db to /root 🙂
Regards,
Tim
Hey Tim, thanks for your response. I updated to 2.5+ and I changed the DB path in the config file. Restart and....I'm having the same problem others are having; The minidlna status page shows that it's scanning files successfully, but the library pane just says "unknown". Any ideas as to what I might have done wrong?
Adrian: I think you might be running into the same problem I had---your library is too big for the default db directory. If you browse to diyAudio server HTTPS page it should show how many files are in your library; if it says -1, then you definitely are having this problem. Tim mentions here how to try and fix this, but this appears to cause other issues with displaying the library pane. I'm trying to suss these out now.Hi Tim - tried clearing cache and history & restart - with update MPD etc - no change. I've tried it on Chrome (Android), Chrome and Edge (Windows 10), and Firefox (Linux) - still no change. Formats are mainly Flac (CD format and some high res 2496 24192) , but some MP3 of different bit rates - most files of all types have the tags for Genre, Artist, Album etc. Odd thing is that it all appeared during the initial setup and I could see it all on the Library tab and scroll up and down it, but when the update finished it had gone. it doesn't reappear now even after multiple updates. Adrian
I like Moode so much i have it in 2 systems, and soon 3 when my Aya2014 dem arrives.
On both systems i can control playback via wireless with mupeace or other app but can t access diyAudio server HTTPS page unless ethernet cable connected.
Same with old and test version of moode.
Any suggestions?
On both systems i can control playback via wireless with mupeace or other app but can t access diyAudio server HTTPS page unless ethernet cable connected.
Same with old and test version of moode.
Any suggestions?
Hey Tim, thanks for your response. I updated to 2.5+ and I changed the DB path in the config file. Restart and....I'm having the same problem others are having; The minidlna status page shows that it's scanning files successfully, but the library pane just says "unknown". Any ideas as to what I might have done wrong?
Hi,
The Library panel uses the MPD database. The miniDLNA database is separate from the MPD database and does not show up in either Browse or Library panels. It's meant to be consumed by UPnP clients.
Regards,
Tim
I like Moode so much i have it in 2 systems, and soon 3 when my Aya2014 dem arrives.
On both systems i can control playback via wireless with mupeace or other app but can t access "http://moode" unless ethernet cable connected.
Same with old and test version of moode.
Any suggestions?
Hi,
What Browser?
Did u try "http://moode.local" ?
Regards,
Tim
I'm afraid my newbie is showing! I've tried updating the mpd database; still having the same problem with library view. I'll see if I can figure this out myself. Can you tell me how to get the library viewer to generate a log?Hi,
The Library panel uses the MPD database. The miniDLNA database is separate from the MPD database and does not show up in either Browse or Library panels. It's meant to be consumed by UPnP clients.
Regards,
Tim
I'm afraid my newbie is showing! I've tried updating the mpd database; still having the same problem with library view. I'll see if I can figure this out myself. Can you tell me how to get the library viewer to generate a log?
Hi,
/var/www/debug.log
/var/www/debug.conf
The default debug flags for the Library loader are set to log a total count of files processed for example below is debug.log from one of my Pi's after pressing Library tab. This Pi has USB attached HDD and is on WiFi. Note the elapsed time of 7 seconds (diff between when the flags and count records are logged). It takes 1-2 more seconds to transfer the json array from server to Browser and display in Library panel.
root@moode:~# cat /var/www/debug.log
2015-12-31 21:59:13 loadAllLib() flags= y,n,n,n,3
2015-12-31 21:59:20 loadAllLib() count= 17955 files
The y/n flags in debug.conf mean the following:
y,n,n,n,3
| | | | +-- method for generating flat view of MPD database
| | | +-- organizer: file name
| | +-- loader: file name and each element (tag)
| +-- loader: file name
+-- total count
If you are seeing the flags= record but not the count= record then the loader died before finishing.
If this is the case then set the second flag to "y" to log each file name processed by the loader. It may provide an indication of how far the loader made it before dying.
If u want to examine/modify the loader code look in /var/www/inc/playerlib.php
Regards,
Tim
Thanks for your quick reply. When I view the log, I see the following:
This correlates with the library view pane, which says my library contains only 1 file. I can browse my attached USB drive, create playlists, etc. so I'm not really sure whether this is a problem with the viewer or MPD.
Code:
2016-01-01 19:30:32 loadAllLib() flags= y,n,n,n,3
2016-01-01 19:30:33 loadAllLib() count= 1 files
This correlates with the library view pane, which says my library contains only 1 file. I can browse my attached USB drive, create playlists, etc. so I'm not really sure whether this is a problem with the viewer or MPD.
Hi,
What Browser?
Did u try "http://moode.local" ?
Regards,
Tim
All browsers the same result. Yes i tried moode.local .
Thanks for your quick reply. When I view the log, I see the following:
Code:2016-01-01 19:30:32 loadAllLib() flags= y,n,n,n,3 2016-01-01 19:30:33 loadAllLib() count= 1 files
This correlates with the library view pane, which says my library contains only 1 file. I can browse my attached USB drive, create playlists, etc. so I'm not really sure whether this is a problem with the viewer or MPD.
Hi,
Set the second flag to "y" in debug.conf and see how far the loader gets. Just remember to reset it to "n" after you are done testing otherwise a huge debug.log file might be created each time u press the Library tab.
Regards,
Tim
All browsers the same result. Yes i tried moode.local .
The symptom "http://moode" resolves on wired ethernet but not on WiFi suggests a network config issue.
On WiFi can u "http://ip_address" to Moode Pi?
Regards,
Tim
Same result:Hi,
Set the second flag to "y" in debug.conf and see how far the loader gets. Just remember to reset it to "n" after you are done testing otherwise a huge debug.log file might be created each time u press the Library tab.
Regards,
Tim
2016-01-01 21:17:42 loadAllLib() flags= y,y,n,n,3
2016-01-01 21:17:43 loadAllLib() count= 1 files
I tried changing all of the n's to y's and got this:
2016-01-01 21:19:43 loadAllLib() flags= y,y,y,y,3
2016-01-01 21:19:44 loadDirForLib() item= 0, element= , value=
2016-01-01 21:19:44 loadAllLib() count= 1 files
2016-01-01 21:19:44 organizeJsonLib() songDataLight= 0,
Same result:
2016-01-01 21:17:42 loadAllLib() flags= y,y,n,n,3
2016-01-01 21:17:43 loadAllLib() count= 1 files
I tried changing all of the n's to y's and got this:
2016-01-01 21:19:43 loadAllLib() flags= y,y,y,y,3
2016-01-01 21:19:44 loadDirForLib() item= 0, element= , value=
2016-01-01 21:19:44 loadAllLib() count= 1 files
2016-01-01 21:19:44 organizeJsonLib() songDataLight= 0,
Hi,
What is output from mpc stats cmd?
Regards,
Tim
Artists: 5448Hi,
What is output from mpc stats cmd?
Regards,
Tim
Albums: 2734
Songs: 48702
Play Time: 0 days, 0:51:30
Uptime: 0 days, 1:07:10
DB Updated: Fri Jan 1 18:28:31 2016
DB Play Time: 73 days, 0:08:20
Artists: 5448
Albums: 2734
Songs: 48702
Play Time: 0 days, 0:51:30
Uptime: 0 days, 1:07:10
DB Updated: Fri Jan 1 18:28:31 2016
DB Play Time: 73 days, 0:08:20
Hi,
Try with last debug flag = 1, then 2
y,n,n,n,1
y,n,n,n,2
Regards,
Tim
Hi,
Try with last debug flag = 1, then 2
y,n,n,n,1
y,n,n,n,2
Regards,
Tim
1:
2016-01-01 22:09:11 loadAllLib() flags= y,n,n,n,1
2016-01-01 22:09:12 loadAllLib() count= 1 files
2:
2016-01-01 22:11:11 loadAllLib() flags= y,n,n,n,2
2016-01-01 22:11:12 loadAllLib() count= 1 files
1:
2016-01-01 22:09:11 loadAllLib() flags= y,n,n,n,1
2016-01-01 22:09:12 loadAllLib() count= 1 files
2:
2016-01-01 22:11:11 loadAllLib() flags= y,n,n,n,2
2016-01-01 22:11:12 loadAllLib() count= 1 files
Hi,
Very odd, not a single file name logged.
Email tim at moodeaudio dot org and I'll help troubleshoot 🙂
Regards,
Tim
Hi,
Moode 2.5+ Test Release 1 (TR1) is available for download at moodeaudio.org under the TEST CODE button 🙂
This TR represents a substantial rewrite of the entire 2.x codebase including the addition of some Moode 3.0 code thus the "+" after the version number. Testing has indicated a significant performance increase across the entire UI, faster boot and reliable USB hotplug for audio and storage devices resulting in a big improvement in ease of use.
The enhanced metadata that appears on the UI is all server-generated, volume config is automated when hardware volume controller is detected, there are new, smart poweroff and reboot screens that make it easy to reconnect to the UI and all the config screens have been streamlined.
Refer to the updated Setup guide for the new initial setup procedure. Links to the guide are located in Moode About popup and under TEST CODE.
Release notes are attached.
Enjoy!
Regards,
moodeaudio.org
Moode Twitter feed
Tim Curtis
=======================
2.5+ Release 2016-01-DD
=======================
New features
- NEW: Hotplug for USB audio and storage devices
- NEW: Server generated enhanced metadata for UI, LCD and external applications
- NEW: Automatic volume configuration when hardware (ALSA) volume controller exists
- NEW: Smart poweroff and reboot screens with reconnect btn and reboot-ready ticker
- NEW: Allow-hotplug eth0 interface for faster boot on Wifi
- NEW: Vol.sh command line interface (CLI) for volume knob and mute
- NEW: Web interface for volume and mute via http://moode/command?cmd=vol.sh <arg>
- NEW: Moode application programming interface (API) guide
Media
- NEW: KCMP 89.3 FM - The Current
- NEW: MPR - Minnesota Public Radio
- NEW: SomaFM - Logo for DEF CON Radio
- NEW: SomaFM - Metal Detector - From black to doom, prog to sludge, thrash to post, stoner to crossover, punk to industrial.
Audio devices
- I2S: IanFIFO II
- I2S: IQaudIO Pi-DACZero
- I2S: Soekris DAM1021
- I2S: Suptronics x400
- USB: Audiolab M-DAC
- USB: Audiophonics PCM5102 DAC
- USB: Customworks DAC-1
- USB: CEntrance DACmini CX
- USB: DEQX XS-1 USB-Audio 24/192 v4
- USB: Gustard U12
- USB: Halide Design USB-S/PDIF Bridge
- USB: HRT Microstreamer
- USB: Lukit WaveIO USB-I2S/SPDIF Bridge
- USB: Meridian Explorer 2
- USB: Musical Fidelity V90-DAC
- USB: Teac UD-H01
- USB: Trends UD-10
Updates
- UPD: Pre-3.0 rewrite and restructure of entire 2.x code base 🙂
- UPD: Revised SQL schema, data elements and data
- UPD: Changed CIFS mount rsize/wsize to defaults rsize=61440 and wsize=65536
- UPD: Add help text for MPD audio buffer fields
- UPD: Validate MPD volume control field (don't present "Hardware" if hdwr vol controller does not exist)
- UPD: Validate Hardware volume control section on Customize popup (disable if hdwr vol controller does not exist))
- UPD: Deprecate Kernel Select, Kernel Profiles, CMedia Fix, Automatic MPD DB update
Bug fixes
- FIX: Network throughput issue when using original code CIFS mount rsize=8048 and wsize=8096
- FIX: WiFi configuration fails when SSID or password contain spaces or special characters
- FIX: Time knob not cleared after last item in playlist finishes
- FIX: Vertical page position (at top of knobs or coverart) on small screens moves when song changes
- FIX: Samba invalid security option causing warning when MPD starts
- FIX: MPD init.d start removed since its already started by Moode worker daemon
- FIX: MPD config missing restore_paused "yes"
- FIX: Volume up/dn buttons not being disabled when knob disabled
- FIX: Logic causing unnecessary UI updates even though song does not change
- FIX: Warnings from legacy CSS "*element" statements in certain CSS files
- FIX: Incomplete Google search string for Radio stations that provide song title
Hi,
Just a friendly bump 🙂
Regards,
Tim
Tim, just so other users are aware of my fix I'm posting here. The problem may stem from having a large amount of .aif files in a library. I opened up /etc/mpd.conf and added the following value:Hi,
Very odd, not a single file name logged.
Email tim at moodeaudio dot org and I'll help troubleshoot 🙂
Regards,
Tim
max_output_buffer_size "81920"
Restarted MPD and library pane now loads just fine after about 15 seconds of work. Per you, changing any MPD settings in the moode interface will delete this tweak, so it's best to have everything else set up to your liking before you try this.
- Home
- Source & Line
- PC Based
- Moode Audio Player for Raspberry Pi