Moode Audio Player for Raspberry Pi

Toggle Play Pause - Fixed

Maybe Tim, or one of you with more experience than I have could explain why I could not get the hw_pause_play.service to work.

When I initially installed this in Moode 3.1, I created each file, hw_pause_play.py and hw_pause_play.service. Everything worked perfectly the first time. So I backed up the files as I knew Moode 3.5 was coming any day.

When I installed Moode 3.5, I copied the files from the backup, made sure they were executable "chmod +x", and although the Python script would work the service would not start.

I had to work on some other things for a few days and in the mean time I got a new RPi 3. I installed Moode 3.5 and it worked with no issue. So I thought I would try the hw_pause_play again. I copied the files to the new installation. I needed to make a couple of changed to the hw_pause_play.py script, but I wasn't allowed to save it. I didn't have this problem when I created the file from scratch. So I deleted the copied files and created new files, copying the information from the original files. Of course as I had created the files I could also edit them without issue.

This time when I tried the service it worked first time, no errors.

My question is when I did an ls -l on the copied file, the one I could not edit, and on the one that I created myself they looked the same to me. (Not saying I didn't miss something) Is there some way I can tell the ownership of a file? Or maybe fix the file so it is the same as one I created myself?

I am happy to have this great feature working again as it is very important to my latest project. And thanks again to the people that tried to help. I can't believe this was something so basic.

Cheers, Bryce.
 
Hi,

Sounds like they are a type of kernel performance tuning. Moode Advanced kernels are "tuned" for performance so in some sense they are similar.

-TIm

Hi Tim,

Found more info about the kernel tuning:

https://github.com/RuneAudio/RuneUI/blob/dev/command/orion_optimize.sh

search for 'sound profiles', for instance

Code:
# mod3
if [ "$1" == "OrionV2" ]; then
ifconfig eth0 mtu 1000
ifconfig eth0 txqueuelen 4000
echo 0 > /proc/sys/vm/swappiness
modKschedLatency hw=$2 s01=120000 s02=2000000 s03=2000000 s04=2000000 s05=2000000 s06=2000000 s07=2000000 s08=2000000 s09=2000000 s10=2000000 u01=2 u02=2 u03=2 u04=2 u05=2 u06=2 u07=2 u08=2 u09=2 u10=2
sleep 2
mpdprio_nice
echo "(OrionV2) sound signature profile"
fi

I don't know if that's what Moode audio does with advanced kernels??
 
Hi Tim,

Found more info about the kernel tuning:

https://github.com/RuneAudio/RuneUI/blob/dev/command/orion_optimize.sh

search for 'sound profiles', for instance

Code:
# mod3
if [ "$1" == "OrionV2" ]; then
ifconfig eth0 mtu 1000
ifconfig eth0 txqueuelen 4000
echo 0 > /proc/sys/vm/swappiness
modKschedLatency hw=$2 s01=120000 s02=2000000 s03=2000000 s04=2000000 s05=2000000 s06=2000000 s07=2000000 s08=2000000 s09=2000000 s10=2000000 u01=2 u02=2 u03=2 u04=2 u05=2 u06=2 u07=2 u08=2 u09=2 u10=2
sleep 2
mpdprio_nice
echo "(OrionV2) sound signature profile"
fi

I don't know if that's what Moode audio does with advanced kernels??

Hi,

That looks like its from the original tsunamp code circa 2014.

The Advanced kernels in Moode are different. They not only contain performance tunings and in the case of the RT kernel a true hard-rt kernel, but they include the enhanced audio capabilities that were developed by kernel dev's Clive Messers and Martin Sperl. These capabilities are listed in the (i) help next to the Linux kernel input field on System config.

-Tim
 
Hi!
I have a problem with moOde 3.5 and my Chord Mojo (with USB interface).
I see a pass of the entry songs. So it is with Volumio. No such problem with RuneAudio and moOde 3.1.
Intro skip is only in manual playback click on the song. When switching from song to song it's all good.

This may be the solution?
 
And when will the bugfix or the version 3.6 come?

Hi,

Below is what is currently being field tested. Plan is to release the in-place update this week along with release 3.6 image.

-Tim

Updates

- UPD: Switch to AWS CloudFront for in-place updates
- UPD: Improve cardnum logic in Audioinfo
- UPD: Lector Digitube s192 device name
- UPD: Soekris DAM1021 device name
- UPD: Bump msg duration for installupd job

Bug fixes

- FIX: I2S device list query
- FIX: Playlist save not working
- FIX: DSD decoded-to on Audioconfig
- FIX: Wifi/BT disable not working if Adv kernel
- FIX: Change Browser title not working
- FIX: System info on/off status for UPnP, DLNA
- FIX: ALSA volume field "required" error

-Tim
 
Hi Tim,

And when entering a static address the connection after the reboot fails? For me the main problem

Hi,

I just ran a quick test and am not able to repro the issue. See attached scree shot.

-Tim
 

Attachments

  • moode-r35-static.png
    moode-r35-static.png
    66.7 KB · Views: 241