Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,545
» Latest member: kuyadreiph
» Forum threads: 5,343
» Forum posts: 51,033

Full Statistics

Latest Threads
Some settings not saved c...
Forum: Support
Last Post: the_bertrum
3 hours ago
» Replies: 23
» Views: 754
ProtoDAC TDA1387 X8 proje...
Forum: Audio gear
Last Post: bobdcarr
Yesterday, 10:08 PM
» Replies: 505
» Views: 100,683
Can´t connect via MacBook...
Forum: Support
Last Post: MikeyFresh
Yesterday, 06:49 PM
» Replies: 28
» Views: 801
introducing myself
Forum: Introduce Yourself
Last Post: the_bertrum
04-16-2024, 12:53 PM
» Replies: 1
» Views: 55
Pi 5 Support?
Forum: Support
Last Post: Topman44
04-15-2024, 08:08 PM
» Replies: 25
» Views: 3,823
8.3.7 - only AirPlay 2 su...
Forum: Support
Last Post: TheOldPresbyope
04-15-2024, 05:55 PM
» Replies: 33
» Views: 2,596
Upcoming moOde 9.0.0 (Boo...
Forum: Support
Last Post: the_bertrum
04-15-2024, 04:19 PM
» Replies: 88
» Views: 10,541
Volume Wheel in Web UI - ...
Forum: Support
Last Post: TheOldPresbyope
04-15-2024, 01:00 PM
» Replies: 7
» Views: 279
Introducing myself
Forum: Introduce Yourself
Last Post: fdealexa
04-14-2024, 11:05 PM
» Replies: 1
» Views: 76
Reboots Hang
Forum: Support
Last Post: quimbo
04-14-2024, 04:12 PM
» Replies: 5
» Views: 202

 
Music Quick hello
Posted by: funkster - 04-06-2024, 10:48 PM - Forum: Introduce Yourself - Replies (2)

Hello music people Smile

Long time lurker here, my first moode box was running on a rPi 3b. 

Now I'm setting up a new moode box using a rPi Zero 2w and the Argon40 POD case, if by any chance anyone here managed to make the Pod display work with moode, please give me a shout  Big Grin .

Print this item

Question Argon Pod Display as moode local display
Posted by: funkster - 04-06-2024, 10:46 PM - Forum: Support - Replies (4)

Hi everyone!

I am running moode on a Zero 2w all tucked inside the Argon Pod Case & Display, I am wondering if anyone else here managed to get the Pod Display to work. 

So far, Argon Pod Display installer Script works for the initial setup, but all it displays is the tty1 console messages. 
   

Messing around Configure->Peripherals->Local Display didn't take me very far Huh 

Anyone have any ideas to make this 2.8inch touch display more useful ?


Argon's Pod Display Installation Script:

Code:
#!/bin/bash
echo "******************"
echo " ArgonPOD Setup  "
echo "******************"

#if [ "$EUID" -ne 0 ]; then
#    echo "Please run as root"
#    exit
#fi

CHECKGPIOMODE="libgpiod" # libgpiod or rpigpio

# Helper variables
ARGONDOWNLOADSERVER=https://download.argon40.com
INSTALLATIONFOLDER=/etc/argonpod

# Files
tmpfile=$INSTALLATIONFOLDER/tmpfile.bak
configscript=$INSTALLATIONFOLDER/argonpod-config
systembackupfolder=$INSTALLATIONFOLDER/system_backup

# Targetted System Files
if [ -e /boot/firmware/config.txt ] ; then
 FIRMWARE=/firmware
else
 FIRMWARE=
fi
bootconfigfile=/boot${FIRMWARE}/config.txt
bootcmdlinefile=/boot${FIRMWARE}/cmdline.txt
calibrationfile=/etc/X11/xorg.conf.d/99-calibration.conf
evdevfile=/usr/share/X11/xorg.conf.d/45-evdev.conf
fbturbofile=/usr/share/X11/xorg.conf.d/99-fbturbo.conf


setupmode="Setup"
if [ ! -d "$INSTALLATIONFOLDER" ]
then
    tftdevicename=tft9341

    tftoverlayfile=/boot/overlays/${tftdevicename}-overlay.dtb
    tftoverlayfiledtbo=/boot/overlays/${tftdevicename}.dtbo


    sudo mkdir -p $systembackupfolder
    sudo chmod -R 755 $INSTALLATIONFOLDER

    sudo touch $tmpfile
    sudo chmod 666 $tmpfile

    # Backup files if necessary
    if [ -f "$tftoverlayfile" ]
    then
        sudo cp $tftoverlayfile $systembackupfolder/
    fi

    if [ -f "$tftoverlayfiledtbo" ]
    then
        sudo cp $tftoverlayfiledtbo $systembackupfolder/
    fi

    if [ -f "$calibrationfile" ]
    then
        sudo cp $calibrationfile $systembackupfolder/
    fi

    if [ -f "$evdevfile" ]
    then
        sudo cp $evdevfile $systembackupfolder/
    fi

    if [ -f "$fbturbofile" ]
    then
        sudo cp $fbturbofile $systembackupfolder/
    fi

    sudo cp $bootconfigfile $systembackupfolder/
    sudo cp $bootcmdlinefile $systembackupfolder/


    # Download/Create files and folders
    if [ ! -d /etc/X11/xorg.conf.d ]; then
        sudo mkdir -p /etc/X11/xorg.conf.d
    fi
    if [ ! -d /usr/share/X11/xorg.conf.d ]; then
        sudo mkdir -p /usr/share/X11/xorg.conf.d
    fi
    sudo wget $ARGONDOWNLOADSERVER/pod/${tftdevicename}-overlay.dtb -O $tmpfile --quiet
    sudo cp $tmpfile $tftoverlayfile
    sudo cp $tmpfile $tftoverlayfiledtbo
    sudo chmod 755 $tftoverlayfile
    sudo chmod 755 $tftoverlayfiledtbo

    # Disable DRM VC4 V3D driver
    grep -v "dtoverlay=vc4-kms-v3d" $bootconfigfile > $tmpfile
    grep -v 'dtoverlay=gpio-ir,gpio_pin=23' $tmpfile > $tmpfile

    # Update/Add configuration / files
    echo "hdmi_force_hotplug=1" >> $tmpfile
    echo "dtparam=i2c_arm=on" >> $tmpfile
    echo "dtparam=spi=on" >> $tmpfile
    echo "enable_uart=1" >> $tmpfile
    echo "dtoverlay=${tftdevicename}:rotate=270" >> $tmpfile
    echo "hdmi_group=2" >> $tmpfile
    echo "hdmi_mode=1" >> $tmpfile
    echo "hdmi_mode=87" >> $tmpfile
    echo "hdmi_cvt 320 240 60 6 0 0 0" >> $tmpfile
    echo "hdmi_drive=2" >> $tmpfile
    echo "dtoverlay=gpio-ir,gpio_pin=23" >> $tmpfile

    sudo cp $tmpfile $bootconfigfile



    # 270-degree orientation touch Setting
    echo 'Section "InputClass"' > $tmpfile
    echo '        Identifier      "calibration"' >> $tmpfile
    echo '        MatchProduct    "ADS7846 Touchscreen"' >> $tmpfile
    echo '        Option  "Calibration"   "115 3700 3865 155"' >> $tmpfile
    echo '        Option  "SwapAxes"      "1"' >> $tmpfile
    echo 'EndSection' >> $tmpfile
    sudo cp $tmpfile $calibrationfile
    sudo chmod 644 $calibrationfile

    echo 'Section "Device"' > $tmpfile
    echo '        Identifier      "Allwinner A10/A13/A20 FBDEV"' >> $tmpfile
    echo '        Driver          "fbturbo"' >> $tmpfile
    echo '        Option          "fbdev" "/dev/fb1"' >> $tmpfile
    echo '        Option          "SwapbuffersWait" "true"' >> $tmpfile
    echo 'EndSection' >> $tmpfile
    sudo cp $tmpfile $fbturbofile
    sudo chmod 644 $fbturbofile

    # xserver input
    SYSTEMYEAR=`uname -v`
    SYSTEMYEAR=${SYSTEMYEAR##* }

    if [ $SYSTEMYEAR -ge 2017 ]
    then
        sudo apt-get install xserver-xorg-input-evdev 2> $tmpfile
        grep -q "error:" $tmpfile && exit

        sudo cp /usr/share/X11/xorg.conf.d/10-evdev.conf $evdevfile
    fi
else
    setupmode="Update"
    echo "Updating files"

    sudo touch $tmpfile
    sudo chmod 666 $tmpfile
fi

grep -q -F 'fbcon' $bootcmdlinefile
if [ $? -ne 0 ]; then
    sudo cp $bootcmdlinefile $systembackupfolder/
    TMPCMDLINE=$(cat $bootcmdlinefile)
    echo "$TMPCMDLINE fbcon=map:10 fbcon=font:ProFont6x11 " | sudo tee $bootcmdlinefile 1> /dev/null
fi


# Argon POD Config File
buttonconfigfile=/etc/argonpod.conf
if [ ! -f $buttonconfigfile ]; then
    sudo touch $buttonconfigfile
    sudo chmod 666 $buttonconfigfile

    echo "#" > $buttonconfigfile
    echo "# Argon POD Configuration" >> $buttonconfigfile
    echo "#" >> $buttonconfigfile
fi

# Support scripts
versioninfoscript=$INSTALLATIONFOLDER/versioninfo.sh
rotatescript=$INSTALLATIONFOLDER/rotate.sh
buttonsetupscript=$INSTALLATIONFOLDER/buttonsetup.sh
fbcpinstallscript=$INSTALLATIONFOLDER/fbcpinstall.sh
resolutionscript=$INSTALLATIONFOLDER/resolution.sh
uninstallscript=$INSTALLATIONFOLDER/uninstall.sh

daemonpodscript=$INSTALLATIONFOLDER/argonpodd.py
daemonpodservice=/lib/systemd/system/argonpodd.service
shutdownscript=/lib/systemd/system-shutdown/argonpod-shutdown.sh

sudo wget $ARGONDOWNLOADSERVER/pod/versioninfo.sh -O $versioninfoscript --quiet
sudo wget $ARGONDOWNLOADSERVER/pod/rotate.sh -O $rotatescript --quiet
sudo wget $ARGONDOWNLOADSERVER/pod/buttonsetup.sh -O $buttonsetupscript --quiet
sudo wget $ARGONDOWNLOADSERVER/pod/fbcpinstall.sh -O $fbcpinstallscript --quiet
sudo wget $ARGONDOWNLOADSERVER/pod/resolution.sh -O $resolutionscript --quiet
sudo wget $ARGONDOWNLOADSERVER/pod/uninstall.sh -O $uninstallscript --quiet
sudo chmod 755 $INSTALLATIONFOLDER/*.sh

# Packages and main Daemon
gpiopkg="python3-libgpiod"
if [ "$CHECKGPIOMODE" = "rpigpio" ]
then
    if [ "$CHECKPLATFORM" = "Raspbian" ]
    then
        gpiopkg="raspi-gpio python3-rpi.gpio"
    else
        gpiopkg="python3-rpi.gpio"
    fi
    sudo wget $ARGONDOWNLOADSERVER/pod/argonpodd.py -O $daemonpodscript --quiet
else
    sudo wget $ARGONDOWNLOADSERVER/pod/argonpodd-libgpiod.py -O $daemonpodscript --quiet
fi
sudo apt-get install -y $gpiopkg

# Daemon

sudo wget $ARGONDOWNLOADSERVER/pod/argonpodd.service -O $daemonpodservice --quiet
sudo chmod 644 $daemonpodservice

# Shutdown Script
# Argon Shutdown script
sudo wget $ARGONDOWNLOADSERVER/pod/shutdown.sh -O $shutdownscript --quiet
sudo chmod 755 $shutdownscript


# Config script
echo '#!/bin/bash' > $tmpfile

echo 'echo "----------------------------"' >> $tmpfile
echo 'echo "ArgonPod Configuration Tool"' >> $tmpfile
echo "$versioninfoscript simple" >> $tmpfile
echo 'echo "----------------------------"' >> $tmpfile

echo 'get_number () {' >> $tmpfile
echo '    read curnumber' >> $tmpfile
echo '    if [ -z "$curnumber" ]' >> $tmpfile
echo '    then' >> $tmpfile
echo '        echo "-2"' >> $tmpfile
echo '        return' >> $tmpfile
echo '    elif [[ $curnumber =~ ^[+-]?[0-9]+$ ]]' >> $tmpfile
echo '    then' >> $tmpfile
echo '        if [ $curnumber -lt 0 ]' >> $tmpfile
echo '        then' >> $tmpfile
echo '            echo "-1"' >> $tmpfile
echo '            return' >> $tmpfile
echo '        elif [ $curnumber -gt 100 ]' >> $tmpfile
echo '        then' >> $tmpfile
echo '            echo "-1"' >> $tmpfile
echo '            return' >> $tmpfile
echo '        fi    ' >> $tmpfile
echo '        echo $curnumber' >> $tmpfile
echo '        return' >> $tmpfile
echo '    fi' >> $tmpfile
echo '    echo "-1"' >> $tmpfile
echo '    return' >> $tmpfile
echo '}' >> $tmpfile
echo '' >> $tmpfile

echo 'mainloopflag=1' >> $tmpfile
echo 'while [ $mainloopflag -eq 1 ]' >> $tmpfile
echo 'do' >> $tmpfile
echo '    echo' >> $tmpfile
echo '    echo "Choose Option:"' >> $tmpfile
echo '    echo "  1. Rotate Screen"' >> $tmpfile
echo '    echo "  2. Configure Buttons"' >> $tmpfile
echo '    echo "  3. Install Framebuffer Copy (FBCP) Driver"' >> $tmpfile
echo '    echo "  4. Set Resolution (Requires FBCP)"' >> $tmpfile

uninstalloption="5"

echo "    echo \"  $uninstalloption. Uninstall\"" >> $tmpfile
echo '    echo ""' >> $tmpfile
echo '    echo "  0. Exit"' >> $tmpfile
echo "    echo -n \"Enter Number (0-$uninstalloption):\"" >> $tmpfile
echo '    newmode=$( get_number )' >> $tmpfile

echo '    if [ $newmode -eq 0 ]' >> $tmpfile
echo '    then' >> $tmpfile
echo '        echo "Thank you."' >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile
echo '    elif [ $newmode -eq 1 ]' >> $tmpfile
echo '    then' >> $tmpfile
echo "        $rotatescript" >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile

echo '    elif [ $newmode -eq 2 ]' >> $tmpfile
echo '    then' >> $tmpfile
echo "        $buttonsetupscript" >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile

echo '    elif [ $newmode -eq 3 ]' >> $tmpfile
echo '    then' >> $tmpfile
echo "        $fbcpinstallscript" >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile

echo '    elif [ $newmode -eq 4 ]' >> $tmpfile
echo '    then' >> $tmpfile
echo "        $resolutionscript" >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile

echo "    elif [ \$newmode -eq $uninstalloption ]" >> $tmpfile
echo '    then' >> $tmpfile
echo "        $uninstallscript" >> $tmpfile
echo '        mainloopflag=0' >> $tmpfile
echo '    fi' >> $tmpfile
echo 'done' >> $tmpfile

sudo cp $tmpfile $configscript
sudo chmod 755 $configscript

# Add to system path
configcmd="$(basename -- $configscript)"

if [ "$setupmode" = "Setup" ]
then
    if [ -f "/usr/bin/$configcmd" ]
    then
        sudo rm /usr/bin/$configcmd
    fi
    sudo ln -s $configscript /usr/bin/$configcmd

    # Enable and Start Service(s)
    sudo systemctl daemon-reload
    sudo systemctl enable argonpodd.service
    sudo systemctl start argonpodd.service
else
    sudo systemctl restart argonpodd.service
fi

if [ -f $tmpfile ]
then
    sudo rm $tmpfile
fi


echo "*********************"
echo "  $setupmode Completed "
echo "*********************"
$versioninfoscript
echo
if [ "$setupmode" = "Setup" ]
then
    echo "Changes should take effect after reboot"
fi
echo "Use '$configcmd' to configure device"
echo

Print this item

  First boot Moode
Posted by: Moodecasper - 04-05-2024, 06:27 PM - Forum: Support - Replies (2)

Hello,

I have a Raspberry 3b+ with hifiberry DAC pro+
After the first installation it boots up until I come across the password setting. The standard login works and then you get the change password line.  I have a blank screen. It's seems something with HDMI perhaps.
I do not know if the error occurs within some time or that is happens after the standard password fill in
Other programms like Retropie, Recalbox, Volumio do not have these issues.

Does anybody has an idea?

Thank you in advance.

Print this item

  Dumb Receiver
Posted by: aero31aero - 04-05-2024, 04:48 PM - Forum: Support - Replies (2)

Hi! I'm currently tackling a slightly tough issue here, where my RPi has to be placed on the ground floor to be in Bluetooth range of transmitting phones and my amp that controls the ceiling speakers is tucked away in the basement ~50 feet and 2 walls away. I don't have another RPi but I do have a generic Linux PC just lying around with a good onboard sound card that I was hoping to use with Moode.

Is there a way to install Moode in docker, or else, configure trx-rx such that Moode thinks that its a receiver and use Moode's multiroom features to transmit audio to my Linux box over ethernet?

I was reading the examples on this page: https://www.pogo.org.uk/~mark/trx/ and it seems doable, but I'm unsure what all conditions do I have to meet to pretend to be a Moode receiver so the setup works flawlessly.

My intention is to write a self contained bash script or dockerfile that can then be used by others as well if they so choose.

Print this item

  Hifiberry Amp4
Posted by: D3D5S - 04-05-2024, 04:25 PM - Forum: Support - Replies (2)

Hello!

I now own an AMP4.
How do I implement it at moode?

A nice weekend to you all and Tim!

Print this item

  How enable https://
Posted by: georg48 - 04-05-2024, 01:40 PM - Forum: Support - Replies (4)

Unfortunately, I didn't find any information on how to configure the call to moode.local in the Safari browser via https://. Can anyone here help me out? Thank you very much!

Print this item

  New user
Posted by: georg48 - 04-05-2024, 01:32 PM - Forum: Introduce Yourself - Replies (2)

Hi everyone. 
While looking for a suitable music server, I came across moode. I've been using it as part of my other music system for a few years now and I'm still enthusiastic about it.

Print this item

  New behaviour - skip track on Radio
Posted by: Bigbargain - 04-04-2024, 05:04 PM - Forum: Feature requests - Replies (1)

Ok.  Beyond my intro, this is my first post, so please go eazy if its already implemented.

First, THANK YOU Tim and all involved for a great player AND integration with camilla (something important to me).

On to my idea.

I believe the skip track behavior of the player when playing files of a playlist, should be different from when its playing a streaming radio “station”.  Currently, when the skip track button is pushed on a streaming radio, MoOde skips the next thing in the playlist.  However, to me, it would seem the user might really simply want to skip THIS SONG on the CURRENT stream (i use radio paradise’s app, and it works this way).

Of course, they might also want to skip to the next thing in their playlist also, so this might lead to a second button to support each be behaviour.

What do you think?
- does this already exist and i shoulda kept looking? (Please help, if so)
- other’s thoughts and refinements?

… ok, let it bake and see what comes out…

Print this item

  Trouble with REST command
Posted by: Furbo - 04-04-2024, 09:54 AM - Forum: Support - Replies (2)

Hello,

I've belatedly got around to updating from v8.3.7 to v8.3.9, and I've found that a REST command that worked previously no longer does. I was using the below command from Home Assistant to reset Spotify connect, as a way to stop playback:

http://[moodeURL]/command/?cmd=restart-renderer.php%20--spotify

The above method isn't documented in the setup guide, but I found it among forum tips. Meanwhile, I can see you've recently updated the REST functionality, and I wondered if there's an alternative way to do this.

The REST commands can be very useful in Home Assistant. If you could point me towards any extra documentation on those, I'd be very grateful.

Thanks!

Print this item

  "Mute" UI bug.
Posted by: the_bertrum - 04-04-2024, 09:36 AM - Forum: Support - Replies (4)

Minor little issue on the UI.

  1. Mute by tapping the centre of the volume circle on the UI.  Sound is muted.
  2. Adjust the volume via a rotary encoder. Sound returns, but UI still says "mute".
  3. Tap "mute" on the UI.  UI shows volume value once more, sound remains unmuted.

Print this item