Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/a13a569ca46ce4f83de4e37dd70a00680d3c665e You should set ROOT_URL correctly, otherwise the web may not work correctly.

EnsureLibraryFolder: Minor optimization

pull/6355/head
Bond_009 4 years ago
parent b024059f71
commit a13a569ca4

@ -82,12 +82,10 @@ namespace Emby.Server.Implementations.Collections
internal async Task<Folder> EnsureLibraryFolder(string path, bool createIfNeeded)
{
var existingFolders = FindFolders(path)
.ToList();
if (existingFolders.Count > 0)
var existingFolder = FindFolders(path).FirstOrDefault();
if (existingFolder != null)
{
return existingFolders[0];
return existingFolder;
}
if (!createIfNeeded)

Loading…
Cancel
Save