Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadedMsg ¶
type LoadedMsg struct {
Target Target
Sessions []abs.ListeningSession
Total int
Err error
}
LoadedMsg carries the sessions of a target.
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Bubble Tea model for the sessions screen.
func New ¶
New creates a sessions screen model. deviceID is the device ID of this pine, which marks the sessions of this device.
func (Model) HasActiveFilter ¶
HasActiveFilter reports whether a filter is typed or applied.
func (Model) IsFiltering ¶
IsFiltering reports whether the filter input is active.
type PlayFromMsg ¶
PlayFromMsg requests playback of an item or an episode from a position.