Luke Pulverenti 9 лет назад
Родитель
Сommit
cc023262c5

+ 2 - 1
MediaBrowser.Controller/Entities/UserView.cs

@@ -84,7 +84,8 @@ namespace MediaBrowser.Controller.Entities
                 CollectionType.HomeVideos,
                 CollectionType.Photos,
                 CollectionType.Playlists,
-                CollectionType.BoxSets
+                CollectionType.BoxSets,
+                CollectionType.MusicVideos
             };
 
             var collectionFolder = folder as ICollectionFolder;

+ 1 - 0
MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj

@@ -22,6 +22,7 @@
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
+    <Prefer32Bit>true</Prefer32Bit>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     <PlatformTarget>AnyCPU</PlatformTarget>

+ 5 - 3
MediaBrowser.ServerApplication/Native/WindowsApp.cs

@@ -1,5 +1,4 @@
-using MediaBrowser.Common.IO;
-using MediaBrowser.Common.Net;
+using MediaBrowser.Common.Net;
 using MediaBrowser.IsoMounter;
 using MediaBrowser.Model.Logging;
 using MediaBrowser.Server.Startup.Common;
@@ -23,7 +22,10 @@ namespace MediaBrowser.ServerApplication.Native
         {
             var list = new List<Assembly>();
 
-            list.Add(typeof(PismoIsoManager).Assembly);
+            if (!System.Environment.Is64BitProcess)
+            {
+                list.Add(typeof(PismoIsoManager).Assembly);
+            }
 
             list.Add(GetType().Assembly);