|
@@ -7,7 +7,7 @@ namespace MediaBrowser.Controller.Entities
|
|
public class Game : BaseItem, IHasSoundtracks
|
|
public class Game : BaseItem, IHasSoundtracks
|
|
{
|
|
{
|
|
public List<Guid> SoundtrackIds { get; set; }
|
|
public List<Guid> SoundtrackIds { get; set; }
|
|
-
|
|
|
|
|
|
+
|
|
public Game()
|
|
public Game()
|
|
{
|
|
{
|
|
MultiPartGameFiles = new List<string>();
|
|
MultiPartGameFiles = new List<string>();
|
|
@@ -84,5 +84,15 @@ namespace MediaBrowser.Controller.Entities
|
|
}
|
|
}
|
|
return base.GetUserDataKey();
|
|
return base.GetUserDataKey();
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public override IEnumerable<string> GetDeletePaths()
|
|
|
|
+ {
|
|
|
|
+ if (!IsInMixedFolder)
|
|
|
|
+ {
|
|
|
|
+ return new[] { System.IO.Path.GetDirectoryName(Path) };
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ return base.GetDeletePaths();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|