•   
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7(current)
[RELEASE] Video language script for audio & subtitle streams
#91
@Black & phil65:

Do you have got any idea regarding my question posted a few days ago ?
238003 (thread)

I imagine that the issue is quite the same that you have been working on, so maybe you've got any ideas?
Reply
#92
This shouldnt be done on script level, it would need core adjustments to look for that in nfo files.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#93
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.
Reply
#94
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
Reply
#95
(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...
Reply
#96
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.
Reply
#97
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.
.
Reply
#98
Also this addon is throwing a Kodi invalid window error due to a test on the now removed (Kodi 17) videolibrary window.

scott s.
.
Reply
#99
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
Reply
It isn't needed any more. The info provided is now directly available in Kodi via an infolabel which skins can show.

scott s.
.
Reply
(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...
Reply
  •   
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7(current)
 
Thread Rating:
  • 3 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
[RELEASE] Video language script for audio & subtitle streams53