Posts: 6,684
Joined: Mar 2009
Reputation:
147
phil65
Retired Team-Kodi Member
Posts: 6,684
This shouldnt be done on script level, it would need core adjustments to look for that in nfo files.
Posts: 1
Joined: Dec 2015
Reputation:
0
2015-12-10, 22:38
(This post was last modified: 2015-12-11, 03:37 by marzo.)
Can someone help me because I can't get background code work. I get DialogVideoInfo.xml script work but I need background code work.
Here what i write in MyVideoNav.xml file just after <window> tag but it dosen't work...
<onloadcondition="System.HasAddon(script.videolanguage)">RunScript(script.videolanguage,background=True)</onload>
nevermind... I change Jarvis beta and use core.
Posts: 28
Joined: Nov 2013
Reputation:
0
2016-01-23, 19:27
(This post was last modified: 2016-01-24, 22:56 by derwildemann.)
hi Black
I was reading through this thread but I don't think it really applies to my case.
I'm not interested to show the audio language but I want to see the subtitle language information of my movies. However the subtitels are in separate srt-files and it seems that this thread is only talking about embedded streams within the video file.
Here's my setup:
- each folder contains one movie or, in case of a TV-show, one complete season
- the file structure is like that:
movie.mkv
movie.en.srt for the english subtitle file
movie.pt.srt for the brasilian portuguese subtitle file
or
tv-show s01e01.mkv
tv-show s01e01.en.srt
tv-show s01e01.pt.srt and so on
So how should my entries in "DialogVideoInfo.xml" look like to get the info? I am using "Media Info2" in which underneath an image there is a bar with icons about the codecs and the aspect ratio. If possible I'd like to add there the srt-subtitle info, preferably in text like "srt: en" or "srt: en, pt" or "srt: pt" or even "srt:" if no subtitle is available.
I'd really appreciate some help here....
cheers
Posts: 26
Joined: Nov 2013
Reputation:
0
tiwa75
Junior Member
Posts: 26
Hello,
I'm using the Xperience 1080 Skin // Kodi 16 and i've installed the last version of video language script addon. But I'm not able to view the available languages in the info box of my movies...
Should I do Something else?
Thank you in advance.
Posts: 5,485
Joined: Jul 2012
Reputation:
385
2016-05-09, 11:25
(This post was last modified: 2016-05-09, 11:28 by scott967.)
I would like to use this script in videoplaylist (background), but it doesn't work because the videoplaylist window doesn't set Container.Content. So I did an edit that uses ListItem.DBType instead and this seems to work. I could provide a PR if interested. My change is more of a hack as I think it would be better to redo the script to remove Container.Content altogether.
scott s.
.
Posts: 5,485
Joined: Jul 2012
Reputation:
385
Also this addon is throwing a Kodi invalid window error due to a test on the now removed (Kodi 17) videolibrary window.
scott s.
.
Posts: 5
Joined: Mar 2015
Reputation:
0
Very noob question here: how do you install it??
Tried and googled hard but I can't figured it out. I supposed I could install it from the Kodi add-on repository, but I can't find it.
Any help?
Thanks
Posts: 5,485
Joined: Jul 2012
Reputation:
385
It isn't needed any more. The info provided is now directly available in Kodi via an infolabel which skins can show.
scott s.
.