emby

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Emby_Login_FullMethodName                  = "/api.emby.Emby/Login"
	Emby_Me_FullMethodName                     = "/api.emby.Emby/Me"
	Emby_GetItems_FullMethodName               = "/api.emby.Emby/GetItems"
	Emby_GetItem_FullMethodName                = "/api.emby.Emby/GetItem"
	Emby_GetSystemInfo_FullMethodName          = "/api.emby.Emby/GetSystemInfo"
	Emby_FsList_FullMethodName                 = "/api.emby.Emby/FsList"
	Emby_Logout_FullMethodName                 = "/api.emby.Emby/Logout"
	Emby_PlaybackInfo_FullMethodName           = "/api.emby.Emby/PlaybackInfo"
	Emby_DeleteActiveEncodeings_FullMethodName = "/api.emby.Emby/DeleteActiveEncodeings"
)
View Source
const OperationEmbyDeleteActiveEncodeings = "/api.emby.Emby/DeleteActiveEncodeings"
View Source
const OperationEmbyFsList = "/api.emby.Emby/FsList"
View Source
const OperationEmbyGetItem = "/api.emby.Emby/GetItem"
View Source
const OperationEmbyGetItems = "/api.emby.Emby/GetItems"
View Source
const OperationEmbyGetSystemInfo = "/api.emby.Emby/GetSystemInfo"
View Source
const OperationEmbyLogin = "/api.emby.Emby/Login"
View Source
const OperationEmbyLogout = "/api.emby.Emby/Logout"
View Source
const OperationEmbyMe = "/api.emby.Emby/Me"
View Source
const OperationEmbyPlaybackInfo = "/api.emby.Emby/PlaybackInfo"

Variables

View Source
var Emby_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.emby.Emby",
	HandlerType: (*EmbyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _Emby_Login_Handler,
		},
		{
			MethodName: "Me",
			Handler:    _Emby_Me_Handler,
		},
		{
			MethodName: "GetItems",
			Handler:    _Emby_GetItems_Handler,
		},
		{
			MethodName: "GetItem",
			Handler:    _Emby_GetItem_Handler,
		},
		{
			MethodName: "GetSystemInfo",
			Handler:    _Emby_GetSystemInfo_Handler,
		},
		{
			MethodName: "FsList",
			Handler:    _Emby_FsList_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _Emby_Logout_Handler,
		},
		{
			MethodName: "PlaybackInfo",
			Handler:    _Emby_PlaybackInfo_Handler,
		},
		{
			MethodName: "DeleteActiveEncodeings",
			Handler:    _Emby_DeleteActiveEncodeings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "emby/emby.proto",
}

Emby_ServiceDesc is the grpc.ServiceDesc for Emby service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_emby_emby_proto protoreflect.FileDescriptor

Functions

func RegisterEmbyHTTPServer

func RegisterEmbyHTTPServer(s *http.Server, srv EmbyHTTPServer)

func RegisterEmbyServer

func RegisterEmbyServer(s grpc.ServiceRegistrar, srv EmbyServer)

Types

type DeleteActiveEncodeingsReq added in v0.3.3

type DeleteActiveEncodeingsReq struct {
	Host          string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token         string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	PalySessionId string `protobuf:"bytes,3,opt,name=palySessionId,proto3" json:"palySessionId,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteActiveEncodeingsReq) Descriptor deprecated added in v0.3.3

func (*DeleteActiveEncodeingsReq) Descriptor() ([]byte, []int)

Deprecated: Use DeleteActiveEncodeingsReq.ProtoReflect.Descriptor instead.

func (*DeleteActiveEncodeingsReq) GetHost added in v0.3.3

func (x *DeleteActiveEncodeingsReq) GetHost() string

func (*DeleteActiveEncodeingsReq) GetPalySessionId added in v0.3.3

func (x *DeleteActiveEncodeingsReq) GetPalySessionId() string

func (*DeleteActiveEncodeingsReq) GetToken added in v0.3.3

func (x *DeleteActiveEncodeingsReq) GetToken() string

func (*DeleteActiveEncodeingsReq) ProtoMessage added in v0.3.3

func (*DeleteActiveEncodeingsReq) ProtoMessage()

func (*DeleteActiveEncodeingsReq) ProtoReflect added in v0.3.3

func (*DeleteActiveEncodeingsReq) Reset added in v0.3.3

func (x *DeleteActiveEncodeingsReq) Reset()

func (*DeleteActiveEncodeingsReq) String added in v0.3.3

func (x *DeleteActiveEncodeingsReq) String() string

type EmbyClient

type EmbyClient interface {
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	Me(ctx context.Context, in *MeReq, opts ...grpc.CallOption) (*MeResp, error)
	GetItems(ctx context.Context, in *GetItemsReq, opts ...grpc.CallOption) (*GetItemsResp, error)
	GetItem(ctx context.Context, in *GetItemReq, opts ...grpc.CallOption) (*Item, error)
	GetSystemInfo(ctx context.Context, in *SystemInfoReq, opts ...grpc.CallOption) (*SystemInfoResp, error)
	FsList(ctx context.Context, in *FsListReq, opts ...grpc.CallOption) (*FsListResp, error)
	Logout(ctx context.Context, in *LogoutReq, opts ...grpc.CallOption) (*Empty, error)
	PlaybackInfo(ctx context.Context, in *PlaybackInfoReq, opts ...grpc.CallOption) (*PlaybackInfoResp, error)
	DeleteActiveEncodeings(ctx context.Context, in *DeleteActiveEncodeingsReq, opts ...grpc.CallOption) (*Empty, error)
}

EmbyClient is the client API for Emby service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEmbyClient

func NewEmbyClient(cc grpc.ClientConnInterface) EmbyClient

type EmbyHTTPClient

type EmbyHTTPClient interface {
	DeleteActiveEncodeings(ctx context.Context, req *DeleteActiveEncodeingsReq, opts ...http.CallOption) (rsp *Empty, err error)
	FsList(ctx context.Context, req *FsListReq, opts ...http.CallOption) (rsp *FsListResp, err error)
	GetItem(ctx context.Context, req *GetItemReq, opts ...http.CallOption) (rsp *Item, err error)
	GetItems(ctx context.Context, req *GetItemsReq, opts ...http.CallOption) (rsp *GetItemsResp, err error)
	GetSystemInfo(ctx context.Context, req *SystemInfoReq, opts ...http.CallOption) (rsp *SystemInfoResp, err error)
	Login(ctx context.Context, req *LoginReq, opts ...http.CallOption) (rsp *LoginResp, err error)
	Logout(ctx context.Context, req *LogoutReq, opts ...http.CallOption) (rsp *Empty, err error)
	Me(ctx context.Context, req *MeReq, opts ...http.CallOption) (rsp *MeResp, err error)
	PlaybackInfo(ctx context.Context, req *PlaybackInfoReq, opts ...http.CallOption) (rsp *PlaybackInfoResp, err error)
}

func NewEmbyHTTPClient

func NewEmbyHTTPClient(client *http.Client) EmbyHTTPClient

type EmbyHTTPClientImpl

type EmbyHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*EmbyHTTPClientImpl) DeleteActiveEncodeings added in v0.3.3

func (c *EmbyHTTPClientImpl) DeleteActiveEncodeings(ctx context.Context, in *DeleteActiveEncodeingsReq, opts ...http.CallOption) (*Empty, error)

func (*EmbyHTTPClientImpl) FsList

func (c *EmbyHTTPClientImpl) FsList(ctx context.Context, in *FsListReq, opts ...http.CallOption) (*FsListResp, error)

func (*EmbyHTTPClientImpl) GetItem

func (c *EmbyHTTPClientImpl) GetItem(ctx context.Context, in *GetItemReq, opts ...http.CallOption) (*Item, error)

func (*EmbyHTTPClientImpl) GetItems

func (c *EmbyHTTPClientImpl) GetItems(ctx context.Context, in *GetItemsReq, opts ...http.CallOption) (*GetItemsResp, error)

func (*EmbyHTTPClientImpl) GetSystemInfo

func (c *EmbyHTTPClientImpl) GetSystemInfo(ctx context.Context, in *SystemInfoReq, opts ...http.CallOption) (*SystemInfoResp, error)

func (*EmbyHTTPClientImpl) Login

func (c *EmbyHTTPClientImpl) Login(ctx context.Context, in *LoginReq, opts ...http.CallOption) (*LoginResp, error)

func (*EmbyHTTPClientImpl) Logout added in v0.3.2

func (c *EmbyHTTPClientImpl) Logout(ctx context.Context, in *LogoutReq, opts ...http.CallOption) (*Empty, error)

func (*EmbyHTTPClientImpl) Me

func (c *EmbyHTTPClientImpl) Me(ctx context.Context, in *MeReq, opts ...http.CallOption) (*MeResp, error)

func (*EmbyHTTPClientImpl) PlaybackInfo added in v0.3.3

func (c *EmbyHTTPClientImpl) PlaybackInfo(ctx context.Context, in *PlaybackInfoReq, opts ...http.CallOption) (*PlaybackInfoResp, error)

type EmbyServer

type EmbyServer interface {
	Login(context.Context, *LoginReq) (*LoginResp, error)
	Me(context.Context, *MeReq) (*MeResp, error)
	GetItems(context.Context, *GetItemsReq) (*GetItemsResp, error)
	GetItem(context.Context, *GetItemReq) (*Item, error)
	GetSystemInfo(context.Context, *SystemInfoReq) (*SystemInfoResp, error)
	FsList(context.Context, *FsListReq) (*FsListResp, error)
	Logout(context.Context, *LogoutReq) (*Empty, error)
	PlaybackInfo(context.Context, *PlaybackInfoReq) (*PlaybackInfoResp, error)
	DeleteActiveEncodeings(context.Context, *DeleteActiveEncodeingsReq) (*Empty, error)
	// contains filtered or unexported methods
}

EmbyServer is the server API for Emby service. All implementations must embed UnimplementedEmbyServer for forward compatibility

type Empty added in v0.3.2

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated added in v0.3.2

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage added in v0.3.2

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect added in v0.3.2

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset added in v0.3.2

func (x *Empty) Reset()

func (*Empty) String added in v0.3.2

func (x *Empty) String() string

type FsListReq

type FsListReq struct {
	Host       string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token      string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Path       string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	StartIndex uint64 `protobuf:"varint,4,opt,name=startIndex,proto3" json:"startIndex,omitempty"`
	Limit      uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	SearchTerm string `protobuf:"bytes,6,opt,name=searchTerm,proto3" json:"searchTerm,omitempty"`
	UserId     string `protobuf:"bytes,7,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*FsListReq) Descriptor deprecated

func (*FsListReq) Descriptor() ([]byte, []int)

Deprecated: Use FsListReq.ProtoReflect.Descriptor instead.

func (*FsListReq) GetHost

func (x *FsListReq) GetHost() string

func (*FsListReq) GetLimit

func (x *FsListReq) GetLimit() uint64

func (*FsListReq) GetPath

func (x *FsListReq) GetPath() string

func (*FsListReq) GetSearchTerm added in v0.3.2

func (x *FsListReq) GetSearchTerm() string

func (*FsListReq) GetStartIndex

func (x *FsListReq) GetStartIndex() uint64

func (*FsListReq) GetToken

func (x *FsListReq) GetToken() string

func (*FsListReq) GetUserId added in v0.3.3

func (x *FsListReq) GetUserId() string

func (*FsListReq) ProtoMessage

func (*FsListReq) ProtoMessage()

func (*FsListReq) ProtoReflect

func (x *FsListReq) ProtoReflect() protoreflect.Message

func (*FsListReq) Reset

func (x *FsListReq) Reset()

func (*FsListReq) String

func (x *FsListReq) String() string

type FsListResp

type FsListResp struct {
	Paths []*Path `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	Items []*Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	Total uint64  `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*FsListResp) Descriptor deprecated

func (*FsListResp) Descriptor() ([]byte, []int)

Deprecated: Use FsListResp.ProtoReflect.Descriptor instead.

func (*FsListResp) GetItems

func (x *FsListResp) GetItems() []*Item

func (*FsListResp) GetPaths

func (x *FsListResp) GetPaths() []*Path

func (*FsListResp) GetTotal

func (x *FsListResp) GetTotal() uint64

func (*FsListResp) ProtoMessage

func (*FsListResp) ProtoMessage()

func (*FsListResp) ProtoReflect

func (x *FsListResp) ProtoReflect() protoreflect.Message

func (*FsListResp) Reset

func (x *FsListResp) Reset()

func (*FsListResp) String

func (x *FsListResp) String() string

type GetItemReq

type GetItemReq struct {
	Host   string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token  string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	ItemId string `protobuf:"bytes,3,opt,name=itemId,proto3" json:"itemId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetItemReq) Descriptor deprecated

func (*GetItemReq) Descriptor() ([]byte, []int)

Deprecated: Use GetItemReq.ProtoReflect.Descriptor instead.

func (*GetItemReq) GetHost

func (x *GetItemReq) GetHost() string

func (*GetItemReq) GetItemId

func (x *GetItemReq) GetItemId() string

func (*GetItemReq) GetToken

func (x *GetItemReq) GetToken() string

func (*GetItemReq) ProtoMessage

func (*GetItemReq) ProtoMessage()

func (*GetItemReq) ProtoReflect

func (x *GetItemReq) ProtoReflect() protoreflect.Message

func (*GetItemReq) Reset

func (x *GetItemReq) Reset()

func (*GetItemReq) String

func (x *GetItemReq) String() string

type GetItemsReq

type GetItemsReq struct {
	Host       string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token      string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	ParentId   string `protobuf:"bytes,3,opt,name=parentId,proto3" json:"parentId,omitempty"`
	SearchTerm string `protobuf:"bytes,4,opt,name=searchTerm,proto3" json:"searchTerm,omitempty"`
	UserId     string `protobuf:"bytes,5,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetItemsReq) Descriptor deprecated

func (*GetItemsReq) Descriptor() ([]byte, []int)

Deprecated: Use GetItemsReq.ProtoReflect.Descriptor instead.

func (*GetItemsReq) GetHost

func (x *GetItemsReq) GetHost() string

func (*GetItemsReq) GetParentId

func (x *GetItemsReq) GetParentId() string

func (*GetItemsReq) GetSearchTerm added in v0.3.2

func (x *GetItemsReq) GetSearchTerm() string

func (*GetItemsReq) GetToken

func (x *GetItemsReq) GetToken() string

func (*GetItemsReq) GetUserId added in v0.3.3

func (x *GetItemsReq) GetUserId() string

func (*GetItemsReq) ProtoMessage

func (*GetItemsReq) ProtoMessage()

func (*GetItemsReq) ProtoReflect

func (x *GetItemsReq) ProtoReflect() protoreflect.Message

func (*GetItemsReq) Reset

func (x *GetItemsReq) Reset()

func (*GetItemsReq) String

func (x *GetItemsReq) String() string

type GetItemsResp

type GetItemsResp struct {
	Items            []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	TotalRecordCount uint64  `protobuf:"varint,2,opt,name=totalRecordCount,proto3" json:"totalRecordCount,omitempty"`
	// contains filtered or unexported fields
}

func (*GetItemsResp) Descriptor deprecated

func (*GetItemsResp) Descriptor() ([]byte, []int)

Deprecated: Use GetItemsResp.ProtoReflect.Descriptor instead.

func (*GetItemsResp) GetItems

func (x *GetItemsResp) GetItems() []*Item

func (*GetItemsResp) GetTotalRecordCount

func (x *GetItemsResp) GetTotalRecordCount() uint64

func (*GetItemsResp) ProtoMessage

func (*GetItemsResp) ProtoMessage()

func (*GetItemsResp) ProtoReflect

func (x *GetItemsResp) ProtoReflect() protoreflect.Message

func (*GetItemsResp) Reset

func (x *GetItemsResp) Reset()

func (*GetItemsResp) String

func (x *GetItemsResp) String() string

type Item

type Item struct {
	Name            string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Id              string             `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Type            string             `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	ParentId        string             `protobuf:"bytes,4,opt,name=parentId,proto3" json:"parentId,omitempty"`
	SeriesName      string             `protobuf:"bytes,5,opt,name=seriesName,proto3" json:"seriesName,omitempty"`
	SeriesId        string             `protobuf:"bytes,6,opt,name=seriesId,proto3" json:"seriesId,omitempty"`
	SeasonName      string             `protobuf:"bytes,7,opt,name=seasonName,proto3" json:"seasonName,omitempty"`
	SeasonId        string             `protobuf:"bytes,8,opt,name=seasonId,proto3" json:"seasonId,omitempty"`
	IsFolder        bool               `protobuf:"varint,9,opt,name=isFolder,proto3" json:"isFolder,omitempty"`
	MediaSourceInfo []*MediaSourceInfo `protobuf:"bytes,10,rep,name=mediaSourceInfo,proto3" json:"mediaSourceInfo,omitempty"`
	CollectionType  string             `protobuf:"bytes,11,opt,name=collectionType,proto3" json:"collectionType,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

func (*Item) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetCollectionType added in v0.3.2

func (x *Item) GetCollectionType() string

func (*Item) GetId

func (x *Item) GetId() string

func (*Item) GetIsFolder

func (x *Item) GetIsFolder() bool

func (*Item) GetMediaSourceInfo

func (x *Item) GetMediaSourceInfo() []*MediaSourceInfo

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) GetParentId

func (x *Item) GetParentId() string

func (*Item) GetSeasonId

func (x *Item) GetSeasonId() string

func (*Item) GetSeasonName

func (x *Item) GetSeasonName() string

func (*Item) GetSeriesId

func (x *Item) GetSeriesId() string

func (*Item) GetSeriesName

func (x *Item) GetSeriesName() string

func (*Item) GetType

func (x *Item) GetType() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

func (x *Item) ProtoReflect() protoreflect.Message

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type LoginReq

type LoginReq struct {
	Host     string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginReq) Descriptor deprecated

func (*LoginReq) Descriptor() ([]byte, []int)

Deprecated: Use LoginReq.ProtoReflect.Descriptor instead.

func (*LoginReq) GetHost

func (x *LoginReq) GetHost() string

func (*LoginReq) GetPassword

func (x *LoginReq) GetPassword() string

func (*LoginReq) GetUsername

func (x *LoginReq) GetUsername() string

func (*LoginReq) ProtoMessage

func (*LoginReq) ProtoMessage()

func (*LoginReq) ProtoReflect

func (x *LoginReq) ProtoReflect() protoreflect.Message

func (*LoginReq) Reset

func (x *LoginReq) Reset()

func (*LoginReq) String

func (x *LoginReq) String() string

type LoginResp

type LoginResp struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	UserId   string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty"`
	ServerId string `protobuf:"bytes,3,opt,name=serverId,proto3" json:"serverId,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResp) Descriptor deprecated

func (*LoginResp) Descriptor() ([]byte, []int)

Deprecated: Use LoginResp.ProtoReflect.Descriptor instead.

func (*LoginResp) GetServerId added in v0.3.2

func (x *LoginResp) GetServerId() string

func (*LoginResp) GetToken

func (x *LoginResp) GetToken() string

func (*LoginResp) GetUserId

func (x *LoginResp) GetUserId() string

func (*LoginResp) ProtoMessage

func (*LoginResp) ProtoMessage()

func (*LoginResp) ProtoReflect

func (x *LoginResp) ProtoReflect() protoreflect.Message

func (*LoginResp) Reset

func (x *LoginResp) Reset()

func (*LoginResp) String

func (x *LoginResp) String() string

type LogoutReq added in v0.3.2

type LogoutReq struct {
	Host  string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutReq) Descriptor deprecated added in v0.3.2

func (*LogoutReq) Descriptor() ([]byte, []int)

Deprecated: Use LogoutReq.ProtoReflect.Descriptor instead.

func (*LogoutReq) GetHost added in v0.3.2

func (x *LogoutReq) GetHost() string

func (*LogoutReq) GetToken added in v0.3.2

func (x *LogoutReq) GetToken() string

func (*LogoutReq) ProtoMessage added in v0.3.2

func (*LogoutReq) ProtoMessage()

func (*LogoutReq) ProtoReflect added in v0.3.2

func (x *LogoutReq) ProtoReflect() protoreflect.Message

func (*LogoutReq) Reset added in v0.3.2

func (x *LogoutReq) Reset()

func (*LogoutReq) String added in v0.3.2

func (x *LogoutReq) String() string

type MeReq

type MeReq struct {
	Host   string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token  string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	UserId string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

func (*MeReq) Descriptor deprecated

func (*MeReq) Descriptor() ([]byte, []int)

Deprecated: Use MeReq.ProtoReflect.Descriptor instead.

func (*MeReq) GetHost

func (x *MeReq) GetHost() string

func (*MeReq) GetToken

func (x *MeReq) GetToken() string

func (*MeReq) GetUserId

func (x *MeReq) GetUserId() string

func (*MeReq) ProtoMessage

func (*MeReq) ProtoMessage()

func (*MeReq) ProtoReflect

func (x *MeReq) ProtoReflect() protoreflect.Message

func (*MeReq) Reset

func (x *MeReq) Reset()

func (*MeReq) String

func (x *MeReq) String() string

type MeResp

type MeResp struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ServerId string `protobuf:"bytes,3,opt,name=serverId,proto3" json:"serverId,omitempty"`
	// contains filtered or unexported fields
}

func (*MeResp) Descriptor deprecated

func (*MeResp) Descriptor() ([]byte, []int)

Deprecated: Use MeResp.ProtoReflect.Descriptor instead.

func (*MeResp) GetId

func (x *MeResp) GetId() string

func (*MeResp) GetName

func (x *MeResp) GetName() string

func (*MeResp) GetServerId

func (x *MeResp) GetServerId() string

func (*MeResp) ProtoMessage

func (*MeResp) ProtoMessage()

func (*MeResp) ProtoReflect

func (x *MeResp) ProtoReflect() protoreflect.Message

func (*MeResp) Reset

func (x *MeResp) Reset()

func (*MeResp) String

func (x *MeResp) String() string

type MediaSourceInfo

type MediaSourceInfo struct {
	Id                         string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                       string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Path                       string             `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Container                  string             `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"`
	Protocol                   string             `protobuf:"bytes,5,opt,name=protocol,proto3" json:"protocol,omitempty"`
	DefaultSubtitleStreamIndex int64              `protobuf:"varint,6,opt,name=defaultSubtitleStreamIndex,proto3" json:"defaultSubtitleStreamIndex,omitempty"`
	DefaultAudioStreamIndex    int64              `protobuf:"varint,7,opt,name=defaultAudioStreamIndex,proto3" json:"defaultAudioStreamIndex,omitempty"`
	MediaStreamInfo            []*MediaStreamInfo `protobuf:"bytes,8,rep,name=mediaStreamInfo,proto3" json:"mediaStreamInfo,omitempty"`
	DirectPlayUrl              string             `protobuf:"bytes,9,opt,name=directPlayUrl,proto3" json:"directPlayUrl,omitempty"`
	TranscodingUrl             string             `protobuf:"bytes,10,opt,name=transcodingUrl,proto3" json:"transcodingUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*MediaSourceInfo) Descriptor deprecated

func (*MediaSourceInfo) Descriptor() ([]byte, []int)

Deprecated: Use MediaSourceInfo.ProtoReflect.Descriptor instead.

func (*MediaSourceInfo) GetContainer

func (x *MediaSourceInfo) GetContainer() string

func (*MediaSourceInfo) GetDefaultAudioStreamIndex

func (x *MediaSourceInfo) GetDefaultAudioStreamIndex() int64

func (*MediaSourceInfo) GetDefaultSubtitleStreamIndex

func (x *MediaSourceInfo) GetDefaultSubtitleStreamIndex() int64

func (*MediaSourceInfo) GetDirectPlayUrl added in v0.3.3

func (x *MediaSourceInfo) GetDirectPlayUrl() string

func (*MediaSourceInfo) GetId

func (x *MediaSourceInfo) GetId() string

func (*MediaSourceInfo) GetMediaStreamInfo

func (x *MediaSourceInfo) GetMediaStreamInfo() []*MediaStreamInfo

func (*MediaSourceInfo) GetName

func (x *MediaSourceInfo) GetName() string

func (*MediaSourceInfo) GetPath

func (x *MediaSourceInfo) GetPath() string

func (*MediaSourceInfo) GetProtocol

func (x *MediaSourceInfo) GetProtocol() string

func (*MediaSourceInfo) GetTranscodingUrl added in v0.3.3

func (x *MediaSourceInfo) GetTranscodingUrl() string

func (*MediaSourceInfo) ProtoMessage

func (*MediaSourceInfo) ProtoMessage()

func (*MediaSourceInfo) ProtoReflect

func (x *MediaSourceInfo) ProtoReflect() protoreflect.Message

func (*MediaSourceInfo) Reset

func (x *MediaSourceInfo) Reset()

func (*MediaSourceInfo) String

func (x *MediaSourceInfo) String() string

type MediaStreamInfo

type MediaStreamInfo struct {
	Codec           string `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"`
	Language        string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"`
	Type            string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Title           string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	DisplayTitle    string `protobuf:"bytes,5,opt,name=displayTitle,proto3" json:"displayTitle,omitempty"`
	DisplayLanguage string `protobuf:"bytes,6,opt,name=displayLanguage,proto3" json:"displayLanguage,omitempty"`
	IsDefault       bool   `protobuf:"varint,7,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
	Index           uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"`
	Protocol        string `protobuf:"bytes,9,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*MediaStreamInfo) Descriptor deprecated

func (*MediaStreamInfo) Descriptor() ([]byte, []int)

Deprecated: Use MediaStreamInfo.ProtoReflect.Descriptor instead.

func (*MediaStreamInfo) GetCodec

func (x *MediaStreamInfo) GetCodec() string

func (*MediaStreamInfo) GetDisplayLanguage

func (x *MediaStreamInfo) GetDisplayLanguage() string

func (*MediaStreamInfo) GetDisplayTitle

func (x *MediaStreamInfo) GetDisplayTitle() string

func (*MediaStreamInfo) GetIndex

func (x *MediaStreamInfo) GetIndex() uint64

func (*MediaStreamInfo) GetIsDefault

func (x *MediaStreamInfo) GetIsDefault() bool

func (*MediaStreamInfo) GetLanguage

func (x *MediaStreamInfo) GetLanguage() string

func (*MediaStreamInfo) GetProtocol

func (x *MediaStreamInfo) GetProtocol() string

func (*MediaStreamInfo) GetTitle

func (x *MediaStreamInfo) GetTitle() string

func (*MediaStreamInfo) GetType

func (x *MediaStreamInfo) GetType() string

func (*MediaStreamInfo) ProtoMessage

func (*MediaStreamInfo) ProtoMessage()

func (*MediaStreamInfo) ProtoReflect

func (x *MediaStreamInfo) ProtoReflect() protoreflect.Message

func (*MediaStreamInfo) Reset

func (x *MediaStreamInfo) Reset()

func (*MediaStreamInfo) String

func (x *MediaStreamInfo) String() string

type Path

type Path struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Path) Descriptor deprecated

func (*Path) Descriptor() ([]byte, []int)

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (*Path) GetName

func (x *Path) GetName() string

func (*Path) GetPath

func (x *Path) GetPath() string

func (*Path) ProtoMessage

func (*Path) ProtoMessage()

func (*Path) ProtoReflect

func (x *Path) ProtoReflect() protoreflect.Message

func (*Path) Reset

func (x *Path) Reset()

func (*Path) String

func (x *Path) String() string

type PlaybackInfoReq added in v0.3.3

type PlaybackInfoReq struct {
	Host                string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token               string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	UserId              string `protobuf:"bytes,3,opt,name=userId,proto3" json:"userId,omitempty"`
	ItemId              string `protobuf:"bytes,4,opt,name=itemId,proto3" json:"itemId,omitempty"`
	MediaSourceId       string `protobuf:"bytes,5,opt,name=mediaSourceId,proto3" json:"mediaSourceId,omitempty"`
	AudioStreamIndex    int32  `protobuf:"varint,6,opt,name=audioStreamIndex,proto3" json:"audioStreamIndex,omitempty"`
	SubtitleStreamIndex int32  `protobuf:"varint,7,opt,name=subtitleStreamIndex,proto3" json:"subtitleStreamIndex,omitempty"`
	MaxStreamingBitrate int64  `protobuf:"varint,8,opt,name=maxStreamingBitrate,proto3" json:"maxStreamingBitrate,omitempty"`
	// contains filtered or unexported fields
}

func (*PlaybackInfoReq) Descriptor deprecated added in v0.3.3

func (*PlaybackInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use PlaybackInfoReq.ProtoReflect.Descriptor instead.

func (*PlaybackInfoReq) GetAudioStreamIndex added in v0.3.3

func (x *PlaybackInfoReq) GetAudioStreamIndex() int32

func (*PlaybackInfoReq) GetHost added in v0.3.3

func (x *PlaybackInfoReq) GetHost() string

func (*PlaybackInfoReq) GetItemId added in v0.3.3

func (x *PlaybackInfoReq) GetItemId() string

func (*PlaybackInfoReq) GetMaxStreamingBitrate added in v0.3.3

func (x *PlaybackInfoReq) GetMaxStreamingBitrate() int64

func (*PlaybackInfoReq) GetMediaSourceId added in v0.3.3

func (x *PlaybackInfoReq) GetMediaSourceId() string

func (*PlaybackInfoReq) GetSubtitleStreamIndex added in v0.3.3

func (x *PlaybackInfoReq) GetSubtitleStreamIndex() int32

func (*PlaybackInfoReq) GetToken added in v0.3.3

func (x *PlaybackInfoReq) GetToken() string

func (*PlaybackInfoReq) GetUserId added in v0.3.3

func (x *PlaybackInfoReq) GetUserId() string

func (*PlaybackInfoReq) ProtoMessage added in v0.3.3

func (*PlaybackInfoReq) ProtoMessage()

func (*PlaybackInfoReq) ProtoReflect added in v0.3.3

func (x *PlaybackInfoReq) ProtoReflect() protoreflect.Message

func (*PlaybackInfoReq) Reset added in v0.3.3

func (x *PlaybackInfoReq) Reset()

func (*PlaybackInfoReq) String added in v0.3.3

func (x *PlaybackInfoReq) String() string

type PlaybackInfoResp added in v0.3.3

type PlaybackInfoResp struct {
	PlaySessionID   string             `protobuf:"bytes,1,opt,name=playSessionID,proto3" json:"playSessionID,omitempty"`
	MediaSourceInfo []*MediaSourceInfo `protobuf:"bytes,2,rep,name=mediaSourceInfo,proto3" json:"mediaSourceInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*PlaybackInfoResp) Descriptor deprecated added in v0.3.3

func (*PlaybackInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use PlaybackInfoResp.ProtoReflect.Descriptor instead.

func (*PlaybackInfoResp) GetMediaSourceInfo added in v0.3.3

func (x *PlaybackInfoResp) GetMediaSourceInfo() []*MediaSourceInfo

func (*PlaybackInfoResp) GetPlaySessionID added in v0.3.3

func (x *PlaybackInfoResp) GetPlaySessionID() string

func (*PlaybackInfoResp) ProtoMessage added in v0.3.3

func (*PlaybackInfoResp) ProtoMessage()

func (*PlaybackInfoResp) ProtoReflect added in v0.3.3

func (x *PlaybackInfoResp) ProtoReflect() protoreflect.Message

func (*PlaybackInfoResp) Reset added in v0.3.3

func (x *PlaybackInfoResp) Reset()

func (*PlaybackInfoResp) String added in v0.3.3

func (x *PlaybackInfoResp) String() string

type SystemInfoReq

type SystemInfoReq struct {
	Host  string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfoReq) Descriptor deprecated

func (*SystemInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use SystemInfoReq.ProtoReflect.Descriptor instead.

func (*SystemInfoReq) GetHost

func (x *SystemInfoReq) GetHost() string

func (*SystemInfoReq) GetToken

func (x *SystemInfoReq) GetToken() string

func (*SystemInfoReq) ProtoMessage

func (*SystemInfoReq) ProtoMessage()

func (*SystemInfoReq) ProtoReflect

func (x *SystemInfoReq) ProtoReflect() protoreflect.Message

func (*SystemInfoReq) Reset

func (x *SystemInfoReq) Reset()

func (*SystemInfoReq) String

func (x *SystemInfoReq) String() string

type SystemInfoResp

type SystemInfoResp struct {
	SystemUpdateLevel                    string `protobuf:"bytes,1,opt,name=systemUpdateLevel,proto3" json:"systemUpdateLevel,omitempty"`
	OperatingSystemDisplayName           string `protobuf:"bytes,2,opt,name=operatingSystemDisplayName,proto3" json:"operatingSystemDisplayName,omitempty"`
	PackageName                          string `protobuf:"bytes,3,opt,name=packageName,proto3" json:"packageName,omitempty"`
	HasPendingRestart                    bool   `protobuf:"varint,4,opt,name=hasPendingRestart,proto3" json:"hasPendingRestart,omitempty"`
	IsShuttingDown                       bool   `protobuf:"varint,5,opt,name=isShuttingDown,proto3" json:"isShuttingDown,omitempty"`
	SupportsLibraryMonitor               bool   `protobuf:"varint,6,opt,name=supportsLibraryMonitor,proto3" json:"supportsLibraryMonitor,omitempty"`
	WebSocketPortNumber                  int32  `protobuf:"varint,7,opt,name=webSocketPortNumber,proto3" json:"webSocketPortNumber,omitempty"`
	CanSelfRestart                       bool   `protobuf:"varint,8,opt,name=canSelfRestart,proto3" json:"canSelfRestart,omitempty"`
	CanSelfUpdate                        bool   `protobuf:"varint,9,opt,name=canSelfUpdate,proto3" json:"canSelfUpdate,omitempty"`
	CanLaunchWebBrowser                  bool   `protobuf:"varint,10,opt,name=canLaunchWebBrowser,proto3" json:"canLaunchWebBrowser,omitempty"`
	ProgramDataPath                      string `protobuf:"bytes,11,opt,name=programDataPath,proto3" json:"programDataPath,omitempty"`
	ItemsByNamePath                      string `protobuf:"bytes,12,opt,name=itemsByNamePath,proto3" json:"itemsByNamePath,omitempty"`
	CachePath                            string `protobuf:"bytes,13,opt,name=cachePath,proto3" json:"cachePath,omitempty"`
	LogPath                              string `protobuf:"bytes,14,opt,name=logPath,proto3" json:"logPath,omitempty"`
	InternalMetadataPath                 string `protobuf:"bytes,15,opt,name=internalMetadataPath,proto3" json:"internalMetadataPath,omitempty"`
	TranscodingTempPath                  string `protobuf:"bytes,16,opt,name=transcodingTempPath,proto3" json:"transcodingTempPath,omitempty"`
	HttpServerPortNumber                 int32  `protobuf:"varint,17,opt,name=httpServerPortNumber,proto3" json:"httpServerPortNumber,omitempty"`
	SupportsHttps                        bool   `protobuf:"varint,18,opt,name=supportsHttps,proto3" json:"supportsHttps,omitempty"`
	HttpsPortNumber                      int32  `protobuf:"varint,19,opt,name=httpsPortNumber,proto3" json:"httpsPortNumber,omitempty"`
	HasUpdateAvailable                   bool   `protobuf:"varint,20,opt,name=hasUpdateAvailable,proto3" json:"hasUpdateAvailable,omitempty"`
	SupportsAutoRunAtStartup             bool   `protobuf:"varint,21,opt,name=supportsAutoRunAtStartup,proto3" json:"supportsAutoRunAtStartup,omitempty"`
	HardwareAccelerationRequiresPremiere bool   `` /* 127-byte string literal not displayed */
	LocalAddress                         string `protobuf:"bytes,23,opt,name=localAddress,proto3" json:"localAddress,omitempty"`
	WanAddress                           string `protobuf:"bytes,24,opt,name=wanAddress,proto3" json:"wanAddress,omitempty"`
	ServerName                           string `protobuf:"bytes,25,opt,name=serverName,proto3" json:"serverName,omitempty"`
	Version                              string `protobuf:"bytes,26,opt,name=version,proto3" json:"version,omitempty"`
	OperatingSystem                      string `protobuf:"bytes,27,opt,name=operatingSystem,proto3" json:"operatingSystem,omitempty"`
	Id                                   string `protobuf:"bytes,28,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfoResp) Descriptor deprecated

func (*SystemInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use SystemInfoResp.ProtoReflect.Descriptor instead.

func (*SystemInfoResp) GetCachePath

func (x *SystemInfoResp) GetCachePath() string

func (*SystemInfoResp) GetCanLaunchWebBrowser

func (x *SystemInfoResp) GetCanLaunchWebBrowser() bool

func (*SystemInfoResp) GetCanSelfRestart

func (x *SystemInfoResp) GetCanSelfRestart() bool

func (*SystemInfoResp) GetCanSelfUpdate

func (x *SystemInfoResp) GetCanSelfUpdate() bool

func (*SystemInfoResp) GetHardwareAccelerationRequiresPremiere

func (x *SystemInfoResp) GetHardwareAccelerationRequiresPremiere() bool

func (*SystemInfoResp) GetHasPendingRestart

func (x *SystemInfoResp) GetHasPendingRestart() bool

func (*SystemInfoResp) GetHasUpdateAvailable

func (x *SystemInfoResp) GetHasUpdateAvailable() bool

func (*SystemInfoResp) GetHttpServerPortNumber

func (x *SystemInfoResp) GetHttpServerPortNumber() int32

func (*SystemInfoResp) GetHttpsPortNumber

func (x *SystemInfoResp) GetHttpsPortNumber() int32

func (*SystemInfoResp) GetId

func (x *SystemInfoResp) GetId() string

func (*SystemInfoResp) GetInternalMetadataPath

func (x *SystemInfoResp) GetInternalMetadataPath() string

func (*SystemInfoResp) GetIsShuttingDown

func (x *SystemInfoResp) GetIsShuttingDown() bool

func (*SystemInfoResp) GetItemsByNamePath

func (x *SystemInfoResp) GetItemsByNamePath() string

func (*SystemInfoResp) GetLocalAddress

func (x *SystemInfoResp) GetLocalAddress() string

func (*SystemInfoResp) GetLogPath

func (x *SystemInfoResp) GetLogPath() string

func (*SystemInfoResp) GetOperatingSystem

func (x *SystemInfoResp) GetOperatingSystem() string

func (*SystemInfoResp) GetOperatingSystemDisplayName

func (x *SystemInfoResp) GetOperatingSystemDisplayName() string

func (*SystemInfoResp) GetPackageName

func (x *SystemInfoResp) GetPackageName() string

func (*SystemInfoResp) GetProgramDataPath

func (x *SystemInfoResp) GetProgramDataPath() string

func (*SystemInfoResp) GetServerName

func (x *SystemInfoResp) GetServerName() string

func (*SystemInfoResp) GetSupportsAutoRunAtStartup

func (x *SystemInfoResp) GetSupportsAutoRunAtStartup() bool

func (*SystemInfoResp) GetSupportsHttps

func (x *SystemInfoResp) GetSupportsHttps() bool

func (*SystemInfoResp) GetSupportsLibraryMonitor

func (x *SystemInfoResp) GetSupportsLibraryMonitor() bool

func (*SystemInfoResp) GetSystemUpdateLevel

func (x *SystemInfoResp) GetSystemUpdateLevel() string

func (*SystemInfoResp) GetTranscodingTempPath

func (x *SystemInfoResp) GetTranscodingTempPath() string

func (*SystemInfoResp) GetVersion

func (x *SystemInfoResp) GetVersion() string

func (*SystemInfoResp) GetWanAddress

func (x *SystemInfoResp) GetWanAddress() string

func (*SystemInfoResp) GetWebSocketPortNumber

func (x *SystemInfoResp) GetWebSocketPortNumber() int32

func (*SystemInfoResp) ProtoMessage

func (*SystemInfoResp) ProtoMessage()

func (*SystemInfoResp) ProtoReflect

func (x *SystemInfoResp) ProtoReflect() protoreflect.Message

func (*SystemInfoResp) Reset

func (x *SystemInfoResp) Reset()

func (*SystemInfoResp) String

func (x *SystemInfoResp) String() string

type UnimplementedEmbyServer

type UnimplementedEmbyServer struct {
}

UnimplementedEmbyServer must be embedded to have forward compatible implementations.

func (UnimplementedEmbyServer) DeleteActiveEncodeings added in v0.3.3

func (UnimplementedEmbyServer) FsList

func (UnimplementedEmbyServer) GetItem

func (UnimplementedEmbyServer) GetItems

func (UnimplementedEmbyServer) GetSystemInfo

func (UnimplementedEmbyServer) Login

func (UnimplementedEmbyServer) Logout added in v0.3.2

func (UnimplementedEmbyServer) Me

func (UnimplementedEmbyServer) PlaybackInfo added in v0.3.3

type UnsafeEmbyServer

type UnsafeEmbyServer interface {
	// contains filtered or unexported methods
}

UnsafeEmbyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmbyServer will result in compilation errors.

Jump to

Keyboard shortcuts

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