Revenir au contenu principal
OpenID

Sujet: Erreur HTTP returned error 403 Add-on Stream video (Lu 165 fois) sujet précédent - sujet suivant

0 Membres et 1 Invité sur ce sujet
  • nekcorp
  • [*][*]
Erreur HTTP returned error 403 Add-on Stream video
Bonjour à tous,

Voilà je me suis lancé dans le développement d'un add-on pour Kodi.
J'utilise Kodi Krypton v17.6 sous windows 10.

Alors je suis partie d'un script récupéré sur un site qui explique comment créer une add-on video que voici :

# -*- coding: utf-8 -*-
# Module: default
# Author: Roman V. M.
# Created on: 28.11.2014
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html

import sys
from urllib import urlencode
from urlparse import parse_qsl
import xbmcgui
import xbmcplugin

# Get the plugin url in plugin:// notation.
_url = sys.argv[0]
# Get the plugin handle as an integer number.
_handle = int(sys.argv[1])

# Free sample videos are provided by www.vidsplay.com
# Here we use a fixed set of properties simply for demonstrating purposes
# In a "real life" plugin you will need to get info and links to video files/streams
# from some web-site or online service.
VIDEOS = {'Movie': [{'name': 'Crab',
                       'thumb': 'https://image.tmdb.org/t/p/original/4btI07ERg3R9i8wktFF38M9SND6.jpg',
                       'video': 'http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22',
                       'genre': 'Comedie'}]}

def get_url(**kwargs):
    """
    Create a URL for calling the plugin recursively from the given set of keyword arguments.
    :param kwargs: "argument=value" pairs
    :type kwargs: dict
    :return: plugin call URL
    :rtype: str
    """
    return '{0}?{1}'.format(_url, urlencode(kwargs))


def get_categories():
    """
    Get the list of video categories.
    Here you can insert some parsing code that retrieves
    the list of video categories (e.g. 'Movies', 'TV-shows', 'Documentaries' etc.)
    from some site or server.
    .. note:: Consider using `generator functions <https://wiki.python.org/moin/Generators>`_
        instead of returning lists.
    :return: The list of video categories
    :rtype: types.GeneratorType
    """
    return VIDEOS.iterkeys()


def get_videos(category):
    """
    Get the list of videofiles/streams.
    Here you can insert some parsing code that retrieves
    the list of video streams in the given category from some site or server.
    .. note:: Consider using `generators functions <https://wiki.python.org/moin/Generators>`_
        instead of returning lists.
    :param category: Category name
    :type category: str
    :return: the list of videos in the category
    :rtype: list
    """
    return VIDEOS[category]


def list_categories():
    """
    Create the list of video categories in the Kodi interface.
    """
    # Set plugin category. It is displayed in some skins as the name
    # of the current section.
    xbmcplugin.setPluginCategory(_handle, 'My Video Collection')
    # Set plugin content. It allows Kodi to select appropriate views
    # for this type of content.
    xbmcplugin.setContent(_handle, 'videos')
    # Get video categories
    categories = get_categories()
    # Iterate through categories
    for category in categories:
        # Create a list item with a text label and a thumbnail image.
        list_item = xbmcgui.ListItem(label=category)
        # Set graphics (thumbnail, fanart, banner, poster, landscape etc.) for the list item.
        # Here we use the same image for all items for simplicity's sake.
        # In a real-life plugin you need to set each image accordingly.
        list_item.setArt({'thumb': VIDEOS[category][0]['thumb'],
                          'icon': VIDEOS[category][0]['thumb'],
                          'fanart': VIDEOS[category][0]['thumb']})
        # Set additional info for the list item.
        # Here we use a category name for both properties for for simplicity's sake.
        # setInfo allows to set various information for an item.
        # For available properties see the following link:
        # https://codedocs.xyz/xbmc/xbmc/group__python__xbmcgui__listitem.html#ga0b71166869bda87ad744942888fb5f14
        # 'mediatype' is needed for a skin to display info for this ListItem correctly.
        list_item.setInfo('video', {'title': category,
                                    'genre': category,
                                    'mediatype': 'video'})
        # Create a URL for a plugin recursive call.
        # Example: plugin://plugin.video.example/?action=listing&category=Animals
        url = get_url(action='listing', category=category)
        # is_folder = True means that this item opens a sub-list of lower level items.
        is_folder = True
        # Add our item to the Kodi virtual folder listing.
        xbmcplugin.addDirectoryItem(_handle, url, list_item, is_folder)
    # Add a sort method for the virtual folder items (alphabetically, ignore articles)
    xbmcplugin.addSortMethod(_handle, xbmcplugin.SORT_METHOD_LABEL_IGNORE_THE)
    # Finish creating a virtual folder.
    xbmcplugin.endOfDirectory(_handle)


