Ivars 7 years ago
parent
commit
bc946ec9e8
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      plugin.py

+ 2
- 0
plugin.py View File

15
 locale_init(plugin.__title__,"locale")
15
 locale_init(plugin.__title__,"locale")
16
 language.addCallback(locale_init)
16
 language.addCallback(locale_init)
17
 
17
 
18
+
18
 def main(session, **kwargs):
19
 def main(session, **kwargs):
19
     try:
20
     try:
20
         reload(plugin)
21
         reload(plugin)
23
         print "Error loading PlayStream - "+ e.message
24
         print "Error loading PlayStream - "+ e.message
24
         traceback.print_exc()
25
         traceback.print_exc()
25
 
26
 
27
+
26
 def menu(menuid, **kwargs):
28
 def menu(menuid, **kwargs):
27
     if menuid == "mainmenu":
29
     if menuid == "mainmenu":
28
         return [(plugin.__title__, main, plugin.__id__, 57)]
30
         return [(plugin.__title__, main, plugin.__id__, 57)]