From 704f41d5ed2b41ecebec818f32dc9cd22f47b9b1 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 21 May 2009 00:25:28 +0100 Subject: [PATCH] add README --- README | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..a6a337b --- /dev/null +++ b/README @@ -0,0 +1,28 @@ + +The Music Player Dæmon plays music: http://www.musicpd.org/ + +The Car2PC interface connects to the head unit in your car and pretends to +be an CD changer: http://www.car2pc.com/ + +This small program interfaces between the two, translating the simple +commands received from the Car2PC interface into MPD commands, and +returning track metadata to the Car2PC so that it can be displayed (on +capable head units). + +It ships with a sample udev rule which will automatically run the +mpc-car2pc program when the Car2PC interface appears on the USB bus. + +Since it's emulating a CD changer, it supports up to 6 "discs", each +of which is an MPD stored playlist with the name 'disc1', 'disc2', etc. + +Each playlist can have up to 99 tracks. These limits are probably +specific to the Symphony II head unit in my Audi A3, can can easily be +changed in the source code. + +On starting up, mpc-car2pc will try to work out which disc is playing +by comparing the named playlists with the current playlist. If none +match, it will reload disc1. + +If you use another MPD client (such as gmpc) to change playlists while +mpc-car2pc is running, mpc-car2pc will automatically save the changed +playlist under the name of the currently "active" disc. -- 2.50.1