This commit is contained in:
Tyler Mayoff 2025-06-19 19:42:56 -04:00
commit f8fc85c8dd
3 changed files with 0 additions and 14 deletions

View file

@ -42,8 +42,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
releases = Fetch(service);
}
// TODO remap
return CleanupListItems(releases);
}

View file

@ -98,11 +98,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
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)
{
return base.RequestAction(action, query);

View file

@ -8,10 +8,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
public class YoutubeSettingsBaseValidator<TSettings> : AbstractValidator<TSettings>
where TSettings : YoutubeSettingsBase<TSettings>
{
public YoutubeSettingsBaseValidator()
{
// TODO
}
}
public class YoutubeSettingsBase<TSettings> : IImportListSettings
@ -32,9 +28,6 @@ namespace NzbDrone.Core.ImportLists.Youtube
[FieldDefinition(0, Label = "Expires", Type = FieldType.Textbox, Hidden = HiddenType.Hidden)]
public DateTime Expires { get; set; }
// [FieldDefinition(99, Label = "Authenticate with Google", Type = FieldType.OAuth)]
// public string SignIn { get; set; }
public NzbDroneValidationResult Validate()
{
return new NzbDroneValidationResult(Validator.Validate((TSettings)this));