Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct { *io.PipeReader // contains filtered or unexported fields }
type MpvTrack ¶
type MpvTrack struct { MediaFile model.MediaFile PlaybackDone chan bool Conn *mpvipc.Connection IPCSocketName string Exe *Executor CloseCalled bool }
func (*MpvTrack) Position ¶
Position returns the playback position in seconds. Every now and then the mpv IPC interface returns "mpv error: property unavailable" in this case we have to retry
func (*MpvTrack) SetPosition ¶
Click to show internal directories.
Click to hide internal directories.