Thanks Tim, your a star!
Printable View
Thanks Tim, your a star!
Hi Wayne,
For Moode 2.5 I was able to automate ALSA volume configuration based on MPD volume settings and presence or absence of hardware (ALSA) volume controller. This is a long overdue feature that should eliminate the "no volume" issue and make setup easier :-)
Regards,
Tim
Hi Wayne,
Final release in Jan 2016 but there will be a test release in Dec 2015.
Moode 2.5 is a pre-3.0 complete rewrite of the 2.x code base, everything! The bulk of the work is done including a new sql / session interface. Performance in all areas of the application has been substantially improved. This plus the usb new hot plug capability is going to make the player easy to setup and use :-)
Regards,
Tim
Thanks for the clarification Tim
Hi Tim,
I'm have running Moode 2.4 since it's release with no problems (great stuff - thank you!!)
Until ... I upgraded my Mac Mini 2010 to El Capitan last week. Since then I have been unable to play via Airplay from my iPhone 5C and if I attempt to upload via my Mac desktop finder the Pi crashes requiring a hard boot to restore communication. Is this a know issue with El Capitan or am I alone?
cheers,
Mike
Having been the recipient of a ipad 4th gen tablet I tried it with moode. I managed to connect once but mostly it was no go. Not sure why it was reticent to connect.. anyone got ideas.. was using its local ip as I do on a pc or an android device.
Maybe similar problem as mine; when I upgraded my Mac I also upgraded iTunes and my phone - since then I have problems using airplay. My daughter has the same model phone (5c) but can connect no problem ... she is still running an older version of iOS though.
Don't have any problem using the app to control stuff on the Pi though so maybe your problem is different ;)
Hi Grant, I use a ipad 4th gen with my pi set up, any problems I have had, have been solved by rebooting router, rebooting pi and manual entry of the ip address, changing ip address was my biggest problem until I set it to a static ip address for wifi connection.
Hi,
Just a brief update.
As part of the 2.5 codebase rewrite there are new smart reboot/poweroff screens. Both screens include a reconnect button and the reboot screen includes a boot-ready ticker that indicates when the reboot is complete :-)
Regards,
Tim
Yep - I couldn't get it working from El Capitain, but didn't have problems with Yosemite. However, I gave up using (or worrying about) Airplay via Moode, as I was able to access my iTunes library as a NAS source - it now sits randomly playing all day, every day. The key to this for me was when Tim added the option for hiding the playlist.
Hi, i2s support for Soekris DAM1021 R2R DAC will be included in Moode 2.5+ :-) Thanks Daniel for testing and for the solution!
Regards,
Tim
Hi,
Moode 2.5+ (Jan 2016) will include an API guide, working on a test release for end of Dec :-)
The interface for external apps is as follows:
(1) Enhanced metadata that appears on the UI including the coverart url for song files and radio stations is written to /var/www/currentsong.txt. For example:
artist: Joe Sample
album: Old Places Old Faces
title: Miles Of Blues
coverurl: /coverart.php/NAS%2FMusic%2FJoe%20Sample%2FOld%20Places%20Old%20 Faces%2F09%20Miles%20Of%20Blues.m4a
(2) Moode System config setting to enable an inotifywait script that runs a user created Python or other script when currentsong.txt changes. This is strictly for LCD panels. If touchscreen is being used and and input is being accepted then the Python script itself has to perform the event loop and currentsong.txt change detection, inotifywait cannot be used.
while inotifywait -e close_write /var/www/currentsong.txt;
do "run the Python script that updates the LCD"
done > /dev/null 2>&1 &
(3) SQLite interface to Moode for reading any of the settings. For example:
- get all settings:
sqlite3 /var/www/db/player.db "select param, value from cfg_engine;"
- get Airplay receiver on/off setting
sqlite3 /var/www/db/player.db "select value from cfg_engine where param='shairport';"
- get volume knob setting
sqlite3 /var/www/db/player.db "select value from cfg_engine where param='volknob';"
(5) Volume and mute can be controlled via /var/www/vol.sh locally or via Browser "http://moode/command?cmd=vol.sh <args>". Vol.sh is a complete interface to the volume mapping logic Moode uses to provide logarithmic volume curve, it handles configs with and without hardware volume controllers, and it updates the UI for example:
/var/www/vol.sh -get volume knob setting
/var/www/vol.sh 45 -set volume to 45
/var/www/vol.sh dn 5 -set volume down by 5
/var/www/vol.sh mute -toggle mute state
(6) MPD state can be obtained using MPC command for example:
root@rp4:~# mpc status
Joe Sample - Miles Of Blues
[playing] #1474/3483 0:24/6:05 (6%)
volume: 72% repeat: off random: off single: off consume: off
Enjoy the holidays !
Regards,
Tim
Hi Tim,
Couple of problems I hope you can help me out with please...
1, I have been using moode with a NAS drive up until recently when it gave up. I've got a 1TB usb hard drive which I would like to use as my primary library.
I have it attached to a powered usb hub but moode fails to recognise it. The usb drive is recognised when I connect it directly to the pi but I get a ticking noise from the drive which I assume is a power problem (Also have a usb dac connected). The drive works fine on a windows pc so I know its not failing.
2, Once I have the usb drive figured out, I would like to be able to give it a samba share so my macbook pro can access the usb drive files as well. Is this possible?
Many Thanks
Wayne
Hi Wayne,
What model USB HDD?
Try turning on "Max USB current 2x" setting in Moode System config. This doubles the amperage to the USB bus. Plug the drive directly into Pi and let me know result.
Once the drive is working u can access the Moode Samba USB share from Mac in the following two ways:
(1) Finder, sidebar, Shared, All, then dblclick Moode
(2) Finder, Go, Connect to server... cifs://moode/USB
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
Great stuff Tim. currently downloading :) Will get it imaged tonight hopefully and try it tomorrow
edit: imaged and instructions printed off.
Hi Tim
New version sounds very exciting!
Quick question - what's your recommended approach to upgrading from 2.4, specifically so I don't lose all my additional radio stations and references to NAS sources etc?
Rob
Not sure why but I cannot connect to it. Tried everything but not showing up.. Maybe a problem with my image..
Ive acquired an old ipad 1st gen. Is there a way to get the 'playback' screen to be the native resolution of the ipad screen as I have to scroll sideways and up/down .... apologies for all the fingerprints on the screen , I'm using 2.4
http://stuartlittlejohn.f2s.com/moode.JPG
Hi Rob,
Connect to the WEBRADIO samba share that Moode 2.4 posts then copy off your custom .pls files. Then with Moode 2.5+ connect to the RADIO samba share and copy them back.
NAS source configs are stored in a SQLiite table in /var/www/db/player.db. You would need to use a tool like SQLiteStudio to perform export/import of data contained in the 2.4 player.db to the 2.5 player.db. A lot of copying back and forth that might be a lot more effort than just recreating the NAS source configs using the UI.
Regards,
Tim
I've been trying most of today to get 2.5 working.
Looks like I'm getting there.
It's taken 3 times to format the sd card before I could get the NAS recognised.. But it is now an updating itself.
I'm also wondering about the auto volume bit as I am now using a passive pre. Have to see.
I'm really keen to see if the library function is better.
The one issue I have had is missing albums.
My library completely dissapeared from Moode player, but I use MPoD mainly for control - which had most of my library, but not all.
However when I started using Plugplayer recently I noticed that it had picked up several more albums by artist.
The mysteries of streaming😀
have you tried just entering the IP address instead of the usual MoOde/local web page address, I know when Picoreplayer updated in the past with me I had to just enter the IP address of the Pi ( even thought it was unchanged from before ) then save it as a new bookmark and all was fine after that.
Advanced IP Scanner is what I use to find devices on my network, I bet it's there just now showing in the usual MoOde address.
me too.. nothing in network scan. tried every local number and the 2 moode things....all ziltch...pt old 2.4 card in and it was back. Alas the net then went down about 15 mins later:doh: still down too
Moore 2.5 downloaded this morning...
Followed the usual routine (image copy, activated in Pi via ethernet cable, Wifi details > GO)
Slight hang-up with saving Wifi - Moode not acknowledging save but checked router and it showed up in list with correct IP address
No problem with usb drive but initiating shared folder on Mac as NAS caused the same hang-up but this time requiring restart to get the NAS name in 'Browse' (was no problem in 2.4...)
Otherwise fine.....
Moode 2.5 up and running on my system using ipad 4, does not work in my computer web browser. Easiest setup I have had so far for wifi and nas drive.
Just a brief update on TR2 :-)
A new caching Library loader with enhanced capability for large collections is done.
Once cached on the server, the Library loads very fast. A couple seconds for 20K tracks from USB HDD. Page refresh or reboot won't cause reload of Library, the cache will be used until it's manually cleared, then Library will reload (to get new or changed music for example) and new cache created. The cache creation only adds a small amount of overhead to Library load.
Enhanced large collection capability is courtesy of diyAudio user "anewnadir" :-)
Regards,
Tim
Hi,
Here is screen shot of new Source config showing "Clear Library Cache" feature.
Regards,
Tim
Sounds as though this will be really good Tim.
Many thanks for this facility.
I shall get myself another sd card this week to try again.
I have a vague feeling that each time I format a card it's not doing it properly - so would be prudent to start afresh.
Cheers
Steve
Hi There,
I've noticed a small problem with 2.4 and the 2.5 TR.
I have the HifiBerry Dac+ and when the volume control is set to logarithmic in the customisation menu changing volume with the normal control causes the alsamixer percentage to rise from 81% to 90%.
As I know very little about the tech involved I was just wondering if this was normal.
MoOde set up as per the website instructions with the additional ones due to the HifiBerry DAC reporting spurious values to alsa.
Cheers,
Alistair
Hi Alistair,
Yes normal however ALSAMIXER uses a strange hybrid scale that is neither %, absolute level or dB so I never use that scale as reference. The amixer command displays the real % scale.
In any case, the Hifiberry devices clip at volume % >81 so its important to not only set MPD volume control to "Hardware" and Logarithmic curve to "Yes" but also Max volume % to 81. These settings will provide a nice smooth logarithmic curve in the 0-50 knob range and will prevent clipping at knob settings 81 -100.
Regards,
Tim
Anyone got this working with android. Yet.... Last time i had it in, i couldnt find it anywhere and had to remove and go back to 2.4.
Hi There Grant,
Just tested on my Xperia z3 and working perfectly.
Cheers,
Alistair