Moode Audio Player for Raspberry Pi

Hi Skip,

The following may provide a clue. From a terminal session, connect to MPD and drill into its database.

telnet moode 6600

lsinfo "NAS/...." where ... is the directory path to an album directory. The double quotes are necessary.

Ex: lsinfo "NAS/Music/George Benson/Giblet Gravy" produces the following list for one of my albums:

file: NAS/Music/George Benson/Giblet Gravy/01 Along Comes Mary.m4a
Last-Modified: 2015-04-11T01:43:37Z
Time: 182
Artist: George Benson
Album: Giblet Gravy
Title: Along Comes Mary
Track: 1/12
Genre: Jazz
Date: 1968
Composer: Tandyn Almer
Disc: 1/1
AlbumArtist: George Benson
file: NAS/Music/George Benson/Giblet Gravy/02 Sunny.m4a
Last-Modified: 2015-04-11T01:43:39Z
Time: 176
Artist: George Benson
Album: Giblet Gravy
Title: Sunny
Track: 2/12
Genre: Jazz
Date: 1968
Composer: Bobby Hebb
Disc: 1/1
AlbumArtist: George Benson
file: NAS/Music/George Benson/Giblet Gravy/03 What's New_.m4a
Last-Modified: 2015-04-11T01:43:42Z
Time: 333
Artist: George Benson
Album: Giblet Gravy
Title: What's New?
Track: 3/12
Genre: Jazz
Date: 1968
Composer: Robert Haggart/Johnny Burke
Disc: 1/1
AlbumArtist: George Benson
.
.
.
 
Tim,

I couldn't get a clean telnet session going diectly via Putty. It would kill the connection when I entered the lsinfo command. I then logged in via SSH using Putty and manually entered the telnet session inside that login. I got the return line:

OK MPD 0.19.0

and then carefully entered:

lsinfo "NAS/Music/Oflac/Albert Collins/Frostbite"

and got:

ACK [50@0] {lsinfo} not found

I don't know if that's meaningful or just an indication that my telnet session is not quite right. I'll try it tomorrow from a linux session where I bet the low-level stuff like telnet is cleaner than from Windows.

Skip
 
Tim,

I couldn't get a clean telnet session going diectly via Putty. It would kill the connection when I entered the lsinfo command. I then logged in via SSH using Putty and manually entered the telnet session inside that login. I got the return line:

OK MPD 0.19.0

and then carefully entered:

lsinfo "NAS/Music/Oflac/Albert Collins/Frostbite"

and got:

ACK [50@0] {lsinfo} not found

I don't know if that's meaningful or just an indication that my telnet session is not quite right. I'll try it tomorrow from a linux session where I bet the low-level stuff like telnet is cleaner than from Windows.

Skip

Hi Skip,

When ssh root@moode, try telnet localhost 6600 then enter the MPD commands below to help troubleshoot the "Blank Library Panel" issue. Here is link to MPD command reference:
Chapter*3.*Command reference

stats

It will print total #artists, albums and songs in the database.

also you can try drilling in with multiple lsinfo commands. The path has to be double quoted if it contains spaces. Ex:

lsinfo
lsinfo NAS
lsinfo NAS/Music
lsinfo NAS/Music/Oflac
lsinfo "NAS/Music/Oflac/Albert Collins"
.
.
.

Regards,
TC
 
Hi,

Here's a brief update on release 1.8 (late April) There may be a Test Release #2 before the final release.

The attached screen shots show a prototype of the new Playback panel layout with integrated playlist and unified control bar, new System config page with comprehensive name change and timezone select features and a streamlined Sources page.

Enjoy!

See release notes below for details.

Regards,
tcmods.org
MoodeAudio Twitter Feed
TC

======================
1.8 Release 2015-04-DD
======================

New features

- NEW: Playback panel with integrated playlist
- NEW: Change Player and network service names
- NEW: Select local timezone
- NEW: Choose Theme color from Customize popup

Media

- NEW: Czech Radio Classical (FLAC)
- NEW: EuropaRadioJazz - 883 SmoothJazz
- NEW: EuropaRadioJazz - Smoothjazz HD Audiophile
- NEW: EuropaRadioJazz - TheSoundOfJazz

