[ReRelease] YouTube

  • Moin, ich befürchte dass hier ein watchdog oder so etwas in der art aktiv ist, der natürlich gefüttert gehört aber ich nicht weiß wie. bei mir sind es exakt 30 Sekunden Zeit nachdem der code klanglos verschwindet.

    Habe im kodi forum angefragt aber bis jetzt keine Antwort bekommen.

    Lg

  • Problem habe ich derzeit auch mit der 17. Klappt nicht mal wenn ich die active Seite vorher schon 2 mal auf dem Tablet öffne 8o . Bisschen Geduld müssen wir da wohl noch haben, wie schon geschrieben wurde handelt es sich bei der 17 noch um eine Nightly, die aber ansonsten wirklich schon sehr gut läuft.

  • Hallo,
    ich nutze LibreElec 7.0.2 (Kodi 16.1) auf einem odroid c2. Leider hakt es bei mir ab dem Setup Assistenten Punkt "Region wählen". Hier mal der ausschnitt aus dem Log. Skin ist Aeon Nox 5

    Spoiler anzeigen

    00:37:29 T:547609088000 ERROR: Previous line repeats 383 times.
    00:37:29 T:547609088000 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
    00:37:30 T:545704112352 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.11
    00:37:30 T:547272782048 ERROR: CecLogMessage - Write: write failed !
    00:37:50 T:547609088000 ERROR: Previous line repeats 27 times.
    00:37:50 T:547609088000 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
    00:37:50 T:547609088000 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
    00:37:50 T:547272782048 ERROR: CecLogMessage - Write: write failed !
    00:37:53 T:545704112352 ERROR: Previous line repeats 4 times.
    00:37:53 T:545704112352 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.11
    00:37:53 T:547272782048 ERROR: CecLogMessage - Write: write failed !
    00:37:56 T:545704112352 ERROR: Previous line repeats 3 times.
    00:37:56 T:545704112352 NOTICE: [plugin.video.youtube] ViewManager: Unknown skin id 'skin.aeon.nox.5'
    00:37:56 T:547272782048 ERROR: CecLogMessage - Write: write failed !
    00:38:00 T:545704112352 ERROR: Previous line repeats 4 times.
    00:38:00 T:545704112352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.KeyError'>
    Error Contents: 'items'
    Traceback (most recent call last):
    File "/storage/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
    runner.run(__provider__)
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
    __RUNNER__.run(provider, context)
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
    results = provider.navigate(context)
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 113, in navigate
    self._process_wizard(context)
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 100, in _process_wizard
    wizard_step[0](*wizard_step[1])
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_setup_wizard.py", line 49, in process
    _process_language(provider, context)
    File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_setup_wizard.py", line 14, in _process_language
    items = json_data['items']
    KeyError: 'items'
    -->End of Python script error report<--
    00:38:00 T:547609088000 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
    00:38:00 T:547609088000 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
    00:38:00 T:547272782048 ERROR: CecLogMessage - Write: write failed !

    Ich hatte auch schon mal persönliche API Keys genutzt hat aber auch nicht geklappt :D

    EDIT: Achja das Problem tritt sowohl mit 5.2.1 aus der Kodi sowie mit 5.2.2 aus der Addonrepo auf

  • Problem habe ich derzeit auch mit der 17. Klappt nicht mal wenn ich die active Seite vorher schon 2 mal auf dem Tablet öffne 8o . Bisschen Geduld müssen wir da wohl noch haben, wie schon geschrieben wurde handelt es sich bei der 17 noch um eine Nightly, die aber ansonsten wirklich schon sehr gut läuft.

    Habe den Hinweis bekommen dass es tatsächlich an einer Änderung von Kodi lag #9862 Angeblich ist es behoben und funktioniert wieder mit den neuen nightlys (ich hab es nicht nachgeprüft)

    Leider habe ich gerade keine Zeit das nachzuprüfen aber ich vermute dass es am Skin liegt "[plugin.video.youtube] ViewManager: Unknown skin id 'skin.aeon.nox.5'"
    Versuch es mal ohne Setup-Assistent und dann stell die Region selbst ein in den Einstellungen. (Ich nutze den SetupAssi nie :D)
    Oder du nimmst zur Einrichtung einen anderen Skin her und stellst danach wieder um.

  • @Steffen95 Ob diese Browser Addons auch mit Android gehen, keine Ahnung: [Win Addons] Send to Kodi I Play to Kodi
    Dann gibts noch pushbullet http://forum.kodi.tv/showthread.php?tid=204567 "Push a video from the Android YouTube app to Kodi and have it play instantly"

    Viellecht gibt's auch noch bessere Möglichkeiten, bei mir sind Handy und Kodi noch 2 getrennte Welten^^

    Client 1: Raspi3, LibreElec, Kodi Krypton I Client 2: Intel i5 750, GeForce GTX 750, 8GB Ram, Win7, Kodi Krypton
    Display: Samsung UE40J6250
    Ego: Student aus Kiel, Kompetenzen in Lesen & Schreiben + Wirtschaft + Pädagogik I Alter Ego : Call me Mike

  • Wenn man Yatse installiert kann man direkt über die Teilen Funktion das Video zum MediaCenter/HTPC senden :)

    --------------
    Guides nicht mehr verfügbar wegen Youtube unvermögen guten von schlechten Kodi Videos zu unterscheiden.

  • seit update auf 5.2.2 gibt bei mir kein ton mehr Filme Musik und TV ghet schon nur Youtube bringt kein ton

    Externer Inhalt beta.speedtest.net
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.

    Verkaufe mein beide Dreambox bei interesse bitte melden
    Dreambox DM8000 HD PVR Dreifach Tuner: 2x DVB-S (Sat) 1x DVB-C (Cable)
    Dreambox DM800 HD PVR 1x 1x DVB-C (Cable)

  • Leider habe ich gerade keine Zeit das nachzuprüfen aber ich vermute dass es am Skin liegt "[plugin.video.youtube] ViewManager: Unknown skin id 'skin.aeon.nox.5'"
    Versuch es mal ohne Setup-Assistent und dann stell die Region selbst ein in den Einstellungen. (Ich nutze den SetupAssi nie :D)
    Oder du nimmst zur Einrichtung einen anderen Skin her und stellst danach wieder um.

    Wenn ich das ganze mit Confluence machen kommt nur in der ecke unten die Meldung Login Failed :/ Und in den Addon Einstellung sind Sprache & Region ausgegraut.

  • Dann gibts noch pushbullet http://forum.kodi.tv/showthread.php?tid=204567 "Push a video from the Android YouTube app to Kodi and have it play instantly"

    Genau so etwas habe ich gemeint. Leider scheint die Funktion trotz eingerichteten Addon in Kodi nicht zu klappen :thumbdown: Es wird mir bei Youtube Videos lediglich der Fernseher meines Bruders zum Streamen angeboten...

    Wenn man Yatse installiert kann man direkt über die Teilen Funktion das Video zum MediaCenter/HTPC sende

    Oder die OpenSource version Kore.
    Ich hab zzt. kore und yatse drauf und je nachdem nutze ich mal das eine, mal das andere um ein Video/playlist zu starten bzw auch die Lieder wechseln etc.

    Das ist gut zu wissen ist zwar deutlich umständlicher als das oben erwähnte Addon welches nur die Youtube App benötigt, aber funktioniert zumindest :thumbup:

    Wäre es denkbar die Funktion direkt in das Youtube Addon zu Integrieren?? Wie man an den pushbullet Addon sieht ist es ja irgendwie schon möglich oder wäre es zu aufwändig oder einfach nicht gewünscht?? Meines erachtens wäre die Funktion im Youtube Addon super aufgehoben sofern es dir natürlich möglich ist :thumbup:

  • Ich habe wohl verkehrt verstanden was du möchtest. Bei uns geht es darum aus der Youtube App oder Firefox das Video direkt zum Youtube Addon zu schicken.
    Was wolltest Du denn?

    --------------
    Guides nicht mehr verfügbar wegen Youtube unvermögen guten von schlechten Kodi Videos zu unterscheiden.

  • Doch darum geht es bei mir auch und ob es möglich wäre dies direkt ins YouTube addon zu von h0d3nt3uf3l zu integrieren.
    Aber das hat sich wohl erledigt da ich entdeckt habe, dass man bei dem pushbullet Handy zusätzlich eine App aufn Handy und ein Programm auf den HTPC installieren muss.
    Schade..

  • Die Aktion direkt in der YouTube app auszuführen erfordert eine andere, nicht der Öffentlichkeit zugänglichen, API. Dass ist zumindest mein Wissensstand, ich hätte die Funktion auch gerne.

    MeisterPropper, gib doch ma nen [definition='1','4']Debuglog[/definition] rüber, dann kann ich evtl mehr sagen

    sorry wegen meiner unerreichbarkeit im Moment, aber die Arbeit fordert gerade ziemlich ;)

  • Hallo zusammen,

    auf meinem Kodi 16.1 startet das Plugin nicht mehr. Er fordert die Aktivierung, bricht aber nach der 1. Codeeingabe ab, siehe Log, und das Plugin startet nicht.

    Spoiler anzeigen

    11:13:03 T:140634669180672 NOTICE: script.tv.show.next.aired: ### TV Show - Next Aired starting background proc (6.0.15)
    11:13:03 T:140634669180672 NOTICE: script.tv.show.next.aired: ### no prior data found
    11:13:03 T:140635348662016 NOTICE: Alluc Service: Service starting...
    11:13:03 T:140635348662016 NOTICE: Alluc Service: Loading service settings...
    11:13:05 T:140634669180672 NOTICE: script.tv.show.next.aired: ### starting data update
    11:13:07 T:140634660787968 NOTICE: FORUMBROWSER-SERVICE: STARTED :: Enabled: False - Start Only: False - Interval: 1200s
    11:13:08 T:140634677573376 NOTICE: Skin Helper Service --> skin helper service version 1.0.90 started
    11:13:08 T:140634677573376 NOTICE: Skin Helper Service --> WebService - start helper webservice on port 52307
    11:13:10 T:140634463053568 WARNING: CPythonInvoker(15): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
    11:13:10 T:140634481022720 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.10
    11:14:00 T:140634481022720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.IndexError'>
    Error Contents: string index out of range
    Traceback (most recent call last):
    File "/home/boris/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
    runner.run(__provider__)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
    __RUNNER__.run(provider, context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
    results = provider.navigate(context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
    result = method(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
    return self.on_root(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
    yt_login.process(mode, self, context, re_match, False)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 123, in process
    access_token = '%s|%s' % (access_tokens[0], access_token_kodi)
    IndexError: string index out of range
    -->End of Python script error report<--
    11:14:00 T:140636493592704 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
    11:14:00 T:140636493592704 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
    11:14:31 T:140636493592704 ERROR: Control 500 in window 10025 has been asked to focus, but it can't
    11:14:32 T:140634481022720 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.10
    11:15:31 T:140634481022720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.IndexError'>
    Error Contents: string index out of range
    Traceback (most recent call last):
    File "/home/boris/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
    runner.run(__provider__)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
    __RUNNER__.run(provider, context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
    results = provider.navigate(context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
    result = method(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
    return self.on_root(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
    yt_login.process(mode, self, context, re_match, False)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 123, in process
    access_token = '%s|%s' % (access_tokens[0], access_token_kodi)
    IndexError: string index out of range
    -->End of Python script error report<--
    11:15:31 T:140636493592704 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
    11:15:31 T:140636493592704 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
    11:15:31 T:140636010866432 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
    11:18:04 T:140634669180672 NOTICE: script.tv.show.next.aired: ### no prior data found
    11:18:06 T:140634669180672 NOTICE: script.tv.show.next.aired: ### starting data update
    11:18:23 T:140636493592704 NOTICE: Log level changed to "LOG_LEVEL_DEBUG_FREEMEM"
    11:18:23 T:140636493592704 NOTICE: Enabled debug logging due to GUI setting. Level 2.
    11:18:23 T:140636493592704 DEBUG: ------ Window Init () ------
    11:18:29 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:31 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:31 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:18:31 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
    11:18:31 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:31 T:140636493592704 DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
    11:18:31 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
    11:18:31 T:140636493592704 DEBUG: ------ Window Init (Settings.xml) ------
    11:18:31 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:32 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:18:32 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
    11:18:32 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:32 T:140636493592704 DEBUG: ------ Window Deinit (Settings.xml) ------
    11:18:32 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
    11:18:32 T:140636493592704 DEBUG: ------ Window Init (Home.xml) ------
    11:18:32 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:33 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:39 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:39 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:18:39 T:140636493592704 DEBUG: Activating window ID: 10025
    11:18:39 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:39 T:140636493592704 DEBUG: ------ Window Deinit (Home.xml) ------
    11:18:39 T:140636493592704 DEBUG: ------ Window Init (MyVideoNav.xml) ------
    11:18:39 T:140636493592704 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
    11:18:39 T:140636493592704 DEBUG: ParentPath = [addons://sources/video/]
    11:18:39 T:140636002473728 DEBUG: Thread BackgroundLoader start, auto delete: false
    11:18:39 T:140636002473728 DEBUG: Thread BackgroundLoader 140636002473728 terminating
    11:18:39 T:140636002473728 DEBUG: Thread JobWorker start, auto delete: true
    11:18:39 T:140636002473728 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
    11:18:39 T:140636002473728 DEBUG: Loading: /usr/lib/kodi/system/ImageLib-x86_64-linux.so
    11:18:39 T:140634481022720 DEBUG: Thread JobWorker start, auto delete: true
    11:18:40 T:140636002473728 DEBUG: Previous line repeats 1 times.
    11:18:40 T:140636002473728 DEBUG: DoWork - took 176 ms to load special://masterprofile/Thumbnails/4/41a4be54.png
    11:18:41 T:140634481022720 DEBUG: DoWork - took 134 ms to load special://masterprofile/Thumbnails/d/d5a80de8.jpg
    11:18:41 T:140636493592704 DEBUG: ProcessMouse: trying mouse action wheeldown
    11:18:41 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:41 T:140636493592704 DEBUG: ProcessMouse: trying mouse action wheeldown
    11:18:41 T:140636493592704 DEBUG: Previous line repeats 11 times.
    11:18:41 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:18:42 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:18:42 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:18:42 T:140636493592704 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
    11:18:42 T:140636493592704 DEBUG: ParentPath = [addons://sources/video]
    11:18:42 T:140634481022720 DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','3','')
    11:18:42 T:140634481022720 DEBUG: WaitOnScriptResult - waiting on the YouTube (id=17) plugin...
    11:18:42 T:140635679483648 DEBUG: Thread LanguageInvoker start, auto delete: false
    11:18:42 T:140635679483648 INFO: initializing python engine.
    11:18:42 T:140635679483648 DEBUG: CPythonInvoker(17, /home/boris/.kodi/addons/plugin.video.youtube/default.py): start processing
    11:18:43 T:140635679483648 DEBUG: -->Python Interpreter Initialized<--
    11:18:43 T:140635679483648 DEBUG: CPythonInvoker(17, /home/boris/.kodi/addons/plugin.video.youtube/default.py): the source file to load is "/home/boris/.kodi/addons/plugin.video.youtube/default.py"
    11:18:43 T:140635679483648 DEBUG: CPythonInvoker(17, /home/boris/.kodi/addons/plugin.video.youtube/default.py): setting the Python path to /home/boris/.kodi/addons/plugin.video.youtube:/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
    11:18:43 T:140635679483648 DEBUG: CPythonInvoker(17, /home/boris/.kodi/addons/plugin.video.youtube/default.py): entering source directory /home/boris/.kodi/addons/plugin.video.youtube
    11:18:43 T:140635679483648 DEBUG: CPythonInvoker(17, /home/boris/.kodi/addons/plugin.video.youtube/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.1.0 of the xbmc.python api
    11:18:43 T:140636493592704 DEBUG: ------ Window Init (DialogBusy.xml) ------
    11:18:43 T:140635679483648 DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
    11:18:43 T:140635679483648 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.2) on Jarvis (16.1) with Python 2.7.10
    11:18:43 T:140635679483648 DEBUG: [plugin.video.youtube] Path: "/
    11:18:43 T:140635679483648 DEBUG: [plugin.video.youtube] Params: "{}"
    11:18:43 T:140635679483648 DEBUG: [plugin.video.youtube] Selecting YouTube config "Jarvis"
    11:18:43 T:140635679483648 DEBUG: [plugin.video.youtube] User is not logged in
    11:18:44 T:140635679483648 DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: /home/boris/.kodi/addons/plugin.video.youtube/resources/language/German/strings.po
    11:18:44 T:140635679483648 DEBUG: POParser: loaded 101 strings from file /home/boris/.kodi/addons/plugin.video.youtube/resources/language/German/strings.po
    11:18:44 T:140635679483648 DEBUG: POParser: PO file has Win Style Line Endings. Converted in memory to Linux LF for file: /home/boris/.kodi/addons/plugin.video.youtube/resources/language/English/strings.po
    11:18:44 T:140635679483648 DEBUG: POParser: loaded 7 strings from file /home/boris/.kodi/addons/plugin.video.youtube/resources/language/English/strings.po
    11:18:44 T:140635679483648 DEBUG: DialogProgress::Open called
    11:18:44 T:140635679483648 DEBUG: ------ Window Init (DialogProgress.xml) ------
    11:18:45 T:140636493592704 DEBUG: Keyboard: scancode: 0x40, sym: 0x0134, unicode: 0x0000, modifier: 0x100
    11:18:45 T:140636493592704 DEBUG: OnKey: alt-long-leftalt (0x104f0d4) pressed, action is
    11:19:00 T:140636493592704 DEBUG: Keyboard: scancode: 0x40, sym: 0x0134, unicode: 0x0000, modifier: 0x100
    11:19:00 T:140636493592704 DEBUG: OnKey: alt-long-leftalt (0x104f0d4) pressed, action is
    11:19:11 T:140636493592704 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86_64-linux.so)
    11:19:12 T:140635991901952 DEBUG: Thread JobWorker 140635991901952 terminating (autodelete)
    11:19:12 T:140634501392128 DEBUG: Thread JobWorker 140634501392128 terminating (autodelete)
    11:19:12 T:140636002473728 DEBUG: Thread JobWorker 140636002473728 terminating (autodelete)
    11:19:13 T:140636493592704 DEBUG: Keyboard: scancode: 0x40, sym: 0x0134, unicode: 0x0000, modifier: 0x100
    11:19:13 T:140636493592704 DEBUG: OnKey: alt-long-leftalt (0x104f0d4) pressed, action is
    11:19:37 T:140635679483648 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
    Error Type: <type 'exceptions.IndexError'>
    Error Contents: string index out of range
    Traceback (most recent call last):
    File "/home/boris/.kodi/addons/plugin.video.youtube/default.py", line 7, in <module>
    runner.run(__provider__)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/runner.py", line 32, in run
    __RUNNER__.run(provider, context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/impl/xbmc/xbmc_runner.py", line 23, in run
    results = provider.navigate(context)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 123, in navigate
    result = method(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/kodion/abstract_provider.py", line 157, in _internal_root
    return self.on_root(context, re_match)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/provider.py", line 500, in on_root
    yt_login.process(mode, self, context, re_match, False)
    File "/home/boris/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/yt_login.py", line 123, in process
    access_token = '%s|%s' % (access_tokens[0], access_token_kodi)
    IndexError: string index out of range
    -->End of Python script error report<--
    11:19:37 T:140636493592704 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
    11:19:37 T:140636010866432 INFO: CActiveAESink::OpenSink - initialize sink
    11:19:37 T:140636010866432 DEBUG: CActiveAESink::OpenSink - trying to open device PULSE:Default
    11:19:37 T:140636010866432 DEBUG: PulseAudio: Context authorizing
    11:19:37 T:140636010866432 DEBUG: PulseAudio: Context setting name
    11:19:37 T:140636493592704 DEBUG: ------ Window Deinit (DialogProgress.xml) ------
    11:19:37 T:140635679483648 INFO: Python script stopped
    11:19:37 T:140635679483648 DEBUG: Thread LanguageInvoker 140635679483648 terminating
    11:19:37 T:140634481022720 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
    11:19:37 T:140636493592704 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/
    11:19:37 T:140636010866432 DEBUG: PulseAudio: Context ready
    11:19:37 T:140636010866432 DEBUG: PulseAudio: Stream ready
    11:19:37 T:140636010866432 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
    11:19:37 T:140636010866432 DEBUG: CActiveAESink::OpenSink - PULSE Initialized:
    11:19:37 T:140636010866432 DEBUG: Output Device : Default
    11:19:37 T:140636010866432 DEBUG: Sample Rate : 44100
    11:19:37 T:140636493592704 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
    11:19:37 T:140636493592704 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
    11:19:37 T:140636493592704 DEBUG: ParentPath = [addons://sources/]
    11:19:37 T:140636010866432 DEBUG: Sample Format : AE_FMT_FLOAT
    11:19:37 T:140636010866432 DEBUG: Channel Count : 2
    11:19:37 T:140636010866432 DEBUG: Channel Layout: FL,FR
    11:19:37 T:140636010866432 DEBUG: Frames : 2205
    11:19:37 T:140636010866432 DEBUG: Frame Samples : 4410
    11:19:37 T:140636010866432 DEBUG: Frame Size : 8
    11:19:38 T:140635679483648 DEBUG: Thread BackgroundLoader start, auto delete: false
    11:19:38 T:140636493592704 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
    11:19:38 T:140635679483648 DEBUG: Thread BackgroundLoader 140635679483648 terminating
    11:19:40 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:19:40 T:140634481022720 DEBUG: DoWork - took 169 ms to load special://masterprofile/Thumbnails/8/8947c3e4.jpg
    11:19:42 T:140636493592704 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
    11:19:46 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:19:46 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:19:46 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
    11:19:46 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:19:46 T:140636493592704 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
    11:19:46 T:140636493592704 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
    11:19:46 T:140636493592704 DEBUG: ------ Window Init (Home.xml) ------
    11:19:47 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:19:47 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:19:51 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:19:52 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:19:52 T:140636493592704 DEBUG: Activating window ID: 10004
    11:19:52 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:19:52 T:140636493592704 DEBUG: ------ Window Deinit (Home.xml) ------
    11:19:52 T:140636493592704 DEBUG: ------ Window Init (Settings.xml) ------
    11:19:52 T:140634481022720 DEBUG: DoWork - took 181 ms to load special://skin/backgrounds/settings.jpg
    11:19:55 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:19:55 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:19:55 T:140636493592704 DEBUG: Activating window ID: 10016
    11:19:55 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:19:55 T:140636493592704 DEBUG: ------ Window Deinit (Settings.xml) ------
    11:19:55 T:140636493592704 DEBUG: ------ Window Init (SettingsCategory.xml) ------
    11:19:58 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:19:58 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:19:58 T:140636493592704 DEBUG: ------ Window Init (Pointer.xml) ------
    11:20:00 T:140636493592704 DEBUG: ------ Window Deinit (Pointer.xml) ------
    11:20:00 T:140636493592704 DEBUG: ProcessMouse: trying mouse action leftclick
    11:20:00 T:140636493592704 NOTICE: Disabled debug logging due to GUI setting. Level 0.
    11:20:00 T:140636493592704 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"

    War sowohl auf 5.2.1 so als auch auf der 5.2.2.

    Any ideas ?

    Grüße
    nomit2

    edit: gebookmarkte Videos abspielen geht.

  • Unter KODI 17 funktioniert der Direktaufruf der Suche+Ergebnis meistens nicht richtig:


    Code
    <onclick condition="System.hasAddon(plugin.video.youtube)">ActivateWindow(videos,plugin://plugin.video.youtube/kodion/search/input/,return)</onclick>

    (Estuary und andere Skins)

    Anstatt des Suchergebnis kommt man oft einfach nur auf die Seite "Videos" (Außerhalb des Addons). Sieht aus, als würde die Suche funktionieren, aber bei dem Switch auf die Ergebnisseite etwas schieflaufen. Danke!

  • Bugreport

    Es läuft bei mir ...

    LibreELEC (community) Version: devel-20160730210516-#0730-g0bc2994
    LibreELEC git: 0bc299425a1be7cd936d37fcd208b4a0a70fd4b4

    Wenn man über den Einrichtungsassistent der Kodi YouTube-App, die Sprache und Region festlegt, werden alle Videos, zu denen es eine Englisch-Tonspur gibt, in Englisch abgespielt ggf. sogar mit Untertiteln. Ein Vergleich der "settings.xml" zeigt ...

    Code
    <setting id="youtube.language" value="de" />
    <setting id="youtube.region" value="DE" />


    ... ich denke, dass dies aber...

    Code
    <setting id="youtube.language" value="de-DE" />
    <setting id="youtube.region" value="DE" />

    ... sein müsste.
    Konnte es leider noch nicht testen, nur gerade aufgefallen.

    Gruß Nico

    see ya, on loggn.de (loggn.de - Tutorials und Erfahrungen)
    see ya, on bidvoy.net (bidvoy zeigt dir den Durchschnittspreis - eBay Auktionsanalyse)

  • Hi Nico,

    sorry aber ich kann dir das nicht beantworten. Ich hab im moment keine Ahnung wodurch die Sprache abgegriffen wird und müsste das auch durch längeres Debugen erst raus finden.

    Ich möchte an dieser Stelle noch auf einen zweiten Thread hinweisen Team für neues YouTube-Addon

    Ich suche ein paar Leute die Lust haben sich an einem ReWrite vom geliebten Plugin zu beteiligen. Der Code ist
    teilweise veraltet und etwas verschachtelt. Ich bin Fan von selbst geschriebenen Sachen, da man dann weiß was im Code passiert
    ohne lange diesen zu durchkämmen. Alles weitere im anderen Thread.

  • @h0d3nt3uf3l Zum Thema Suche fiel mir gerade ein Feature Request ein (automatische Suchvorschläge) und damit einhergehend der Gedanke: Wo soll sowas zukünftig hin für normale User? Neuer Thread für Vorschläge/Ideen? Oder erstmal gar nicht? Ich nehme an, dass es zum alten Addon keine Weiterentwicklung geben wird und euren Dev-Talk soll ja auch niemand stören ;)

    Client 1: Raspi3, LibreElec, Kodi Krypton I Client 2: Intel i5 750, GeForce GTX 750, 8GB Ram, Win7, Kodi Krypton
    Display: Samsung UE40J6250
    Ego: Student aus Kiel, Kompetenzen in Lesen & Schreiben + Wirtschaft + Pädagogik I Alter Ego : Call me Mike

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!