Skip to content

Repository files navigation

JioSaavn Plugin For Lavalink

  • This is a plugin for Lavalink
  • This plugin allows you to play songs from JioSaavn in your discord server.
  • This plugin uses the JioSaavn API to fetch songs.

Lavalink Usage

To install this plugin either download the latest release and place it into your plugins folder or add the following into your application.yml Replace VERSION with the latest release version.

Maven

Note

When using, do not add v at the beginning.

lavalink:
plugins:
- dependency: "com.github.appujet:jiosaavn-plugin:VERSION"repository: "https://maven.appujet.site/releases"

Configuration

For all supported urls and queries see here

(YES plugins IS AT ROOT IN THE YAML)

server: # REST and WS serverport: 2333address: 0.0.0.0lavalink:
# plugins would go here, but they are auto-loaded when developing# plugins:# - dependency: "com.github.appujet:jiosaavn-plugin:VERSION"# repository: "https://jitpack.io"server:
password: "youshallnotpass"sources:
youtube: truebandcamp: truesoundcloud: truetwitch: truevimeo: truehttp: truelocal: falsebufferDurationMs: 400# The duration of the NAS buffer. Higher values fare better against longer GC pausesframeBufferDurationMs: 5000# How many milliseconds of audio to keep bufferedyoutubePlaylistLoadLimit: 6# Number of pages at 100 eachplayerUpdateInterval: 5# How frequently to send player updates to clients, in secondsyoutubeSearchEnabled: truesoundcloudSearchEnabled: truegc-warnings: true#ratelimit:#ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks#excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink#strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch#searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing#retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers timesplugins:
jiosaavn:
apiURL: "https://jiosaavn-plugin-api.vercel.app/api"# JioSaavn API URLplaylistTrackLimit: 50# The maximum number of tracks to return from given playlist (default 50 tracks)recommendationsTrackLimit: 10# The maximum number of track to return from recommendations (default 10 tracks)metrics:
prometheus:
enabled: falseendpoint: /metricssentry:
dsn: ""environment: ""# tags:# some_key: some_value# another_key: another_valuelogging:
file:
max-history: 30max-size: 1GBpath: ./logs/level:
root: INFOlavalink: INFO

Advantages of Using JioSaavn

  • No region-based content blocking (unlike Deezer and Yandex).
  • A better alternative for playing mirrored audio sources not dependent on YouTube.
  • Similar content library size as Spotify and Apple Music.
  • Superior to Deezer as it doesn't require any decryption key and provides slightly higher bitrate audio than Deezer's 128KBPS MP3.

Supported URLs and Queries

JioSaavn

How to get API URL ?

Special Thanks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages