More rework to use the Plex DB

This commit is contained in:
Jamie.Rees 2016-10-19 13:20:56 +01:00
parent dc92285cfa
commit ec49ab7389
5 changed files with 79 additions and 87 deletions

View file

@ -102,6 +102,12 @@ namespace PlexRequests.Helpers
$"https://app.plex.tv/web/app#!/server/{machineId}/details/%2Flibrary%2Fmetadata%2F{mediaId}";
return url;
}
public static string FormatGenres(string tags)
{
var split = tags.Split(new[] {'|'}, StringSplitOptions.RemoveEmptyEntries);
return string.Join(", ", split);
}
}
public class EpisodeModelHelper