Change default audio for series - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59) +---- Thread: Change default audio for series (/showthread.php?tid=117272) Pages:
1
2
|
Change default audio for series - asha_man - 2011-12-19 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. - jhsrennie - 2011-12-20 I suspect you'll have to use mkvtools or something similar to change the default track setting in the mkv. JR - tinyxbmc - 2011-12-31 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. - superdubious - 2012-01-08 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? - clubwerks - 2012-01-08 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. - steelman1991 - 2012-01-08 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. - tinyxbmc - 2012-01-09 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? - jherm - 2012-02-06 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... RE: Change default audio for series - DeMoB - 2012-03-17 (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 so Hope you subscribed to this thread as I really would like your script RE: Change default audio for series - tinyxbmc - 2012-04-09 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 RE: Change default audio for series - DeMoB - 2012-04-10 Thanks for this tinyxbmc. Does this work recursively through folders until it finds the mkv files? All my media is in separate folders named after the movie/tv show. Would it be easy enough to alter the script to choose DD AC3 as the preferred first track, DTS if it can't find DD, and then go for the UND track? RE: Change default audio for series - tinyxbmc - 2012-04-10 (2012-04-10, 17:10)DeMoB Wrote: Thanks for this tinyxbmc.At this time it stays in the current directory only. It shouldn't be too hard to add the code to walk directory trees. Which track it chooses for the default is currently hard wired into the code. Let me see if I can find a way to code the rules into variables that can be customized easily without requiring a code change all the time. RE: Change default audio for series - Montol - 2012-08-08 This whole thread is exactly what I was looking to accomplish with my own files, but I'm a bit of a dummy when it comes to scripting. Has this idea been implemented into XBMC in the meantime since the last post? I'm having issues with a TV Show series that is insisting on choosing Russian AC3 (Track 1) instead of English DTS (Track 2) despite my setting english as the preferred audio in XBMC Eden stable. Any direction? Sorry if I'm resurrecting a dead thread or a solved issue. RE: Change default audio for series - kaffekask - 2012-08-08 I don't think it's in Eden, but perhaps in the releases for Frodo whish I guess you can call Alpha status. So your option is: - Have a look at this: http://forum.xbmc.org/showthread.php?tid=89014 - learn to script a little bit and use mkvpropedit (if you're on Linux, use the script posted earlier in this thread) - use an external player like MPC-HC where you can set which Audio track it should play. RE: Change default audio for series - AbRASiON - 2016-01-12 Is there any progress on something like this yet? I watch a lot of Japanese stuff and it's murder having to change language each video. |