Updates

- UPD: Improve performance of Library for large collections
- UPD: Streamline layout of Sources, Network and System config pages
- UPD: Add audio device descriptions to Customize popup (21 devices, 11 new)
- UPD: RaspyPlay4 DAC added to I2S audio device dropdown
- UPD: Add friendly names for Audio output on MPD config page
- UPD: Replace btn-cmd code in scripts-configuration.js with same from scripts-playback.js
- UPD: Show/hide userid and password fields on mount screen based on CIFS or NFS selected

Bug fixes

- FIX: Incorrect metadata parsing for radio stations that do not transmit a name element
- FIX: Wrong selector id on "for=" for kernelver label on System config page
- FIX: System config page not updating certain form fields after selection change
- FIX: Toggle control for CMedia not working on System config page

 

Attachments

  • moode-r18-playback-proto1c.png
    moode-r18-playback-proto1c.png
    346.9 KB · Views: 785
  • moode-r18-sysconfig.png
    moode-r18-sysconfig.png
    110 KB · Views: 589
  • moode-r18-sources.png
    moode-r18-sources.png
    91.8 KB · Views: 575
Database drilling

Good Morning Tim,

The SD card was trashed last night, so I have partially rebuilt this morning. I used Internet Explorer, and all the strange defaults did not appear, so that part of it does seem related to Chrome being little to helpful.

I then followed your instructions as captured here:

root@moode:~# telnet localhost 6600
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.19.0
stats
uptime: 2201
playtime: 0
artists: 2300
albums: 1303
songs: 17894
db_playtime: 4577741
db_update: 1428858266
OK
lsinfo
directory: NAS
Last-Modified: 2015-04-12T16:41:36Z
directory: WEBRADIO
Last-Modified: 2015-03-26T00:23:20Z
OK
lsinfo NAS
directory: NAS/Sy112aud
Last-Modified: 2015-04-05T02:54:45Z
OK
lsinfo NAS/Music
ACK [50@0] {lsinfo} Not found
lsinfo NAS/Music/Oflac
ACK [50@0] {lsinfo} Not found
lsinfo "NAS/Music/Oflac/Albert Collins"
ACK [50@0] {lsinfo} Not found

It appears it could not look below the NAS "name" level. The Browse panel does look down and the files play.

Skip
 
@Skip - see ^ above post from phofman and use NAS/Sy112aud as the starting point for lsinfo commands. Sy112aud must be what you entered in the "Source name" field on the Source screen, correct?

I'm interested in seeing the lsinfo output for a directory containing song files. This will show the metadata tags in the files.

Also, the results of the stats command confirm the MPD database is not empty. Given this and the fact that you can use the Browse tab to navigate through directory structure indicate the MPD Database Update was successful.

The blank Library tab plus no stats in the lower right suggests the Library load module exited before loading even a single tag!

Regards,
TC
 
Finally

Here's what I believe you want to see:

root@moode:~# telnet 192.168.1.102 6600
Trying 192.168.1.102...
Connected to 192.168.1.102.
Escape character is '^]'.
OK MPD 0.19.0
lsinfo "NAS/Sy112aud/Albert Collins/Frostbite"
file: NAS/Sy112aud/Albert Collins/Frostbite/01_-_If You Love Me Like You Say_-_Albert_Collins.flac
Last-Modified: 2012-11-05T05:59:36Z
Time: 248
Composer: Little Johnny Taylor
Artist: Albert Collins
Title: If You Love Me Like You Say
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 1
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/02_-_Blue Monday Hangover_-_Albert_C ollins.flac
Last-Modified: 2012-11-05T05:59:38Z
Time: 335
Composer: Gilbert Caples
Composer: Deadric Malone
Composer: Joe Jonas
Artist: Albert Collins
Title: Blue Monday Hangover
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 2
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/03_-_I Got a Problem_-_Albert_Collin s.flac
Last-Modified: 2012-11-05T05:59:42Z
Time: 275
Artist: Albert Collins
Title: I Got a Problem
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 3
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/04_-_Highway Is Like a Woman_-_Alber t_Collins.flac
Last-Modified: 2012-11-05T05:59:44Z
Time: 303
Artist: Albert Collins
Title: Highway Is Like a Woman
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 4
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/05_-_Brick_-_Albert_Collins.flac
Last-Modified: 2012-11-05T05:59:48Z
Time: 276
Artist: Albert Collins
Title: Brick
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 5
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/06_-_Don't Go Reaching Across My Pla te_-_Albert_Collins.flac
Last-Modified: 2012-11-05T05:59:50Z
Time: 225
Artist: Albert Collins
Title: Don't Go Reaching Across My Plate
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 6
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/07_-_Give Me My Blues_-_Albert_Colli ns.flac
Last-Modified: 2012-11-05T05:59:54Z
Time: 255
Artist: Albert Collins
Title: Give Me My Blues
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 7
Disc: 1
file: NAS/Sy112aud/Albert Collins/Frostbite/08_-_Snowed In_-_Albert_Collins.flac
Last-Modified: 2012-11-05T05:59:58Z
Time: 551
Artist: Albert Collins
Title: Snowed In
Album: Frostbite
Genre: Blues
Date: 1980
AlbumArtist: Albert Collins
Track: 8
Disc: 1
OK
________________________________

