Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusReady DriveStatus = "Ready" StatusReading = "Reading" StatusMkv = "Mkv" StatusEmpty = "Empty" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscDatabase ¶
type DiscDatabase interface { GetDiscInfo(string) (info *makemkv.DiscInfo, ok bool) SaveDiscInfo(string, *makemkv.DiscInfo) error }
func NewJsonDiscDatabase ¶
func NewJsonDiscDatabase(file string) DiscDatabase
type DriveManager ¶
type DriveManager interface { Eject() error GetDiscInfo() (*makemkv.DiscInfo, error) GetDisc() *Disc HasDisc() bool Start() error Stop() error Status() DriveStatus RipFile(title *makemkv.TitleInfo, outdir string, outchan chan makemkv.Status) (*model.MkvFile, error) }
func NewUdevDriveManager ¶
func NewUdevDriveManager(onDisc func(DriveManager)) DriveManager
type DriveStatus ¶
type DriveStatus string
Click to show internal directories.
Click to hide internal directories.