Skip to content

theAdhocracy/record-player

Repository files navigation

Ad Hoc Record Player

My personal music collection, now in a digital flavour.

To Do

  • Be able to cope with multiple artists per album (Distant Relatives)

  • Individual side scrobble options

  • Ability to set scrobble time

  • Once all records are saved switch back to default as latest

  • Generate splatter effect for records

  • Add h-card to link

  • Create main header image

    • Will need a smaller version (simplified) for nav?
  • Consider microformats feed

  • Record needle (?)

  • Desired page

  • Create CD image

  • Add iconography for other tags (next to button?)

  • Image optimisations

    • Maybe serve webp if able
  • Pagination for home page

  • Lazy loading

  • Abstract sort by functionality into web component so that React can be removed from page

  • Highlight most recent somehow

    • Could use a combination of grid-column: span 2 to make them visually larger and then grid-auto-flow: dense to fill the gaps
    • Or leave the gaps and work out some way to fill them, maybe with music notes?
  • Auto colour contrast record colours

  • Allow people to like specific albums/artists

  • Gather general webmentions of the site (maybe store on a hidden page? Or add to footer)

  • Add Last.fm link and anything else relevant to the footer

  • RSS feed

  • ✅ Scrobble button

  • ✅ Display other albums by an artist on the artist page

  • ✅ 404 page

  • ✅ Loading page

  • ✅ Sort by artist as default

  • ✅ Sort by switches (artist or date purchased)

  • ✅ Hide sort by if JS is not enabled

  • ✅ Store sort choice in local storage

  • ✅ Change sort so that it ignores "the" in titles

  • ✅ Fix build to stop unwanted artist pages being rendered (getStaticPaths)

  • ✅ Artists pages populate from correct API

  • ✅ All tracks should be scrobbled so min length sent 31 seconds

Future

  • Discogs integration
  • Spotify integration
  • Last.fm integration (full)
    • Pressing scrobble button should send preformatted API request directly to Last.fm
      • Use track.scrobble
        • https://www.last.fm/api/show/track.scrobble
        • Should include artist track duration albumArtist (if different i.e. when featured) album trackNumber and timestamp; must have api_key and api_sig (latter is auth)
          • What to do with compilations/soundtracks for albumArtist?
          • Need to determine preferred format for trackNumber
          • Should be able to reverse engineer timeStamp: add all together to get total length, subtract from now, then add duration to running figure to get a timestamp for each track
          • Should look into sk (session key) to see if that's a way to open this up to anyone
          • duration needs to be in seconds so 1:23 would be 83
      • Max 50 tracks in one request, so will need to cover for that and split into multiple
      • Can retry if errors
      • Returns XML with <scrobble> elements for each success
      • POST to http://ws.audioscrobbler.com/2.0/
        • utf-8 encoded
        • authenticated
    • Will need to ensure that doing so only works if the user is logged in on local device, so that other people can't scrobble to my account 😂 (also means others can use my site to scrobble specific albums)
    • Perhaps some kind of additional keyboard combination (Shift + click?) first pops up a date entry to retroactively scrobble. For the most part unnecessary (don't care that much) but might be beneficial for some instances the cross month/year boundaries
    • Automate awards? (Probably too much effort - MTIH)
  • Add awards
    • Top 10 per year (permanent)
    • Top 10 current (updated whenever)
    • Has been top 10 at some point (permanent)
    • Awards page with rankings and stats
    • Top artists all of the above
  • Shops page
  • Could set up a web ring of similar sites, then use webmentions to say "I own this too" as a way of interlinking? (<-- probably needs some kind of central db)

About

My music collection, integrated with Last.FM to help me track offline listening habits.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published