aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/StreamState.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-23 01:03:16 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-23 01:03:16 -0400
commitbd4c99b01a609d6d96a195a29627d41093a6437b (patch)
tree4a772d6772a244fead79e671ddab9c88d5725ba2 /MediaBrowser.Api/Playback/StreamState.cs
parent7475722ecf1f36951ae92fafaa188135d33bbed2 (diff)
update cache file cleanup
Diffstat (limited to 'MediaBrowser.Api/Playback/StreamState.cs')
-rw-r--r--MediaBrowser.Api/Playback/StreamState.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/StreamState.cs b/MediaBrowser.Api/Playback/StreamState.cs
index d0d0337c2..da6be97b6 100644
--- a/MediaBrowser.Api/Playback/StreamState.cs
+++ b/MediaBrowser.Api/Playback/StreamState.cs
@@ -80,6 +80,10 @@ namespace MediaBrowser.Api.Playback
{
return 10;
}
+ if (userAgent.IndexOf("cfnetwork", StringComparison.OrdinalIgnoreCase) != -1)
+ {
+ return 10;
+ }
return 6;
}