Makefile | ||
mpdsubridge.sh | ||
README.md |
MPDSuBridge
A small script that helps listening to music from a subsonic server through mpd.
Usage
To use the bridge, you need to login to the subsonic server through mpdsubridge -l
. After that, the script can be run without arguments, to search a song and add it to an instance of mpd. The mpd host/port is set through the environment variables MPD_HOST
and MPD_PORT
.
Login Selection
Multiple logins can be created, and switched with -S
for the server and -U
for the username. If no value is given the defaults from the config file at $XDG_CONFIG_HOME/mpdsubridge.conf
will be used. These automatically contain the first login created.
Non Interactive
Using the switch -s <search_term>
a song/album can be searched non interactive. The found song can then be added with -p <id>
. If an album should be added, the syntax is -p a:<id>
.
Install
To install the script, first clone the repository, go into the directory, and then run the installation command:
git clone https://git.csi-zeugs.eu/fx/mpdsubridge.git
cd mpdsubridge
sudo make install