added to Django Ditto

Last year I wrote about Django Ditto, a collection of Django apps for copying your Flickr, Pinboard and Twitter “stuff”. I’ve now added the ability to copy your listening data.

You can see the default public templates on the demo site, see the code on GitHub or read the documentation.

Screenshot of the website

Using’s API Django Ditto can store records of your listening and produce the usual charts of your top artists, tracks and albums, along with a page per artist, track and album. As with Flickr, Pinboard and Twitter, it can do this for multiple accounts. And, as with the other services, you can see everything from a single day (for example).

I initially thought I might pull in more data, given often supplies MusicBrainz IDs, but this was a bit unreliable, especially when it comes to artists sharing the same name. This isn’t’s fault, given their data comes solely from the names of tracks played, but I ended up walking away from that idea and doing nothing more than link to MusicBrainz if an ID is present.

Using Django Ditto don’t have to use the templates (which use Bootstrap v4), or the Django views. You could use the app to store copies of your listening (or Tweets, or photos, or bookmarks) and use them however you like on your own Django website. There are some template tags to make it easier to output common things in your own templates.

Thankfully, the data was simpler than dealing with Tweets or Flickr photos, the last parts I added, as this has been taking, inevitably, longer than I planned. I hope to add Foursquare/Swarm check-ins next but I might write some different code first, to have a change.

As ever, if you or your organisation need some web stuff making, particularly this kind of thing — APIs, wrangling data, archiving, etc — do email me.

Commenting is disabled on posts once they’re 30 days old.

9 Feb 2017 at Twitter

  • 10:14pm: @matthewbate Yes, that’s me, thanks! And thanks @tedmills!
  • 10:49am: I guess your private Twitter (or whatever) account is only private so long as no one who follows it enters the US.
  • 9:39am: @P90Puma Thanks. Sounds like they’re carrying on doing the same thing though.
  • 9:38am: I should have put Post Labour at the end really.
  • 9:12am: Labour
    New Labour
    Post Labour
    Abstract Labour
    Surrealist Labour
    Minimalist Labour
    Conceptual Labour
    Performance Labour

On this day I was reading