Skip to content

Commit

Permalink
add: new rainlink deezer plugin (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
RainyXeon authored Sep 30, 2024
1 parent 8a46e78 commit 2911e78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"pretty-ms": "^9.1.0",
"rainlink": "^1.2.5",
"rainlink-apple": "^1.0.5",
"rainlink-deezer": "^1.0.8",
"rainlink-deezer": "^1.0.9",
"rainlink-nico": "^1.0.7",
"rainlink-spotify": "^1.0.5",
"recursive-readdir": "^2.2.3",
Expand Down
6 changes: 4 additions & 2 deletions src/structures/Rainlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Library, Rainlink, RainlinkAdditionalOptions, RainlinkPlugin } from 'ra
import { SpotifyPlugin } from 'rainlink-spotify'
import { NicoPlugin } from 'rainlink-nico'
import { ApplePlugin } from 'rainlink-apple'
import { DeezerPlugin } from 'rainlink-deezer'
import { RainlinkPlugin as YTConverterPlugin } from './YTConverterPlugin.js'
import { ExtendedPlayer } from './extended/ExtendedPlayer.js'
import { DeezerPlugin } from 'rainlink-deezer'

export class RainlinkInit {
client: Manager
Expand Down Expand Up @@ -55,7 +55,9 @@ export class RainlinkInit {

get plugins(): RainlinkPlugin[] {
const defaultPlugins: RainlinkPlugin[] = [
new DeezerPlugin(),
new DeezerPlugin({
market: 'us'
}),
new NicoPlugin({ searchLimit: 10 }),
new ApplePlugin({ countryCode: 'us' }),
]
Expand Down

0 comments on commit 2911e78

Please sign in to comment.