jlund / spotify-export

A simple Ruby utility that uses Spotify's Web API to export a playlist as plain text
MIT License
293 stars 42 forks source link

Added functionality to handle local tracks #2

Closed lestopher closed 11 years ago

lestopher commented 11 years ago

I had a couple of playlists that had mixed local tracks and spotify tracks and it spit out an error about JSON octets. I added some code in to handle local tracks and also added a proper .gitignore as I don't think we should be committing sqlite3 databases (should we?).

jlund commented 11 years ago

Thanks, this is great. I didn't have Local Files enabled so I never encountered this issue. Nice catch!

New users who clone the repository still need a base SQLite database that contains the right schema, but you're right that this can be handled better. I'll do a separate commit that reintroduces this file as a version-controlled template that gets copied on first-run if it doesn't already exist. That way simply using the program won't cause git to concern itself with changes to this file.

jlund commented 11 years ago

Those updates are done, and I credited you as a contributor in the CHANGELOG. Thanks again.

lestopher commented 11 years ago

Thanks!