Merge pull request #1346 from MediaBrowser/master

merge from master
This commit is contained in:
Luke 2015-12-21 12:50:25 -05:00
commit 887c09e737
5 changed files with 916 additions and 475 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
<configuration>
<dllmap dll="MediaInfo" target="libmediainfo.dylib" os="osx"/>
</configuration>

View File

@ -111,6 +111,16 @@ namespace MediaBrowser.Server.Startup.Common.FFMpeg
DeleteOlderFolders(Path.GetDirectoryName(versionedDirectoryPath), excludeFromDeletions); DeleteOlderFolders(Path.GetDirectoryName(versionedDirectoryPath), excludeFromDeletions);
// Allow just one of these to be overridden, if desired.
if (!string.IsNullOrWhiteSpace(customffMpegPath))
{
info.EncoderPath = customffMpegPath;
}
if (!string.IsNullOrWhiteSpace(customffProbePath))
{
info.EncoderPath = customffProbePath;
}
return info; return info;
} }

View File

@ -90,12 +90,12 @@ namespace MediaBrowser.Server.Startup.Common.FFMpeg
"libx265", "libx265",
"mpeg4", "mpeg4",
"msmpeg4", "msmpeg4",
"libvpx", //"libvpx",
//"libvpx-vp9", //"libvpx-vp9",
"aac", "aac",
"ac3", "ac3",
"libmp3lame", "libmp3lame",
"libvorbis", //"libvorbis",
"srt" "srt"
}; };

View File

@ -434,11 +434,18 @@ namespace MediaBrowser.WebDashboard.Api
var versionString = !string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase) ? "?v=" + version : string.Empty; var versionString = !string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase) ? "?v=" + version : string.Empty;
var files = new List<string> var files = new List<string>();
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
{ {
"bower_components/requirejs/require.js" + versionString, files.Add("bower_components/requirejs/require.js");
"scripts/site.js" + versionString }
}; else
{
files.Add("bower_components" + version + "/requirejs/require.js");
}
files.Add("scripts/site.js" + versionString);
if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase)) if (string.Equals(mode, "cordova", StringComparison.OrdinalIgnoreCase))
{ {