This page is out of date! Information moved here: WIKI
file: mok.ini
Last
update:
This
information is for v2.3.2+.
Older information for v2.3.0
and v2.3.1 here.
This
file includes the main settings for MokCC. All MokCC information is
saved in to simple text format. To edit these, use a text editor you
like. When configuring MokCC the
first time, you need only to change path settings in
[media section] to get started.
The
file is divided in to sections.
-
[MOK] section has all the basic
parameters
- [PLAYERS] section
has the paths to the players you're using.
- [PLUGIN]
section as the name says, tells MokCC which plugins are to be loaded
when MokCC starts. These plugins can be anything from user interfaces
to external applications. You can create your own plugins with the
SDK (link not available yet).
- [media
section] defines the paths, filetypes and the player that
is to be used when playing certain types of video or audio. It can be
named as anything (eg. [MP3]).
- [CORE]
section includes all the extra, fun and undocumented features you can
do with MokCC: This is only for the advanced users.
Section: [MOK]
|
Section / parameter |
Description |
|
[MOK] |
This is the main section. |
|
Username |
User name of the owner of this copy of MOK.ini. Currently not used; it's free! Username=Jorma Koski |
|
Code |
Registration code received from MOK developers. Currently not used; it's free! Code=12345676543 |
|
CoverPath |
Path
where your covers (cd/dvd/movie) are saved. |
|
CoverType |
The types
of images that are to considered as
covers. |
|
Theme |
The theme
to use. More about themes, see <xxx> |
Section: [PLUGIN]
|
This section defines the plugins that are loaded and used by MokCC. |
|
|
path\plugin.dll |
The path
and name of a plugin to load.
|
Section: [PLAYERS]
|
This section defines the players that MokCC can use. In most cases it is a 3rd party player that is supported by MokCC itself. It is also possible to create an external player plugin (eg. videolan player plugin). More information on players here. |
|
|
eugene |
path\station.exe (eg. .\eugene's dvd player\station.exe |
|
hplus |
path\station.exe |
|
goatcd |
path\goatcd.exe |
|
winamp |
path\winamp.exe |
|
zoomplayer |
path\zplayer.exe |
|
bsplayer |
path\bsplay.exe (currently not supported) |
|
playerplugin |
path\playerplugin.dll |
Section: [MEDIA]
|
A media section defines where MokCC looks for music, movies and other (media)files. There are some default sections that all themes use (MP3, MOVIE, DVD, CDAUDIO), but nothing limits you to define |
|
|
[identifier] |
Identifier of the section. The identifier can be anything. The identifier is the reference for user interfaces. See also building themes (tbd). [MP3] |
|
db |
Path and name of the file which includes the media database. For information on how to configure your own database, see here. You can have all of them in one file or split to multiple files. db=.\db\db.ini |
|
path |
Path
where your media is found. The scan routine will start from this
directory and go through all sub-directories. Multiple paths can
be added with a separator ‘;’. path=C:\mp3\ |
|
type |
The
types of files that are to be identified as media. Multiple
entries can be added with a separator ';'. Media can be in
optical drive or HDD directories. type=*.mp3;*.ogg |
|
plr_id |
The
identifier for the player to use. You can configure any player to
play any type of media. Notice thought that the chosen player
might not know how to do it (eg. cd audio player can't play
DVD-movies). plr_id=winamp |
Examples
of [media sections]
|
#
Section tag for MP3 play. The name can be anything. |
Section: [CORE]
This section is only for the professionals.
|
[CORE] |
Sectiong tag |
|
X |
X/Y
coordinate (Left/Top) for MokCC form. Use this to hide MokCC from
screen. |
|
BrowseTime |
BrowseTime is the amount of
seconds to wait before a browsed list (eg. a long mp3 list)
returns to the currently played position in the
list. BrowseTime=10 |
|
ZoomPlayerSecondsToSkip |
Amount of seconds to Fast forward or rewind when kFwd or kRwd is pressed. Works only with Zoomplayer. ZoomPlayerSecondsToSkip=30 |
|
ZoomPlayerSecondsToJump |
Amount of seconds to move forward or backward when kNext or kPrev is pressed. Works only with Zoomplayer. ZoomPlayerSecondsToJump=150 |
|
PlayerLoadRetry |
Amount of tries to try to load a player before reporting an error. PlayerLoadRetry=20 |
|
CycleTimeOrig |
The default cycle time for MokCC. Everything happens in MokCC in this cycletime; calling dll's, updating lists, etc. CycleTimeOrig=1000 |
|
ErrorWaitTime |
Amount of seconds to wait before an error screen automatically presses kStop making MokCC to return to previous state. ErrorWaitTime=10 |
|
SubTitleFilter |
MokCC can search for
subtitles to be included in it's playlist information. Depending
on the player, this information is passed to it as a parameter
thus resulting in automatic subtitle activation. SubTitleFilter=*.sub;*.srt;*.txt |
|
DebugLevel |
There are three debuglevel
settings for MokCC. DebugLevel=0 |
|
A lot of more parameters here |
|