Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Play plays the song Play = "%{A:playerctl pause:} " + string(siji.Pause) + " %{A}" // Pause pauses the song Pause = "%{A:playerctl play:} " + string(siji.Play) + " %{A}" // Prev moves previously Prev = "%{A:playerctl previous:} " + string(siji.Previous) + " %{A}" // Next skips the song Next = "%{A:playerctl next:} " + string(siji.Next) + " %{A}" )
Variables ¶
View Source
var PlayerColors = map[string]int{
"": 0x0,
"spotify": 0x1DB954,
"rhythmbox": 0xD8BB1F,
}
PlayerColors contains all known players and their colors
Functions ¶
Types ¶
type Metadata ¶
type Metadata struct { MprisTrackid string MprisLength uint64 MprisArtURL string XesamAlbum string XesamAlbumArtist []string XesamArtist []string XesamAutoRating float64 XesamDiscNumber int32 XesamTitle string XesamTrackNumber int32 XesamURL string XesamGenre []string XesamUserRating float32 }
Metadata contains player metadata
Source Files ¶
Click to show internal directories.
Click to hide internal directories.