Moode Audio Player for Raspberry Pi

Hi, Tim

How to change quantity of steps of volume control when using an enkoder?
Whether it is possible to use at the same time an enkoder and adjustment via the web interface?

Regards,
Serg

Hi Serg,

You would have to modify the IQaudIO C source for the encoder driver to change the stepping, and it would need to use the Moode volume API instead of ALSA-direct in order to update the volume knob.

-Tim
 
Hi Serg,

You would have to modify the IQaudIO C source for the encoder driver to change the stepping, and it would need to use the Moode volume API instead of ALSA-direct in order to update the volume knob.

-Tim

As I understand, it is necessary to change values in the rotencvol.c file to https://github.com/iqaudio/raspberryPi
How files through which the enkoder in Moode works are called?
 
Hi,

Some screen shots of Moode 2.6 all options enabled, enhanced startup logging plus incredible RINSE FM radio station running on a Pi-3. Note the 1.2 GHz dynamic CPU action 🙂

Regards
Tim
 

Attachments

  • moode-r26-rinsefm-pi3-1.png
    moode-r26-rinsefm-pi3-1.png
    234.7 KB · Views: 306
  • moode-r26-rinsefm-pi3-2.png
    moode-r26-rinsefm-pi3-2.png
    229.6 KB · Views: 299
  • moode-r26-logging.png
    moode-r26-logging.png
    143.7 KB · Views: 295
I still have at least one song that won't show in the Library, but appears when searching in the Browse tab. Without library search I can't be sure, but I've reviewed the file's metadata and tweaked it in various ways, but it still doesn't show under the artist.
...
As for other songs which might not be being added, is there a library song count available that I could compare to my share full of files to see if there are the same number?
I found there is a mpc command installed on the RPi which can provide more database information:

Code:
root@moode:~# mpc stats
Artists:    891
Albums:     389
Songs:     3442

Play Time:    0 days, 2:20:06
Uptime:       4 days, 15:52:37
DB Updated:   Fri Apr  1 23:21:04 2016
DB Play Time: 8 days, 2:30:43
Comparing the song count to the number of files in my music NAS tells me something is amiss. mpc's listall and some scripting will hopefully tell me what's wrong.

mpc can do other database operations. The documentation is at: mpc(1) - Linux man page

Rick
 
So ideas I've had for shared playlists:
...
IV - Look to modify the MPD design to handle off-device playlists. I haven't looked at this at all, so I don't know what this would involve.
Some investigation led me to /etc/mpd.conf, where the configuration is stored. That file contains a playlist path, which I assume can be modified to point to a network share. Hopefully the NAS will be set up before any playlists can be loaded, and multiple RPis can share them.

Rick
 
I don't know where you are going wrong. If I click that link, I get the radio station playing in my browser, so I know it's correct.

Maybe a typo?
I was cutting and pasting, so I don't think it was that.

I did try again from a different machine, and while the audio didn't play with the http://provisioning.streamtheworld.com/pls/KWPSFMaac.pls file, I did get a non-0 length file this time, so I had a look. The file is a text file with more links inside. For the mp3 stream (http://provisioning.streamtheworld.com/pls/KWPSFM.pls) there are 6 (like http://1531.live.streamtheworld.com:80/KWPSFM_SC). These do seem to work on the RPi!

