Giter Site home page Giter Site logo

jjjplay's Introduction

JJJPlays

This is a wholly unofficial and unauthorised recreation of the old TripleJPlays account from the bird site. Triple J stopped maintaining that account in 2021, and I've been missing it ever since.

Now I'm entirely chuffed to unveil my rebuilt version for Bluesky! Aside from just posting the songs that Triple J plays, it offers a few improvements over the old version: Better formatting, links streaming services, even album art. Hot.

How it works

Every five minutes, a Github Actions workflow queries the ABC's player API and grabs a list of all the songs that have played since the last run. It then searches for each song on streaming services (Apple Music, Spotify and YouTube Music), then compiles a Bluesky post with the song's details, artwork and streaming links.

Tech

Known issues

  • The links to streaming services can get a bit wonky when the post text contains emoji or other special characters
  • The GitHub Actions workflow is supposed to run every two minutes, but is happening much less often than that due to free account low-priority-ness. I may look at rewriting this to run less often (e.g. every ten minutes) but then post all the songs from that time period. It won't update as regularly, but thanks to the createdAt property, the posts will still appear at the same times the songs started.
  • This depends on the internal API used by the ABC's live radio players. It updates regularly, but doesn't always show song details for whatever reason. Usually late at night it'll just stop giving any song info at all. Not much I can do about that sadly.

Roadmap?

  • Add bots for Triple J in the other Australian time zones
  • Add bots for other stations like Double J, Triple J Hottest etc
  • Post to Mastodon and Threads
  • Add other streaming services

Who am I?

I'm just an aging (I think the technical term is geriatric) millenial who has aged out of the Triple J demographic but still clings to my love of fresh tunes. Doing my part to keep spreading the love of Aussie music and Australia's greatest radio station.

License

MIT

jjjplay's People

Contributors

jono-hayward avatar jono-pov avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.