mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-28 01:32:42 +02:00
Add /loop support for individual songs (#707)
This commit is contained in:
parent
eb07ac6d22
commit
6cdfefe174
5 changed files with 48 additions and 4 deletions
|
@ -37,6 +37,7 @@ import Unskip from './commands/unskip.js';
|
|||
import ThirdParty from './services/third-party.js';
|
||||
import FileCacheProvider from './services/file-cache.js';
|
||||
import KeyValueCacheProvider from './services/key-value-cache.js';
|
||||
import Loop from './commands/loop';
|
||||
|
||||
const container = new Container();
|
||||
|
||||
|
@ -79,6 +80,7 @@ container.bind<SpotifyAPI>(TYPES.Services.SpotifyAPI).to(SpotifyAPI).inSingleton
|
|||
Next,
|
||||
Stop,
|
||||
Unskip,
|
||||
Loop,
|
||||
].forEach(command => {
|
||||
container.bind<Command>(TYPES.Command).to(command).inSingletonScope();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue