generated from QuiltMC/quilt-template-mod
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Last.fm auth callback & API key/shared secret
the new API key/shared secret was so I could add the new description to the browser sign in page
- Loading branch information
Showing
7 changed files
with
66 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...n-heart/src/main/java/net/pixaurora/kitten_heart/impl/scrobble/LegacyLastFMScrobbler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package net.pixaurora.kitten_heart.impl.scrobble; | ||
|
||
public class LegacyLastFMScrobbler extends LastFMScrobbler { | ||
public static final String API_KEY = "693bf5425eb442ceaf6f627993c7918d"; | ||
public static final String SHARED_SECRET = "9920afdfeba7ec08b3dc966f9d603cd5"; | ||
|
||
public static final ScrobblerType<LegacyLastFMScrobbler> TYPE = new ScrobblerType<>("last.fm", | ||
LegacyLastFMScrobbler.class, null, null); | ||
|
||
public LegacyLastFMScrobbler(LastFMSession session) { | ||
super(session); | ||
} | ||
|
||
@Override | ||
protected String apiKey() { | ||
return API_KEY; | ||
} | ||
|
||
@Override | ||
protected String sharedSecret() { | ||
return SHARED_SECRET; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters