Skip to content

sahara101/plex-themes-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

plex-themes-api

Plex themes API endpoint for Homepage

DISCLAIMER

I am no programmer! Code is written with help of ChatGPT. Feel free to modify the code as you please. Also open to criticism ;)

This is a docker container which will enable you to create a widget for Themerr in Homepage.

image

Docker-compose

version: '3.8'

services:
  plex-themes-api:
    image: ghcr.io/sahara101/plex-themes-api:latest
    ports:
      - "7089:80"
    environment:
      PLEX_SERVER_URL: http://IP:32400 #Optional. Default http://localhost:32400
      PLEX_TOKEN: TOKEN
      UPDATE_INTERVAL: 600 #Optional. Default 300
    restart: unless-stopped

Homepage

Edit services.yml and add the following to your Themerr service. Change the fields according to the API response (your Plex library names).

widget:
          type: customapi
          url: http://IP:7089
          method: GET
          mappings:
             - field: combined_value_filme
               label: Themes Movies
             - field: combined_value_seriale
               label: Themes Shows
             - field: combined_value_anime
               label: Themes Anime

Thanks to the developers of Homepage, Themerr and ofc ChatGPT

About

Plex themes API endpoint for Homepage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages