Documentation
¶
Index ¶
Constants ¶
View Source
const LastFmUrl = "https://www.last.fm/"
Variables ¶
View Source
var EmptyScrobble = Scrobble{ Active: false, }
Functions ¶
This section is empty.
Types ¶
type Scrobble ¶
type Scrobble struct {
Active bool // Whether the user is actively scrobbling
Name string // The name of the track
Artist string // The artist of the track
Album string // The album of the track
Loved bool // Whether the user loves the track
DataId string // A unique ID used to identify the scrobble, generated by Last.FM
DataTimestamp time.Time // When the user began scrobbling
DataLink string // A link to the track (YouTube, etc.)
DataLinkTitle string // A description for the dataLink
CoverArtUrl string // A URL to the album cover art
}
Scrobble represents a scrobble on Last.FM.
func GetActiveScrobble ¶
GetActiveScrobble returns the active scrobble for the given user.
Click to show internal directories.
Click to hide internal directories.