Moode Audio Player for Raspberry Pi

Hi Tim,
Can I issue any command to force a clean wipe and reindex the music library? Tried to update or scan using the buttons provided but they are not able to detect the new music files.

Ed

Sent from my SM-G935F using Tapatalk

Hi Ed,

Rebuild MPD database from scratch:
- telnet localhost 6600
- rescan

Reset the Library cache:
- truncate /var/local/www/libcache.json --size 0

Monitor MPD log
- cat /var/log/mpd/mpd.log
- tail -f /var/log/mpd/mpd.log

-Tim
 
Hi,
I'm use the Moodeaudio 3.7 with Winstar OLED display (Dhrone RaspDac script). When music doesn't play the display shows onboard temperature and disk space used. Does anyone know how disable this information in dhrone script?



You have to edit it to delete the appropriate section or replace what you would like to display when the player is not playing.

The code is fairly easy to understand.


Sent from my iPhone using Tapatalk
 
You have to edit it to delete the appropriate section or replace what you would like to display when the player is not playing.

The code is fairly easy to understand.


Sent from my iPhone using Tapatalk

May be I'm stupid, but I don't understand what edit in this file "RaspDacDisplay.py.
 

Attachments

  • RaspDacDisplay.py.pdf
    171.6 KB · Views: 98
Last edited:
After a lot of trial and error during the week-end i finally managed to have my apple aluminium remote working with moode audio. Play/pause, next/previous, volume up/down, mute, shutdown are all mapped to the nice and simple apple remote and working well. Since i have pi supply switch in my set-up, i can completely power off using the remote by combining mpc stop & sudo halt. It works on my local songs and on radio stations. I needed that remote because i find it cumbersome to reach for my smart phone every time i want to pause music. I used a 2$ IR receiver from ebay (search TSOP4838 on ebay).
One question: is it normal that the volume on the web interface does not change when i change the volume using the remote?
 
After a lot of trial and error during the week-end i finally managed to have my apple aluminium remote working with moode audio. Play/pause, next/previous, volume up/down, mute, shutdown are all mapped to the nice and simple apple remote and working well. Since i have pi supply switch in my set-up, i can completely power off using the remote by combining mpc stop & sudo halt. It works on my local songs and on radio stations. I needed that remote because i find it cumbersome to reach for my smart phone every time i want to pause music. I used a 2$ IR receiver from ebay (search TSOP4838 on ebay).
One question: is it normal that the volume on the web interface does not change when i change the volume using the remote?

Hi @remi1961,

Have your script call /var/www/vol.sh to control volume. UI will be updated.

vol.sh N
vol.sh up N
vol.sh dn N
vol.sh mute (toggle)

-Tim
 
Moode 3.7 is not scanning two of the three the partitions on my external usb disk. It shows the ext4 partition but not the fat32 or NTFS partitions. I scanned these under windows to repair any problems but still do not get these partitions showing up in the Browse section. These are mounted and found in the /media directory. Suggestions are welcome.

Jim

I just noticed the following.

ls -la /media
total 272
drwxr-xr-x 5 root root 4096 Jul 12 14:42 .
drwxr-xr-x 21 root root 4096 Jul 10 12:37 ..
drwxrwxrwx 11 pi pi 4096 Apr 3 09:49 ext4
drwxr-xr-x 7 root root 262144 Dec 31 1969 Fat 32
drwxr-xr-x 1 root root 4096 Jul 8 16:13 NTFS - 2


Do I have group/owner problems?

Jim
 
Last edited:
Hi @JimT

I've never tested a multi-partition scenario like the one you are working with. It could be a permissions issue or some sort of configuration problem.

To troubleshoot try the following:

1. The output from ls /media and ls /var/lib/mpd/music/USB should be identical.

2. The user mpd needs read permission on all music files, and read+execute permission on all music directories (and all of their parent directories).
https://www.musicpd.org/doc/user/support.html#faq

One way to check effective user permissions on files and dirs is to use the commands below.A returns code of 0 = success and 1 = fail. Try it on some selected dirs and files.

