Header menu logo Xanthos

MovieType Module

Functions for working with MovieType values.

Functions and values

Function or value Description

fromCode code

Full Usage: fromCode code

Parameters:
    code : string - The two-digit code string.

Returns: MovieType The corresponding MovieType, or CustomMovieType for unrecognized codes.

Creates a MovieType from a two-digit JV-Link code.

code : string

The two-digit code string.

Returns: MovieType

The corresponding MovieType, or CustomMovieType for unrecognized codes.

isWorkoutType _arg1

Full Usage: isWorkoutType _arg1

Parameters:
Returns: bool True if this is a workout video type (codes starting with "1").

Determines if a MovieType is a workout (調教) video type.

_arg1 : MovieType
Returns: bool

True if this is a workout video type (codes starting with "1").

toCode _arg1

Full Usage: toCode _arg1

Parameters:
Returns: string The two-digit code string.

Converts a MovieType to its two-digit JV-Link code.

_arg1 : MovieType
Returns: string

The two-digit code string.

Type something to start searching.