I was looking for a relatively short example. Would you lilke a more complex tag set?

Skip
 
Hi,

Here's a few more release 1.8 screen shots showing the new PCM volume setting feature and updated layout for the new Playback panel with integrated playlist.

The blue screen shot shows that for BerryNOS Red which has no hardware volume controller we get "no PCM volume mixer detected" and no "SET" button. The orange screen shot shows that for IQaudIO DAC+ which does have hardware volume controller we get a volume level and ability to change it.

This feature provides an easy way to set the 0dB point for configurations where the audio device has a hardware volume controller and either MPD software volume is being used or an external volume control is being used.

Enjoy!

Regards,
tcmods.org
MoodeAudio Twitter Feed
TC

======================
1.8 Release 2015-04-DD
======================

New features

- NEW: Playback panel with integrated playlist (choose layout from Customize popup)
- NEW: Change Player and network service names
- NEW: Set ALSA PCM volume level
- NEW: Select local timezone
- NEW: Choose Theme color from Customize popup

 

Attachments

  • moode-r18-sysconfig2a.png
    moode-r18-sysconfig2a.png
    122.1 KB · Views: 692
  • moode-r18-sysconfig2b.png
    moode-r18-sysconfig2b.png
    138.1 KB · Views: 656
  • moode-r18-playback1d.png
    moode-r18-playback1d.png
    316.5 KB · Views: 894
I just went to get your server - half a gig download? Really?

Is there anything lighter? (on a very small, third-world download traffic limit here).

Hi,

I tried 7-Zip on Windows using deflate64 and Ultra compression which took around 30 minutes and only got about 7% smaller (around 475MB).

I also analyzed the image for space hogs and did not find anything unusual.

Regards,
Tim
 
Sound Card Compatability and DSD File Playback

Hi,

I've started to maintain a DAC compatibility list based on user feedback. The following are all USB DAC's that work great on Pi-2B with Moode. More to come. Look for it on tcmods.org DAC LIST page.

Audiobyte Black Dragon
Aune s16
Chord Hugo
Soekris R-2R + DIYinhk receiver
LH Labs Geek out (via powered USB hib)
Marantz HD DAC 1
Pioneer U05

Regards,
tcmods.org
TC


Hello TC,
Congratulations on producing a fine Player.
I am using the RPi 1 with an attached Wolfson Audio Card (with Georg Mill's update for the Wolfson).
The system performs beautifully with all files and with the 24B192K setting.
The Moode Player can also playback DSD files, albeit, with annoying staggering and stutter.
I guess this is because of the limits of RPi1.
Perhaps I will try to obtain RPi2 and try out the playback again.
Thank you for a great player.
 
I'm using your MOODE 1.7 player with a Raspberry Pi 2 and the RaspyPlay4 board. I'm Very pleased with the results. The many additional features that you have added to the player are especially appreciated.

Incidentally, the RaspyPlay4 boards are available in the USA at both Mouser and DigiKey.

Cheers.

ZAPNSPARK