diff --git a/channelselector.py b/channelselector.py
index 64ca5d98..d90e39d6 100644
--- a/channelselector.py
+++ b/channelselector.py
@@ -238,18 +238,14 @@ def get_thumb(thumb_name, view="thumb_", auto=False):
else:
icon_pack_name = config.get_setting('icon_set', default="default")
-
resource_path = os.path.join(config.get_runtime_path(), "resources", "media", "themes")
media_path = os.path.join(resource_path, icon_pack_name)
- if config.get_setting('enable_custom_theme') and config.get_setting('custom_theme') and os.path.isfile(config.get_setting('custom_theme') + view + thumb_name):
- media_path = config.get_setting('custom_theme')
+ if os.path.isdir(media_path) == False:
+ media_path = os.path.join("https://raw.githubusercontent.com/kodiondemand/media/master/themes/", icon_pack_name)
- # elif os.path.isdir(media_path) == False:
- # media_path = os.path.join("https://raw.githubusercontent.com/alfa-addon/media/master/themes/", icon_pack_name)
-
- media_path = os.path.join(resource_path, icon_pack_name)
-
+ elif config.get_setting('enable_custom_theme') and config.get_setting('custom_theme') and os.path.isfile(config.get_setting('custom_theme') + view + thumb_name):
+ media_path = config.get_setting('custom_theme')
return os.path.join(media_path, view + thumb_name)
diff --git a/resources/media/themes/default/banner.ai b/resources/media/themes/default/banner.ai
new file mode 100644
index 00000000..05e828b5
--- /dev/null
+++ b/resources/media/themes/default/banner.ai
@@ -0,0 +1,3438 @@
+%PDF-1.5
%
+1 0 obj
<>/OCGs[15 0 R 16 0 R 17 0 R 14 0 R]>>/Pages 3 0 R/Type/Catalog>>
endobj
2 0 obj
<>stream
+
+
+
+
+ application/pdf
+
+
+ banner
+
+
+ Adobe Illustrator CC 23.0 (Windows)
+ 2019-04-25T16:40:35+02:00
+ 2019-04-25T16:40:35+02:00
+ 2019-04-25T16:40:35+02:00
+
+
+
+ 256
+ 24
+ JPEG
+ /9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAASAAAAAEA
AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAo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6E2D887CEACB407
+ xmp.did:d19bb605-fc41-1147-84d5-e8306b9c7bf3
+ uuid:0f882cf7-ca0c-4f37-ad94-a9aaa2846b1e
+
+ xmp.iid:97f9f605-276d-fd40-a033-abadb5344d0b
+ xmp.did:97f9f605-276d-fd40-a033-abadb5344d0b
+ uuid:65E6390686CF11DBA6E2D887CEACB407
+ proof:pdf
+
+
+
+
+ saved
+ xmp.iid:97f9f605-276d-fd40-a033-abadb5344d0b
+ 2019-04-25T16:40:01+02:00
+ Adobe Illustrator CC 23.0 (Windows)
+ /
+
+
+ saved
+ xmp.iid:d19bb605-fc41-1147-84d5-e8306b9c7bf3
+ 2019-04-25T16:40:28+02:00
+ Adobe Illustrator CC 23.0 (Windows)
+ /
+
+
+
+ Web
+ Document
+ 1
+ True
+ False
+
+ 1400.000000
+ 140.000000
+ Pixels
+
+
+
+
+ FFDINPro-Regular
+ FF DIN Pro
+ Regular
+ Open Type
+ Version 7.504; 2009; Build 1022;
+ False
+ FF DIN Pro Regular.otf
+
+
+ FFDINPro-Medium
+ FF DIN Pro
+ Medium
+ Open Type
+ Version 7.504; 2009; Build 1022;
+ False
+ FF DIN Pro Medium.otf
+
+
+ FFDINPro-Bold
+ FF DIN Pro
+ Bold
+ Open Type
+ Version 7.504; 2009; Build 1022;
+ False
+ FF DIN Pro Bold.otf
+
+
+ KozGoPr6N-Medium
+ 小塚ゴシック Pr6N
+ M
+ Open Type
+ Version 6.016;PS 6.007;hotconv 1.0.70;makeotf.lib2.5.5900
+ False
+ KozGoPr6N-Medium.otf
+
+
+
+
+
+ Cyan
+ Magenta
+ Yellow
+ Black
+
+
+
+
+
+ Gruppo campioni predefinito
+ 0
+
+
+
+ Bianco
+ RGB
+ PROCESS
+ 255
+ 255
+ 255
+
+
+ Nero
+ RGB
+ PROCESS
+ 0
+ 0
+ 0
+
+
+ Rosso RGB
+ RGB
+ PROCESS
+ 255
+ 0
+ 0
+
+
+ Giallo RGB
+ RGB
+ PROCESS
+ 255
+ 255
+ 0
+
+
+ Verde RGB
+ RGB
+ PROCESS
+ 0
+ 255
+ 0
+
+
+ Cyan RGB
+ RGB
+ PROCESS
+ 0
+ 255
+ 255
+
+
+ Blu RGB
+ RGB
+ PROCESS
+ 0
+ 0
+ 255
+
+
+ Magenta RGB
+ RGB
+ PROCESS
+ 255
+ 0
+ 255
+
+
+ R=193 G=39 B=45
+ RGB
+ PROCESS
+ 193
+ 39
+ 45
+
+
+ R=237 G=28 B=36
+ RGB
+ PROCESS
+ 237
+ 28
+ 36
+
+
+ R=241 G=90 B=36
+ RGB
+ PROCESS
+ 241
+ 90
+ 36
+
+
+ R=247 G=147 B=30
+ RGB
+ PROCESS
+ 247
+ 147
+ 30
+
+
+ R=251 G=176 B=59
+ RGB
+ PROCESS
+ 251
+ 176
+ 59
+
+
+ R=252 G=238 B=33
+ RGB
+ PROCESS
+ 252
+ 238
+ 33
+
+
+ R=217 G=224 B=33
+ RGB
+ PROCESS
+ 217
+ 224
+ 33
+
+
+ R=140 G=198 B=63
+ RGB
+ PROCESS
+ 140
+ 198
+ 63
+
+
+ R=57 G=181 B=74
+ RGB
+ PROCESS
+ 57
+ 181
+ 74
+
+
+ R=0 G=146 B=69
+ RGB
+ PROCESS
+ 0
+ 146
+ 69
+
+
+ R=0 G=104 B=55
+ RGB
+ PROCESS
+ 0
+ 104
+ 55
+
+
+ R=34 G=181 B=115
+ RGB
+ PROCESS
+ 34
+ 181
+ 115
+
+
+ R=0 G=169 B=157
+ RGB
+ PROCESS
+ 0
+ 169
+ 157
+
+
+ R=41 G=171 B=226
+ RGB
+ PROCESS
+ 41
+ 171
+ 226
+
+
+ R=0 G=113 B=188
+ RGB
+ PROCESS
+ 0
+ 113
+ 188
+
+
+ R=46 G=49 B=146
+ RGB
+ PROCESS
+ 46
+ 49
+ 146
+
+
+ R=27 G=20 B=100
+ RGB
+ PROCESS
+ 27
+ 20
+ 100
+
+
+ R=102 G=45 B=145
+ RGB
+ PROCESS
+ 102
+ 45
+ 145
+
+
+ R=147 G=39 B=143
+ RGB
+ PROCESS
+ 147
+ 39
+ 143
+
+
+ R=158 G=0 B=93
+ RGB
+ PROCESS
+ 158
+ 0
+ 93
+
+
+ R=212 G=20 B=90
+ RGB
+ PROCESS
+ 212
+ 20
+ 90
+
+
+ R=237 G=30 B=121
+ RGB
+ PROCESS
+ 237
+ 30
+ 121
+
+
+ R=199 G=178 B=153
+ RGB
+ PROCESS
+ 199
+ 178
+ 153
+
+
+ R=153 G=134 B=117
+ RGB
+ PROCESS
+ 153
+ 134
+ 117
+
+
+ R=115 G=99 B=87
+ RGB
+ PROCESS
+ 115
+ 99
+ 87
+
+
+ R=83 G=71 B=65
+ RGB
+ PROCESS
+ 83
+ 71
+ 65
+
+
+ R=198 G=156 B=109
+ RGB
+ PROCESS
+ 198
+ 156
+ 109
+
+
+ R=166 G=124 B=82
+ RGB
+ PROCESS
+ 166
+ 124
+ 82
+
+
+ R=140 G=98 B=57
+ RGB
+ PROCESS
+ 140
+ 98
+ 57
+
+
+ R=117 G=76 B=36
+ RGB
+ PROCESS
+ 117
+ 76
+ 36
+
+
+ R=96 G=56 B=19
+ RGB
+ PROCESS
+ 96
+ 56
+ 19
+
+
+ R=66 G=33 B=11
+ RGB
+ PROCESS
+ 66
+ 33
+ 11
+
+
+
+
+
+ Grigi
+ 1
+
+
+
+ R=0 G=0 B=0
+ RGB
+ PROCESS
+ 0
+ 0
+ 0
+
+
+ R=26 G=26 B=26
+ RGB
+ PROCESS
+ 26
+ 26
+ 26
+
+
+ R=51 G=51 B=51
+ RGB
+ PROCESS
+ 51
+ 51
+ 51
+
+
+ R=77 G=77 B=77
+ RGB
+ PROCESS
+ 77
+ 77
+ 77
+
+
+ R=102 G=102 B=102
+ RGB
+ PROCESS
+ 102
+ 102
+ 102
+
+
+ R=128 G=128 B=128
+ RGB
+ PROCESS
+ 128
+ 128
+ 128
+
+
+ R=153 G=153 B=153
+ RGB
+ PROCESS
+ 153
+ 153
+ 153
+
+
+ R=179 G=179 B=179
+ RGB
+ PROCESS
+ 179
+ 179
+ 179
+
+
+ R=204 G=204 B=204
+ RGB
+ PROCESS
+ 204
+ 204
+ 204
+
+
+ R=230 G=230 B=230
+ RGB
+ PROCESS
+ 230
+ 230
+ 230
+
+
+ R=242 G=242 B=242
+ RGB
+ PROCESS
+ 242
+ 242
+ 242
+
+
+
+
+
+ Gruppo colori Web
+ 1
+
+
+
+ R=63 G=169 B=245
+ RGB
+ PROCESS
+ 63
+ 169
+ 245
+
+
+ R=122 G=201 B=67
+ RGB
+ PROCESS
+ 122
+ 201
+ 67
+
+
+ R=255 G=147 B=30
+ RGB
+ PROCESS
+ 255
+ 147
+ 30
+
+
+ R=255 G=29 B=37
+ RGB
+ PROCESS
+ 255
+ 29
+ 37
+
+
+ R=255 G=123 B=172
+ RGB
+ PROCESS
+ 255
+ 123
+ 172
+
+
+ R=189 G=204 B=212
+ RGB
+ PROCESS
+ 189
+ 204
+ 212
+
+
+
+
+
+
+ Adobe PDF library 15.00
+ 21.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+endstream
endobj
3 0 obj
<>
endobj
19 0 obj
<>
endobj
20 0 obj
<>
endobj
21 0 obj
<>
endobj
32 0 obj
<>
endobj
33 0 obj
<>
endobj
34 0 obj
<>
endobj
35 0 obj
<>
endobj
36 0 obj
<>
endobj
57 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
58 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
59 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
60 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
61 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
62 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
63 0 obj
<>/Resources<>/ExtGState<>/Properties<>/XObject<>>>/TrimBox[0.0 0.0 1400.0 140.0]/Type/Page>>
endobj
81 0 obj
<>stream
+Htn5^#.o[2
4%S0 o.)tTҷ廏|Ϋz^}T=K.,~?^ˏK;v||/'|_Rr,UnWSS㻭-<_5Wɲm6mkɾR-,t`WO}:%jY&G(ManTeA26'cd|["EN\>EBxA69-74S~@2gPÓM<'"V"z`iOUXٔެy.5nc".'kWMF%۔J5 r$XфvT.,%eePȾuT%sV\2rAM#FrTO )x]/>eCWa{A}\ ZWJyv:UJ"RWdQhrobȞ>P@ *'lUM]hNlz1y,us[GtuBgb)A3q
+4-eCQb$JXjjnk2-vqJ@XE_95
bs??VGC0Ѓ+d"/xFSgV;)'KaSok_:hK0Kn܃ t#/vYU?q]{īGlo؊[M
ZWǑ1Q9lMϡh$wff.l#梠B