mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Issue with overwriting user settings for Indexers resolved.
Reworked RssSyncProvider to make it cleaner. SeasonProvider was returning the reveresed boolean result Indexer changed to not store empty strings as null when saving config (ApiUrl).
This commit is contained in:
parent
d83ae9895c
commit
a7780fab67
4 changed files with 40 additions and 31 deletions
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using SubSonic.SqlGeneration.Schema;
|
||||
|
@ -9,11 +10,12 @@ namespace NzbDrone.Core.Repository
|
|||
{
|
||||
public class Indexer
|
||||
{
|
||||
[SubSonicPrimaryKey (true)]
|
||||
[SubSonicPrimaryKey(true)]
|
||||
public string IndexerName { get; set; }
|
||||
public string RssUrl { get; set; }
|
||||
|
||||
[SubSonicNullStringAttribute]
|
||||
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||
public string ApiUrl { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public int Order { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue