• Stars
    star
    293
  • Rank 141,748 (Top 3 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 12 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple Ruby utility that uses Spotify's Web API to export a playlist as plain text

spotify-export

Description

Let's convert a Spotify playlist into plain text!

  1. Open Spotify and go to the playlist that you want to export.
  2. Select the tracks that you want to export (Ctrl-A or Cmd-A to Select All).
  3. Right-click on the selected tracks and choose "Copy Spotify URI" from the menu.
  4. Go to the text editor of your choice and Paste.
  5. Save the file.
  6. Run ./bin/spotify-export.rb your-filename.txt.

Running the command on the included spec/support/multiple-tracks.txt test file will produce the following output:

1. Illusions -- Shout Out Louds -- Optica (Bonus Track Version)
2. My Number -- Foals -- Holy Fire
3. Love to Get Used -- Matt Pond -- The Lives Inside The Lines In Your Hand
4. Clouds -- Rangleklods -- Beekeeper (incl. Home EP)
5. Kelly -- When Saints Go Machine -- Konkylie

Listening to the songs might be fun too.

Enjoy!

Features

  • Lookups are performed using the super-efficient Spotify Web API.
  • SQLite is used as a caching layer so that information about each track will only be requested once, which allows you to regularly back up large playlists.

Requirements

Setup

  • bundle install

Acknowledgments

This product uses a SPOTIFY API but is not endorsed, certified or otherwise approved in any way by Spotify. Spotify is the registered trade mark of the Spotify Group.

More Repositories

1

ansible-go

Ansible role that installs Go (http://golang.org/). The latest stable release that has been compiled for x86 64-bit Linux systems is installed by default, and different platforms and versions are supported by modifying the role variables.
Shell
168
star
2

mazer-rackham

Sample Ansible Playbook for Rack applications that installs Nginx, Passenger, Ruby 2.0.0 (or 1.9.3), Bundler, and git. It also demonstrates how to deploy a basic Rack application using Ansible.
165
star
3

docker-chrome-pulseaudio

Run Google Chrome inside an isolated Docker container on your Linux desktop! See its sights via X11 forwarding! Hear its sounds through the magic of PulseAudio and SSH tunnels!
Shell
157
star
4

ansible-shadowsocks

Ansible role that installs the Shadowsocks secure SOCKS 5 proxy (http://shadowsocks.org)
59
star
5

salt-rack

Sample Rack application Salt States that will install Nginx, Passenger, Ruby 1.9.3 + the Falcon Patch, Bundler, and git. They also demonstrate how to deploy a sample Rack application using Salt.
Scheme
57
star
6

ansible-ufw

Ansible role that installs and configures ufw, AKA The Uncomplicated Firewall (https://launchpad.net/ufw)
31
star
7

actually-automatic

Get notified whenever Apple releases a new iOS or macOS update or Rapid Security Response.
Ruby
12
star
8

ansible-mumble-server

Ansible role that installs and configures Murmur, the server component of the Mumble voice chat software (http://mumble.sourceforge.net/)
8
star
9

ansible-ruby-common

Ansible role that compiles and installs Ruby (https://www.ruby-lang.org) and Bundler (http://bundler.io). This role is generic enough to support any version of Ruby, and it is best used in conjunction with another role that supplies the required variables and that depends on this common base.
6
star
10

the-red-button

The Red Button enables you to quickly put a series of web applications into maintenance mode.
Ruby
4
star
11

ansible-ruby-2.1

Ansible role that compiles and installs Ruby 2.1 (https://www.ruby-lang.org) and Bundler (http://bundler.io).
4
star
12

Flock

Java
2
star
13

ansible-nitter

A simple Ansible playbook that sets up and configures a fully functional Nitter server.
Jinja
2
star
14

surespot-ios

ios surespot client
Objective-C
2
star
15

ansible-rtorrent

Ansible role that installs rTorrent (http://libtorrent.rakshasa.no), Screen, and a dedicated torrent user
2
star
16

ansible-rainy

Ansible role that sets up the Rainy open source synchronization server (http://dynalon.github.io/Rainy/#!index.md). Rainy works with Tomboy and Tomdroid and lets you access, organize, and edit your notes across devices.
1
star