PDA

View Full Version : How do you create Custom.map



max.spicer
2005-10-10, 13:12
Much searching later and I've turned up nothing on this. How do I create a Custom.map that just changes a few keys?

Max

kdf
2005-10-10, 13:59
On 10-Oct-05, at 1:12 PM, max.spicer wrote:

>
> Much searching later and I've turned up nothing on this. How do I
> create a Custom.map that just changes a few keys?
>
its a text file, so just write in the lines you need changed and save
it as Custom.map
Make sure you also include the appropriate group headers (ie [Common])

-kdf

max.spicer
2005-10-10, 14:33
Thanks, kdf. Where does it live?

Max


On 10-Oct-05, at 1:12 PM, max.spicer wrote:

>
> Much searching later and I've turned up nothing on this. How do I
> create a Custom.map that just changes a few keys?
>
its a text file, so just write in the lines you need changed and save
it as Custom.map
Make sure you also include the appropriate group headers (ie [Common])

-kdf

kdf
2005-10-10, 14:58
On 10-Oct-05, at 2:33 PM, max.spicer wrote:

>
> Thanks, kdf. Where does it live?
>
same place as Default.map, in the IR dir of your slimserver
installation.

-k

max.spicer
2005-10-11, 08:53
I've created a fille called Custom.map in IR:

max@dante:/usr/local/slimserver$ ls -l IR/Custom.map
-rw-r--r-- 1 max max 233 2005-10-11 16:39 IR/Custom.map

This file contains just the following:


[common]
4.hold = modefunction_PLUGIN.RandomPlay::Plugin->years
7.hold = modefunction_PLUGIN.RandomPlay::Plugin->tracks
8.hold = modefunction_PLUGIN.RandomPlay::Plugin->albums
9.hold = modefunction_PLUGIN.RandomPlay::Plugin->artists


After restarting SlimServer, holding 4 and 7-9 just tells me I have no favourites assigned. What am I doing wrong?

Max


On 10-Oct-05, at 1:12 PM, max.spicer wrote:

>
> Much searching later and I've turned up nothing on this. How do I
> create a Custom.map that just changes a few keys?
>
its a text file, so just write in the lines you need changed and save
it as Custom.map
Make sure you also include the appropriate group headers (ie [Common])

-kdf

Craig, James (IT)
2005-10-11, 08:57
Max,
Plugins can override the IR map files - the favourites plugin grabs some
of the number keys for itself, so you need to disable it.

(this is what I advise people to do if they want to use the number keys
for ratings in iTunes Update)

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

rme
2005-10-11, 10:56
This worked for me, although I don't have my custom.map file in front of me until this weekend coming up to verify.

Create a text file named custom.map in the IR sub directory where the default.map file is located.

In the custom.map file include just the buttons you want overriden and the section they should be included in. Then stop slimserver and restart it.

For example:

[common] - I think this is what the first section is called
now_playing.hold = browse_music

This would override the function when you press and hold the now playing button to then jump to the browse music menu.

You can figure out the names of the various buttons and actions by browsing through the defaul.map file.

Sorry I can't be exact, but I am out of town and don't have access to the actual button names/functions, etc. but you will know what I am talking about when you see it in default.map