Howdo.
I've just started watching a series that has two audio tracks, 1 in German, the other English.
XBMC always plays the German track, when I'd prefer the English. I can manually change this each time from the in-video menu, but was wondering if there is a more elegant, automated way to change this? sort of a "force english" audio option.
btw, i changed the audio to track 2 (english) and saved it as default from the in-video menu, but that didnt make any difference to the next episode i played.
thanks.
asha_man
Junior Member Posts: 47 Joined: Feb 2011 Reputation: 1 |
2011-12-19 23:53
Post: #1
|
| find quote |
jhsrennie
Team-XBMC Developer Posts: 7,237 Joined: Nov 2008 Reputation: 117 Location: Chester, UK |
2011-12-20 10:50
Post: #2
I suspect you'll have to use mkvtools or something similar to change the default track setting in the mkv.
JR |
| find quote |
tinyxbmc
Junior Member Posts: 7 Joined: Dec 2011 Reputation: 0 |
2011-12-31 02:29
Post: #3
I have stumbled over the very same situation, it is not Windows or any platform specific and I am actually surprised that XBMC does not provide a preference setting where the user can specify what default audio track he/she wants to listen to. I'm sure this function has been asked for many many times in this forum and it should be difficult to add it.
In the absence of that functionality built into XBMC, you can do the following on a Unix-like (FreeBSD, Linux, ...) system: Install mkvtoolnix on your system, write a bash / awk script (or any other scripting language of your choice), walk through all your movies, run mkvinfo on each file, parse the relevant properties into variables in your script, construct an appropriate "mkvpropedit" commandline and execute that command on each file. With mkvpropedit you can set the "default-flag" of exactly that audio track you want XBMC to use as the default. I have verified that this process works. PS: If there is any other thread around here where that functionality is being discussed, pls point me to it, I haven't found any yet.
(This post was last modified: 2011-12-31 02:33 by tinyxbmc.)
|
| find quote |
superdubious
Junior Member Posts: 8 Joined: Jan 2012 Reputation: 0 |
2012-01-08 14:41
Post: #4
Thanks for the info tinyxbmc. If you have written a script to do the job is there any chance you could share it on the forum please?
|
| find quote |
clubwerks
Posting Freak Posts: 824 Joined: Dec 2010 Reputation: 0 |
2012-01-08 19:17
Post: #5
And for those of you that can't write bash scripts or don't have the slightest idea what any of that means, you can simply use mkvmerge GUI to remove audio tracks and/or change the default audio flag.
XBMC cannot pick out anything but the default audio track, unless you play it and switch it manually, then it remembers the audio track you selected. ![]() |
| find quote |
steelman1991
Member+ Posts: 2,145 Joined: Jan 2009 Reputation: 6 Location: West Lothian, Scotland |
2012-01-08 20:45
Post: #6
If it is just a 'one-off' or infrequent occurrence, you could load the file in mkvmerge and use the 'header' options to change the default flagging of the audio to whatever track you want without remuxing.
The same process can be used to change default/forced subtitle tracks to your preferred language. |
| find quote |
tinyxbmc
Junior Member Posts: 7 Joined: Dec 2011 Reputation: 0 |
2012-01-09 23:02
Post: #7
superdubious Wrote:Thanks for the info tinyxbmc. If you have written a script to do the job is there any chance you could share it on the forum please?I can certainly make it available "as is". Where should I put it? |
| find quote |
jherm
Junior Member Posts: 2 Joined: Feb 2012 Reputation: 0 |
2012-02-06 09:00
Post: #8
Given that XBMC can list the audio tracks by name already (some of which say the language), it'd be cool to see a configurable regex that can auto-select the track that way. Even cooler if its toggle-able for TV and/or Movies. I know that movie DVDs can sometimes have multiple English tracks.
Maybe I'll see if this could be accomplished by a plugin... |
| find quote |
DeMoB
Junior Member Posts: 13 Joined: Jun 2011 Reputation: 0 Location: UK |
2012-03-17 19:39
Post: #9
(2012-01-09 23:02)tinyxbmc Wrote:If it's just a bash script throw it up in a bbcode tag (literally just ['code'] without the ''s):superdubious Wrote:Thanks for the info tinyxbmc. If you have written a script to do the job is there any chance you could share it on the forum please?I can certainly make it available "as is". Where should I put it? Code: Like soHope you subscribed to this thread as I really would like your script
|
| find quote |
tinyxbmc
Junior Member Posts: 7 Joined: Dec 2011 Reputation: 0 |
2012-04-09 00:32
Post: #10
I am trying the "code" tags, however, no guarantees that the copy/paste really renders a working script. At least the tab characters are gone and the formatting of the source file seems broken. I would prefer to upload a real file.
Code: #!/bin/bash
(This post was last modified: 2012-04-09 00:33 by tinyxbmc.)
|
| find quote |

![[Image: all-banner@2x.jpg]](http://trakt.tv/user/asha_man/widgets/watched/all-banner@2x.jpg)
![[Image: watched-fanart.jpg]](http://trakt.tv/user/clubby/widget/watched-fanart.jpg)
Search
Help