1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

Added a bunch of extra MediaInfo formats.

This commit is contained in:
Taloth Saldono
2017-07-31 09:42:53 +02:00
parent 54d5ad4b71
commit ac837c8f74
7 changed files with 125 additions and 7 deletions
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
@@ -63,6 +64,11 @@ namespace NzbDrone.Common.Extensions
return text;
}
public static string Join(this IEnumerable<string> values, string separator)
{
return string.Join(separator, values);
}
public static string CleanSpaces(this string text)
{
return CollapseSpace.Replace(text, " ").Trim();