def list_videos(category):
    """
    Create the list of playable videos in the Kodi interface.
    :param category: Category name
    :type category: str
    """
    # Set plugin category. It is displayed in some skins as the name
    # of the current section.
    xbmcplugin.setPluginCategory(_handle, category)
    # Set plugin content. It allows Kodi to select appropriate views
    # for this type of content.
    xbmcplugin.setContent(_handle, 'videos')
    # Get the list of videos in the category.
    videos = get_videos(category)
    # Iterate through videos.
    for video in videos:
        # Create a list item with a text label and a thumbnail image.
        list_item = xbmcgui.ListItem(label=video['name'])
        # Set additional info for the list item.
        # 'mediatype' is needed for skin to display info for this ListItem correctly.
        list_item.setInfo('video', {'title': video['name'],
                                    'genre': video['genre'],
                                    'mediatype': 'video'})
        # Set graphics (thumbnail, fanart, banner, poster, landscape etc.) for the list item.
        # Here we use the same image for all items for simplicity's sake.
        # In a real-life plugin you need to set each image accordingly.
        list_item.setArt({'thumb': video['thumb'], 'icon': video['thumb'], 'fanart': video['thumb']})
        # Set 'IsPlayable' property to 'true'.
        # This is mandatory for playable items!
        list_item.setProperty('IsPlayable', 'true')
        # Create a URL for a plugin recursive call.
        # Example: plugin://plugin.video.example/?action=play&video=http://www.vidsplay.com/wp-content/uploads/2017/04/crab.mp4
        url = get_url(action='play', video=video['video'])
        # Add the list item to a virtual Kodi folder.
        # is_folder = False means that this item won't open any sub-list.
        is_folder = False
        # Add our item to the Kodi virtual folder listing.
        xbmcplugin.addDirectoryItem(_handle, url, list_item, is_folder)
    # Add a sort method for the virtual folder items (alphabetically, ignore articles)
    xbmcplugin.addSortMethod(_handle, xbmcplugin.SORT_METHOD_LABEL_IGNORE_THE)
    # Finish creating a virtual folder.
    xbmcplugin.endOfDirectory(_handle)


def play_video(path):
    """
    Play a video by the provided path.
    :param path: Fully-qualified video URL
    :type path: str
    """
    # Create a playable item with a path to play.
    play_item = xbmcgui.ListItem(path=path)
    # Pass the item to the Kodi player.
    xbmcplugin.setResolvedUrl(_handle, True, listitem=play_item)


def router(paramstring):
    """
    Router function that calls other functions
    depending on the provided paramstring
    :param paramstring: URL encoded plugin paramstring
    :type paramstring: str
    """
    # Parse a URL-encoded paramstring to the dictionary of
    # {<parameter>: <value>} elements
    params = dict(parse_qsl(paramstring))
    # Check the parameters passed to the plugin
    if params:
        if params['action'] == 'listing':
            # Display the list of videos in a provided category.
            list_videos(params['category'])
        elif params['action'] == 'play':
            # Play a video from a provided URL.
            play_video(params['video'])
        else:
            # If the provided paramstring does not contain a supported action
            # we raise an exception. This helps to catch coding errors,
            # e.g. typos in action names.
            raise ValueError('Invalid paramstring: {0}!'.format(paramstring))
    else:
        # If the plugin is called from Kodi UI without any parameters,
        # display the list of video categories
        list_categories()


