mirror of
https://github.com/sakaljurgis/plugin.video.sklk.git
synced 2026-07-08 22:17:43 +00:00
Merge branch 'python3'
# Conflicts: # addon.xml
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Module: default
|
||||
# Module: main
|
||||
# Author: Roman V. M.
|
||||
# Created on: 28.11.2014
|
||||
# License: GPL v.3 https://www.gnu.org/copyleft/gpl.html
|
||||
|
||||
"""
|
||||
Example video plugin that is compatible with Kodi 19.x "Matrix" and above
|
||||
"""
|
||||
import sys
|
||||
from urllib import urlencode
|
||||
from urlparse import parse_qsl
|
||||
from urllib.parse import urlencode, parse_qsl
|
||||
import xbmcgui
|
||||
import xbmcplugin
|
||||
|
||||
@@ -65,7 +65,6 @@ 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
|
||||
"""
|
||||
@@ -86,7 +85,7 @@ def get_categories():
|
||||
:return: The list of video categories
|
||||
:rtype: types.GeneratorType
|
||||
"""
|
||||
return VIDEOS.iterkeys()
|
||||
return VIDEOS.keys()
|
||||
|
||||
|
||||
def get_videos(category):
|
||||
|
||||
Reference in New Issue
Block a user