[Release] Language Preference Manager

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Crssi Offline
Posts: 461
Joined: Apr 2013
Reputation: 7
Location: Slovenia
Post: #151
find quote
JoshDi Offline
Junior Member
Posts: 6
Joined: Oct 2014
Reputation: 0
Post: #152
Is there a working version for this addon for 15.0 Isengard – Beta 1?

I am having an issue where all subtitles are playing by default, even though I turned off subtitles in the Audio OSD and set those audio settings as the default for all videos.

I currently have MOVIENAME.en.srt files in each folder (if available) and all MKV files contain English subtitles, but have the forced flag set as False (details are below from one sample file). Unfortunately, I have to turn off subtitles for each movie manually and the "set as default settings for all videos" does not stick.

Anyone else experiencing this issue? any ideas? Thank you very much!

My OP for this issue is listed here: http://forum.kodi.tv/showthread.php?tid=224500

Unique ID : 173311344540060142265119544674689107244 (0x82628D02391BC6E29F8A8AE06CE6452C)
Complete name : Z:\Videos\TV\Louie\Season 05\S05E02 - A La Carte.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 585 MiB
Duration : 25mn 45s
Overall bit rate : 3 175 Kbps
Encoded date : UTC 2015-04-17 06:57:04
Writing application : mkvmerge v7.3.0 ('Nouages') 64bit built on Oct 22 2014 18:53:34
Writing library : libebml v1.3.0 + libmatroska v1.4.1
_STATISTICS_WRITING_APP : mkvmerge v7.3.0 ('Nouages') 64bit built on Oct 22 2014 18:53:34
_STATISTICS_WRITING_DATE_UT : 2015-04-17 06:57:04
DURATION : 00:25:34.168000000

ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Format settings, GOP : M=2, N=25
Duration : 25mn 45s
Bit rate : 2 862 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.880 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.052
Stream size : 526 MiB (90%)
Writing library : x264 core 142 r2479 dd79a61
Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=hex / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=1 / b_pyramid=0 / b_adapt=0 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=25 / keyint_min=13 / scenecut=40 / intra_refresh=0 / rc_lookahead=25 / rc=abr / mbtree=1 / bitrate=2862 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 25mn 45s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -5ms
Stream size : 47.2 MiB (8%)
Default : Yes
Forced : No

ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Default : Yes
Forced : No

00:00:00.000 : en:Chapter 1
00:01:03.750 : en:Chapter 2
00:12:06.040 : en:Chapter 3
00:15:05.490 : en:Chapter 4
find quote
gadoosh84 Offline
Junior Member
Posts: 1
Joined: Jun 2015
Reputation: 0
Post: #153
I'm pretty new to this stuff but i put kodi on my amazon fire stick and i'd really like to try this language preference manager on it because my wife watches orange is the new black and when they speak spanish there's no subtitles. i downloaded the zip from the link posted then re compressed it and pushed it onto my firestick from my adbfire but when i go to enable the zip it says it isn't the correct style or something
any ideas of what i have to do to use this on the fire stick with kodi?
find quote
Drekko Offline
Junior Member
Posts: 18
Joined: Jun 2015
Reputation: 0
Post: #154
Hey guys
I just downloaded this addon I was looking for something to make my videos play with subtitles for any language other than english, so basically turn on all subtitles for all foreign language ( not english )
I am very new to Kodi so this might be a stupid question. What settings do I need to change in the addon for this to work?
find quote
Drekko Offline
Junior Member
Posts: 18
Joined: Jun 2015
Reputation: 0
Post: #155
(2015-04-10 02:24)flamepanther Wrote:  
(2015-04-10 01:27)madmax2 Wrote:  how to set this up so that subtitle gets turn on when audio language is not english?

It seems like you need to manually need to set it up for each language...

Try reversing your strategy.

Start playing a video, pull up the on-screen controls, and open the language and audio settings for the video. Enable English subtitles. Set as default for all videos. This should enable English subtitles for all videos that have any, regardless of audio language.

Now go into LPM and make sure to enable the setting to turn off subtitles for matched settings. Now go to the Conditional Subtitle Preferences tab. Be sure to turn on the "enable preference" setting. Finally, set "If audio language is English then display subtitles with language None"

Now, assuming nothing has strangely named audio or subtitle tracks, every audio language except English will have English subtitles. You can use tags in the file names to fix any problematic videos that won't work with this method.


I tried the above and it still wont work for me, I enable subtitles for all videos , enabled Turn off subs if no sub prefrence matched, then went to conditional pref tab and set if audio language is English then display no subtitle
Still displays subtitles for english
find quote
PsychoD9778 Offline
Junior Member
Posts: 1
Joined: Jul 2015
Reputation: 0
Post: #156
Hi all, I'm new to this forum, Kodi, and the language preference manager.

I just installed the latest version of Kodi v14.2 (Helix) and the language preference manager 0.0.5. I get a script error. I am using an Apple TV2.

any ideas?
find quote
john.cord Offline
Posts: 533
Joined: Jan 2007
Reputation: 6
Location: Vienna
Post: #157
I dont get it to set this addon correctly to my need.

My primary Language is German.

What do i need to do to get this Results:

Audio Language is German - No Subtitles/ Only Forced Subtitles Displayed if german subs are in the .mkv or in a seperate subtitle file named "moviename.de.srt" or .sub etc...

Audi Language is English - External Subtitles Displayed or if no external subs present internal subtitles of the file displayed first german and second english

I tried several settings but in case of a english language file allways the internal english subs are displayed and not the external german subs...

Please Help!

Asus Chromebox 4GB RAM 128GB m2 SSD @ Openelec VAAPI EGL Nightly
HP N54L @ Ubuntu 12.04 Minimal Server / MySQL DB
find quote
mortstar Offline
Senior Member
Posts: 284
Joined: Aug 2010
Reputation: 3
Post: #158
Would it be possible to add a 'negate' to the custom prefs? For example, I want English subtitles for all audio that is not English so something like '!eng:eng' would cover all possibilities.

[Image: all-banner.jpg]
find quote
kaiseruk Offline
Senior Member
Posts: 139
Joined: Feb 2014
Reputation: 2
Post: #159
Is it possible to use "und" as an audio language preference? Doesnt seem to work for me. On satellite, a lot of english audio is referred to as "und" so would be nice to have that picked automatically.
find quote
Post Reply