Add podgrab featureset
This commit is contained in:
parent
233dd5b5c0
commit
4527504c80
5 changed files with 71 additions and 11 deletions
|
@ -110,6 +110,8 @@ class Episode(db.Model):
|
|||
downloaded = db.Column(db.Boolean, default=False)
|
||||
file_path = db.Column(db.String(512))
|
||||
explicit = db.Column(db.Boolean, nullable=True) # Whether the episode is marked as explicit
|
||||
download_error = db.Column(db.String(255), nullable=True) # Error message if download failed
|
||||
status_code = db.Column(db.Integer, nullable=True) # HTTP status code from last download attempt
|
||||
|
||||
def __repr__(self):
|
||||
return f'<Episode {self.title}>'
|
||||
|
@ -133,5 +135,7 @@ class Episode(db.Model):
|
|||
'guid': self.guid,
|
||||
'downloaded': self.downloaded,
|
||||
'file_path': self.file_path,
|
||||
'explicit': self.explicit
|
||||
'explicit': self.explicit,
|
||||
'download_error': self.download_error,
|
||||
'status_code': self.status_code
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue