Skip to content

Commit

Permalink
Update AppleMusicSourceManager example (#47)
Browse files Browse the repository at this point in the history
* Update AppleMusicSourceManager example

Updated example to reflect current constructor, which includes a media API token

* Update README.md

Co-authored-by: ToπSenpai <git@topi.wtf>
  • Loading branch information
jjoeldaniel and topi314 authored Jan 6, 2023
1 parent a571b9d commit ef1cd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ playerManager.registerSourceManager(new SpotifySourceManager(null, clientId, cli
```java
AudioPlayerManager playerManager = new DefaultAudioPlayerManager();

// create a new AppleMusicSourceManager with the standard providers, countrycode and AudioPlayerManager and register it
playerManager.registerSourceManager(new AppleMusicSourceManager(null, "us", playerManager));
// create a new AppleMusicSourceManager with the standard providers, token(pass null for automatic extraction), countrycode and AudioPlayerManager and register it
playerManager.registerSourceManager(new AppleMusicSourceManager(null, mediaAPIToken , "us", playerManager));
```

#### Deezer
Expand Down

0 comments on commit ef1cd41

Please sign in to comment.