finished writing to database
This commit is contained in:
@@ -51,6 +51,12 @@ class FormattedText:
|
||||
if self.doc is None:
|
||||
return None
|
||||
return pandoc.write(self.doc, format="plain").strip()
|
||||
|
||||
@property
|
||||
def json(self) -> str:
|
||||
if self.doc is None:
|
||||
return None
|
||||
return pandoc.write(self.doc, format="json")
|
||||
|
||||
plaintext = property(fget=get_plaintext, fset=set_plaintext)
|
||||
markdown = property(fget=get_markdown, fset=set_markdown)
|
||||
|
||||
@@ -252,6 +252,7 @@ class ID3Timestamp:
|
||||
return self.timestamp
|
||||
|
||||
timestamp: str = property(fget=get_timestamp)
|
||||
timeformat: str = property(fget=get_time_format)
|
||||
|
||||
|
||||
class MetadataAttribute:
|
||||
|
||||
Reference in New Issue
Block a user