if __name__ == '__main__':
    # Call the router function and pass the plugin call parameters to it.
    # We use string slicing to trim the leading '?' from the plugin call paramstring
    router(sys.argv[2][1:])

Alors au premier coup je peux lancer la vidéo, avancer, stopper, relancer la video etc ..... et je n'ai aucun problème. Mais bizarrement le lendemain lorsque je veux relancer la même vidéo j'ai le message d'erreur suivant dans le log de Kodi :

14:35:52.981 T:22476  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:35:52.981 T:22476  NOTICE: -----------------------------------------------------------------------
14:35:52.981 T:22476  NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: Windows NT x86 32-bit
14:35:52.981 T:22476  NOTICE: Using Release Kodi x32 build
14:35:52.981 T:22476  NOTICE: Kodi compiled Dec 10 2017 by MSVC 190024215 for Windows NT x86 32-bit version 10.0 (0x0A000000)
14:35:52.982 T:22476  NOTICE: Running on Hewlett-Packard HP Z400 Workstation with Windows 10, kernel: Windows NT x86 64-bit version 10.0
14:35:52.982 T:22476  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
14:35:53.014 T:22476  NOTICE: Host CPU: Unknown, 4 cores available
14:35:53.014 T:22476  NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
14:35:53.014 T:22476  NOTICE: Running with restricted rights
14:35:53.015 T:22476  NOTICE: Aero is enabled
14:35:53.015 T:22476  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\Kodi
14:35:53.016 T:22476  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\Kodi
14:35:53.016 T:22476  NOTICE: special://xbmcbinaddons/ is mapped to: C:\Program Files (x86)\Kodi/addons
14:35:53.016 T:22476  NOTICE: special://masterprofile/ is mapped to: C:\Users\USER\AppData\Roaming\Kodi\userdata
14:35:53.016 T:22476  NOTICE: special://home/ is mapped to: C:\Users\USER\AppData\Roaming\Kodi\
14:35:53.016 T:22476  NOTICE: special://temp/ is mapped to: C:\Users\USER\AppData\Roaming\Kodi\cache
14:35:53.016 T:22476  NOTICE: special://logpath/ is mapped to: C:\Users\USER\AppData\Roaming\Kodi\
14:35:53.016 T:22476  NOTICE: The executable running is: C:\Program Files (x86)\Kodi\kodi.exe
14:35:53.020 T:22476  NOTICE: Local hostname: USER-HP
14:35:53.020 T:22476  NOTICE: Log File is located: C:\Users\USER\AppData\Roaming\Kodi\/kodi.log
14:35:53.020 T:22476  NOTICE: -----------------------------------------------------------------------
14:35:53.024 T:22476  NOTICE: load settings...
14:35:53.032 T:22476 WARNING: CSettingString: unknown options filler "timezonecountries" of "locale.timezonecountry"
14:35:53.032 T:22476 WARNING: CSettingString: unknown options filler "timezones" of "locale.timezone"
14:35:53.036 T:22476  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
14:35:53.036 T:22476  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
14:35:53.036 T:22476  NOTICE: Default Video Player: VideoPlayer
14:35:53.036 T:22476  NOTICE: Default Audio Player: paplayer
14:35:53.036 T:22476  NOTICE: Disabled debug logging due to GUI setting. Level 0.
14:35:53.036 T:22476  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
14:35:53.036 T:22476  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:35:53.037 T:22476  NOTICE: Loaded playercorefactory configuration
14:35:53.037 T:22476  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:35:53.037 T:22476  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:35:53.051 T:22476  NOTICE: Running database version Addons27
14:35:53.187 T:22476  NOTICE: ADDONS: Using repository repository.xbmc.org
14:35:53.242 T:12100  NOTICE: Found 2 Lists of Devices
14:35:53.242 T:12100  NOTICE: Enumerated DIRECTSOUND devices:
14:35:53.242 T:12100  NOTICE:     Device 1
14:35:53.242 T:12100  NOTICE:         m_deviceName      : {3210C4F9-9459-42A2-8107-628C0863758A}
14:35:53.242 T:12100  NOTICE:         m_displayName     : Headset - Casque pour téléphone (Sennheiser SC60 for Lync)
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra: DIRECTSOUND: Casque pour téléphone (Sennheiser SC60 for Lync)
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 48000
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_FLOAT
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.243 T:12100  NOTICE:     Device 2
14:35:53.243 T:12100  NOTICE:         m_deviceName      : default
14:35:53.243 T:12100  NOTICE:         m_displayName     : default
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra:
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 48000
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_FLOAT
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.243 T:12100  NOTICE:     Device 3
14:35:53.243 T:12100  NOTICE:         m_deviceName      : {7B02F3D1-4738-4981-9923-36661ACB0E0E}
14:35:53.243 T:12100  NOTICE:         m_displayName     : Speakers - Haut-parleurs (Realtek High Definition Audio)
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra: DIRECTSOUND: Haut-parleurs (Realtek High Definition Audio)
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 48000
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_FLOAT
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.243 T:12100  NOTICE: Enumerated WASAPI devices:
14:35:53.243 T:12100  NOTICE:     Device 1
14:35:53.243 T:12100  NOTICE:         m_deviceName      : {3210C4F9-9459-42A2-8107-628C0863758A}
14:35:53.243 T:12100  NOTICE:         m_displayName     : Headset - Casque pour téléphone (Sennheiser SC60 for Lync)
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra: WASAPI: Casque pour téléphone (Sennheiser SC60 for Lync)
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 48000,44100,32000
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.243 T:12100  NOTICE:     Device 2
14:35:53.243 T:12100  NOTICE:         m_deviceName      : default
14:35:53.243 T:12100  NOTICE:         m_displayName     : default
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra:
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 48000,44100,32000
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.243 T:12100  NOTICE:     Device 3
14:35:53.243 T:12100  NOTICE:         m_deviceName      : {7B02F3D1-4738-4981-9923-36661ACB0E0E}
14:35:53.243 T:12100  NOTICE:         m_displayName     : Speakers - Haut-parleurs (Realtek High Definition Audio)
14:35:53.243 T:12100  NOTICE:         m_displayNameExtra: WASAPI: Haut-parleurs (Realtek High Definition Audio)
14:35:53.243 T:12100  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
14:35:53.243 T:12100  NOTICE:         m_channels        : FL,FR
14:35:53.243 T:12100  NOTICE:         m_sampleRates     : 192000,96000,48000,44100
14:35:53.243 T:12100  NOTICE:         m_dataFormats     : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
14:35:53.243 T:12100  NOTICE:         m_streamTypes     : No passthrough capabilities
14:35:53.350 T:22476  NOTICE: Found screen: Generic PnP Monitor on NVIDIA Quadro FX 1800, adapter 0.
14:35:53.350 T:22476  NOTICE: Primary mode: 1920x1080@ 60.00 - Full Screen
14:35:53.351 T:22476  NOTICE: Additional mode: 640x480@ 59.94 - Full Screen
14:35:53.351 T:22476  NOTICE: Additional mode: 640x480@ 60.00 - Full Screen
14:35:53.351 T:22476  NOTICE: Additional mode: 720x480@ 60.00 - Full Screen
14:35:53.351 T:22476  NOTICE: Additional mode: 720x480@ 59.94 - Full Screen
14:35:53.352 T:22476  NOTICE: Additional mode: 720x576@ 50.00 - Full Screen
14:35:53.352 T:22476  NOTICE: Additional mode: 800x600@ 60.00 - Full Screen
14:35:53.352 T:22476  NOTICE: Additional mode: 1024x768@ 60.00 - Full Screen
14:35:53.352 T:22476  NOTICE: Additional mode: 1152x864@ 60.00 - Full Screen
14:35:53.352 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.352 T:22476  NOTICE: Additional mode: 1176x664@ 50.00 - Full Screen
14:35:53.353 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.353 T:22476  NOTICE: Additional mode: 1176x664@ 60.00 - Full Screen
14:35:53.353 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.353 T:22476  NOTICE: Additional mode: 1176x664@ 59.94 - Full Screen
14:35:53.353 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.353 T:22476  NOTICE: Additional mode: 1280x720@ 60.00 - Full Screen
14:35:53.353 T:22476  NOTICE: Additional mode: 1280x720@ 59.94 - Full Screen
14:35:53.354 T:22476  NOTICE: Additional mode: 1280x720@ 50.00 - Full Screen
14:35:53.354 T:22476  NOTICE: Additional mode: 1280x768@ 60.00 - Full Screen
14:35:53.354 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.354 T:22476  NOTICE: Additional mode: 1280x800@ 60.00 - Full Screen
14:35:53.354 T:22476  NOTICE: Additional mode: 1280x960@ 60.00 - Full Screen
14:35:53.355 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.355 T:22476  NOTICE: Additional mode: 1280x1024@ 60.00 - Full Screen
14:35:53.355 T:22476  NOTICE: Additional mode: 1360x768@ 60.00 - Full Screen
14:35:53.355 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.355 T:22476  NOTICE: Additional mode: 1366x768@ 60.00 - Full Screen
14:35:53.355 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.355 T:22476  NOTICE: Additional mode: 1600x900@ 60.00 - Full Screen
14:35:53.355 T:22476  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1680x1050@ 59.94 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1680x1050@ 60.00 - Full Screen
14:35:53.356 T:22476  NOTICE: Additional mode: 1768x992@ 60.00 - Full Screen
14:35:53.357 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.357 T:22476  NOTICE: Additional mode: 1768x992@ 59.94 - Full Screen
14:35:53.357 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.357 T:22476  NOTICE: Additional mode: 1768x992@ 50.00 - Full Screen
14:35:53.357 T:22476  NOTICE: Previous line repeats 2 times.
14:35:53.358 T:22476  NOTICE: Additional mode: 1920x1080@ 60.00 - Full Screen
14:35:53.358 T:22476  NOTICE: Additional mode: 1920x1080@ 59.94 - Full Screen
14:35:53.358 T:22476  NOTICE: Additional mode: 1920x1080@ 50.00 - Full Screen
14:35:53.358 T:22476  NOTICE: Additional mode: 1440x900@ 60.00 - Full Screen
14:35:53.358 T:22476  NOTICE: Checking resolution 16
14:35:53.703 T:20068  NOTICE: Running database version Addons27
14:35:53.705 T:20068  NOTICE: Running database version ViewModes6
14:35:53.706 T:20068  NOTICE: Running database version Textures13
14:35:53.718 T:20068  NOTICE: Running database version MyMusic60
14:35:53.722 T:20068  NOTICE: Running database version MyVideos107
14:35:53.724 T:20068  NOTICE: Running database version TV29
14:35:53.726 T:20068  NOTICE: Running database version Epg11
14:35:53.952 T:22476 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
14:35:54.034 T:22476  NOTICE: initialize done
14:35:54.034 T:22476  NOTICE: Running the application...
14:35:54.034 T:22476  NOTICE: starting upnp client
14:35:54.038 T:9652  NOTICE: ES: Starting UDP Event server on port 9777
14:35:54.039 T:9652  NOTICE: UDP: Listening on port 9777 (ipv6 : false)
14:35:59.848 T:21968   ERROR: WARNING:root:PARAMS!!!! []
14:35:59.848 T:21968   ERROR: WARNING:root:ARGS!!!! sys.argv ['plugin://plugin.video.simplekodi/', '1', '']
14:36:01.578 T:12452   ERROR: WARNING:root:PARAMS!!!! {'tag': 'Movies'}
14:36:01.578 T:12452   ERROR: WARNING:root:ARGS!!!! sys.argv ['plugin://plugin.video.simplekodi/', '2', '?tag=Movies']
14:36:01.579 T:12452   ERROR: WARNING:root:TAG show_streams!!!! Movies
14:36:03.383 T:22476   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.387 T:22476  NOTICE: VideoPlayer: Opening: http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.387 T:22476 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:36:03.630 T:22476   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.631 T:22476   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 104 for 1.
14:36:03.631 T:22476   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
14:36:03.632 T:2916  NOTICE: Creating InputStream
14:36:03.748 T:2916   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
14:36:03.748 T:2916   ERROR: CCurlFile::Open failed with code 403 for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.867 T:2916   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
14:36:03.867 T:2916   ERROR: CCurlFile::Open failed with code 403 for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.867 T:2916   ERROR: XFILE::CFileCache::Open - failed to open source <http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22>
14:36:03.867 T:2916   ERROR: CVideoPlayer::OpenInputStream - error opening [http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22]
14:36:03.867 T:2916  NOTICE: CVideoPlayer::OnExit()
14:36:03.867 T:22476   ERROR: Playlist Player: skipping unplayable item: 0, path [http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22]
14:36:03.939 T:22476  NOTICE: CVideoPlayer::CloseFile()
14:36:03.939 T:22476  NOTICE: VideoPlayer: waiting for threads to exit
14:36:03.939 T:22476  NOTICE: VideoPlayer: finished waiting
14:36:03.939 T:22476  NOTICE: CVideoPlayer::CloseFile()
14:36:03.939 T:22476  NOTICE: VideoPlayer: waiting for threads to exit
14:36:03.939 T:22476  NOTICE: VideoPlayer: finished waiting

