mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 04:59:35 -07:00
cleanup
This commit is contained in:
parent
1e39f6cd9a
commit
f8fc85c8dd
3 changed files with 0 additions and 14 deletions
|
@ -42,8 +42,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
|
||||||
releases = Fetch(service);
|
releases = Fetch(service);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO remap
|
|
||||||
|
|
||||||
return CleanupListItems(releases);
|
return CleanupListItems(releases);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -98,11 +98,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
|
||||||
return (playlistItem.ContentDetails.VideoPublishedAtDateTimeOffset ?? DateTimeOffset.UnixEpoch).DateTime;
|
return (playlistItem.ContentDetails.VideoPublishedAtDateTimeOffset ?? DateTimeOffset.UnixEpoch).DateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DateTime ParseYoutubeDate(string date, PlaylistItem song)
|
|
||||||
{
|
|
||||||
return DateTime.Now;
|
|
||||||
}
|
|
||||||
|
|
||||||
public override object RequestAction(string action, IDictionary<string, string> query)
|
public override object RequestAction(string action, IDictionary<string, string> query)
|
||||||
{
|
{
|
||||||
return base.RequestAction(action, query);
|
return base.RequestAction(action, query);
|
||||||
|
|
|
@ -8,10 +8,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
|
||||||
public class YoutubeSettingsBaseValidator<TSettings> : AbstractValidator<TSettings>
|
public class YoutubeSettingsBaseValidator<TSettings> : AbstractValidator<TSettings>
|
||||||
where TSettings : YoutubeSettingsBase<TSettings>
|
where TSettings : YoutubeSettingsBase<TSettings>
|
||||||
{
|
{
|
||||||
public YoutubeSettingsBaseValidator()
|
|
||||||
{
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class YoutubeSettingsBase<TSettings> : IImportListSettings
|
public class YoutubeSettingsBase<TSettings> : IImportListSettings
|
||||||
|
@ -32,9 +28,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
|
||||||
[FieldDefinition(0, Label = "Expires", Type = FieldType.Textbox, Hidden = HiddenType.Hidden)]
|
[FieldDefinition(0, Label = "Expires", Type = FieldType.Textbox, Hidden = HiddenType.Hidden)]
|
||||||
public DateTime Expires { get; set; }
|
public DateTime Expires { get; set; }
|
||||||
|
|
||||||
// [FieldDefinition(99, Label = "Authenticate with Google", Type = FieldType.OAuth)]
|
|
||||||
// public string SignIn { get; set; }
|
|
||||||
|
|
||||||
public NzbDroneValidationResult Validate()
|
public NzbDroneValidationResult Validate()
|
||||||
{
|
{
|
||||||
return new NzbDroneValidationResult(Validator.Validate((TSettings)this));
|
return new NzbDroneValidationResult(Validator.Validate((TSettings)this));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue