Headless Music Center












0















I have a small PC running Ubuntu 18.04 which is usually not connected to a monitor. It is an UpBoard (details)



I connected the audio output to my amplifier.



Playing music works if I connect a monitor to the upBoard.



My goal: use the upBoard in headless mode. I would like to choose music with some android device, and then the upBoard should play the songs I selected.



I looked at kodi, but this seems to be for TV output (not headless).



I am unsure which kind of software is needed ..




  • for the upBoard?

  • for the android device?


The audio files which I want to play are on the UpBoard, not on the android device.










share|improve this question




















  • 1





    Gmediarenderer should work fine: askubuntu.com/questions/963992/…

    – Takkat
    22 hours ago











  • @Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

    – guettli
    10 hours ago











  • mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

    – ptetteh227
    9 hours ago













  • @ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

    – guettli
    9 hours ago
















0















I have a small PC running Ubuntu 18.04 which is usually not connected to a monitor. It is an UpBoard (details)



I connected the audio output to my amplifier.



Playing music works if I connect a monitor to the upBoard.



My goal: use the upBoard in headless mode. I would like to choose music with some android device, and then the upBoard should play the songs I selected.



I looked at kodi, but this seems to be for TV output (not headless).



I am unsure which kind of software is needed ..




  • for the upBoard?

  • for the android device?


The audio files which I want to play are on the UpBoard, not on the android device.










share|improve this question




















  • 1





    Gmediarenderer should work fine: askubuntu.com/questions/963992/…

    – Takkat
    22 hours ago











  • @Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

    – guettli
    10 hours ago











  • mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

    – ptetteh227
    9 hours ago













  • @ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

    – guettli
    9 hours ago














0












0








0








I have a small PC running Ubuntu 18.04 which is usually not connected to a monitor. It is an UpBoard (details)



I connected the audio output to my amplifier.



Playing music works if I connect a monitor to the upBoard.



My goal: use the upBoard in headless mode. I would like to choose music with some android device, and then the upBoard should play the songs I selected.



I looked at kodi, but this seems to be for TV output (not headless).



I am unsure which kind of software is needed ..




  • for the upBoard?

  • for the android device?


The audio files which I want to play are on the UpBoard, not on the android device.










share|improve this question
















I have a small PC running Ubuntu 18.04 which is usually not connected to a monitor. It is an UpBoard (details)



I connected the audio output to my amplifier.



Playing music works if I connect a monitor to the upBoard.



My goal: use the upBoard in headless mode. I would like to choose music with some android device, and then the upBoard should play the songs I selected.



I looked at kodi, but this seems to be for TV output (not headless).



I am unsure which kind of software is needed ..




  • for the upBoard?

  • for the android device?


The audio files which I want to play are on the UpBoard, not on the android device.







sound pulseaudio music kodi home-theatre






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 10 hours ago







guettli

















asked 23 hours ago









guettliguettli

70652166




70652166








  • 1





    Gmediarenderer should work fine: askubuntu.com/questions/963992/…

    – Takkat
    22 hours ago











  • @Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

    – guettli
    10 hours ago











  • mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

    – ptetteh227
    9 hours ago













  • @ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

    – guettli
    9 hours ago














  • 1





    Gmediarenderer should work fine: askubuntu.com/questions/963992/…

    – Takkat
    22 hours ago











  • @Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

    – guettli
    10 hours ago











  • mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

    – ptetteh227
    9 hours ago













  • @ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

    – guettli
    9 hours ago








1




1





Gmediarenderer should work fine: askubuntu.com/questions/963992/…

– Takkat
22 hours ago





Gmediarenderer should work fine: askubuntu.com/questions/963992/…

– Takkat
22 hours ago













@Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

– guettli
10 hours ago





@Takkat The audio files which I want to play are on the UpBoard, not on the android device. Does gmediarenderer work for this case, too?

– guettli
10 hours ago













mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

– ptetteh227
9 hours ago







mpd can work for you if you are interested in music alone. Install the server on the board then use the mpdroid android app as a remote control

– ptetteh227
9 hours ago















@ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

– guettli
9 hours ago





@ptetteh227 mpd sound good. Please write your comment as answer, then I can upvote it.

– guettli
9 hours ago










1 Answer
1






active

oldest

votes


















0














from here




Music Player Daemon (MPD) is a flexible, powerful, server-side
application for playing music. Through plugins and libraries it can
play a variety of sound files while being controlled by its network
protocol.




It is available in the ubuntu 18.04 repo:



sudo apt install mpd


after installing mpd create the conf file:



sudo cat /etc/mpd.conf | tee ~/.mpdconf


create the mpd dir and some files:



mkdir /home/$USER/Music/mpd
mkdir /home/$USER/Music/mpd/playlists
touch /home/$USER/Music/mpd/{mpd.log,tag_cache,pid}


edit the conf file:



nano ~/.mpdconf


and change appriopriate portions to the values here



