Its console based, and while I do like console applications, I also prefer managing music via a graphical application. MPD, because its open source and has libraries in multiple languages, enjoys support for multiple frontends. What do you do after you have set up a server? You need some client software that can interact with your server. Important : MPD can be launched as root also, but don’t do that please! Adding a Frontend This will start the server automatically when you log in. There is also a systemd service that you can use. You can add this command to your startup script to have the server launch automatically when you log in. Exceptions about Tidal and wildmidi can be ignored. Now, you are ready to launch the server! Open a terminal and run mpd. HDD is mounted automatically on boot since I have it added to my fstab. This location is defined in the MPD config. So all my music is copied on the internal HDD. On my laptop - Needs to be carried around, can’t have my external drives always around. If I have unplugged a specific drive, then MPD will simply skip over the songs from that drive. Now, MPD can discover music from external drives as well and you don’t need to copy all music to your installation root. These symlinks are all stored in ~/Music. Next, I create symlinks from my music directories on external locations. It tells MPD that it should follow symlinks while searching the music directory even if symlink target leads out of your music directory. On my PC - I have access to multiple external drives no need to copy on internal hdd. As simple as that! Remember we set the music_directory value to this folder? You can set that value to a different one if you don’t want to copy your library to a new place. mpd -killĬopy your music folder/songs to ~/Music/. Every time you edit the config file, you need to restart the MPD server for the changes to take effect. In this post, I have suggested edits in the config multiple times. Save the file, and we are ready to move forward. I will not detail it out, since if you are using OSS, you know better than me what you are doing. In the case of OSS the relevant part is just after the ALSA section. For example, I have set my mixer type to software, which fixes issues with volume control. There are more options you can change if you are familiar with them, but the current set up will give you a minimal and working MPD server. Uncomment line 215 - 217 (both inclusive) and 223. Uncomment restore_paused at line 101 and set value to “yes”. Let it stay at the default value, which is “6600”. Change the value to “localhost” or to a different address if you want. Scroll down to line 85 and uncomment bind_to_address. This is because the pre-created music folder starts with a capital M. At the very least I suggest changing the music_directory from “~/music” to “~/Music”. Set a location for all these as you like. Uncomment music_directory (L 13), db_file (L 28), pid_file (L 43) and state_file (L 50). Save it in ~/.config/mpd/ with name mpd.conf. Get the example configuration file at /usr/share/doc/mpd/mpdconf.example or from this link. You can install it via Pacman sudo pacman -S mpd On Arch Linux, the package is called mpd. Add to that, the server-client architecture allows many applications to control music playback - even you can write an app to control the MPD server (and I did that!) Installing MPD Even such huge libraries are no sweat for MPD. To put “large” into perspective, I am talking about libraries with over 50k tracks or almost a terabyte of music. It can easily manage large music libraries. MPD (music player daemon) is an audio player that has a server-client architecture. Best of all, it also has a Nyan Cat audio visualiser. It has multiple queue support, a great library manager, connection with online services etc. Strawberry is a fork of the famous Clementine Music Player. Finding tracks was a nightmare and organization an even bigger nightmare. ![]() I got tired of that very soon when my music collection ran into gigabytes. ![]() ![]() The first time I played music on the desktop, it certainly was in VLC Media Player. This post is for others like me who download their music and want an efficient way to manage their collection. Yeah, it’s 2021 and I still download my music.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |