Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Apr 28, 2012
Commits on Apr 12, 2012
  1. Ask fewer questions

    authored
Commits on Apr 11, 2012
  1. Version 0.1 m3u creator

    authored
    remove simplejson import as we've converted all uses of simplejson already
    
    pick_best_link_or_download():
    find a local version of a file from the list, or download one
    and return that (or None for an empty list).
    modifies local_files_map to avoid re-downloading redundantly
    #HACK: doesn't actually download anything. Just pretends it has.
    #Will go through and download songs later.
    
    pick_best_link():
    find a local version of a file from the list, or return None if none are
    available.
    
    get_local_song_location():
    Match the spotify song to a local file (or downloaded file) as best you
    can.
    * If there is an exact (artist, title) match, use that.
    * Otherwise, list all artists that have versions of the song,
      and get the user to pick one.
    
    get_m3u_string():
    turn a spotify playlist into an m3u string as best you can.
    
    convert_to_m3u():
    os.path.walk callback that creates m3u files from json files.
    
    in main:
    os.path.walk() and dump m3u files in m3u/
    also: save local_files_map_end.json that the user can copy to
    local_files_map.json after doing a diff. This will prevent them having
    to make choices multiple times.
  2. make_local_files_map(): for use in m3u creation (next commit)

    authored
    It's just a map from filename to directory.
    
    I also cache it on disk, because os.walk is slow on windows
    
    HACK: hard-coded directory path.
  3. parse_artist_tag(): add some mistake corrections

    authored
    also be a bit more liberal about "and": we don't mind a few
    false positives
Commits on Mar 14, 2012
  1. refactor into functions

    authored
  2. add a bullshit record to make it valid json

    authored
    Note that I should really fix the generating program but I can't
    at the moment because I don't have a valid account
Commits on Feb 29, 2012
  1. snapshot before black march

    authored
    I should really try to fix the dunno yet entries. I currently have 16185 of them (roughly 10% of all tracks)
  2. snapshot from a while back

    authored
Commits on Jan 15, 2012
  1. Add nancy to my list of users.

    authored
  2. snapshot with depth 1

    authored
Commits on Jan 14, 2012
  1. new snapshot with my friends' playlists also included.

    authored
    Note the excess of dunnos
Commits on Jan 6, 2012
  1. s/Collaborative/Tempos/

    authored
  2. snapshot from now

    authored
  3. snapshot from some time ago

    authored
Commits on Nov 24, 2011
Commits on Nov 21, 2011
Commits on Sep 22, 2011
  1. sync

    David Laban authored
Commits on Sep 19, 2011
  1. Snapshot: Quite a lot of churn

    David Laban authored
Commits on Aug 23, 2011
  1. snapshot.

    David Laban authored
    Seems that tenants removed some stuff from hir Blues Dance playlist.
    I should ask about that.
Commits on Aug 1, 2011
  1. sync up with the internets

    David Laban authored
    Some tracks have changed their artists, and some playlists have grown
    
    tenants also cleaned up hir Blues - dance playlist and stuff.
    
    All pretty routine
Commits on Jul 22, 2011
  1. add references to Collaborative playlists; move blues in my shoes to …

    David Laban authored
    …one folder
Commits on Jul 15, 2011
  1. snapshot from today. TODO: Owen electro-swing

    David Laban authored
Commits on Jun 29, 2011
  1. prefix with int to preserve ordering

    David Laban authored
Commits on Jun 21, 2011
  1. more syncing and a little less dunno

    David Laban authored
Something went wrong with that request. Please try again.