music_directory     "/home/USER/Music"
playlist_directory "/home/USER/Music/mpd/playlists"
db_file "/home/USER/Music/mpd/tag_cache"
log_file "/home/USER/Music/mpd/mpd.log"
pid_file "/home/USER/Music/mpd/pid"
state_file "/home/USER/Music/mpd/state"
sticker_file "/home/USER/Music/mpd/sticker.sql"
#user "mpd"
bind_to_address "0.0.0.0"
port "6600"
#save_absolute_paths_in_playlists "no"
#auto_update "yes"
#zeroconf_enabled "yes"
#zeroconf_name "MPD Music Player"
#password "password@read,add,control,admin"

audio_output {
type "alsa"
name "My ALSA Device"
{
filesystem_charset "UTF-8"


It is importtant to that the user parameter is commented else you may get errors during running.
Also replace USER with your username



Then kill mpd from running systemwide:



sudo pkill mpd
sudo systemctl disable mpd


and make it start on login:
~/.config/autostart/mpd.desktop



and paste



[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Music Player Daemon
Comment=Server for playing audio files
Exec=mpd
StartupNotify=false
Terminal=false
Hidden=false


now start the music server:



mpd


Download the android app mpdroid



Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access



refenence:
https://help.ubuntu.com/community/MPD






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116875%2fheadless-music-center%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    from here




    Music Player Daemon (MPD) is a flexible, powerful, server-side
    application for playing music. Through plugins and libraries it can
    play a variety of sound files while being controlled by its network
    protocol.




    It is available in the ubuntu 18.04 repo:



    sudo apt install mpd


    after installing mpd create the conf file:



    sudo cat /etc/mpd.conf | tee ~/.mpdconf


    create the mpd dir and some files:



    mkdir /home/$USER/Music/mpd
    mkdir /home/$USER/Music/mpd/playlists
    touch /home/$USER/Music/mpd/{mpd.log,tag_cache,pid}


    edit the conf file:



    nano ~/.mpdconf


    and change appriopriate portions to the values here



    music_directory     "/home/USER/Music"
    playlist_directory "/home/USER/Music/mpd/playlists"
    db_file "/home/USER/Music/mpd/tag_cache"
    log_file "/home/USER/Music/mpd/mpd.log"
    pid_file "/home/USER/Music/mpd/pid"
    state_file "/home/USER/Music/mpd/state"
    sticker_file "/home/USER/Music/mpd/sticker.sql"
    #user "mpd"
    bind_to_address "0.0.0.0"
    port "6600"
    #save_absolute_paths_in_playlists "no"
    #auto_update "yes"
    #zeroconf_enabled "yes"
    #zeroconf_name "MPD Music Player"
    #password "password@read,add,control,admin"

    audio_output {
    type "alsa"
    name "My ALSA Device"
    {
    filesystem_charset "UTF-8"


    It is importtant to that the user parameter is commented else you may get errors during running.
    Also replace USER with your username



    Then kill mpd from running systemwide:



    sudo pkill mpd
    sudo systemctl disable mpd


    and make it start on login:
    ~/.config/autostart/mpd.desktop



    and paste



    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    Name=Music Player Daemon
    Comment=Server for playing audio files
    Exec=mpd
    StartupNotify=false
    Terminal=false
    Hidden=false


    now start the music server:



    mpd


    Download the android app mpdroid



    Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access



    refenence:
    https://help.ubuntu.com/community/MPD






    share|improve this answer






























      0














      from here




      Music Player Daemon (MPD) is a flexible, powerful, server-side
      application for playing music. Through plugins and libraries it can
      play a variety of sound files while being controlled by its network
      protocol.




      It is available in the ubuntu 18.04 repo:



      sudo apt install mpd


      after installing mpd create the conf file:



      sudo cat /etc/mpd.conf | tee ~/.mpdconf


      create the mpd dir and some files:



      mkdir /home/$USER/Music/mpd
      mkdir /home/$USER/Music/mpd/playlists
      touch /home/$USER/Music/mpd/{mpd.log,tag_cache,pid}


      edit the conf file:



      nano ~/.mpdconf


      and change appriopriate portions to the values here



      music_directory     "/home/USER/Music"
      playlist_directory "/home/USER/Music/mpd/playlists"
      db_file "/home/USER/Music/mpd/tag_cache"
      log_file "/home/USER/Music/mpd/mpd.log"
      pid_file "/home/USER/Music/mpd/pid"
      state_file "/home/USER/Music/mpd/state"
      sticker_file "/home/USER/Music/mpd/sticker.sql"
      #user "mpd"
      bind_to_address "0.0.0.0"
      port "6600"
      #save_absolute_paths_in_playlists "no"
      #auto_update "yes"
      #zeroconf_enabled "yes"
      #zeroconf_name "MPD Music Player"
      #password "password@read,add,control,admin"

      audio_output {
      type "alsa"
      name "My ALSA Device"
      {
      filesystem_charset "UTF-8"


      It is importtant to that the user parameter is commented else you may get errors during running.
      Also replace USER with your username



      Then kill mpd from running systemwide:



      sudo pkill mpd
      sudo systemctl disable mpd


      and make it start on login:
      ~/.config/autostart/mpd.desktop



      and paste



      [Desktop Entry]
      Encoding=UTF-8
      Type=Application
      Name=Music Player Daemon
      Comment=Server for playing audio files
      Exec=mpd
      StartupNotify=false
      Terminal=false
      Hidden=false


      now start the music server:



      mpd


      Download the android app mpdroid



      Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access



      refenence:
      https://help.ubuntu.com/community/MPD






      share|improve this answer




























        0












        0








        0







        from here




        Music Player Daemon (MPD) is a flexible, powerful, server-side
        application for playing music. Through plugins and libraries it can
        play a variety of sound files while being controlled by its network
        protocol.




        It is available in the ubuntu 18.04 repo:



        sudo apt install mpd


        after installing mpd create the conf file:



        sudo cat /etc/mpd.conf | tee ~/.mpdconf


        create the mpd dir and some files:



        mkdir /home/$USER/Music/mpd
        mkdir /home/$USER/Music/mpd/playlists
        touch /home/$USER/Music/mpd/{mpd.log,tag_cache,pid}


        edit the conf file:



        nano ~/.mpdconf


        and change appriopriate portions to the values here



        music_directory     "/home/USER/Music"
        playlist_directory "/home/USER/Music/mpd/playlists"
        db_file "/home/USER/Music/mpd/tag_cache"
        log_file "/home/USER/Music/mpd/mpd.log"
        pid_file "/home/USER/Music/mpd/pid"
        state_file "/home/USER/Music/mpd/state"
        sticker_file "/home/USER/Music/mpd/sticker.sql"
        #user "mpd"
        bind_to_address "0.0.0.0"
        port "6600"
        #save_absolute_paths_in_playlists "no"
        #auto_update "yes"
        #zeroconf_enabled "yes"
        #zeroconf_name "MPD Music Player"
        #password "password@read,add,control,admin"

        audio_output {
        type "alsa"
        name "My ALSA Device"
        {
        filesystem_charset "UTF-8"


        It is importtant to that the user parameter is commented else you may get errors during running.
        Also replace USER with your username



        Then kill mpd from running systemwide:



        sudo pkill mpd
        sudo systemctl disable mpd


        and make it start on login:
        ~/.config/autostart/mpd.desktop



        and paste



        [Desktop Entry]
        Encoding=UTF-8
        Type=Application
        Name=Music Player Daemon
        Comment=Server for playing audio files
        Exec=mpd
        StartupNotify=false
        Terminal=false
        Hidden=false


        now start the music server:



        mpd


        Download the android app mpdroid



        Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access



        refenence:
        https://help.ubuntu.com/community/MPD






        share|improve this answer















        from here




        Music Player Daemon (MPD) is a flexible, powerful, server-side
        application for playing music. Through plugins and libraries it can
        play a variety of sound files while being controlled by its network
        protocol.




        It is available in the ubuntu 18.04 repo:



        sudo apt install mpd


        after installing mpd create the conf file:



        sudo cat /etc/mpd.conf | tee ~/.mpdconf


        create the mpd dir and some files:



        mkdir /home/$USER/Music/mpd
        mkdir /home/$USER/Music/mpd/playlists
        touch /home/$USER/Music/mpd/{mpd.log,tag_cache,pid}


        edit the conf file:



        nano ~/.mpdconf


        and change appriopriate portions to the values here



        music_directory     "/home/USER/Music"
        playlist_directory "/home/USER/Music/mpd/playlists"
        db_file "/home/USER/Music/mpd/tag_cache"
        log_file "/home/USER/Music/mpd/mpd.log"
        pid_file "/home/USER/Music/mpd/pid"
        state_file "/home/USER/Music/mpd/state"
        sticker_file "/home/USER/Music/mpd/sticker.sql"
        #user "mpd"
        bind_to_address "0.0.0.0"
        port "6600"
        #save_absolute_paths_in_playlists "no"
        #auto_update "yes"
        #zeroconf_enabled "yes"
        #zeroconf_name "MPD Music Player"
        #password "password@read,add,control,admin"

        audio_output {
        type "alsa"
        name "My ALSA Device"
        {
        filesystem_charset "UTF-8"


        It is importtant to that the user parameter is commented else you may get errors during running.
        Also replace USER with your username



        Then kill mpd from running systemwide:



        sudo pkill mpd
        sudo systemctl disable mpd


        and make it start on login:
        ~/.config/autostart/mpd.desktop



        and paste



        [Desktop Entry]
        Encoding=UTF-8
        Type=Application
        Name=Music Player Daemon
        Comment=Server for playing audio files
        Exec=mpd
        StartupNotify=false
        Terminal=false
        Hidden=false


        now start the music server:



        mpd


        Download the android app mpdroid



        Afterwards connect both android and the board to the same network. start mpddroid and enter your servers ip and mpd port (6600). Firewall ports should also be properly setup to allow the android client access



        refenence:
        https://help.ubuntu.com/community/MPD







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 8 hours ago

























        answered 8 hours ago









        ptetteh227ptetteh227

        958219




        958219






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116875%2fheadless-music-center%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b