pull/6/head
parent
64a1b2d28d
commit
48b89abfeb
@ -1,11 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using NzbDrone.Core.Model;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Providers
|
namespace NzbDrone.Core.Providers
|
||||||
{
|
{
|
||||||
public interface ISyncProvider
|
public interface ISyncProvider
|
||||||
{
|
{
|
||||||
bool BeginSyncUnmappedFolders(List<string> paths);
|
bool BeginSyncUnmappedFolders(List<SeriesMappingModel> unmapped);
|
||||||
List<String> GetUnmappedFolders(string path);
|
List<String> GetUnmappedFolders(string path);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AddNewSeriesModel>" %>
|
||||||
|
<%@ Import Namespace="NzbDrone.Web.Models" %>
|
||||||
|
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>
|
||||||
|
|
||||||
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
||||||
|
Add New Series
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Menu" ContentPlaceHolderID="ActionMenu" runat="server">
|
||||||
|
<%
|
||||||
|
Html.RenderPartial("SubMenu");
|
||||||
|
%>
|
||||||
|
</asp:Content>
|
||||||
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||||
|
|
||||||
|
//Add a new series
|
||||||
|
|
||||||
|
<%= Html.Label("Enter a Series Name") %>
|
||||||
|
<%= Html.TextBox("new_series_name", new { id="new_series_id" }) %>
|
||||||
|
|
||||||
|
//Browse Button??
|
||||||
|
//Auto-Complete?
|
||||||
|
|
||||||
|
//Search Button - Perform AJAX search for this Series on TVDB
|
||||||
|
|
||||||
|
//Return results with Radio Box + First Aired information, (link to TVDB too?) + Hidden ID text
|
||||||
|
|
||||||
|
User selects radio button and then presses add (or skips which clears results and #new_series_id)
|
||||||
|
|
||||||
|
Add, ask user to choose where to save the show in (used when sorting) then add the show... Possibly ask user to choose Quality Profile
|
||||||
|
|
||||||
|
|
||||||
|
</asp:Content>
|
Loading…
Reference in new issue