Kodi Community Forum
[RELEASE] Video language script for audio & subtitle streams - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [RELEASE] Video language script for audio & subtitle streams (/showthread.php?tid=155693)

Pages: 1 2 3 4 5 6 7


RE: [RELEASE] Video language script for audio & subtitle streams - malvinas2 - 2015-09-09

@Black & phil65:

Do you have got any idea regarding my question posted a few days ago ?
http://forum.kodi.tv/showthread.php?tid=238003

I imagine that the issue is quite the same that you have been working on, so maybe you've got any ideas?


RE: [RELEASE] Video language script for audio & subtitle streams - phil65 - 2015-09-09

This shouldnt be done on script level, it would need core adjustments to look for that in nfo files.


RE: [RELEASE] Video language script for audio & subtitle streams - marzo - 2015-12-10

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.


RE: [RELEASE] Video language script for audio & subtitle streams - derwildemann - 2016-01-23

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


RE: [RELEASE] Video language script for audio & subtitle streams - derwildemann - 2016-01-24

(2015-12-10, 22:38)marzo Wrote: 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.

I believe the correct form is like this:
<onload condition="System.HasAddon(script.videolanguage)">RunScript(script.videolanguage,backend=True)</onload>

so in essence it is "<onload condition" not "<onloadcondition" (attention to the space) and "backend" instead of "background"

I just started to get into this... I want to have my subtitles to show up in "Media Info" view. Maybe we can help each other... I'd like to hear what you have done so far and if this hint above gets it done for you, please share...


RE: [RELEASE] Video language script for audio & subtitle streams - tiwa75 - 2016-04-09

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.


RE: [RELEASE] Video language script for audio & subtitle streams - scott967 - 2016-05-09

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.
.


RE: [RELEASE] Video language script for audio & subtitle streams - scott967 - 2016-07-12

Also this addon is throwing a Kodi invalid window error due to a test on the now removed (Kodi 17) videolibrary window.

scott s.
.


RE: [RELEASE] Video language script for audio & subtitle streams - spacexion - 2017-03-09

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


RE: [RELEASE] Video language script for audio & subtitle streams - scott967 - 2017-03-09

It isn't needed any more. The info provided is now directly available in Kodi via an infolabel which skins can show.

scott s.
.


RE: [RELEASE] Video language script for audio & subtitle streams - spacexion - 2017-03-09

(2017-03-09, 20:47)scott967 Wrote: It isn't needed any more. The info provided is now directly available in Kodi via an infolabel which skins can show.

scott s.
.

Oh... ok. Confused

Is there any tutorial out there about this?

I'm surprised. Kodi is globally an A+ class program with incredible out of the box features, so it sound weird to me to have to manage some deep coding operations just in order to make some flags appear in the UI... This is not actually a "technical" problem as I'm an IT specialist so I suppose I should find my way, but it's incredibly time consuming as it requires to learn how skins are built and how Kodi manages them... Just to show a pair of 32x32 png icons! Wow...


This forum uses Lukasz Tkacz MyBB addons.