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 - `Black - 2013-02-28

Could be possible but it's too much work so no.


RE: [RELEASE] Video language script for audio & subtitle streams - voidy - 2013-02-28

(2013-02-28, 13:25)`Black Wrote: Could be possible but it's too much work so no.

ok thanks for the quick and honest answer
a follow up question lets say i get it so the subtitle is combined into the container file the .MKV then it should work right.


RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-02-28

Yes but don't forget to rescan the files if you do that.


RE: [RELEASE] Video language script for audio & subtitle streams - voidy - 2013-02-28

(2013-02-28, 14:40)`Black Wrote: Yes but don't forget to rescan the files if you do that.

ofc cool thanks alot for ur answers. now i either have to repack like 700 movies let alone tvshows Tongue or try and get some with them included.


RE: [RELEASE] Video language script for audio & subtitle streams - User 34959 - 2013-02-28

Black, the cl.ly link in the first post it not working, but the copy paste method of the Github address obviously works.


RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-02-28

Thanks, it's fixed.


RE: [RELEASE] Video language script for audio & subtitle streams - User 34959 - 2013-03-03

I'm having an issue with either the script or the fade label, not sure which one is it. http://forum.xbmc.org/showthread.php?tid=66832&pid=1354471#pid1354471


RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-03-03

Fadelabel is the problem but I could update the script so that it doesn't set empty properties.

Edit: Hm that's not possible because I would have to remove the AudioChannel and AudioCodec properties. So you can't use a fadelabel I'm afraid. Use a list and animate it with AlarmClock.


RE: [RELEASE] Video language script for audio & subtitle streams - User 34959 - 2013-03-03

If i use <info>Window.Property(SubtitleLanguage.1)</info> it skips the empty values but then i cannot use formatting.. hmmh

Just to make sure i understand what is happening if i use it like this and there is only 1 subtitle it scrolls through the existing non-empty property + 1 empty space, and that's why it looks like it's skipping the empty properties?

PHP Code:
<label>[UPPERCASE][B]$INFO[Window.Property(SubtitleLanguage.1)][/B][/UPPERCASE] [UPPERCASE][B]$INFO[Window.Property(SubtitleLanguage.2)][/B][/UPPERCASE



RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-03-03

It's not skipping them, they are just empty. A fadelabel doesn't seem to skip if you add <label></label>. You can use the style also with info. Just add a font like this:

PHP Code:
<font>
    <
name>font12</name>
    <
filename>arial.ttf</name>
    <
size>12</size>
    <
style>uppercase bold</style>
</
font



RE: [RELEASE] Video language script for audio & subtitle streams - Hitcher - 2013-03-03

Nm.


RE: [RELEASE] Video language script for audio & subtitle streams - User 34959 - 2013-03-03

Well the fadelabel is now sorted and on to the next problem, it's returning false subtitle properties. Audio properties have been spot on so far.

It seems to be obsessed with returning RUM (Romanian) when in reality according to streamdetails table i have in about 5 movies. It feels little bit like it's not clearing the properties. Some of my movies can have as many as 20-30 subtitles.

My database has gone through so many upgrades that i'll redo it first, maybe that'll solve it.


RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-03-03

I'm clearing just the first 10 because I never thought anyone would have more... can I ask why you need 30 subtitles?


RE: [RELEASE] Video language script for audio & subtitle streams - User 34959 - 2013-03-03

DVD's can have that many, atleast here in Finland. First we have all the Nordic countries, then rest of the major European languages etc. If you use makemkv to convert them to mkv and don't remove unwanted languages that what you'll end up with.


RE: [RELEASE] Video language script for audio & subtitle streams - `Black - 2013-03-03

Ok, try latest git, script now clears 1 to 99.


This forum uses Lukasz Tkacz MyBB addons.