/Playlist export

Exports a playlist to a specified format (e.g. JSON, TXT). More formats may be added based on user suggestions

Usage

/playlist export format:<JSON or TXT>

Add a name to export a specific playlist.

You can also specify an user to show their playlist content (and their bad music taste)


Formats

JSON Format

Structured format suitable for re-import, automation, or third-party applications.

Example Output:

{
  "name": "default",
  "createdBy": "589349861493833751",
  "songs": [
    {
      "title": "Song Title",
      "url": "https://example.com/audio/song1.opus"
    },
    {
      "title": "Song Title",
      "url": "https://example.com/audio/song2.mp3"
    }
  ]
}

Field descriptions:

  • name: Name of the playlist.

  • createdBy: Discord user ID of the playlist creator.

  • songs: Array of song objects.

    • title: Name of the track or file.

    • url: Direct link to the audio file or stream.

Use case: Perfect for re-importing playlists, syncing across bots, or integration into custom tools.


TXT Format

Simple plain text list, human-readable and easy to share.

Example Output:

https://example.com/audio/song1.opus
https://example.com/audio/song2.mp3

Behavior:

  • One track per line.

  • Each line is a direct URL, no metadata included.

Use case: Quick sharing, manual curation, or pasting into external players or chat.

Last updated

Was this helpful?