emby

package
v4.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	driver.RootID
	URL        string `json:"url" required:"true"`
	ApiKey     string `json:"api_key"`
	UserID     string `json:"user_id"`
	Username   string `json:"username"`
	Password   string `json:"password"`
	LinkMethod string `json:"link_method" type:"select" options:"stream,download" default:"stream"`
}

type Emby

type Emby struct {
	model.Storage
	Addition
	// contains filtered or unexported fields
}

func (*Emby) Config

func (d *Emby) Config() driver.Config

func (*Emby) Drop

func (d *Emby) Drop(ctx context.Context) error

func (*Emby) GetAddition

func (d *Emby) GetAddition() driver.Additional

func (*Emby) Init

func (d *Emby) Init(ctx context.Context) error
func (d *Emby) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)

func (*Emby) List

func (d *Emby) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)

Jump to

Keyboard shortcuts

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