The 45 links in the aac version (like http://14133.live.streamtheworld.com:80/KWPSFMAAC_SC) don't want to work on the computer (it just downloads an unending file). I didn't try the aac on the RPi yet, since the mp3 version played.

Thanks for the help!
Rick
 
PI3 Henry's image and 7in tft in local mode.

Hi Tim (and Henry)

Many thanks to you, Tim for Moode Audio.

And many thanks to you, Henry for your special 2.5 image for the Pi3.

I D/l'd Henry's image, and found it works well, so I thought I would go for broke and install a 7in TFT displaying Mood locally.

I followed this blog although I have a LS-7T tft not a Sainsmart :- https://rataks.com/blog/moode-on-raspberry-pi-7-inch-touch-screen.html

Other than a problem with fullscreen on Iceweasel, fixed by info in this post:-
x11 - How do I make "startx iceweasel" launch full-screen? - Unix & Linux Stack Exchange

It is all working well. I have a nice full screen webpage on my 7in tft , displaying Moode, easily controllable with touch.

Looking forward to trying Moode V2.6, especially if I can use my local tft with it.

Cheers

Patrick
 
Last edited:
Hi Tim,

I've been playing with podget (https://github.com/dvehrs/podget) to download podcasts to my pi running MoOde.

Ideally, I'd update podcasts using a cron job.

In MoOde, cron is disabled by default.

Any chance that you enable it with only minimal cron jobs in MoOde 2.6?

Cheers,

Phil

Hi Phil,

Moode 2.6 approach is to leave the task of disabling services to moodeOS config rather than kill services during player startup as is done in Moode 2.5.

So far, other than services that are started by the Player for example MPD, Airplay, etc., and thus need to be disabled from automatically starting at boot, only Cron and Triggerhappy are disabled. All u would need to do is (1) sudo systemctl enable cron, (2) reboot, then cron will automatically start during boot.

I've tried to keep moodeOS as close to stock J-Lite as possible and since J-Lite is nicely stripped down to begin with, not much trimming was needed.

Regards,
Tim
 
Hi all,

Just have a question regarding the rotary encoder option for volume. Is this simply a matter of enabling the driver in system config and connecting the encoder rotary pins to Raspberry Pi (GPIO pins 23, 24 & G) as follows? or is there something else that I need to do to get this working?

0GslFQ.jpg


Thanks,
D
 
Hi all,

Just have a question regarding the rotary encoder option for volume. Is this simply a matter of enabling the driver in system config and connecting the encoder rotary pins to Raspberry Pi (GPIO pins 23, 24 & G) as follows? or is there something else that I need to do to get this working?

0GslFQ.jpg


Thanks,
D

If using any GPIO that is not I2C, a pull up resistor (10 kOm) should be used between the +3.3V and the GPIO pin.
 
Hi,

Hifiberry DAC+ showing 0dB at ALSA 100 in moodeOS (J-Lite) so apparently some fixes have been made in kernel and/or overlay drivers. This means that in Moode 2.6 there should be no need to compensate for Hifiberry clipping 🙂

Regards,
Tim
 

Attachments

  • moode-r26-hifiberry-alsa-0db.png
    moode-r26-hifiberry-alsa-0db.png
    128.9 KB · Views: 274
  • moode-r26-hifiberry-hdwr-volrange.png
    moode-r26-hifiberry-hdwr-volrange.png
    204.7 KB · Views: 268
Hello

I've downloaded Henry's image and it is working great on the Raspberry Pi 3 (Thanks a lot Henry!). I'm using a PlainDSP and the volume is a little bit low (Alsa = 100). Is there anything I could configure to improve it?

Another thing, I've found an url that is working great for Rock FM (including song and artist names). I'd love to have it added on the Radio list.

http://195.55.74.212/cope/rockfm.mp3

Here is a good logo:

RockFM presenta su nueva identidad corporativa | Brandemia_

Thanks a lot Tim for all your efforts!
 
Hello

I've downloaded Henry's image and it is working great on the Raspberry Pi 3 (Thanks a lot Henry!). I'm using a PlainDSP and the volume is a little bit low (Alsa = 100). Is there anything I could configure to improve it?

Another thing, I've found an url that is working great for Rock FM (including song and artist names). I'd love to have it added on the Radio list.

http://195.55.74.212/cope/rockfm.mp3

Here is a good logo:

RockFM presenta su nueva identidad corporativa | Brandemia_

Thanks a lot Tim for all your efforts!

Hi,

Thanks, I'll check out that station 🙂

I don't see any logo images in the link you posted. What is the link to the stations web site?

-Tim