OverviewAndromeda is highly configurable. To personalize your copy, you use a seperate preference file. Advantages include:Use it to tailor your copy of Andromeda to your needsKeeps your settings when upgrading to the latest versionMakes it easy to troubleshoot These instructions are formatted for the PHP version. To see them formatted for ASP, click here How to make a prefs fileAll you have to do is create a text file named andromedaPrefs.php and save it in the same folder as the Andromeda script. You can create it with any text editor.a sample andromedaPrefs.php file:
<?php | | |
#siteName[tab] | andromeda |
?> | | | |
Note: the leading # is required. It prevents your preferences from being read by a web browser. Download a sample andromedaPrefs.php file (zipped) Each preference is stored on a separate line in the prefs file. The key (the preference you are setting) comes first, followed by a tab, and then the value that you want to set it to. Keys are case sensitive. Finally, don't put a space on either side of the tab.
The example above sets siteName, which Andromeda uses in the menubar and other places.
General Preferences
Network Preferences
ftpPath
if you include a ftpPath, users will see a link to the ftp site entered here.
hostAddress
If your computer's IP address cannot be seen from the Internet you can enter an alternate IP address or host name (including the port if needed) here.
Let's say you want to use the domain name www.mydomain.com. All you need to do is set the hostAddress preference to www.mydomain.com (don't include a leading http:// or trailing /).
Let's say your IP address is 123.123.123.123 and you want to use port 8080. All you need to do is set the hostAddress preference to 123.123.123.123:8080 (again, don't include the leading http:// or trailing /). Alternatively, if you prefer to use a domain name, set hostAddress to www.mydomain.com:8080
mediaWebPath and mediaPhysicalPath
By default Andromeda looks in its folder for your mp3s. If you want Andromeda to look elsewhere, edit both mediaWebPath and mediaPhysicalPath to point to the preferred folder.
This feature is typically used for advanced security. If you simply want to access music stored on a different drive, check out the section on virtual directories in the manual.
A typical setting for mediaWebPath is /mp3s
A typical setting for mediaPhysicalPath is c:\inetpub\wwwroot\mp3s
This is an advanced feature; clear them both to revert to the default behavior.
Image Handling
Other Preferences
customHeader
this puts whatever you want up in the menubar; use html to make it look nice; carriage returns will be removed.
customBlock
this puts whatever you want at the bottom of every folder/file list; use html to make it look nice; carriage returns will be removed.
cBlockSize
Andromeda 1.5 and up
The playlist is stored in the browser's cookies. This setting determines the number of bytes per cookie. A cookie can hold a maximum of 4k (4096 bytes, or characters), but since the playlist will be encoded (and thereby grow longer) it should be set to less than 4k. By default it is set to 3100.
cBlockCount
Andromeda 1.5 and up
The number of cookies used to store the playlist. The maximum size of a playlist is thus cBlockSize * cBlockCount. Unfortunatly for you Apache users, Apache has an incoming limit (DEFAULT_LIMIT_REQUEST_FIELDSIZE) which you probably have set to 8k. So, on the php version, cBlockCount defaults to 2. With the asp version, it defaults to 8.
getID3info
Andromeda 1.7 and up
Activates Andromeda's MP3 ID3 reader for ID3v1, ID3v1.1, and ID3v2 tags (Artist, Album, and Track name). Also determines track length and quality.
skipID3v1
Andromeda 1.7 and up
Tells Andromeda not to scan for the ID3v1 tag. With the ASP version I've set skipID3v1 to default to true (don't scan for ID3v1 tag), as ASP seems quite slow in finding its way to the end of the MP3 file (where the ID3v1 tag is).
fileLinks
Andromeda 1.6.3 and up
Turns off the download links. Turn off both fileLinks and playLinks (see below) for a "view only" site.
playLinks
Andromeda 1.6.3 and up
Turns off the streaming play buttons. Turn off both playLinks and fileLinks (see above) for a "view only" site.
permitPlaylists
Andromeda 1.6.3 and up
Turns off the playlist features.
playSelectionMode
Andromeda 1.9.3.4 and up
{disabled, post, get}
IE6 has a bug that can sometimes affect the use of Andromeda's play selection button (the gray play button down at the bottom -- this issue has no effect on the regular green play buttons).
Specifically, some IE6 installations are unable to submit a FORM via POST and then generate dynamic content.
You can set playSelectionMode to the following values:
disabled - Because IE6 has a large browser share, the play selection button is disabled by default.
post - This is the "right" way for the play selection button to work. Post works fine with most browsers (with the notable exception of some IE6 installs).
get - This overcomes IE6's bug, but can have trouble with longer lists.
cssLinkHref
Andromeda 1.6.3 and up
Inserts <link rel="stylesheet" type="text/css" href="your css file here"> (more css-specific markup coming soon...)
playlistMime
Andromeda 1.6.3 and up
Set to audio/x-pn-realaudio for exclusively Real Media sites.
protocol
Andromeda 1.6.3 and up
Set to rtsp if you are running a proper Real server.
includeHeader
Andromeda 1.7.1 and up
enter the path to an external file to have Andromeda include it just after the <BODY> tag.
Note for the asp version: this only works version 5 & up of the script engine, and the scope of includeHeader is limited to itself - it cannot share information with the main script or the includeFooter, and vice-versa. Note for the php version: this takes an OS path, not a web path. You might also want to check the ini setting of include_path.
if you nest all of andromeda within an enclosing table, that can seriously degrade perceived performance, as the browser will not be able to incrementally write rows, and will instead have to wait for *all* rows to be returned before writing the page.
includeFooter
Andromeda 1.7.1 and up
enter the path to an external file to have Andromeda include it just before the </BODY> tag.
Note for the asp version: this only works version 5 & up of the script engine, and the scope of includeHeader is limited to itself - it cannot share information with the main script or the includeFooter, and vice-versa. Note for the php version: this takes an OS path, not a web path. You might also want to check the ini setting of include_path.
absoluteHeader
Andromeda 1.7.1 and up
just like includeHeader, but your HTML code is stored directly in the preferences file.
if you nest all of andromeda within an enclosing table, that can seriously degrade perceived performance, as the browser will not be able to incrementally write rows, and will instead have to wait for *all* rows to be returned before writing the page.
absoluteFooter
Andromeda 1.7.1 and up
just like includeFooter, but your HTML code is stored directly in the preferences file.
disableHTMLheaders
Andromeda 1.7.1 and up
if you want to include your own <HTML> <HEAD> <TITLE></TITLE> <SCRIPT></SCRIPT> <LINK> </HEAD> <BODY> and </BODY></HTML> tags in your include/absolute header/footer. I don't recommend this one, because: 1) if you also requireLogon, then the redirect after successful logon will not work, and you will have to click to continue after logon, 2) Andromeda will not be able to give dynamic titles your pages.
includeJavascript
Andromeda 1.7.1 and up
includes a .js file in a <SCRIPT src="yourfile.js"></SCRIPT> tag in the header.
folderListInfo
Andromeda 1.7.1 and up
sets the name of the text file andromeda looks for to use in a 'folder list view' annotation. DO NOT include the ".txt" extension. (defaults to _folderListInfo)
folderOpenInfo
Andromeda 1.7.1 and up
sets the name of the text file andromeda looks for to use in a 'folder open view' annotation. DO NOT include the ".txt" extension. (defaults to _folderOpenInfo)
folderListImage
Andromeda 1.7.1 and up
sets the name of the image file andromeda looks for to use in a 'folder list view' annotation. DO NOT include the ".gif" or ".jpg" extension. (defaults to _folderListImage)
folderOpenImage
Andromeda 1.7.1 and up
sets the name of the image file andromeda looks for to use in a 'folder open view' annotation. DO NOT include the ".gif" or ".jpg" extension. (defaults to _folderOpenImage)
folderListImageDims
Andromeda 1.7.1 and up
if you want to hardwire the dimensions of the folderListImage set this to the pixel width,height. for example "128,64" no spaces. (defaults to _folderListImageDims)
folderOpenImageDims
Andromeda 1.7.1 and up
if you want to hardwire the dimensions of the folderOpenImage set this to the pixel width,height. for example "128,64" no spaces. (defaults to _folderOpenImageDims)
skinFile
Andromeda 1.7.1 and up
points andromeda to a skin file. defaults to andromedaSkin.txt
logonFile
Andromeda 1.7.1 and up
points andromeda to a logon file. defaults to andromedaLogons.asp or andromedaLogons.php
includeEXTM3U
Andromeda 1.7.1 and up
tells Andromeda to include #EXTM3U info in the playlists. defaults to false as it is incompatible with some UNIX players, but it is nice with Winamp...your choice...
defaultLanguage
Andromeda 1.8 and up
Lets you choose Andromeda's 'startup' language (default = EN)
AR | Arabic |
BS | Bosanski (Bosnian) |
BG | Bulgarian |
CA | Catala (Catalan) |
CS | Cesky (Czech) |
ZH-cn | Chinese Simplified |
ZH-tw | Chinese Traditional |
DA | Dansk (Danish) |
DE | Deutsch (German) |
ET | Eesti (Estonian) |
EL | Ellinika (Greek) |
EN | English |
ES | Espanol (Spanish) |
FR | Francais (French) |
IS | Íslenska (Icelandic) |
IT | Italiano (Italian) |
JA | Japanese |
|
|
KO | Korean |
HU | Magyar (Hungarian) |
NL | Nederlands (Dutch) |
PL | Polski (Polish) |
NO | Norsk (Norwegian) |
PT | Portugues (Portuguese) |
PT-br | Portugues (Brasil) |
RU | Pycckuu (Russian) |
RO | Romana (Romanian) |
SQ | Shqip (Albanian) |
SL | Slovenscina (Slovenian) |
SK | Slovensky (Slovak) |
SR | Srpski (Serbian) |
FI | Suomi (Finnish) |
SV | Svenska (Swedish) |
TR | Turkce (Turkish) |
VI | Viet Ngu (Vietnamese) |
|
globalAnnotations
Andromeda 1.8 and up
if you have added annotations to your site, but you only want them displayed when a visitor is viewing your site in the defaultLanguage, set this to false. (default = true)
permitTranslation
Andromeda 1.8 and up
if you don't want users to be able to change languages (hides the pull-down menu) set this to false. (default = true)
skipPrefix
Andromeda 1.8 and up
when set, Andromeda will ignore all folders and files whose names begin with the folderSkipPrefix. Defaults to "." in the PHP version.
folderSkipNames
Andromeda 1.8 and up
a list of specific folder names for Andromeda to ignore, defaults to:
"_private,_fpclass,_vti_cnf,_vti_pvt,System Volume Information,_derived,_overlay,RECYCLER,Recycled"
checkboxDefault
Andromeda 1.8 and up
determines whether the checkboxes next to files are checked by default. the default behavior is true. set checkboxDefault to false if you want files unchecked by default.
moduleOnly
Andromeda 1.8.2 and up
If you're running andromeda as a Nuke module and you want to prevent standalone, direct access to the script, set moduleOnly to true. defaults to false
iconSize
Andromeda 1.8.4 and up
If you're running Andromeda on a high-res display, or if you have limited vision, you can increase the icon sizes. Try setting iconSize to an integer (2 or even 3). It defaults to 1.
useExtLogon
Andromeda 1.8.5 and up
Tell Andromeda to use Nuke and phpWebSite authentication. It defaults to false. If you're running Andromeda as a Nuke module, make sure to also set moduleOnly to true.
hideMenubar
Andromeda 1.8.5 and up
Set to true to hide the menubar. It defaults to false.
rootName
Andromeda 1.8.5 and up
Lets you assign an alternate name to the topmost folder.
usePlaylistIcons
Andromeda 1.9 and up
You can revert to the old form buttons by setting usePlaylistIcons to false. If you're using local image files, make sure to download the icons.
maxPlaylistTracks
Andromeda 1.9 and up
Limits the number of tracks returned in a playlist. Defaults to 5000.
timeout
Andromeda 1.9 and up
Sets the maximum script execution time (in seconds). Leave blank to use the system default. In version 1.9 it defaulted to 90, with version 1.9.1 and up it defaults to blank. Note that PHP installations running in "safe mode" will report an error if you attempt to set the timeout.
logonMessage
Andromeda 1.9.2 and up
displays a message on Andromeda's logon screen (if you're using it)
compactSearch
Andromeda 1.9.2 and up
Set it to true to simplify the search box. Note, however, that the default 'split' search (ie compactSearch is false) can improve performance.
vbrScanCount, vbrSkipCount, cbrCutoff
fileCount
Andromeda 1.9.3 and up
Adds track numbers to file listings.
fileCountWidth
Andromeda 1.9.3 and up
Sets the amount of horizontal space allocated for the track numbers. Defaults to 20 (pixels).
hidePoweredby
Andromeda 1.9.3 and up (not available with free evaluation)
Hides the 'Powered by' link at the bottom.
hideMetasearch
Andromeda 1.9.3 and up (not available with free evaluation)
Hides the 'Metasearch' link.
|