2
0
Эх сурвалжийг харах

ease up on monitoring file stamp changes

Luke Pulverenti 12 жил өмнө
parent
commit
aed4d67a85

+ 0 - 12
MediaBrowser.Providers/Movies/MovieDbImagesProvider.cs

@@ -97,18 +97,6 @@ namespace MediaBrowser.Providers.Movies
             }
         }
 
-        /// <summary>
-        /// If we save locally, refresh if they delete something
-        /// </summary>
-        /// <value><c>true</c> if [refresh on file system stamp change]; otherwise, <c>false</c>.</value>
-        protected override bool RefreshOnFileSystemStampChange
-        {
-            get
-            {
-                return ConfigurationManager.Configuration.SaveLocalMeta;
-            }
-        }
-
         /// <summary>
         /// Gets a value indicating whether [refresh on version change].
         /// </summary>

+ 0 - 12
MediaBrowser.Providers/TV/FanArtSeasonProvider.cs

@@ -191,18 +191,6 @@ namespace MediaBrowser.Providers.TV
             }
         }
 
-        /// <summary>
-        /// Returns true or false indicating if the provider should refresh when the contents of it's directory changes
-        /// </summary>
-        /// <value><c>true</c> if [refresh on file system stamp change]; otherwise, <c>false</c>.</value>
-        protected override bool RefreshOnFileSystemStampChange
-        {
-            get
-            {
-                return ConfigurationManager.Configuration.SaveLocalMeta;
-            }
-        }
-
         /// <summary>
         /// Gets a value indicating whether [refresh on version change].
         /// </summary>

+ 0 - 12
MediaBrowser.Providers/TV/RemoteEpisodeProvider.cs

@@ -77,18 +77,6 @@ namespace MediaBrowser.Providers.TV
             get { return true; }
         }
 
-        /// <summary>
-        /// Returns true or false indicating if the provider should refresh when the contents of it's directory changes
-        /// </summary>
-        /// <value><c>true</c> if [refresh on file system stamp change]; otherwise, <c>false</c>.</value>
-        protected override bool RefreshOnFileSystemStampChange
-        {
-            get
-            {
-                return true;
-            }
-        }
-
         /// <summary>
         /// Gets a value indicating whether [refresh on version change].
         /// </summary>

+ 0 - 12
MediaBrowser.Providers/TV/RemoteSeasonProvider.cs

@@ -71,18 +71,6 @@ namespace MediaBrowser.Providers.TV
             }
         }
 
-        /// <summary>
-        /// Returns true or false indicating if the provider should refresh when the contents of it's directory changes
-        /// </summary>
-        /// <value><c>true</c> if [refresh on file system stamp change]; otherwise, <c>false</c>.</value>
-        protected override bool RefreshOnFileSystemStampChange
-        {
-            get
-            {
-                return ConfigurationManager.Configuration.SaveLocalMeta;
-            }
-        }
-
         /// <summary>
         /// Gets a value indicating whether [refresh on version change].
         /// </summary>

+ 2 - 2
MediaBrowser.Providers/TV/RemoteSeriesProvider.cs

@@ -388,8 +388,8 @@ namespace MediaBrowser.Providers.TV
             series.PremiereDate = doc.SafeGetDateTime("//FirstAired");
             if (series.PremiereDate.HasValue)
                 series.ProductionYear = series.PremiereDate.Value.Year;
-            //Runtime is in minutes, and 1 tick = 10000 ms
-            series.RunTimeTicks = doc.SafeGetInt32("//Runtime") * 6;
+
+            series.RunTimeTicks = TimeSpan.FromMinutes(doc.SafeGetInt32("//Runtime")).Ticks;
 
             if (!series.LockedFields.Contains(MetadataFields.Studios))
             {

+ 0 - 12
MediaBrowser.Providers/TV/TvdbSeriesImageProvider.cs

@@ -80,18 +80,6 @@ namespace MediaBrowser.Providers.TV
             }
         }
 
-        /// <summary>
-        /// Returns true or false indicating if the provider should refresh when the contents of it's directory changes
-        /// </summary>
-        /// <value><c>true</c> if [refresh on file system stamp change]; otherwise, <c>false</c>.</value>
-        protected override bool RefreshOnFileSystemStampChange
-        {
-            get
-            {
-                return ConfigurationManager.Configuration.SaveLocalMeta;
-            }
-        }
-
         /// <summary>
         /// Gets a value indicating whether [refresh on version change].
         /// </summary>