-
Notifications
You must be signed in to change notification settings - Fork 278
Network logos
Network logos show a picture instead of a plain text name in the show overview page of Medusa.
The names are automatically provided by the indexers theTVDB and TVRage. In case there are errors in the name please change/report them to one of the above indexers.
They are located under : themes-default/slim/static/images/network
First you need to get your hands on a logo for that particular network. Google is your best friend here. Once that is done use Paint.net or similar program to edit the image.
Some guidelines for the network logos are :
- Make the background transparent.
- Resize the image to 64x32 pixels.
- Save it as a .png.
- Use colored logos.
- Try not to use black or white.
The last is because Medusa has two color themes, Dark and Light. If the logo contains too much of either color it will not show properly/correctly on one of those themes. Make sure you test/check this.
Last step is to rename the image. It needs to have the exact name of the network in the show overview list. Also, use only lower case characters as upper case characters are not recognized. Replace space characters with dashes.
Example : Sky Atlantic
this needs to be renamed to sky-atlantic
So the logo filename will be sky-atlantic.png
Note : Special characters are not supported!
After adding the logo to the themes-default
, you will need to run a post-processing method to generate copies of the image to the "dark" and "light" theme folders. Run the following commands inside the themes-default/slim
directory to do this:
yarn install
gulp sync
yarn dev
When you have the logo(s) ready they needs to be added to Medusa. This is done with a Pull request on GitHub. You can use a program like Sourcetree for submitting. If you are not able to do this, then you can alternatively post the logo and exact filename on our Medusa issue tracker, and one of the contributors/developers will then add it for you.