Documentation
¶
Index ¶
- type Addition
- type Emby
- func (d *Emby) Config() driver.Config
- func (d *Emby) Drop(ctx context.Context) error
- func (d *Emby) GetAddition() driver.Additional
- 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 (d *Emby) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)
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 ¶
func (*Emby) GetAddition ¶
func (d *Emby) GetAddition() driver.Additional
Click to show internal directories.
Click to hide internal directories.