mMOD - How to configure the mMOD WWW interface


How to configure the available sessions.
How to configure the TTL scopes in the multicast startup section.

How to configure the available sessions

The sessions in mMOD are configured in two levels:

  1. A top-level files defines the different groups of recordings available. This file is called groups and should reside in the same directory that mMOD was installed in. The format is:

    name desc1 desc2 desc3 .. descX

    where name is the name of the group and the following words until new-line constitute the description of the group. The description can be in plain text or contain HTML. An example of a groups-file can be found here.

  2. Next there is a sessions-file for each group defined in the groups file. The names of these files should be sessions.x where X is the name of the group. For instance, recordings for the movies group should be stored in the sessions.movies.

    The format of the sessions-files are:

    name dir media1 media1_BW media2 media2_BW

    where name is the name of the session,
    dir is the directory containing a directory with the name name which in turn contains the data-files.
    The rest of the line is media-specifications of the format mediaY mediaY_BW.

    An example can be found here.

Back to the documentation page.


How to configure the TTL scopes in the multicast startup section.

The TTL-scopes that are presented in the multicast startup section are defined in a file called scopes and should reside in the same directory that mMOD was installed in.

The first line of the file is origin of the scopes. The text "TTL with origin at" will be prepended to the origin. This is followed by one line per scope in the format:

ttl name
or
ttl default name

where ttl is a number between 1 and 255 and name is any strings until the rest of the line (HTML can be used here). If default equals the second word of the line that TTL-scope will be default checked in the resulting HTML-code.

If the mMOD can not parse the scopes-file it will default to a built in scopes table.

An example scopes-file can be found here.

Back to the documentation page.


Peter Parnes, CDT