Hi Guys,
I wonder if anyone can help? I have several DTS-HD, MA and TureHD encoded files. However when it renames them, its not identifying them as TureHD or DTS-HD MA.
Thanks,
DTS-HD, MA, TrueHD, etc.
Re: DTS-HD, MA, TrueHD, etc.
You mean {source} binding? Things are only "identified" as episode/movie. You mean too keep some text from the original filename?
-
- Posts: 7
- Joined: 28 Mar 2013, 23:28
Re: DTS-HD, MA, TrueHD, etc.
Its the {ac} binding I'm looking at. for example DTS-HD MA shows up as DTS.
I'm unsure of a couple of things, such as how XBMC identifies the audio codec, which are correctly displayed. Or if this is normal within the file containers. Or how to handle this for correct file naming. Ultimately I'd like to preserve the correct audio streams within the filename.
I'm unsure of a couple of things, such as how XBMC identifies the audio codec, which are correctly displayed. Or if this is normal within the file containers. Or how to handle this for correct file naming. Ultimately I'd like to preserve the correct audio streams within the filename.
Re: DTS-HD, MA, TrueHD, etc.
What do you see in the bindings?
Did you try {audio.Format_Profile}?
-
- Posts: 7
- Joined: 28 Mar 2013, 23:28
Re: DTS-HD, MA, TrueHD, etc.
Thanks for that, unfortunately I'm on OSX, so cannot view the bindings to that degree, unless you can point me in a direction or is there a post somewhere that contains all bindings?
I just tried {audio.Format_Profile} and that contains MA Core (DTS-HD MA). I'm also seeing Layer 3 (mp3), Pro (WMA), ES and LC.
I'm sure I could add them as needed or work with that to reformat them.
Thanks,
I just tried {audio.Format_Profile} and that contains MA Core (DTS-HD MA). I'm also seeing Layer 3 (mp3), Pro (WMA), ES and LC.
I'm sure I could add them as needed or work with that to reformat them.
Thanks,
Re: DTS-HD, MA, TrueHD, etc.
I don't have any of those files to test with so I won't blindly mess with how {ac} works.
Just build in some logic, e.g.
If {audio.FormatProfile} contains DTS use {audio.FormatProfile} otherwise use {ac}
MacOS has the same GUI as Windows... as the screenshot says:
Datasource Popup => Edit Format => "(x)=" Button => Select your media file to test with => Click "info table" button right next to the file
Just build in some logic, e.g.
Code: Select all
{audio.FormatProfile =~ /DTS/ ? audio.FormatProfile : ac}
MacOS has the same GUI as Windows... as the screenshot says:
Datasource Popup => Edit Format => "(x)=" Button => Select your media file to test with => Click "info table" button right next to the file
-
- Posts: 7
- Joined: 28 Mar 2013, 23:28
Re: DTS-HD, MA, TrueHD, etc.
Thank you very much,
You have excellent support here.
However, the MediaInfo comes up blank...
You have excellent support here.
However, the MediaInfo comes up blank...
-
- Posts: 7
- Joined: 28 Mar 2013, 23:28
Re: DTS-HD, MA, TrueHD, etc.
If anyone is interested, this is what I currently have:
Changes tags for:
DTS-HD
DTS-ES
WMA-Pro
AAC-LC
I'm not use to this type of code and am missing stuff. But it will do until I figure a few things out.
Code: Select all
{ac}{audio.FormatProfile =~ /MA Core/ ? audio.FormatProfile.replace("MA Core",'-HD') : (audio.FormatProfile =~ /ES/ ? audio.FormatProfile.replace("ES",'-ES') : (audio.FormatProfile =~ /Pro/ ? audio.FormatProfile.replace("Pro",'-Pro') : (audio.FormatProfile =~ /LC/ ? audio.FormatProfile.replace("LC",'-LC') : '')))}
DTS-HD
DTS-ES
WMA-Pro
AAC-LC
I'm not use to this type of code and am missing stuff. But it will do until I figure a few things out.