forked from FoxxMD/multi-scrobbler
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
779 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import {CommonSourceConfig, CommonSourceData} from "./index"; | ||
import {PollingOptions} from "../common"; | ||
|
||
// See issue for more documentation | ||
// https://github.com/FoxxMD/multi-scrobbler/issues/9#issuecomment-946871774 | ||
export interface AppleMusicData extends CommonSourceData, PollingOptions { | ||
/** | ||
* Contents of MusicKit private key or a path to the key file | ||
* | ||
* https://help.apple.com/developer-account/#/devcdfbb56a3 | ||
* */ | ||
key: string | ||
|
||
/** | ||
* Team Id (tid) from Developer account | ||
* */ | ||
teamId: string | ||
/** | ||
* Key identifier (kid) from Developer account | ||
* */ | ||
keyId: string | ||
|
||
/** | ||
* URL to another MS instance running the apple music source *server* | ||
* */ | ||
endpoint: string | ||
} | ||
|
||
export interface AppleMusicSourceConfig extends CommonSourceConfig { | ||
data: AppleMusicData | ||
} | ||
|
||
export interface AppleMusicAIOSourceConfig extends AppleMusicSourceConfig { | ||
type: 'apple' | ||
} |
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
Oops, something went wrong.