mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
More config pages have been added. AJAX to save. Order with jquery sortable.
Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
This commit is contained in:
parent
65ecd58111
commit
da979639ba
145 changed files with 8384 additions and 113 deletions
|
@ -8,6 +8,7 @@ using NLog;
|
|||
using NzbDrone.Core.Model;
|
||||
using NzbDrone.Core.Providers;
|
||||
using NzbDrone.Core.Repository.Quality;
|
||||
using Rss;
|
||||
|
||||
namespace NzbDrone.Core
|
||||
{
|
||||
|
@ -145,5 +146,18 @@ namespace NzbDrone.Core
|
|||
|
||||
return info.FullName.ToLower().Trim('/', '\\', ' ');
|
||||
}
|
||||
|
||||
public static NzbInfoModel ParseNzbInfo(FeedInfoModel feed, RssItem item)
|
||||
{
|
||||
NzbSiteModel site = NzbSiteModel.Parse(feed.Url.ToLower());
|
||||
return new NzbInfoModel
|
||||
{
|
||||
Id = site.ParseId(item.Link.ToString()),
|
||||
Title = item.Title,
|
||||
Site = site,
|
||||
Link = item.Link,
|
||||
Description = item.Description
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue