]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
ui: Add TMDB attribution strings and logos.
authorE.Smith <31170571+azlm8t@users.noreply.github.com>
Sat, 29 Sep 2018 11:38:37 +0000 (12:38 +0100)
committerperexg <perex@perex.cz>
Tue, 2 Oct 2018 14:05:03 +0000 (16:05 +0200)
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
src/webui/extjs.c
src/webui/static/img/tmdb.png [new file with mode: 0644]

index 097cb7d49efb8aaa2ba07a9878bc5342c8b2715c..f28a240543a2521c8679365ff7b72d928c321a54 100755 (executable)
@@ -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
index 32e79751566316aae6a06593c3dc4b8916434712..ae18029180446be7d962ae99eadb57bc10e5b087 100644 (file)
@@ -207,8 +207,9 @@ page_about(http_connection_t *hc, const char *remain, void *opaque)
 %s <a target=\"_blank\" href=\"http://www.famfamfam.com/lab/icons/silk/\">\
 FamFamFam</a>, "\
 "<a target=\"_blank\" href=\"https://www.google.com/get/noto/help/emoji/\">Google Noto Color Emoji</a> "\
-"<a target=\"_blank\" href=\"https://raw.githubusercontent.com/googlei18n/noto-emoji/master/LICENSE\">(Apache Licence v2.0)</a>\n\
-</p>\n",
+"<a target=\"_blank\" href=\"https://raw.githubusercontent.com/googlei18n/noto-emoji/master/LICENSE\">(Apache Licence v2.0)</a>.\n"\
+"\nThis product uses the TMDB API but is not endorsed or certified by <a target=\"_blank\" href=\"https://www.themoviedb.org\">TMDb</a> <img src=\"static/img/tmdb.png\">\n"\
+"</p>\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 (file)
index 0000000..6a91083
Binary files /dev/null and b/src/webui/static/img/tmdb.png differ