Friendly stream names

This commit is contained in:
Eric Reed
2016-05-18 14:23:46 -04:00
parent d1d0487fee
commit 7841d9eb66
4 changed files with 43 additions and 5 deletions

View File

@@ -125,5 +125,10 @@ namespace MediaBrowser.Model.Extensions
return sb.ToString();
}
public static string FirstToUpper(this string str)
{
return string.IsNullOrEmpty(str) ? "" : str.Substring(0, 1).ToUpper() + str.Substring(1);
}
}
}