Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/cec19ffca58e72f5d3f40d0c87924306c36d42e4?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

fixed path determination for movie saves

pull/702/head
Luke Pulverenti 12 years ago
parent ca85af834e
commit cec19ffca5

@ -2,6 +2,7 @@
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Library;
using MediaBrowser.Model.Entities;
using MediaBrowser.Providers.Movies;
using System;
using System.Globalization;
@ -98,7 +99,10 @@ namespace MediaBrowser.Providers.Savers
{
if (item.ResolveArgs.IsDirectory)
{
return Path.Combine(item.Path, "movie.xml");
var video = (Video)item;
var path = video.VideoType == VideoType.VideoFile || video.VideoType == VideoType.Iso ? Path.GetDirectoryName(item.Path) : item.Path;
return Path.Combine(path, "movie.xml");
}
return Path.ChangeExtension(item.Path, ".xml");

Loading…
Cancel
Save