Glance/Dynacat Widget #581
rxbrad
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I used to have a Trakt widget in my Glance & Dynacat dashboards (yes, I run both) until Trakt killed their free API access. Here's the Floppy Widget I made to replace it.
Preview
This widget uses the Floppy & TMDB APIs. No paid subscriptions are required.
Environment variables
FLOPPY_API_KEY- Your Floppy API Key. It is listed under Settings --> Integrations --> API Token.FLOPPY_URL- The base URL for your Floppy server, e.g.https://floppy.example.comorhttp://192.168.1.123:8000TMDB_API_KEY- TMDB API Key (to fetch correct media metadata, as Floppy often provides incorrect data via its API). It is listed as the "API Key" on your TMDB API dashboardOptions
These entries can be configured near the beginning of the
templatesection of the Widget YAML:310truetruefalseshowshow,season,stilltrueto link to Floppy,falseto link to TMDBfalseNote
There are additional options that can be configured by editing the
url: ${FLOPPY_URL}/api/v1/history/?limit=10&types=movies,episodesline near the top of the widget:limit=10means that ten DAYS of data are being pulled. If you want to increase youritemsExtractedvalue, you may want to increase this number.types=movies,episodesmeans that the widget shows movies and TV shows. If you only want to show movies, change this to justtypes=movies. If you only want to show TV shows, change it totypes=episodes.Changelog
Widget YAML
All reactions