Je récupère ces erreurs en fin de fichier log :

14:35:59.848 T:21968   ERROR: WARNING:root:PARAMS!!!! []
14:35:59.848 T:21968   ERROR: WARNING:root:ARGS!!!! sys.argv ['plugin://plugin.video.simplekodi/', '1', '']
14:36:01.578 T:12452   ERROR: WARNING:root:PARAMS!!!! {'tag': 'Movies'}
14:36:01.578 T:12452   ERROR: WARNING:root:ARGS!!!! sys.argv ['plugin://plugin.video.simplekodi/', '2', '?tag=Movies']
14:36:01.579 T:12452   ERROR: WARNING:root:TAG show_streams!!!! Movies
14:36:03.383 T:22476   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.387 T:22476  NOTICE: VideoPlayer: Opening: http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.387 T:22476 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:36:03.630 T:22476   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.631 T:22476   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 104 for 1.
14:36:03.631 T:22476   ERROR: DXVA::CProcessorHD::IsFormatSupported: Unsupported format 105 for 1.
14:36:03.632 T:2916  NOTICE: Creating InputStream
14:36:03.748 T:2916   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
14:36:03.748 T:2916   ERROR: CCurlFile::Open failed with code 403 for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.867 T:2916   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
14:36:03.867 T:2916   ERROR: CCurlFile::Open failed with code 403 for http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22
14:36:03.867 T:2916   ERROR: XFILE::CFileCache::Open - failed to open source <http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22>
14:36:03.867 T:2916   ERROR: CVideoPlayer::OpenInputStream - error opening [http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22]
14:36:03.867 T:2916  NOTICE: CVideoPlayer::OnExit()
14:36:03.867 T:22476   ERROR: Playlist Player: skipping unplayable item: 0, path [http://lh3.googleusercontent.com/UPaPAsOZQQfgQL1n9xSjPQUHE2aohKFpk44rdX8XH0cR6WJA5xo59fcE5ORXwoBYuoYVxPb7hHzIYvKVFoD79zqvCWd22n9jXfo37RlW2V6iOkVzIvUuA09ZVuQG602WmBHTgaUAqQ=m22]

La vidéo est toujours fonctionnelle si je copie le lien dans mon navigateur, du coup le problème ne vient pas d'un lien mort (ERROR 403) !

Est ce qu'il y a un cache à vider ? quelque chose qui empêcherait de lancer la vidéo ? Réinitialiser une variable ou autre ?

Lorsque je désinstalle et réinstalle l'Add-on la vidéo est de nouveau fonctionnelle mais c'est aléatoire.

Merci d'avance pour vos réponses et votre aide.
Apple TV 2 Jailbreké XBMC Gotham
Raspberry B+ Kodi Jarvis v16.1
Windows 10 + Kodi Krypton v17.6
Time Capsule 1To

 
SimplePortal 1.0.0 Beta 1 © 2008-2014