ScrobbleOptions
Defined in: src/types/track.ts:39
Extends
Section titled “Extends”Properties
Section titled “Properties”artist
Section titled “artist”artist: string;Defined in: src/types/track.ts:15
The artist name.
Inherited from
Section titled “Inherited from”chosenByUser?
Section titled “chosenByUser?”optional chosenByUser?: boolean;Defined in: src/types/track.ts:48
true if the user chose this song, or false if the song was chosen by someone else (such as a radio station or recommendation service).
duration?
Section titled “duration?”optional duration?: number;Defined in: src/types/track.ts:29
The length of the track in seconds.
Inherited from
Section titled “Inherited from”optional meta?: Record<string, unknown>;Defined in: src/types/track.ts:33
Custom metadata for sessionExpire event.
Inherited from
Section titled “Inherited from”sk: string;Defined in: src/types/track.ts:25
The Last.fm session key.
Inherited from
Section titled “Inherited from”timestamp
Section titled “timestamp”timestamp: number;Defined in: src/types/track.ts:44
The time the track started playing, in Unix timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.
track: string;Defined in: src/types/track.ts:11
The track name.