Skip to content
Commits on Apr 28, 2012
Commits on Apr 12, 2012
  1. Ask fewer questions

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

    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.
    committed Apr 11, 2012
  2. make_local_files_map(): for use in m3u creation (next commit)

    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.
    committed Apr 11, 2012
  3. parse_artist_tag(): add some mistake corrections

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

    committed Mar 14, 2012
  2. add a bullshit record to make it valid json

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

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

    committed Feb 29, 2012
Commits on Jan 15, 2012
  1. Add nancy to my list of users.

    committed Jan 15, 2012
  2. snapshot with depth 1

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

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

    committed Jan 6, 2012
  2. snapshot from now

    committed Jan 6, 2012
  3. snapshot from some time ago

    committed Jan 6, 2012
Commits on Nov 24, 2011
  1. added files to thursday practice

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

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

    David Laban committed Sep 19, 2011
Commits on Aug 23, 2011
  1. snapshot.

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

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

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

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

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

    David Laban committed Jun 20, 2011
Something went wrong with that request. Please try again.