Permalink
Browse files

initial import

  • Loading branch information...
0 parents commit fdff9d202ec6b85b2cd18d55b008d2a23ee1831e @ianloic ianloic committed Apr 6, 2011
Showing with 4,135 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +12 −0 README
  3. +6 −0 authenticate.py
  4. +3,885 −0 feedparser.py
  5. +33 −0 hypempopular.py
  6. +24 −0 levenshtein_distance.py
  7. +148 −0 playlistcreator.py
  8. +24 −0 we-are-hunted.py
@@ -0,0 +1,3 @@
+*.pyc
+.*.swp
+*.db
12 README
@@ -0,0 +1,12 @@
+An example of importing playlists into Rdio.
+
+First run authenticate.py to authenticate against the Rdio service.
+
+Then you can run either hypempopular.py or we-are-hunted.py to try importing
+Hype Machine's popular tracks or the current We Are Hunted popular tracks.
+
+Both of these use the code in playlistcreator.py to match artist and track
+names against Rdio's catalog. The matching is fuzzy, using Levenshtein
+edit distance and simple transforms to find inexact matches.
+
+This uses the Rdio Python library from: https://github.com/rdio/rdio-python
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+from playlistcreator import PlaylistCreator
+
+pc = PlaylistCreator()
+pc.authenticate()
Oops, something went wrong.

0 comments on commit fdff9d2

Please sign in to comment.