extract more scripts
This commit is contained in:
parent
62db1579c8
commit
d86c6decec
|
@ -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;
|
return searchResults;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -281,7 +281,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
}
|
}
|
||||||
catch (IOException)
|
catch (IOException)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var creator = GetPackageCreator();
|
var creator = GetPackageCreator();
|
||||||
|
@ -300,6 +300,8 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
var cordovaVersion = Path.Combine(path, "thirdparty", "cordova", "registrationservices.js");
|
var cordovaVersion = Path.Combine(path, "thirdparty", "cordova", "registrationservices.js");
|
||||||
File.Copy(cordovaVersion, Path.Combine(path, "scripts", "registrationservices.js"), true);
|
File.Copy(cordovaVersion, Path.Combine(path, "scripts", "registrationservices.js"), true);
|
||||||
File.Delete(cordovaVersion);
|
File.Delete(cordovaVersion);
|
||||||
|
|
||||||
|
Directory.Delete(Path.Combine(path, "css", "images", "tour"), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
await DumpHtml(creator.DashboardUIPath, path, mode, culture, appVersion);
|
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("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);
|
await DumpFile("css/all.css", Path.Combine(path, "css", "all.css"), mode, culture, appVersion).ConfigureAwait(false);
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -538,20 +538,16 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"mediacontroller.js",
|
"mediacontroller.js",
|
||||||
"backdrops.js",
|
"backdrops.js",
|
||||||
"sync.js",
|
"sync.js",
|
||||||
"syncjob.js",
|
|
||||||
"appservices.js",
|
"appservices.js",
|
||||||
"playlistmanager.js",
|
"playlistmanager.js",
|
||||||
"appsettings.js",
|
"appsettings.js",
|
||||||
"mediaplayer.js",
|
"mediaplayer.js",
|
||||||
"mediaplayer-video.js",
|
"mediaplayer-video.js",
|
||||||
"nowplayingbar.js",
|
"nowplayingbar.js",
|
||||||
"nowplayingpage.js",
|
|
||||||
"taskbutton.js",
|
|
||||||
"alphapicker.js",
|
"alphapicker.js",
|
||||||
"addpluginpage.js",
|
"addpluginpage.js",
|
||||||
"dashboardpage.js",
|
"dashboardpage.js",
|
||||||
"directorybrowser.js",
|
"directorybrowser.js",
|
||||||
"editcollectionitems.js",
|
|
||||||
"edititemmetadata.js",
|
"edititemmetadata.js",
|
||||||
"indexpage.js",
|
"indexpage.js",
|
||||||
"itemdetailpage.js",
|
"itemdetailpage.js",
|
||||||
|
@ -561,7 +557,6 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"pluginspage.js",
|
"pluginspage.js",
|
||||||
"remotecontrol.js",
|
"remotecontrol.js",
|
||||||
"search.js",
|
"search.js",
|
||||||
"syncactivity.js",
|
|
||||||
"thememediaplayer.js",
|
"thememediaplayer.js",
|
||||||
"useredit.js",
|
"useredit.js",
|
||||||
"userprofilespage.js"
|
"userprofilespage.js"
|
||||||
|
|
|
@ -135,6 +135,9 @@
|
||||||
<Content Include="dashboard-ui\thirdparty\cordova\android\localassetmanager.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\android\localassetmanager.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\thirdparty\cordova\android\mediasession.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user