---
title: LibrarySongs.Attributes
framework: applemusicapi
role: symbol
role_heading: Object
path: applemusicapi/librarysongs/attributes-data.dictionary
---

# LibrarySongs.Attributes

The attributes for a library song resource.

## Declaration

```data
object LibrarySongs.Attributes
```

## Properties

albumName: The name of the album the song appears on. artistName: The artist’s name. artwork: The album artwork. contentRating: The Recording Industry Association of America (RIAA) rating of the content. The possible values for this rating are clean and explicit. No value means no rating. discNumber: The disc number the song appears on. durationInMillis: The approximate length of the song in milliseconds. genreNames: The genre names the song is associated with. hasLyrics: Indicates if the song has lyrics available in the Apple Music catalog. If true, the song has lyrics available; otherwise, it doesn’t. inFavorites: Whether the catalog resource ID is in the person’s favorites. name: The localized name of the song. playParams: When present, this attribute indicates that the song is available to play.  The value map may be used to initiate playback. releaseDate: The release date of the song, when known, in YYYY-MM-DD or YYYY format. Prerelease songs may have an expected release date in the future. trackNumber: The number of the song in the album’s track list.

## See Also

### Related Objects

- [LibrarySongs.Relationships](applemusicapi/librarysongs/relationships-data.dictionary.md)
