Use Spotify API if an API key is provided

This commit is contained in:
James Babcock committed 2026-10-31 17:03:09 -07:00
1 parent f47d82b871
commit 49ea8a7d74
18 files changed
+736 -39

No files matched your search

+3
View File
@@ -91,6 +91,9 @@ function bridges() {
'./image-files': {},
'./notification-access': { isNotificationListenerEnabled: () => true },
'./media-types': load('app/native/media-types.ts', () => { throw new Error('media-types has no imports'); }),
// Signed out of Spotify's Web API: the bridges are the native session and browser services alone.
'./spotify': { spotifyService: () => null },
'./spotify-player': { SPOTIFY_ANDROID_PACKAGE: 'com.spotify.music' },
};
const globals = { global: { isAndroid: true }, com: { faceclaw: { app: {
FaceclawMediaBrowser: NativeBrowser,