rdbs

package module
v0.0.0-...-eaaccf5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 9 Imported by: 0

README

#+TITLE: rdbs

=rdbs= (RekorDBox to Spotify) is a tool for putting Rekordbox
playlists into Spotify.

* Installation

  #+begin_src shell
    go install github.com/r-medina/rdbs
  #+end_src

* How to use

  1. get your spotify api keys

     https://developer.spotify.com/documentation/general/guides/authorization/app-settings/

     you need a Spotify ID and a Spotify Secret

     put them into the environment as =SPOTIFY_ID= and =SPOTIFY_SECRET=

** manual rekordbox export

  1. export a Rekordbox playlist to a =.txt= file

     - right click the playlist and click "Export a playlist to a
       file" → "Export a playlist to a file for KUVO (*.txt)"

  2. use this program

     #+begin_src shell
       rdbs <your-spotify-playlist-name> <location-of-exported-plylist-txt-file>
     #+end_src

     running this will open a browser which will grant this app
     permissions to make playlists and search for songs on your behalf

     after you've authorized it, it will make a playlist with the
     tracks in the file and log the names of any tracks it didn't find

** straight from rekordbox db (macos only)

the following assumed you have =SPOTIFY_ID= and =SPOTIFY_SECRET= set
appropriately. it also assumes your rekordbox database is in
=~/Library/Pioneer/Rekordbox/master.db=. If you have it somewhere
else, you can set the environment variable =REKORDBOX_DB= to another
absolute path.

#+begin_src sh
  rdbs -r <your-spotify-playlist-name> <playlist-name-in-rekordbox>
#+end_src

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SpotifyOAuthClient

func SpotifyOAuthClient(clientID, secretKey string) (*spotify.Client, error)

func SpotifySearch

func SpotifySearch(spotifyClient *spotify.Client, tracks []Track) ([]spotify.FullTrack, error)

Types

type Playlist

type Playlist struct {
	Name   string
	Tracks []Track
}

type Track

type Track struct {
	Artist string
	Title  string
}

Directories

Path Synopsis
cmd
rdbs command
regordbox command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL