Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 2.7 KB

File metadata and controls

34 lines (30 loc) · 2.7 KB

Artist

The object to represent a music artist

Property List

Data type Property Description
int ratingKey
string key The key to get the details of the artist
string guid
string type The media type artist
string title The artist's name
string summary
int index
int viewCount Number of times the artist details have been viewed
int skipCount
DateTime lastViewedAt Date/time somebody viewed this artist
DateTime addedAt Date/time this artist was added to the database
DateTime updatedAt Date/time this artist's database entry was updated
string thumb URL to thumbnail image
string art
array genre Genre's of music the artist has performed in
array country Country's the albums were recorded in

Function List

Visibility Function (parameters,...): return
public __construct(): void
public __get(string $var): mixed
Magic getter
public __set(string $var, mixed $val): void
Magic setter
public getChildren(): ItemCollection:Album
Method to retrieve all albums written by this artist
public addAlbum(Album $a): void
public static fromLibrary(array $library): Artist
Create a Artist from the Plex API call return