Kodi Community Forum
More Information Tags - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
---- Thread: More Information Tags (/showthread.php?tid=240334)



More Information Tags - SniperSL - 2015-09-28

Hello I like the tool very mutch Wink

but is is possible to get some more tags?

Like:

$A Audio Codec + Kanäle: not so usefull
$A1 First Audioline: Audio Codec + Language String with A1 --> 3.Days.to.Kill.(2014).1080p.Ger-DTS-HD.tt2172934.mkv
$A2 Secound Audioline: Audio Codec + Language String with A1 and A2 --> 3.Days.to.Kill.(2014).1080p.Ger-DTS-HD.Eng-DTS.tt2172934.mkv

from the Mediainfo

That would be nice Wink


RE: More Information Tags - myron - 2015-09-29

well, yes, you are right.
we are lacking some information here...
Will add it to our todo list Smile


RE: More Information Tags - SniperSL - 2015-09-30

Just for the kickstart, is from my project feel free. Smile

/***/
movieOBJ.aspectration = info.get(MediaInfo.StreamKind.Video,0,"DisplayAspectRatio/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name);
/***/
if(!info.get(MediaInfo.StreamKind.Audio,0,"Title",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name).equals(""))
{
// movieOBJ.audiotrack1 =
// info.get(MediaInfo.StreamKind.Audio,0,"Title",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name);
movieOBJ.audiotrack1 = info.get(MediaInfo.StreamKind.Audio,0,"Language/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name) + " " + info.get(MediaInfo.StreamKind.Audio,0,"Codec/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name);
}
if(!info.get(MediaInfo.StreamKind.Audio,1,"Title",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name).equals(""))
{
movieOBJ.audiotrack2 = info.get(MediaInfo.StreamKind.Audio,1,"Language/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name) + " " + info.get(MediaInfo.StreamKind.Audio,1,"Codec/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name);
}
if(!info.get(MediaInfo.StreamKind.Audio,2,"Title",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name).equals(""))
{
movieOBJ.audiotrack3 = info.get(MediaInfo.StreamKind.Audio,2,"Language/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name) + " " + info.get(MediaInfo.StreamKind.Audio,2,"Codec/String",MediaInfo.InfoKind.Text,MediaInfo.InfoKind.Name);
}
/***/