Although #4 introduced now_playing.txt
, I can well believe that I might occasionally forget to check until after something's finished playing (and so the file's rotated).
I'd like to add the option to write a point into InfluxDB whenever we play something, that way there'll be a history which can be looked at
Activity
03-Aug-24 16:03
assigned to @btasker
03-Aug-24 16:23
The image is now able to write playback history into InfluxDB whenever an episode starts (and ends).
This is off by default, but can be configured by setting the relevant environment variables, for example
The writes use the v2 API by default.
It will still work for people who are still rocking 1.x - to authenticate with the compatability API (assuming auth is enabled) simply set the token using the format
username:password
.The default measurement is
tv_station
however you can override this using env varINFLUXDB_MEASUREMENT
.04-Aug-24 09:14
mentioned in commit github-mirror/Home-TV-Station@5de723d7a06842dad3d3d96fd933f99945afb23f
Message
docs: update README (project-management-only/home-tv-station#6)
04-Aug-24 09:14
mentioned in commit github-mirror/Home-TV-Station@c2a1dc71263f86060aa2111702e6ee4037ff00aa
Message
feat: write history of play start/stop to InfluxDB (project-management-only/home-tv-station#6)