Change logging to just log a message, instead of the exception. Moved logic to Syncer involvement. When posting the data, if a 500 is returned, then it is up to the Syncer to re-submit it.
17 lines
No EOL
591 B
C#
17 lines
No EOL
591 B
C#
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace FreeTubeSync.Model;
|
|
|
|
[Owned]
|
|
public class Video : BaseModel
|
|
{
|
|
public string videoId { get; set; } = string.Empty;
|
|
public string title { get; set; } = string.Empty;
|
|
public string author { get; set; } = string.Empty;
|
|
public string authorId { get; set; } = string.Empty;
|
|
public string lengthSeconds { get; set; } = string.Empty;
|
|
public long published { get; set; }
|
|
public long timeAdded { get; set; }
|
|
public string playlistItemId { get; set; } = string.Empty;
|
|
public string type { get; set; } = string.Empty;
|
|
} |