From 6fe82962661d30baadb19d241f30fb6126f53406 Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sun, 12 Aug 2012 13:05:51 -0400 Subject: [PATCH] Moved more common code from audio/video handler down to the base class --- MediaBrowser.Api/HttpHandlers/AudioHandler.cs | 47 +++++----- .../HttpHandlers/BaseMediaHandler.cs | 57 +++++++++++- MediaBrowser.Api/HttpHandlers/VideoHandler.cs | 88 +++++-------------- 3 files changed, 98 insertions(+), 94 deletions(-) diff --git a/MediaBrowser.Api/HttpHandlers/AudioHandler.cs b/MediaBrowser.Api/HttpHandlers/AudioHandler.cs index c3c27c568..311f8f9c7 100644 --- a/MediaBrowser.Api/HttpHandlers/AudioHandler.cs +++ b/MediaBrowser.Api/HttpHandlers/AudioHandler.cs @@ -1,28 +1,36 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; using System.Linq; using MediaBrowser.Model.Entities; namespace MediaBrowser.Api.HttpHandlers { + /// + /// Supported output formats are: mp3,flac,ogg,wav,asf,wma,aac + /// public class AudioHandler : BaseMediaHandler