From 718fdbc9fa5a75486f15e75a7284ab47052c88f4 Mon Sep 17 00:00:00 2001 From: "E.Smith" <31170571+azlm8t@users.noreply.github.com> Date: Sat, 29 Sep 2018 12:38:37 +0100 Subject: [PATCH] ui: Add TMDB attribution strings and logos. The logo is taken from: https://www.themoviedb.org/about/logos-attribution and resized with: convert -resize 32x --- lib/py/tvh/tv_meta_tmdb.py | 2 ++ src/webui/extjs.c | 5 +++-- src/webui/static/img/tmdb.png | Bin 0 -> 1014 bytes 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 src/webui/static/img/tmdb.png diff --git a/lib/py/tvh/tv_meta_tmdb.py b/lib/py/tvh/tv_meta_tmdb.py index 097cb7d49..f28a24054 100755 --- a/lib/py/tvh/tv_meta_tmdb.py +++ b/lib/py/tvh/tv_meta_tmdb.py @@ -1,6 +1,8 @@ #! /usr/bin/env python2.7 # Retrieve details for a movie from tmdb. # +# This product uses the TMDb API but is not endorsed or certified by TMDb. +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or diff --git a/src/webui/extjs.c b/src/webui/extjs.c index 32e797515..ae1802918 100644 --- a/src/webui/extjs.c +++ b/src/webui/extjs.c @@ -207,8 +207,9 @@ page_about(http_connection_t *hc, const char *remain, void *opaque) %s \ FamFamFam, "\ "Google Noto Color Emoji "\ -"(Apache Licence v2.0)\n\ -

\n", +"(Apache Licence v2.0).\n"\ +"\nThis product uses the TMDB API but is not endorsed or certified by TMDb \n"\ +"

\n", tvh_gettext_lang(lang, N_("Based on software from")), tvh_gettext_lang(lang, N_("Icons from"))); diff --git a/src/webui/static/img/tmdb.png b/src/webui/static/img/tmdb.png new file mode 100644 index 0000000000000000000000000000000000000000..6a9108341a2f953d13a3935862317882d6a47453 GIT binary patch literal 1014 zc-jH>0}1?zP)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006 zVoOIv0RI600RN!9r;`8x00(qQO+^Rd2NV@9IK%7Q*Z=?m`bk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