Browse Source

add jellyfin-web as submodule

dkanada 6 years ago
parent
commit
9de66e9e87

+ 0 - 1
.gitignore

@@ -234,7 +234,6 @@ pip-log.txt
 
 #Mr Developer
 .mr.developer.cfg
-MediaBrowser.WebDashboard/dashboard-ui/.idea/
 /.vs
 
 ##########

+ 3 - 0
.gitmodules

@@ -1,3 +1,6 @@
 [submodule "ThirdParty/taglib-sharp"]
 	path = ThirdParty/taglib-sharp
 	url = https://github.com/mono/taglib-sharp.git
+[submodule "MediaBrowser.WebDashboard/jellyfin-web"]
+	path = MediaBrowser.WebDashboard/jellyfin-web
+	url = https://github.com/jellyfin/jellyfin-web.git

+ 0 - 1
MediaBrowser.Controller/IServerApplicationPaths.cs

@@ -12,7 +12,6 @@ namespace MediaBrowser.Controller
 
         /// <summary>
         /// Gets the application resources path. This is the path to the folder containing resources that are deployed as part of the application
-        /// For example, this folder contains dashboard-ui and swagger-ui
         /// </summary>
         /// <value>The application resources path.</value>
         string ApplicationResourcesPath { get; }

+ 3 - 3
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -138,9 +138,9 @@ namespace MediaBrowser.WebDashboard.Api
         }
 
         /// <summary>
-        /// Gets the dashboard UI path.
+        /// Gets the path for the web interface.
         /// </summary>
-        /// <value>The dashboard UI path.</value>
+        /// <value>The path for the web interface.</value>
         public string DashboardUIPath
         {
             get
@@ -150,7 +150,7 @@ namespace MediaBrowser.WebDashboard.Api
                     return _serverConfigurationManager.Configuration.DashboardSourcePath;
                 }
 
-                return Path.Combine(_serverConfigurationManager.ApplicationPaths.ApplicationResourcesPath, "dashboard-ui");
+                return Path.Combine(_serverConfigurationManager.ApplicationPaths.ApplicationResourcesPath, "jellyfin-web/src");
             }
         }
 

+ 1 - 1
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -10,7 +10,7 @@
   </ItemGroup>
 
   <ItemGroup>
-    <None Include="dashboard-ui\**\*.*">
+    <None Include="jellyfin-web\src\**\*.*">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </None>
   </ItemGroup>

+ 1 - 0
MediaBrowser.WebDashboard/jellyfin-web

@@ -0,0 +1 @@
+Subproject commit 4678528d0028685b45c7c6daa2e24b72a363535b