Windows 7 and Music Player Daemon

    A short note about how I launched Music Player Daemon on Windows7 and what came of it ...
    MPD is a very tiny audio player-daemon that is controlled via a network interface and can broadcast audio in a wide variety of easily configurable ways.
    Installation was quite simple.
    I downloaded the archive with the program from the developers site, unpacked it into a directory, created subdirectories for storing music files, playlists, a music database and logs and wrote a small configuration file. Some questions arose only about the directory separator (you need to use two direct or one backslash ) and correctly configure the output audio stream. Developer wiki found configuration examples for Windows 7 audio devices
    I got the following mpd.conf configuration file: Now you can start the MPD command: mpd.exe mpd.conf If there are no errors in the configuration file, then everything should work . Well , then you can insert this command into startup or run manually. A few more comments. If more than one sound card is installed on the computer, then they can be configured separately, and then different cards will receive sound streams with different parameters (by specifying the values ​​for the device parameter), or not. In this case, the audio stream will be transmitted to only one (active) sound card. I sometimes use an external SB Play sound card, and there were no problems connecting and disconnecting it.

    playlist_directory "d:\\mpd\\playlists"
    db_file "d:\\mpd\\database\\mpd.db"
    log_file "d:\\mpd\\log\\mp.log"
    pid_file "d:\\mpd\\log\\pid"
    state_file "d:\\mpd\\log\\state"
    bind_to_address "127.0.0.1"
    port "6600"
    log_level "default"
    auto_update "yes"
    input {
    plugin "curl"
    # proxy "proxy.isp.com:8080"
    # proxy_user "user"
    # proxy_password "password"
    }

    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    ## encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "127.0.0.1" # optional, IPv4 or IPv6
    # quality "10.0" # do not define if bitrate is defined
    ## bitrate "512" # do not define if quality is defined
    # format "128000:16:2"
    #}
    #windows multimedia output
    audio_output {
    type "winmm"
    name "Speakers"
    # device "Speakers (Realtek High Definition Audio)"
    }





    In addition, you can organize the broadcast of the audio stream using the http protocol (I tried this opportunity, in my configuration file these settings are left and commented out), and even broadcast via MPD web radio. The program takes up 5.5 MB of RAM and almost does not load the processor - I use no more than 1% of the processor time on my desktop computer.

    My mpd client 4


    The advantages of MPD are especially pronounced if musical compositions contain id tags mp3 / flac / ogg. In this case, you can easily sort them by album, artist, etc. To manage the music database, the playback queue and create playlists, special programs have been written called mpd clients. There are a couple of dozen such client programs. I looked at most of them and even tried them in action. They seemed uncomfortable to me, and I decided to write my own mpd client for my own needs.
    The main ideas were as follows:
    1) Simple interface.
    2) The ability to conveniently work on small screens.
    3) Convenient and simple navigation through the music database. Normal display of album art if stored together with audio files.
    4) Visual work with playlists.
    5) Tag editor. (Not yet implemented)

    It is written in python / pygtk. With minor corrections, this program also started under Windows, which I mainly use.

    The most interesting thing starts after clicking the [more] button. The window opens and a notebook appears with bookmarks, which carry out the main work of creating playlists (playlists).


    useful links



    Music_Player_Daemon_Wiki
    One of the earliest descriptions of My mpd client 4

    Also popular now: