Skip to content

Conversation

@RobertBoes
Copy link

@RobertBoes RobertBoes commented Jan 23, 2017

I started working on loading PlexRequest from a config file. I did it since I adjusted some texts, changed pictures etc. This means I have to do it all again if you update PlexRequest. I ended up with something which I think is easily customizable; you can add more custom applications, overwrite any texts that are used. Here are a few screenshots with what's possible (and I'll provide the config files that you need).

What you'll need to do when installing is create a config.json file in the root project (this will not be overwritten if you pull changes).

Simple config:

Simple config

Config:

{
  "server": {
    "name": "LocalServer",
    "brand_url": "/",
    "plex_domain": "localhost",
    "plex_port": "32400"
  },
  "applications": [
    {
      "PlexWeb": {

      },
      "PlexRequests": {
        "header": "Request a new movie!"
      },
      "PlexEmail": {

      }
    },
    {
      "PlexPy": {

      },
      "Sonarr": {

      },
      "Radarr": {

      }
    }
  ]
}

Minimal layout with a "custom" PlexPy logo

Minimal layout

{
  "server": {
    "name": "Plex",
    "brand_url": "/",
    "plex_domain": "localhost",
    "plex_port": "32400"
  },
  "applications": [
    {
      "PlexWeb": {
        "header": "Plex",
        "description": "View a movie"
      },
      "PlexPy": {
        "header": "PlexPy",
        "description": "Server stats",
        "image": "https://raw.githubusercontent.com/JonnyWong16/plexpy/master/data/interfaces/default/images/favicon.png"
      },
      "Sonarr": {
        "header": "Sonarr",
        "description": "Add new series"
      },
      "Radarr": {
        "header": "Radarr",
        "description": "Add new series"
      }
    }
  ]
}

If you have any questions or suggestions, I'm happy to answer/help! :)

Robert Boes added 6 commits January 17, 2017 21:51
Also a lot of HTML markup errors fixed
- Also made a gitignore to make sure users can pull changes without
overwriting config or conflicts
- Remove unnecessary css
- Create applications from javascript, also when there are less than 4
items it scales them (bootstrap columns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant