dvdremote

package
v0.8.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package dvdremote plays a disc through the WittyDVD version in use: a helper process for each open disc, behind the interfaces a session uses. When a helper fails the disc stops, with the reason, and opening it again starts a new one.

A helper may be a fork, so nothing it says is taken on trust: see check.go for what is checked, and scramble.go for how the server refuses encrypted discs for itself.

Every call here is made under the session's lock, one at a time, so none of this needs a lock of its own.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opener

type Opener struct {
	M   *modules.Manager
	Log *slog.Logger
}

Opener opens discs for sessions. It is what dvdsession.SetEngine takes.

func (Opener) Analyze

func (o Opener) Analyze(path string) (*dvdsession.Analysis, error)

Analyze has the WittyDVD in use rank a disc's titles, in a helper of its own that ends with the answer. It is what dvdsession.SetAnalyzer takes.

func (Opener) Open

func (o Opener) Open(path string) (*dvdsession.Engine, error)

Open uses a helper of the version in use. Without one, it says which module is missing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL