approve tv shows or movies

separate checkboxes in the settings screen separating out the approval
by tv or movie.
This commit is contained in:
Drewster727 2016-03-25 17:14:26 -05:00
parent faf21fc0ec
commit 673f3416e0
5 changed files with 26 additions and 8 deletions

View file

@ -37,6 +37,7 @@ using PlexRequests.Core.SettingModels;
using PlexRequests.Helpers;
using PlexRequests.Store;
using PlexRequests.Store.Repository;
using System.Diagnostics;
namespace PlexRequests.UI
{
@ -68,7 +69,7 @@ namespace PlexRequests.UI
if (port == -1)
port = GetStartupPort();
var options = new StartOptions($"http://+:{port}")
var options = new StartOptions(Debugger.IsAttached ? $"http://localhost:{port}" : $"http://+:{port}")
{
ServerFactory = "Microsoft.Owin.Host.HttpListener"
};