Documentation ¶
Overview ¶
Package playlists is the playlist manager of Ludo. In Ludo, playlists are CSV files containing the ROM path, name, and CRC32 checksum. Playlists are kept into memory for fast lookup of entries and deduplication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Playlists = map[string]Playlist{}
Playlists is a map of playlists organized per system.
Functions ¶
Types ¶
type Playlist ¶
type Playlist []PlaylistEntry
Playlist is a list of games, result of scanning for games on the filesystem.
type PlaylistEntry ¶
type PlaylistEntry struct { Path string // Absolute path of the game on the filesystem Name string // Human readable name of the game, comes from the RDB CRC32 uint32 // Checksum of the game, used for deduplication }
PlaylistEntry represents a game in a playlist.
Click to show internal directories.
Click to hide internal directories.