RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Background playing two songs at once

    Scheduled Pinned Locked Moved Help and Support
    mpg123bgmplayer
    5 Posts 2 Posters 632 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jhferguson
      last edited by

      How can I tell what apps are playing background music? I have mpg123 installed and BGM player (testing which one I liked best). MPG123 never plays my background music and BGM player plays multiple songs at once. I have uninstalled and re-installed but MPG123 is a dependency of BGM so I think it keeps getting re-installed along with BGM and both are playing background music simultaneously. Can someone point me in the right direction please?

      1 Reply Last reply Reply Quote 0
      • J
        jhferguson
        last edited by

        Fyi - /opt/retropie/configs/all/autostart.sh output below

        ash $HOME/RetroPie-BGM-Player/bgm_system.sh -i --autostart
        while pgrep omxplayer >/dev/null; do sleep 1; done
        (sleep 10; mpg123 -Z /home/pi/RetroPie/roms/music/*.mp3 >/dev/null 2>&1) &
        emulationstation --no-splash #auto

        1 Reply Last reply Reply Quote 0
        • J
          jhferguson
          last edited by

          Its like mpg123 and BGM are both playing music at the same time. Trying to find a way to turn mpg123 off.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            It looks like you have installed/configured 2 methods to play background music. Choose one of them and remove the other (from autostart.sh).

            J 1 Reply Last reply Reply Quote 0
            • J
              jhferguson @mitu
              last edited by

              @mitu That's the funny thing. mpg123 IS part of BGM so uninstalling BGM uninstalls both (hence the loss of music completely) but uninstalling mgp123 by itself removed its config I suppose. I manually plugged the info back in and left BGM out this time around and finally got it working. Thank you for your reply.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.