what is extended info mod and how to use it kodi
Question which skins does this work with , I utilise it for Arctic-Zephyr but in kodi 17.six I can't become plexkodiconnect to resume files & in kodi xviii.6, fast forward & rewind are horrible with speed. Then I am stuck.
Hey guys!
I've been trying to customize script.extendedinfo so that a widget automatically lists all results of a search eg.: all movies in Portuguese language, sorted by descending date?
I looked into all the lists of command but tin't seem to notice an example for original linguistic communication or country of origin and sorting parameters to add to RunScript(script.extendedinfo,)
(2019-12-12, 01:03)ontap Wrote: I accept this script enabled in madnox skin, when i long press on OK whilst highlighting a movie, the extended info page slides into view , just when highlighting "play" on screen and pressing OK on keyboard or remote, zero happens ? is in that location a setting anyway to activate the "play" button in EIS please ?
EDIT: constitute "patch" that Angelinas submitted , fixed, cheers sir.
What was tge solution Angelinas submitted? I take the aforementioned issue.
I have been working on this script (and dependency kodi65 same author) for Kodi xix. To play youtube video via extendedinfo it is best to use the youtube plugin called from the script. Also, to search Youtube, there was a hard-coded api key in kodi65 and these no longer piece of work. You demand your own api key (the one yous need also for the Youtube plugin). I have information technology all working, but it is for Matrix only and then not backwards compatible (my practice is to strip out not-working python2 lawmaking, not to effort to brand the same code base of operations work in both python 2 and 3). Feel free to checkout my Matrix branches of the 2 addons
kodi65
extendedinfo
scott s.
.
(2020-05-29, 18:54)scott967 Wrote: I have been working on this script (and dependency kodi65 aforementioned writer) for Kodi 19. To play youtube video via extendedinfo it is best to apply the youtube plugin called from the script. Likewise, to search Youtube, in that location was a hard-coded api key in kodi65 and these no longer work. You need your own api central (the one you need also for the Youtube plugin). I have it all working, merely information technology is for Matrix simply so non backwards compatible (my exercise is to strip out non-working python2 lawmaking, not to try to make the same lawmaking base work in both python 2 and 3). Feel free to checkout my Matrix branches of the two addons
kodi65
extendedinfoscott s.
.
Hey Scott any chance you would have a unproblematic solution to my issue down here?
Quote:I've been trying to customize script.extendedinfo so that a widget automatically lists all results of a search eg.: all movies in Portuguese language, sorted by descending date?I looked into all the lists of command but can't seem to find an instance for original language or country of origin and sorting parameters to add together to RunScript(script.extendedinfo,)
(2020-06-04, 12:44)rorolei Wrote:(2020-05-29, 18:54)scott967 Wrote: I have been working on this script (and dependency kodi65 same writer) for Kodi 19. To play youtube video via extendedinfo it is best to use the youtube plugin called from the script. As well, to search Youtube, there was a hard-coded api key in kodi65 and these no longer work. You need your own api key (the ane you need besides for the Youtube plugin). I have it all working, but it is for Matrix simply so not backwards compatible (my practice is to strip out non-working python2 code, not to endeavour to brand the same lawmaking base piece of work in both python two and 3). Feel free to checkout my Matrix branches of the two addonsHey Scott any adventure y'all would accept a simple solution to my upshot down hither?
kodi65
extendedinfoscott s.
.
Quote:I've been trying to customize script.extendedinfo so that a widget automatically lists all results of a search eg.: all movies in Portuguese language, sorted by descending date?I looked into all the lists of command but can't seem to find an example for original language or country of origin and sorting parameters to add to RunScript(script.extendedinfo,)
I will have to take some time to investigate/ recollect about this. Note that my goal was just to become the script working in Kodi 19 equally it did before and I'yard not that good about what the script actually can practise.
scott s.
.
(2020-06-09, 19:03)scott967 Wrote:(2020-06-04, 12:44)rorolei Wrote:I will take to take some time to investigate/ think most this. Note that my goal was just to get the script working in Kodi 19 equally it did before and I'm non that proficient about what the script actually can practice.(2020-05-29, 18:54)scott967 Wrote: I accept been working on this script (and dependency kodi65 same writer) for Kodi xix. To play youtube video via extendedinfo it is best to employ the youtube plugin called from the script. As well, to search Youtube, there was a hard-coded api key in kodi65 and these no longer work. You need your own api primal (the one yous need besides for the Youtube plugin). I have it all working, but it is for Matrix only then non backwards compatible (my practice is to strip out non-working python2 code, not to try to make the same lawmaking base work in both python 2 and 3). Feel free to checkout my Matrix branches of the ii addonsHey Scott any chance you would have a uncomplicated solution to my issue down hither?
kodi65
extendedinfoscott s.
.
Quote:I've been trying to customize script.extendedinfo so that a widget automatically lists all results of a search eg.: all movies in Portuguese language, sorted by descending date?I looked into all the lists of command just tin can't seem to observe an example for original linguistic communication or state of origin and sorting parameters to add together to RunScript(script.extendedinfo,)
scott southward.
.
Of grade. If yous manage to pull something similar that out if and whenever you have some spare time itll be awesome
Hi everybody, I have translated this addon into Castilian language 100% but @phil65 has non approved the latest pull request fix some problems on github information technology would be interesting for Kodi 19 to make this available
Hi,
I would like to catechumen the dialogue video-list into window. Can someone please help with sections in windowManager.py that must exist changed for this to work? Thanks
Lawmaking:
# -*- coding: utf8 -*-
# Copyright © 2015 - Philipp Temminghoff <[email protected]kodi.tv>
# This program is Gratuitous Software run across LICENSE file for details
import bone
import re
import xbmc
import xbmcgui
import xbmcvfs
import TheMovieDB as tmdb
from kodi65 import windows
from kodi65 import addon
from kodi65 import utils
from kodi65 import busy
from kodi65 import player
from kodi65 import local_db
INFO_XML_CLASSIC = u'script-%s-DialogVideoInfo.xml' % (addon.ID)
LIST_XML_CLASSIC = u'script-%south-VideoList.xml' % (addon.ID)
ACTOR_XML_CLASSIC = u'script-%s-DialogInfo.xml' % (addon.ID)
if addon.bool_setting("force_native_layout") and addon.setting("xml_version") != addon.VERSION:
addon.set_setting("xml_version", addon.VERSION)
INFO_XML = u'script-%due south-DialogVideoInfo-classic.xml' % (addon.ID)
LIST_XML = u'script-%s-VideoList-classic.xml' % (addon.ID)
ACTOR_XML = u'script-%s-DialogInfo-classic.xml' % (addon.ID)
path = os.path.join(addon.PATH, "resource", "skins", "Default", "1080i")
xbmcvfs.copy(strSource=os.path.join(path, INFO_XML_CLASSIC),
strDestination=os.path.join(path, INFO_XML))
xbmcvfs.copy(strSource=os.path.join(path, LIST_XML_CLASSIC),
strDestination=os.path.join(path, LIST_XML))
xbmcvfs.copy(strSource=bone.path.join(path, ACTOR_XML_CLASSIC),
strDestination=os.path.bring together(path, ACTOR_XML))
else:
INFO_XML = INFO_XML_CLASSIC
LIST_XML = LIST_XML_CLASSIC
ACTOR_XML = ACTOR_XML_CLASSIC
grade WindowManager(object):
window_stack = []
def __init__(self):
self.active_dialog = None
self.saved_background = addon.get_global("infobackground")
self.saved_control = xbmc.getInfoLabel("Organization.CurrentControlId")
self.saved_dialogstate = xbmc.getCondVisibility("Window.IsActive(Movieinformation)")
# self.monitor = SettingsMonitor()
def open_movie_info(self, movie_id=None, dbid=None, name=None, imdb_id=None):
"""
open up movie info, deal with window stack
"""
busy.show_busy()
from dialogs.DialogMovieInfo import DialogMovieInfo
dbid = int(dbid) if dbid and int(dbid) > 0 else None
if not movie_id:
movie_id = tmdb.get_movie_tmdb_id(imdb_id=imdb_id,
dbid=dbid,
name=name)
dialog = DialogMovieInfo(INFO_XML,
addon.PATH,
id=movie_id,
dbid=dbid)
decorated.hide_busy()
self.open_infodialog(dialog)
def open_tvshow_info(self, tmdb_id=None, dbid=None, tvdb_id=None, imdb_id=None, name=None):
"""
open tvshow info, bargain with window stack
"""
busy.show_busy()
dbid = int(dbid) if dbid and int(dbid) > 0 else None
from dialogs.DialogTVShowInfo import DialogTVShowInfo
if tmdb_id:
pass
elif tvdb_id:
tmdb_id = tmdb.get_show_tmdb_id(tvdb_id)
elif imdb_id:
tmdb_id = tmdb.get_show_tmdb_id(tvdb_id=imdb_id,
source="imdb_id")
elif dbid:
tvdb_id = local_db.get_imdb_id(media_type="tvshow",
dbid=dbid)
if tvdb_id:
tmdb_id = tmdb.get_show_tmdb_id(tvdb_id)
elif name:
tmdb_id = tmdb.search_media(media_name=proper noun,
year="",
media_type="idiot box")
dialog = DialogTVShowInfo(INFO_XML,
addon.PATH,
tmdb_id=tmdb_id,
dbid=dbid)
busy.hide_busy()
self.open_infodialog(dialog)
def open_season_info(self, tvshow_id=None, flavor=None, tvshow=None, dbid=None):
"""
open up season info, bargain with window stack
needs *flavour AND (*tvshow_id OR *tvshow)
"""
busy.show_busy()
from dialogs.DialogSeasonInfo import DialogSeasonInfo
if non tvshow_id:
params = {"query": tvshow,
"linguistic communication": addon.setting("language")}
response = tmdb.get_data(url="search/idiot box",
params=params,
cache_days=30)
if response["results"]:
tvshow_id = str(response['results'][0]['id'])
else:
params = {"query": re.sub('\(.*?\)', '', tvshow),
"language": addon.setting("language")}
response = tmdb.get_data(url="search/tv",
params=params,
cache_days=30)
if response["results"]:
tvshow_id = str(response['results'][0]['id'])
dialog = DialogSeasonInfo(INFO_XML,
addon.PATH,
id=tvshow_id,
flavour=max(0, season),
dbid=int(dbid) if dbid and int(dbid) > 0 else None)
busy.hide_busy()
cocky.open_infodialog(dialog)
def open_episode_info(self, tvshow_id=None, season=None, episode=None, tvshow=None, dbid=None):
"""
open up season info, deal with window stack
needs (*tvshow_id OR *tvshow) AND *flavour AND *episode
"""
from dialogs.DialogEpisodeInfo import DialogEpisodeInfo
if not tvshow_id and tvshow:
tvshow_id = tmdb.search_media(media_name=tvshow,
media_type="tv",
cache_days=7)
dialog = DialogEpisodeInfo(INFO_XML,
addon.PATH,
tvshow_id=tvshow_id,
season=max(0, flavor),
episode=episode,
dbid=int(dbid) if dbid and int(dbid) > 0 else None)
self.open_infodialog(dialog)
def open_actor_info(self, actor_id=None, name=None):
"""
open up thespian info, deal with window stack
"""
from dialogs.DialogActorInfo import DialogActorInfo
if not actor_id:
name = name.carve up(" %s " % addon.LANG(20347))
names = name[0].strip().split(" / ")
if len(names) > one:
ret = xbmcgui.Dialog().select(heading=addon.LANG(32027),
listing=names)
if ret == -1:
render None
name = names[ret]
else:
proper noun = names[0]
busy.show_busy()
actor_info = tmdb.get_person_info(name)
if non actor_info:
render None
actor_id = actor_info["id"]
else:
busy.show_busy()
dialog = DialogActorInfo(ACTOR_XML,
addon.PATH,
id=actor_id)
busy.hide_busy()
self.open_infodialog(dialog)
def open_video_list(self, listitems=None, filters=None, mode="filter", list_id=False,
filter_label="", force=Fake, media_type="movie", search_str=""):
"""
open video list, bargain with window stack
"""
from dialogs import DialogVideoList
Browser = DialogVideoList.get_window(windows.DialogXML)
dialog = Browser(LIST_XML,
addon.PATH,
listitems=listitems,
filters=[] if non filters else filters,
mode=mode,
list_id=list_id,
force=force,
filter_label=filter_label,
search_str=search_str,
blazon=media_type)
self.open_dialog(dialog)
def open_youtube_list(self, search_str="", filters=None, filter_label="", media_type="video"):
"""
open video list, deal with window stack
"""
from dialogs import DialogYoutubeList
YouTube = DialogYoutubeList.get_window(windows.DialogXML)
dialog = YouTube(u'script-%south-YoutubeList.xml' % addon.ID, addon.PATH,
search_str=search_str,
filters=[] if not filters else filters,
type=media_type)
self.open_dialog(dialog)
def open_infodialog(self, dialog):
if dialog.info:
self.open_dialog(dialog)
else:
self.active_dialog = None
utils.notify(addon.LANG(32143))
def open_dialog(self, dialog):
if self.active_dialog:
cocky.window_stack.append(self.active_dialog)
cocky.active_dialog.shut()
utils.check_version()
if not addon.setting("first_start_infodialog"):
addon.set_setting("first_start_infodialog", "True")
xbmcgui.Dialog().ok(heading=addon.NAME,
line1=addon.LANG(32140),
line2=addon.LANG(32141))
self.active_dialog = dialog
dialog.doModal()
if dialog.cancelled:
addon.set_global("infobackground", self.saved_background)
self.window_stack = []
return None
if self.window_stack:
self.active_dialog = self.window_stack.pop()
xbmc.sleep(300)
self.active_dialog.doModal()
else:
addon.set_global("infobackground", self.saved_background)
def play_youtube_video(self, youtube_id="", listitem=None):
"""
play youtube vid with info from *listitem
"""
url, yt_listitem = player.youtube_info_by_id(youtube_id)
if not listitem:
listitem = yt_listitem
if non url:
utils.notify(header=addon.LANG(257),
message="no youtube id found")
return None
if self.active_dialog and cocky.active_dialog.window_type == "dialog":
cocky.active_dialog.close()
xbmc.executebuiltin("Dialog.Close(movieinformation)")
xbmc.Player().play(detail=url,
listitem=listitem,
windowed=False,
startpos=-1)
if self.active_dialog and self.active_dialog.window_type == "dialog":
player.wait_for_video_end()
cocky.active_dialog.doModal()
wm = WindowManager()
Will extendedinfo be updated to work in Matrix?
Cheers
2020-12-23, 20:58
(2020-03-31, 18:19)scott967 Wrote: If anyone is interested, I accept a Python 3 version bachelor at my github releease page here: Ver five.half dozen.0+matrix.1Y'all must outset install my Python 3 update of script.module.kodi65 1.two.ane+matrix.1
I added a new setting for a personal Youtube API key which is required to get Youtube search results (the hard-coded fundamental in kodi65 won't work any more). Playback is via official Youtube plugin and then if a user has that working they can use the API key from setting the plugin upward in the extended info setting.
Currently there is some added code that's unique to my peel modern. I don't recall that will affect any other skin (the code is there to restore the videos or music window view that was in effect prior to searching Youtube, as the addon was hard-coded for Estuary view IDs, otherwise IIRC y'all end up with view 50 after exiting the addon's dialog window.)
scott s.
.
@scott967 did you ever figure out how to change the default "info" activeness ( in any peel) to open extended info instead of the skin info screen ? I say "any skin" because I would mod a skin for my own use equally long equally it had this feature.
Maybe there was a tweak or 2 to yopur "onload" proposition in mail 152 that would do it ?
2020-12-23, 22:32
@ontap
In view xml on begining of list or panel write
Code:
<oninfo status="String.IsEqual(ListItem.DBType,moving picture)">RunScript(script.extendedinfo,info=extendedinfo,imdb_id=$INFO[ListItem.IMDBNumber])</oninfo>
In mine mod I have custom dialog for "script.extendedinfo-DialogVideoInfo" with proper noun
script-script.extendedinfo-DialogVideoInfo.xml
and when I press "i" on keybord kodi open that dialog, similar for this I apply for set up, but dialog from Shs script.
https://github.com/Angelinas1/Aeonmq6-Le...t.xml#L787
All working
Edit:
Like in mine code for ViewsRightList.xml.....encounter github link
2020-12-23, 22:50
(2020-12-23, 22:32)Angelinas Wrote: In view xml on begining of listing or panel write
<lawmaking><oninfo condition="String.IsEqual(ListItem.DBType,movie)">RunScript(script.extendedinfo,info=extendedinfo,imdb_id=$INFO[ListItem.IMDBNumber])</oninfo></code>
In mine mod I take custom dialog for "script.extendedinfo-DialogVideoInfo" with name
script-script.extendedinfo-DialogVideoInfo.xml
and when I press "i" on keybord kodi open that dialog, similar for this I utilize for set, only dialog from Shs script.
https://github.com/Angelinas1/Aeonmq6-Le...t.xml#L787
All working
Thanks for replying , could y'all explain a little more than please .
"In view xml " where exactly are you referring to please ?
I can see that "script-script.extendedinfo-DialogVideoInfo.xml" in 1980i in your github link , will download that skin and have a expect tx.
Yous Don't need to create new dialog...use default dialog from extended script that will work likewise.
2020-12-23, 23:xviii
(2020-12-23, 23:07)Angelinas Wrote: Yous Don't need to create new dialog...use default dialog from extended script that will work too.
So to be clear , where, in default dialogvideoinfo.xml file should I paste <oninfo status="String.IsEqual(ListItem.DBType,picture show)">RunScript(script.extendedinfo,info=extendedinfo,imdb_id=$INFO[ListItem.IMDBNumber])</oninfo>
Source: https://forum.kodi.tv/showthread.php?tid=160558&page=145
0 Response to "what is extended info mod and how to use it kodi"
Post a Comment