Discussion
Loading...

Discussion

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Lime Bar
Lime Bar
@limebar@mastodon.social  路  activity timestamp last week

Over the last week, starting on launch day, @scy has been helping us to make #TIBtv better for you and for artists. A huge debt of thanks to them for all of the help. Here's what we've improved in a week:
- custom css and js to enable now playing info (now 100% fancier) below the video on the site
- custom css and js to enable scrobbing with PanoScrobbler
- a WebScrobbler connector (will take time in their release process)
- a chat bot that posts now playing in chat when new tracks play
馃く 馃敟

  • Copy link
  • Flag this post
  • Block
decibyte
decibyte
@decibyte@social.data.coop replied  路  activity timestamp 5 days ago

@limebar @scy Hah! The launch of TIBtv ruined my scrobbling goals for 2025. Killah to be able to scrobble what's playing there 鈾ワ笍

  • Copy link
  • Flag this comment
  • Block
Phil Nelson
Phil Nelson
@philnelson@xoxo.zone replied  路  activity timestamp last week

@limebar @scy oooh how鈥檇 you do the nowplaying JS? Want for RSTV

  • Copy link
  • Flag this comment
  • Block
scy
scy
@scy@chaos.social replied  路  activity timestamp last week

@philnelson Basically I've written a Python application (https://codeberg.org/scy/tibd) that polls the Now Playing metadata from a HTTP endpoint provided by @limebar, fed directly from Liquidsoap.

Then I made it available in an SSE feed (https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) provided by my Python app.

In JavaScript, ist was reeelatively simple to then use EventSource to subscribe to that feed and get real-time updates.

That way, viewers don't need to poll the metadata endpoint and get realtime updates.

Server-sent events - Web APIs | MDNMDN

Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page. These incoming messages can be treated as Events + data inside the web page.
Codeberg.org

tibd

The Indie Beat Daemon
  • Copy link
  • Flag this comment
  • Block
scy
scy
@scy@chaos.social replied  路  activity timestamp last week

@philnelson But in your case, live updates probably aren't that important, since your videos are way longer than TIBtv's clips, so you could just have viewer's browsers poll the "now playing" data you already have behind that button 馃

You can check out custom.js and custom.css (https://codeberg.org/scy/tibd/src/branch/main/owncast-integration) for how we injected the text below Owncast's video player.

Cookie monster!

  • Copy link
  • Flag this comment
  • Block
Lime Bar
Lime Bar
@limebar@mastodon.social replied  路  activity timestamp last week

@philnelson @scy

part of the answer is over here on TIBtv codeberg Readme, look for Owncast customization

https://codeberg.org/limebar/TheIndieBeatTelevision

Codeberg.org

TheIndieBeatTelevision

A repo for the LiquidSoap script, directory structure, and other files driving https://live.theindiebeat.fm
  • Copy link
  • Flag this comment
  • Block
scy
scy
@scy@chaos.social replied  路  activity timestamp last week

@limebar Thanks! Happy to help :)

I'll admit, the main motivation behind this was that I love scrobbling music and needed some way to make that possible with #TIBtv 馃槄 But of course now everyone can benefit from these integrations.

Thanks to you and the #TheIndieBeat team for launching this thing in the first place, and implementing my feature requests!

If anyone wants to track progress on the #WebScrobbler connector, the pull request is here: https://github.com/web-scrobbler/web-scrobbler/pull/5771

  • Copy link
  • Flag this comment
  • Block
Lime Bar
Lime Bar
@limebar@mastodon.social replied  路  activity timestamp last week

@scy
awesome!

I wrote an article over here on NHAM explaining how scrobbling can be helpful to indie artists... and if anyone doesn't know what scrobbling is or wants to learn how, this article can help as well:

https://nham.co.uk/2025/10/scrobble-baby/

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.1-beta.22 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct