Wednesday, 12 November 2008

Amarok mp3 player automation

Amarok complains that your mp3 player must be mounted before you can connect to it. It can be a bit of a faff having to mount the device first, so here's how to do it automatically.

1. Install pmount

sudo apt-get install pmount

2. Make sure your user is a member of plugdev

3. Test you can mount you mp3 player with

pmount-hal /dev/[device]

pumount /dev/[device]

4. In amarok goto settings > configure amarok > Media Devices > Add Device

5. Select Generic Media Player, Enter a name for the device, and the directory that it will be mounted to. Then select ok

6. Go to the devices tab. Select the device and click the gears icon.

7. Enter the pmount commands as above in to the top two boxes.

Done

Post comments if you want more detail