Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1546

create ListenBrainz widgets for embedding

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None

      might be easier after RSS feeds have been added (LB-1396), but could probably be done with the API too (I dunno, not a developer)

      with the resurgence of the personal website I've been seeing, I think a great addition to ListenBrainz would be a set of embeddable widgets showing a user's stats, recent listens, and more~ a few specific ideas I have:

      • recent listens is a fairly obvious one, perhaps with the option of also showing now playing (if applicable) or hiding it
      • top recordings/artists/albums of a time period would be another good one, where you could select an entity type, a time period (for example, last 7 days, this month, past year, etc.), and some basic styles
      • now playing would be a very small widget, just showing the currently playing track, or if no track is currently playing, show some stats, similar to the Discourse plugin (that thread actually has some good ideas on how to set up widgets too)
      • recent album listens is one we don't currently show in ListenBrainz, and it's not as simple as just showing the albums of your most recent listens. instead, it'd look for consecutive listens of album tracks, perhaps less specific than a Session, and show the most recent album you listened all (or at least most) of the way through
      • feed (could be split into multiple widgets) would show recent likes, pins, reviews, and more
      • could also have some of these use global stats as an option too

      for all of these, I'd love them to get live updates (adding listens since the page loaded to recent listens, for example), but I'd consider that a stretch goal

      there should also be multiple color options for all of them, some ideas of mine:

      • light with color would be near-white with a color logo and perhaps a customizable secondary color
      • dark with color same as the above, but with a dark background
      • light monochrome would be near-white with a grayscale logo, perhaps even an optional grayscale filter for album artwork
      • dark monochrome same as the above, but with a dark background

      potential applications of these widgets include:

      • personal websites could have stats embedded for the user
      • music blogs and websites could have popular tracks shown to their users (perhaps even filtered by genre or tag? like a crust punk blog showing top crust punk tracks)
      • livestream setups can embed websites, so a streamer could show what they're currently listening to to their viewers (thanks to aerozol for pointing this one out) (would require live updates for most widgets)

            mr_monkey Monkey
            UltimateRiff UltimateRiff
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Version Package