feat: discord presence display type

This commit is contained in:
mae taylor 2025-08-01 16:43:34 +01:00
parent 7ff74b8d5e
commit 76770de7d8
No known key found for this signature in database
GPG key ID: 3C80D76BA7A3B9BD
4 changed files with 69 additions and 2 deletions

View file

@ -157,6 +157,12 @@ export enum BindingActions {
ZOOM_OUT = 'zoomOut',
}
export enum DiscordDisplayType {
ARTIST_NAME = 'artist',
FEISHIN = 'feishin',
SONG_NAME = 'song',
}
export enum GenreTarget {
ALBUM = 'album',
TRACK = 'track',
@ -198,6 +204,7 @@ export interface SettingsState {
};
discord: {
clientId: string;
displayType: DiscordDisplayType;
enabled: boolean;
showAsListening: boolean;
showPaused: boolean;
@ -353,6 +360,7 @@ const initialState: SettingsState = {
},
discord: {
clientId: '1165957668758900787',
displayType: DiscordDisplayType.FEISHIN,
enabled: false,
showAsListening: false,
showPaused: true,