sudo -u mpd test -r /media/path_to_music_dir; echo $?
sudo -u mpd test -x /media/path_to_music_dir; echo $?

sudo -u mpd test -r /media/path_to_music_file; echo $?

3. Examine mpd log to see what might be going on.

cat /var/log/mpd/mpd.log
tail -f /var/log/mpd/mpd.log

-Tim
 
Last edited:
Hi @JimT

I've never tested a multi-partition scenario like the one you are working with. It could be a permissions issue or some sort of configuration problem.

To troubleshoot try the following:

1. The output from ls /media and ls /var/lib/mpd/music/USB should be identical.

2. The user mpd needs read permission on all music files, and read+execute permission on all music directories (and all of their parent directories).
https://www.musicpd.org/doc/user/support.html#faq

One way to check effective user permissions on files and dirs is to use the commands below.A returns code of 0 = success and 1 = fail. Try it on some selected dirs and files.

sudo -u mpd test -r /media/path_to_music_dir; echo $?
sudo -u mpd test -x /media/path_to_music_dir; echo $?

sudo -u mpd test -r /media/path_to_music_file; echo $?

3. Examine mpd log to see what might be going on.

cat /var/log/mpd/mpd.log
tail -f /var/log/mpd/mpd.log

-Tim

1/ They are identical in that /var/lib/mpd/music/USB is a link to /media
2/ sudo -u mpd test -r /media/path_to_music_dir; echo $?
This gives a 0

sudo -u mpd test -x /media/path_to_music_dir; echo $?
This gives a 0

sudo -u mpd test -r /media/path_to_music_file; echo $?
This is the same as the first test?

3/ Lots of errors trying to access my .wine directory on the ext4 partition, but it does access this partition. No entries about the fat or NTFS partitions. It does not seem to be trying to access the fat or NTFS partitions.

Thanks
Jim
 
Hello Tim

just little questions... (I apologize if I do some redundancies here!)

Don't you plan to integrate this kind of (lossless) radio flux ?
https://radio-3-concert-sound.pilots.bbcconnectedstudio.co.uk/

some info there : BBC Taster - Radio 3 Concert Sound: Inside Story

Works nice with Firefox browser, but I don't find a way to stream trough Airplay to moOde.

Another question: I think it would be nice if Qobuz was integrated in MoOde. I usually run Qobuz through BubbleUPnP on my Android to listen to it, but I'm sure it would sound better with a plugin in MoOde.


And I listen to moOde everyday, anyway !


yannig
 
Hello Tim

just little questions... (I apologize if I do some redundancies here!)

Don't you plan to integrate this kind of (lossless) radio flux ?
https://radio-3-concert-sound.pilots.bbcconnectedstudio.co.uk/

some info there : BBC Taster - Radio 3 Concert Sound: Inside Story

Works nice with Firefox browser, but I don't find a way to stream trough Airplay to moOde.

Another question: I think it would be nice if Qobuz was integrated in MoOde. I usually run Qobuz through BubbleUPnP on my Android to listen to it, but I'm sure it would sound better with a plugin in MoOde.


And I listen to moOde everyday, anyway !


yannig
The latest version of upmpdcli has some support for Qobuz in it, but Moode would also need a newer version of upexplorer as well.

I say some support because you cannot manage Favourites and Purchases but you can use the Qobuz application for that on your Phone.



Sent from my Nexus 5X using Tapatalk
 
Hello Tim

just little questions... (I apologize if I do some redundancies here!)

Don't you plan to integrate this kind of (lossless) radio flux ?
https://radio-3-concert-sound.pilots.bbcconnectedstudio.co.uk/

some info there : BBC Taster - Radio 3 Concert Sound: Inside Story

Works nice with Firefox browser, but I don't find a way to stream trough Airplay to moOde.

Another question: I think it would be nice if Qobuz was integrated in MoOde. I usually run Qobuz through BubbleUPnP on my Android to listen to it, but I'm sure it would sound better with a plugin in MoOde.


And I listen to moOde everyday, anyway !


yannig

Hi Yannig,

I tried that radio station url and its not working on my end. Possibly its geo-fenced.

-Tim