Habe im Konfigmenü das Datumsformat gesetzt. Seit dem geht es auch ohne meine else Schleife. Denke es wäre gut wenn man einen default hat auch wenn rec_name noch nicht gesetzt ist. Oder rec_name bei der initialisierung setzen.
Beiträge von Metz123
-
-
Zeilen 446 und folgende angepasst von:
if __addon__.getSetting('rec_name') == '0':
label=datetime.datetime.fromtimestamp(start).strftime('%Y.%m.%d. %H:%M')+' '
elif __addon__.getSetting('rec_name') == '1':
label=datetime.datetime.fromtimestamp(start).strftime('%a %d.%m.%Y. %H:%M')+' '
zu:if __addon__.getSetting('rec_name') == '0':
label=datetime.datetime.fromtimestamp(start).strftime('%Y.%m.%d. %H:%M')+' '
elif __addon__.getSetting('rec_name') == '1':
label=datetime.datetime.fromtimestamp(start).strftime('%a %d.%m.%Y. %H:%M')+' '
else:
label=__addon__.getSetting('rec_name')-> Ergebnis: Der rec_name ist leer.
-
Ich kann seit ca. 2 Wochen nicht mehr auf die Aufnahmen zugreifen. DB file schon gelöscht. In den Einstellungen cache und DB neu erstellt.
14:06:25.765 T:139973988005888 DEBUG: Alloc resources: 0.16ms
14:06:25.766 T:139971172235008 DEBUG: Thread Timer start, auto delete: false
14:06:25.771 T:139972500477696 DEBUG: plugin.video.zattooHiQ: https://zattoo.com/zapi/playlist
14:06:25.772 T:139971172235008 DEBUG: Thread Timer 139971172235008 terminating
14:06:25.774 T:139971163842304 DEBUG: Thread Timer start, auto delete: false
14:06:25.949 T:139972500477696 DEBUG: recordliste: {u'recorded_tv_series': [{u'tv_series_id': 21, u'cid': u'prosieben', u'title': u'Die Tribute von Panem - Mockingjay Teil 1'}, {u'tv_series_id': 21, u'cid': u'sat1', u'title': u'Die Tribute von Panem - The Hunger Games'},
...
{u'end': u'2016-03-24T22:00:00Z', u'title': u'Der Hobbit - Eine unerwartete Reise', u'cid': u'orf-1', u'program_id': 111524999, u'series_recording_eligible': False, u'start': u'2016-03-24T19:15:00Z', u'image_url': u'http://images.zattic.com/system/images/…mat_480x360.jpg', u'position': u'2016-03-24T19:15:03Z', u'image_token': u'5c0d77ba0f2231b68431', u'level': u'hd', u'id': 55715418, u'partial': False, u'episode_title': None}, {u'end': u'2016-01-05T22:00:00Z', u'title': u'Der Hobbit - Eine unerwartete Reise', u'cid': u'zdf', u'program_id': 109163134, u'series_recording_eligible': False, u'start': u'2016-01-05T19:15:00Z', u'image_url': u'http://images.zattic.com/system/images/…mat_480x360.jpg', u'position': u'2016-01-05T19:15:00Z', u'image_token': u'af0c07a67d71bf403408', u'level': u'hd', u'id': 50576430, u'partial': False, u'episode_title': None}], u'success': True}14:06:25.955 T:139972500477696 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'label' referenced before assignment
Traceback (most recent call last):
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1492, in <module>
main()
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1383, in main
elif action == 'recordings': build_recordingsList(addon_uri, addon_handle)
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 455, in build_recordingsList
label+='[COLOR '+color+']'+record['title']+'[/COLOR]'
UnboundLocalError: local variable 'label' referenced before assignment
-->End of Python script error report<--
14:06:25.962 T:139973988005888 DEBUG: ------ Window Init (DialogNotification.xml) ------
14:06:25.963 T:139973988005888 DEBUG: Window DialogNotification.xml was already loaded
14:06:25.963 T:139973988005888 DEBUG: Alloc resources: 0.00ms
14:06:26.001 T:139972500477696 INFO: Python script stopped
14:06:26.002 T:139972500477696 DEBUG: Thread LanguageInvoker 139972500477696 terminating
14:06:26.042 T:139973988005888 ERROR: GetDirectory - Error getting plugin://plugin.video.zattooHiQ/?mode=recordings
14:06:26.044 T:139973988005888 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.zattooHiQ/?mode=recordings) failed
14:06:26.044 T:139973988005888 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.zattooHiQ/)
14:06:26.044 T:139973988005888 DEBUG: ParentPath = [plugin://]
14:06:26.045 T:139973988005888 DEBUG: Loading items: 7, directory: plugin://plugin.video.zattooHiQ/ sort method: 0, ascending: false
14:06:26.170 T:139971482601216 DEBUG: CAddonDatabase::SetLastUsed[plugin.video.zattooHiQ] took 126 ms -
Hallo Rolapp,
ich hätte noch eine Anfrage für ein neues Feature:
- Wenn man nach einer Sendung sucht wird der Suchbegriff in die Datenbank geschrieben
- Beim Aufruf der Suche erscheint ein Menü.
- Erster Reiter ist "Neue Suche" und öffnet die jetzige Suchmaske
- Dann folgen die letzten ausgeführten Suchen (von der jüngsten Suche zur ältesten) (vielleicht Gruppiert so dass wenn man mehrmals das gleiche gesucht hat dieser Begriff nur einmal angezeigt wird) (vielleicht auf maximal 10 Einträge begrenzen
- Wählt man einen eintrag der letzten Suchen aus erscheint: "nochmal suchen" oder "eintrag löschen" (löschen müsste bei Gruppierung alle mit dem gleichen Suchbegriff löschen.Gruss Metz
P.S.: Vielleicht schaut man beim einfügen des Suchbegriffes in der Datenbank ob es den Suchbegriff schon gibt und setzt ggf. den Zeitstempel neu. Dann spart man sich später das Gruppieren.
-
Hat sich das [definition='3','1']keymapping[/definition] geändert? Vorspulen ändert jetzt die Sprache und schnell vorspulen ändert den Kanal.
-
Da steht eine 4 am Anfang der Zeile 701 in der epg.py. Habe diese nun gelöcht und es geht.
-
Heute ZattooHiQ auf die Version 1.6.5.3 upgedatet. Seitdem kann ich das EPG nicht mehr aufrufen und bekomme folgende Fehlermeldung:
19:35:13.858 T:139962515187456 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.SyntaxError'>
Error Contents: ('invalid syntax', ('/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/resources/epg/epg.py', 701, 10, '4\t\tdatelow = (datetime.datetime.today() - datetime.timedelta(days=7))\n'))
Traceback (most recent call last):
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1486, in <module>
main()
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 1375, in main
elif action == 'epg': showEpg()
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 935, in showEpg
from resources.epg.epg import EPG
SyntaxError: ('invalid syntax', ('/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/resources/epg/epg.py', 701, 10, '4\t\tdatelow = (datetime.datetime.today() - datetime.timedelta(days=7))\n'))
-->End of Python script error report<-- -
Danke Dir. Bei mir läuft die neue Version ebenfalls.
-
Ich habe viele Versionen (löschen / neu installieren ...) augetestet. ohne Erfolg.
Danke für den Tip mit dem Downgrade und mit dem Verweis auf das Verzeichnis .kodi/addons/packages/ Dort war die Version 1.6.3 welche jetzt läuft.
Vorgehensweise:
1. kodi beenden
2. sichern der settings.xml und userkeymap.xml aus dem Verzeichnis .kodi/userdata/addon_data/plugin.video.zattooHiQ/3. löschen des Verzeichnisses .kodi/userdata/addon_data/plugin.video.zattooHiQ/
4. löschen des Verzeichnisses .kodi/addons/plugin.video.zattooHiQ
5. unzip der Version 1.6.3 im Verzeichnis .kodi/addons/plugin.video.zattooHiQ
6. kodi / zattoo starten -> fehlermeldung login
7. settings.xml und userkeymap.xml zurück kopieren ins Verzeichnis .kodi/userdata/addon_data/plugin.video.zattooHiQ/
Bei mir ist jetzt zattooHiQ mit automatischen updates on und zatooHiQ-2 als Backup mit automatischen updates aus.
-
Bei mir gibt es mit den Favoriten ein ähnliches Problem wie bei Münster vor der neu Installation:
- "Nur Favoriten anzeigen" aktiviert hat jetzt zur Folge, dass die "Programm Informationen" nicht mehrerscheinen und auch keine Live vorschau.
- "Nur Favoriten anzeigen" ausgeschaltet hat jetzt zur Folge, dass kein Stream mehr startet - bei sämtlichen Sendern erscheint "NO ZAPI RESULT"Nach der neu Installation werden die Favoriten geladen. Allerdings kommt immer noch "NO ZAPI RESULT"
-
Deinstalliert - Verzeichnis gelöscht - neu installiert - immer noch der gleiche Fehler.
Python 2.7.5 ist bei mir installiert.
23:01:35.617 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x1
23:01:35.673 T:140640583890944 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is
23:01:35.673 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x0
23:01:35.673 T:140640583890944 DEBUG: LIRC: Update - NEW at 345500:0000000080010160 00 KEY_OK devinput (KEY_OK)
23:01:35.674 T:140640583890944 DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
23:01:35.714 T:140640583890944 DEBUG: ------ Window Init (DialogSelect.xml) ------
23:01:35.715 T:140640583890944 DEBUG: Window DialogSelect.xml was already loaded
23:01:35.715 T:140640583890944 DEBUG: Alloc resources: 0.45ms
23:01:36.120 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x1
23:01:36.120 T:140640583890944 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is
23:01:36.120 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x0
23:01:37.161 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x1
23:01:37.161 T:140640583890944 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is
23:01:37.161 T:140640583890944 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x0
23:01:37.161 T:140640583890944 DEBUG: LIRC: Update - NEW at 346988:0000000080010160 00 KEY_OK devinput (KEY_OK)
23:01:37.161 T:140640583890944 DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
23:01:37.419 T:140640583890944 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
23:01:37.421 T:140640583890944 DEBUG: RunScriptWithParams - calling plugin Zattoo HiQ('plugin://plugin.video.zattooHiQ/','-1','?mode=wat ch_c&id=4plus&showID=138171518&start=1524859800&end=1524862800')
23:01:37.421 T:140639653914368 DEBUG: Thread LanguageInvoker start, auto delete: false
23:01:37.421 T:140639653914368 INFO: initializing python engine.
23:01:37.422 T:140639653914368 DEBUG: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): start processing
23:01:37.438 T:140639653914368 DEBUG: -->Python Interpreter Initialized<--
23:01:37.439 T:140639653914368 DEBUG: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): the source file to l oad is "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py"
23:01:37.439 T:140639653914368 DEBUG: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): setting the Python p ath to /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib- tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/ lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
23:01:37.439 T:140639653914368 DEBUG: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): entering source dire ctory /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ
23:01:37.439 T:140639653914368 DEBUG: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): instantiating addon using automatically obtained id of "plugin.video.zattooHiQ" dependent on version 2.14.0 of the xbmc.python api
23:01:37.870 T:140640139294464 DEBUG: Thread Timer start, auto delete: false
23:01:37.875 T:140640139294464 DEBUG: Thread Timer 140640139294464 terminating
23:01:37.875 T:140639072290560 DEBUG: Thread Timer start, auto delete: false
23:01:38.032 T:140639653914368 INFO: CPythonInvoker(7, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): script successfully run
23:01:38.037 T:140640583890944 DEBUG: ------ Window Init (DialogNotification.xml) ------
23:01:38.037 T:140640583890944 DEBUG: Window DialogNotification.xml was already loaded
23:01:38.038 T:140640583890944 DEBUG: Alloc resources: 0.00ms
23:01:38.083 T:140639653914368 INFO: Python script stopped
23:01:38.083 T:140639653914368 DEBUG: Thread LanguageInvoker 140639653914368 terminating
23:01:38.377 T:140639072290560 DEBUG: Thread Timer 140639072290560 terminating
23:01:43.804 T:140640583890944 DEBUG: ------ Window Deinit (DialogNotification.xml) ------ -
Bei mir kommt heute auch "NO ZAPI RESULT" nachdem das Update auf 1.6.3.1 heute installiert wurde.
Vorschau geht -> programm aus Vorschau auswählen/starten und der Fehler kommt.
EPG wird angezeigt -> programm aus EPG auswählen/starten und der Fehler kommt.
Aufnahmen hinzufügen geht nicht.
Aufnahmen anzeigen geht nicht.Kodi17 auf qnap / schweizer IP.
Habe gesehen es gibt auch das Zattoo HiQ-2 im Repo. Vielleicht ist es ja möglich das ein paar Tage später zu aktualieren dann hätte man eine Ausweichmöglichkeit.
P.S.: Über die Suche wähle ich immer meine Serien aus. Vielleicht gibt es ja die möglichkeit das man die letzten 5 Suchaufträge anzeigen kann. Dann muss ich nicht immer den ganzen Namen neu eigeben.
-
Geht jetzt. Danke.
-
[/share/CACHEDEV1_DATA/Apps/Kodi/Repo] # python --version
Python 2.7.5 -
Ich habe mein QNAP upgedated. Die alte Kodi Version deinstalliert und Kodi 17.5.0.0 neu installiert.
Seither kann ich ZattooHiQ nicht mehr nutzen / bei der Installation und auch nach der Installation erfolgt eine Fehlermeldung:
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/resources/zapisession.py", line 25, in <module>
ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute '_create_unverified_context'Anbei das Log File während der Installation.
Nach der Installation existiert das userdata Verzeichnis noch nicht:
[/share/CACHEDEV1_DATA/.qpkg/HD_Station/opt/Kodi17] # ll .kodi/userdata/addon_data/plugin.video.zattooHiQ/
/bin/ls: cannot access .kodi/userdata/addon_data/plugin.video.zattooHiQ/: No such file or directoryIch habe Kodi komplett gelöscht und neu installiert. Gleiches Fehlerbild.
-
Hallo,
seit gestern Abend bekomme ich eine Fehlermeldung. Ebenfalls in den Einstellungen beim versuch die Datenbank zu erneuern. Eventuell mit dem automatischen Update auf die neue Version?
Im Log File erscheint folgendes:
20:43:08.460 T:140531582068736 INFO: Python, unloading python shared library because no scripts are running anymore
20:43:08.470 T:140531582068736 DEBUG: UnloadExtensionLibs, clearing python extension libraries
20:43:09.162 T:140531582068736 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x1
20:43:09.163 T:140531582068736 DEBUG: OnKey: leftshift (0xf0d2) pressed, action is
20:43:09.163 T:140531582068736 DEBUG: Keyboard: scancode: 0x32, sym: 0x0130, unicode: 0x0000, modifier: 0x0
20:43:09.163 T:140531582068736 DEBUG: LIRC: Update - NEW at 80530923:0000000080010160 00 KEY_OK devinput (KEY_OK)
20:43:09.163 T:140531582068736 DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
20:43:09.163 T:140531582068736 DEBUG: RunScriptWithParams - calling plugin Zattoo HiQ('plugin://plugin.video.zattooHiQ/','-1','?mode=reloadDB')
20:43:09.164 T:140530103060224 DEBUG: Thread LanguageInvoker start, auto delete: false
20:43:09.164 T:140530103060224 INFO: initializing python engine.
20:43:09.181 T:140530103060224 DEBUG: CPythonInvoker(26, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): start processing
20:43:09.194 T:140530103060224 DEBUG: -->Python Interpreter Initialized<--
20:43:09.194 T:140530103060224 DEBUG: CPythonInvoker(26, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): the source file to load is "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py"
20:43:09.194 T:140530103060224 DEBUG: CPythonInvoker(26, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): setting the Python path to /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
20:43:09.194 T:140530103060224 DEBUG: CPythonInvoker(26, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): entering source directory /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ
20:43:09.194 T:140530103060224 DEBUG: CPythonInvoker(26, /opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py): instantiating addon using automatically obtained id of "plugin.video.zattooHiQ" dependent on version 2.14.0 of the xbmc.python api
20:43:09.249 T:140530103060224 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'module' object has no attribute '_create_unverified_context'
Traceback (most recent call last):
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/plugin.py", line 38, in <module>
from resources.zattooDB import ZattooDB
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/resources/zattooDB.py", line 25, in <module>
from zapisession import ZapiSession
File "/opt/Kodi17/.kodi/addons/plugin.video.zattooHiQ/resources/zapisession.py", line 15, in <module>
ssl._create_default_https_context = ssl._create_unverified_context
AttributeError: 'module' object has no attribute '_create_unverified_context'
-->End of Python script error report<--
20:43:09.252 T:140530103060224 INFO: Python script stopped
20:43:09.253 T:140530103060224 DEBUG: Thread LanguageInvoker 140530103060224 terminating
20:43:09.262 T:140531582068736 DEBUG: ------ Window Init (DialogNotification.xml) ------
20:43:09.262 T:140531582068736 DEBUG: Window DialogNotification.xml was already loaded
20:43:09.262 T:140531582068736 DEBUG: Alloc resources: 0.00msDanke und Gruss
Metz