Ivars před 6 roky
rodič
revize
00075206f0
7 změnil soubory, kde provedl 524 přidání a 458 odebrání
  1. 3
    4
      addon.py
  2. 1
    4
      addon.xml
  3. 7
    2
      changelog.md
  4. 0
    1
      kmake.bat
  5. 1
    0
      kodiswift/plugin.py
  6. 511
    446
      project.wpr
  7. 1
    1
      version.txt

+ 3
- 4
addon.py Zobrazit soubor

@@ -20,7 +20,7 @@ icong_url =  xbmcaddon.Addon().getAddonInfo("path") + "/resources/picons/"
20 20
 sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)),"resources","lib", "content", "sources"))
21 21
 
22 22
 plugin = Plugin()
23
-plugin.load_addon_settings()
23
+#plugin.load_addon_settings()
24 24
 use_storage = plugin.get_setting("general_use_storage",bool) # TODO vajag nočekot vai nav labāk lietot pickle
25 25
 storage_ttl = plugin.get_setting("general_ttl",int)
26 26
 use_proxy = plugin.get_setting("general_proxy_use",bool)
@@ -117,7 +117,7 @@ def main():
117 117
             print "[playstream] Save sources to storage"
118 118
             storage["sources"] = sources
119 119
             storage.sync()
120
-        return plugin.finish(items, view_mode=get_view_mode(), update_listing=False, cache_to_disc=False)
120
+        return plugin.finish(items, view_mode=get_view_mode(view_mode), update_listing=False, cache_to_disc=False)
121 121
 
122 122
 def get_list(data):
123 123
     if isinstance(data,unicode):
@@ -214,7 +214,7 @@ def thumb_data(img, video=False):
214 214
         img = icong_url + img
215 215
     return img
216 216
 
217
-def get_view_mode():
217
+def get_view_mode(vm):
218 218
     modes = {
219 219
         "skin.estuary": {
220 220
             "None": None,
@@ -230,7 +230,6 @@ def get_view_mode():
230 230
         }
231 231
     }
232 232
     skin = xbmc.getSkinDir()
233
-    vm = plugin.get_setting("general_view_mode", str)
234 233
     if skin in modes and vm in modes[skin]:
235 234
         view_mode = modes[skin][vm]
236 235
     else:

+ 1
- 4
addon.xml Zobrazit soubor

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
-<addon version="0.1.53" id="plugin.video.playstream" name="PlayStream" provider-name="ivars777"  >
2
+<addon version="0.1.55" id="plugin.video.playstream" name="PlayStream" provider-name="ivars777"  >
3 3
   <requires>
4 4
     <import addon="xbmc.python" version="2.1.0"/>
5 5
     <import addon="script.module.requests" />
@@ -8,9 +8,6 @@
8 8
   <extension point="xbmc.python.pluginsource" library="addon.py">
9 9
     <provides>video</provides>
10 10
   </extension>
11
-  <extension point="xbmc.python.pluginsource" library="addon.py">
12
-    <provides>video</provides>
13
-  </extension>
14 11
   <extension point="xbmc.service" library="service.py" />
15 12
   <extension point="xbmc.addon.metadata">
16 13
     <platform>all</platform>

+ 7
- 2
changelog.md Zobrazit soubor

@@ -1,7 +1,12 @@
1
-**0.1.53** (17.02.2018)
1
+**0.1.55** (18.02.2018)
2
+- [bugfix] salabots ltc (arhīvs, epg u.c.)
3
+- [bugfix] salabots filmix search
4
+- [change] replay, ltc tiešraidēs nosaukumā rāda epg
5
+
6
+**0.1.54** (17.01.2018)
2 7
 - [bugfix] salabots submodule
3 8
 
4
-**0.1.52** (17.02.2018)
9
+**0.1.52** (17.01.2018)
5 10
 - [feature] PlayStream autostart opcija
6 11
 - [feature] View Mode opcija
7 12
 

+ 0
- 1
kmake.bat Zobrazit soubor

@@ -1,7 +1,6 @@
1 1
 @echo off
2 2
 
3 3
 :--- Pull content submodule ---
4
-git submodule update --init -- "resources/lib/content"
5 4
 pushd resources\lib\content
6 5
 git checkout .
7 6
 git pull

+ 1
- 0
kodiswift/plugin.py Zobrazit soubor

@@ -106,6 +106,7 @@ class Plugin(XBMCMixin):
106 106
             strings_fn = os.path.join(
107 107
                 plugin_dir, 'resources', 'language', 'English', 'strings.po')
108 108
             utils.load_addon_strings(self._addon, strings_fn)
109
+            self.load_addon_settings()
109 110
 
110 111
     @property
111 112
     def info_type(self):

+ 511
- 446
project.wpr
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


+ 1
- 1
version.txt Zobrazit soubor

@@ -1 +1 @@
1
-0.1.53
1
+0.1.55