extract more scripts

This commit is contained in:
Luke Pulverenti 2015-06-09 01:56:46 -04:00
parent 62db1579c8
commit d86c6decec
4 changed files with 12 additions and 8 deletions

View file

@ -419,7 +419,11 @@ namespace MediaBrowser.Providers.TV
}
}
_logger.Info("TVDb Provider - Could not find " + name + ". Check name on Thetvdb.org.");
if (searchResults.Count == 0)
{
_logger.Info("TVDb Provider - Could not find " + name + ". Check name on Thetvdb.org.");
}
return searchResults;
}

View file

@ -281,7 +281,7 @@ namespace MediaBrowser.WebDashboard.Api
}
catch (IOException)
{
}
var creator = GetPackageCreator();
@ -300,6 +300,8 @@ namespace MediaBrowser.WebDashboard.Api
var cordovaVersion = Path.Combine(path, "thirdparty", "cordova", "registrationservices.js");
File.Copy(cordovaVersion, Path.Combine(path, "scripts", "registrationservices.js"), true);
File.Delete(cordovaVersion);
Directory.Delete(Path.Combine(path, "css", "images", "tour"), true);
}
await DumpHtml(creator.DashboardUIPath, path, mode, culture, appVersion);
@ -307,7 +309,7 @@ namespace MediaBrowser.WebDashboard.Api
await DumpFile("scripts/all.js", Path.Combine(path, "scripts", "all.js"), mode, culture, appVersion).ConfigureAwait(false);
await DumpFile("css/all.css", Path.Combine(path, "css", "all.css"), mode, culture, appVersion).ConfigureAwait(false);
return "";
}

View file

@ -538,20 +538,16 @@ namespace MediaBrowser.WebDashboard.Api
"mediacontroller.js",
"backdrops.js",
"sync.js",
"syncjob.js",
"appservices.js",
"playlistmanager.js",
"appsettings.js",
"mediaplayer.js",
"mediaplayer-video.js",
"nowplayingbar.js",
"nowplayingpage.js",
"taskbutton.js",
"alphapicker.js",
"addpluginpage.js",
"dashboardpage.js",
"directorybrowser.js",
"editcollectionitems.js",
"edititemmetadata.js",
"indexpage.js",
"itemdetailpage.js",
@ -561,7 +557,6 @@ namespace MediaBrowser.WebDashboard.Api
"pluginspage.js",
"remotecontrol.js",
"search.js",
"syncactivity.js",
"thememediaplayer.js",
"useredit.js",
"userprofilespage.js"

View file

@ -135,6 +135,9 @@
<Content Include="dashboard-ui\thirdparty\cordova\android\localassetmanager.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\thirdparty\cordova\android\mediasession.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>