aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-23 14:35:44 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-23 14:35:44 -0400
commit2454b72c93c29ab67e14713e81d91e3dee79fa2e (patch)
tree33bc2fa1907b6df9a447f580962fc186a1c91099 /MediaBrowser.Common
parent4068047845d598761f0c9d9600e1cf089bfdb95a (diff)
Comments and cleanup. ALso updated ffmpeg + ffprobe
Diffstat (limited to 'MediaBrowser.Common')
-rw-r--r--MediaBrowser.Common/Configuration/BaseApplicationPaths.cs11
-rw-r--r--MediaBrowser.Common/Events/GenericItemEventArgs.cs9
-rw-r--r--MediaBrowser.Common/MediaBrowser.Common.csproj1
-rw-r--r--MediaBrowser.Common/Serialization/JsvSerializer.cs2
4 files changed, 6 insertions, 17 deletions
diff --git a/MediaBrowser.Common/Configuration/BaseApplicationPaths.cs b/MediaBrowser.Common/Configuration/BaseApplicationPaths.cs
index ae45280136..d030da844c 100644
--- a/MediaBrowser.Common/Configuration/BaseApplicationPaths.cs
+++ b/MediaBrowser.Common/Configuration/BaseApplicationPaths.cs
@@ -1,14 +1,13 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+using System.Configuration;
using System.IO;
-using System.Configuration;
using System.Reflection;
namespace MediaBrowser.Common.Configuration
{
+ /// <summary>
+ /// Provides a base class to hold common application paths used by both the UI and Server.
+ /// This can be subclassed to add application-specific paths.
+ /// </summary>
public abstract class BaseApplicationPaths
{
private string _programDataPath;
diff --git a/MediaBrowser.Common/Events/GenericItemEventArgs.cs b/MediaBrowser.Common/Events/GenericItemEventArgs.cs
deleted file mode 100644
index ae7b2f574a..0000000000
--- a/MediaBrowser.Common/Events/GenericItemEventArgs.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-
-namespace MediaBrowser.Common.Events
-{
- public class GenericItemEventArgs<TItemType> : EventArgs
- {
- public TItemType Item { get; set; }
- }
-}
diff --git a/MediaBrowser.Common/MediaBrowser.Common.csproj b/MediaBrowser.Common/MediaBrowser.Common.csproj
index c38847b5c1..2d3d56da92 100644
--- a/MediaBrowser.Common/MediaBrowser.Common.csproj
+++ b/MediaBrowser.Common/MediaBrowser.Common.csproj
@@ -67,7 +67,6 @@
<Compile Include="Configuration\BaseApplicationConfiguration.cs" />
<Compile Include="Configuration\BaseApplicationPaths.cs" />
<Compile Include="Drawing\DrawingUtils.cs" />
- <Compile Include="Events\GenericItemEventArgs.cs" />
<Compile Include="Net\Handlers\StaticFileHandler.cs" />
<Compile Include="Net\MimeTypes.cs" />
<Compile Include="Properties\Resources.Designer.cs">
diff --git a/MediaBrowser.Common/Serialization/JsvSerializer.cs b/MediaBrowser.Common/Serialization/JsvSerializer.cs
index d2a12e0598..24c4b074eb 100644
--- a/MediaBrowser.Common/Serialization/JsvSerializer.cs
+++ b/MediaBrowser.Common/Serialization/JsvSerializer.cs
@@ -4,7 +4,7 @@ namespace MediaBrowser.Common.Serialization
{
/// <summary>
/// This adds support for ServiceStack's proprietary JSV output format.
- /// It's based on Json but the serializer performs faster and output runs about 10% smaller
+ /// It's a hybrid of Json and Csv but the serializer performs about 25% faster and output runs about 10% smaller
/// http://www.servicestack.net/benchmarks/NorthwindDatabaseRowsSerialization.100000-times.2010-08-17.html
/// </summary>
public static class JsvSerializer