def to_media(self) -> DatabaseMedia:
    db_media = DatabaseMedia(_id=self.RemoteId, _filename=self.AlbumName, _size=self.Size, _create_date=self.EndDate)
    return db_media
def to_media(self) -> DatabaseMedia:
    db_media = DatabaseMedia(_id=self.RemoteId, _filename=self.AlbumName, _size=self.Size, _create_date=self.EndDate)
    return db_media