File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " pyvideothumbnailer"
7- version = " 2.0.2 "
7+ version = " 2.0.3 "
88authors = [
99 { name =" Harald Hetzner" , email =" 57875126+hhtznr@users.noreply.github.com" },
1010]
Original file line number Diff line number Diff line change 4040
4141__author__ = 'Harald Hetzner'
4242__license__ = 'BSD 3-Clause License'
43- __version__ = '2.0.2 '
43+ __version__ = '2.0.3 '
4444
4545class Parameters :
4646 """
@@ -493,6 +493,10 @@ def __init_parameters(self):
493493 self .parameters .vertical_video_rows = config .getint (ConfigFile .CONFIG_SECTION_LAYOUT , 'vertical_video_rows' )
494494 if 'spacing' in layout_options :
495495 self .parameters .spacing = config .getint (ConfigFile .CONFIG_SECTION_LAYOUT , 'spacing' )
496+ if 'background_color' in layout_options :
497+ color_value = config .get (ConfigFile .CONFIG_SECTION_LAYOUT , 'background_color' )
498+ if color_value is not None and color_value != '' :
499+ self .parameters .background_color = ImageColor .getrgb (color_value )
496500 if 'no_header' in layout_options :
497501 self .parameters .no_header = config .getboolean (ConfigFile .CONFIG_SECTION_LAYOUT , 'no_header' )
498502 if 'header_font' in layout_options :
You can’t perform that action at this time.
0 commit comments