aboutsummaryrefslogtreecommitdiff
path: root/src/inversify.config.ts
diff options
context:
space:
mode:
authorMatt Foxx <[email protected]>2024-03-12 22:25:45 -0400
committerGitHub <[email protected]>2024-03-12 21:25:45 -0500
commit6baaffb730e1fc3c2057389332cf6f26486cadc2 (patch)
treeab8b6c169b8872b3aaeeaedf0fc951f1de6308be /src/inversify.config.ts
parent786e6fd8f5ed39928603c63ac567efacbd74f39e (diff)
downloadmuse-6baaffb730e1fc3c2057389332cf6f26486cadc2.tar.xz
muse-6baaffb730e1fc3c2057389332cf6f26486cadc2.zip
Implement volume control #830 (#994)
Co-authored-by: Max Isom <[email protected]>
Diffstat (limited to 'src/inversify.config.ts')
-rw-r--r--src/inversify.config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inversify.config.ts b/src/inversify.config.ts
index d0694cf..a02a0a1 100644
--- a/src/inversify.config.ts
+++ b/src/inversify.config.ts
@@ -37,6 +37,7 @@ import Shuffle from './commands/shuffle.js';
import Skip from './commands/skip.js';
import Stop from './commands/stop.js';
import Unskip from './commands/unskip.js';
+import Volume from './commands/volume.js';
import ThirdParty from './services/third-party.js';
import FileCacheProvider from './services/file-cache.js';
import KeyValueCacheProvider from './services/key-value-cache.js';
@@ -85,6 +86,7 @@ container.bind<SpotifyAPI>(TYPES.Services.SpotifyAPI).to(SpotifyAPI).inSingleton
Skip,
Stop,
Unskip,
+ Volume,
].forEach(command => {
container.bind<Command>(TYPES.Command).to(command).inSingletonScope();
});