diff --git a/CHANGES.md b/CHANGES.md index e2c9af86..4b7c7817 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -19,6 +19,9 @@ * Add to config/media-process/File Handling, "Rename TBA" and "Rename any" * Add config to change media process log message if there is no media to process * Change view-show text "invalid timeformat" to "time unknown" +* Add menu Shows/"TMDB Cards" +* Add a persons available socials (Youtube, LinkedIn, Reddit, Fansite, TikTok, Wikidata) +* Change use TVDb genres on view-show if config/General/Interface/"Enable IMDb info" is disabled ### 3.28.0 (2023-04-12 13:05:00 UTC) diff --git a/HACKS.txt b/HACKS.txt index 2de46cce..ebd909c2 100644 --- a/HACKS.txt +++ b/HACKS.txt @@ -17,6 +17,7 @@ Libs with customisations... /lib/hachoir_parser/guess.py /lib/hachoir_parser/misc/torrent.py /lib/imdbpie +/lib/language_data/names.py /lib/lockfile/mkdirlockfile.py /lib/rtorrent /lib/scandir/scandir.py diff --git a/gui/slick/css/style.css b/gui/slick/css/style.css index b2fc5381..9b7fdebe 100644 --- a/gui/slick/css/style.css +++ b/gui/slick/css/style.css @@ -1312,6 +1312,9 @@ div.formpaginate{ width:480px; margin-top:0 } +#addShowForm #nameToSearch.select2{ + width:428px; +} #addShowForm #nameToSearch.wide{ width:591px; } @@ -1439,12 +1442,16 @@ home_browseShows.tmpl padding-top:2px } +.show-card-inner .rating{ + margin-right:3px; +} + .show-card-inner .heart.icon-glyph{ display:inline-block; float:none; height:15px; width:15px; - margin:0 -3px -2px 2px + margin:0 -3px -2px -1px } .show-card-inner p, .show-card-inner i{ @@ -3786,6 +3793,13 @@ option.flag{ background-position:10px 50% } +#select2-infosrc-lang-select-container .flag, +#select2-infosrc-lang-select-results .flag{ + padding-left:25px; + background-repeat:no-repeat; + background-position:0 50% +} + /* Anime section for editShow */ .anigrouplists-wrapper{ height:auto; diff --git a/gui/slick/images/_placeholder16.png b/gui/slick/images/_placeholder16.png new file mode 100644 index 00000000..782dccd3 Binary files /dev/null and b/gui/slick/images/_placeholder16.png differ diff --git a/gui/slick/images/flags/hy.png b/gui/slick/images/flags/hy.png new file mode 100644 index 00000000..6b754cc5 Binary files /dev/null and b/gui/slick/images/flags/hy.png differ diff --git a/gui/slick/images/flags/ka.png b/gui/slick/images/flags/ka.png new file mode 100644 index 00000000..3cc3a7b6 Binary files /dev/null and b/gui/slick/images/flags/ka.png differ diff --git a/gui/slick/images/flags/nb.png b/gui/slick/images/flags/nb.png new file mode 100644 index 00000000..74264c58 Binary files /dev/null and b/gui/slick/images/flags/nb.png differ diff --git a/gui/slick/images/flags/nn.png b/gui/slick/images/flags/nn.png new file mode 100644 index 00000000..74264c58 Binary files /dev/null and b/gui/slick/images/flags/nn.png differ diff --git a/gui/slick/images/flags/sq.png b/gui/slick/images/flags/sq.png new file mode 100644 index 00000000..d29dfd4f Binary files /dev/null and b/gui/slick/images/flags/sq.png differ diff --git a/gui/slick/images/flags/ua.png b/gui/slick/images/flags/ua.png deleted file mode 100644 index 7182cb38..00000000 Binary files a/gui/slick/images/flags/ua.png and /dev/null differ diff --git a/gui/slick/images/flags/uk.png b/gui/slick/images/flags/uk.png index 405e897c..7182cb38 100644 Binary files a/gui/slick/images/flags/uk.png and b/gui/slick/images/flags/uk.png differ diff --git a/gui/slick/images/linkedin16.png b/gui/slick/images/linkedin16.png new file mode 100644 index 00000000..0b25f3c0 Binary files /dev/null and b/gui/slick/images/linkedin16.png differ diff --git a/gui/slick/images/reddit16.png b/gui/slick/images/reddit16.png new file mode 100644 index 00000000..f72a298f Binary files /dev/null and b/gui/slick/images/reddit16.png differ diff --git a/gui/slick/images/tiktok16.png b/gui/slick/images/tiktok16.png new file mode 100644 index 00000000..8b31cab4 Binary files /dev/null and b/gui/slick/images/tiktok16.png differ diff --git a/gui/slick/images/wikidata16.png b/gui/slick/images/wikidata16.png new file mode 100644 index 00000000..de063467 Binary files /dev/null and b/gui/slick/images/wikidata16.png differ diff --git a/gui/slick/images/youtube16.png b/gui/slick/images/youtube16.png new file mode 100644 index 00000000..f111ee7b Binary files /dev/null and b/gui/slick/images/youtube16.png differ diff --git a/gui/slick/interfaces/default/cast_role.tmpl b/gui/slick/interfaces/default/cast_role.tmpl index 54812724..a42ceec7 100644 --- a/gui/slick/interfaces/default/cast_role.tmpl +++ b/gui/slick/interfaces/default/cast_role.tmpl @@ -77,7 +77,7 @@ def param(visible=True, rid=None, cache_person=None, cache_char=None, person=Non #elif $PersonGenders.male == $cur_person.gender# #set $gender = 'himself' #end if# - #set $name = ($cur_person.name, $gender)[$rc_clean.sub('', $cur_person.name.lower()) == $rc_clean.sub('', $character.name.lower())] + #set $name = ($cur_person.name, $gender)[$rc_clean.sub('', $cur_person.name.lower()) == $rc_clean.sub('', ($character.name or 'unknown name').lower())] $name#if 2 <= $num_people and $cur_enum + 1 == $num_people# and #elif 2 < $num_people and $cur_enum < $num_people#, #end if# #end for diff --git a/gui/slick/interfaces/default/displayShow.tmpl b/gui/slick/interfaces/default/displayShow.tmpl index fc7d97b1..1c278b5f 100644 --- a/gui/slick/interfaces/default/displayShow.tmpl +++ b/gui/slick/interfaces/default/displayShow.tmpl @@ -176,6 +176,9 @@ #if not $genres_done and $show_obj.genre #for $genre in $show_obj.genre.split('|') #set $genres_done = True + #if $TVINFO_TVDB == $show_obj.tvid + #set $genre = '%s' % (anon_url('https://thetvdb.com/genres/', $genre), $genre, $genre) + #end if $genre #end for# #end if diff --git a/gui/slick/interfaces/default/editShow.tmpl b/gui/slick/interfaces/default/editShow.tmpl index efc409a7..c9733cab 100644 --- a/gui/slick/interfaces/default/editShow.tmpl +++ b/gui/slick/interfaces/default/editShow.tmpl @@ -28,6 +28,24 @@ + + + + + #if $varExists('header')