Add a new source (Commercial only). Returns the new sourceId.
(self)
| 604 | return result.get("sources", []) |
| 605 | |
| 606 | def source_add(self) -> int: |
| 607 | """Add a new source (Commercial only). Returns the new sourceId.""" |
| 608 | result = self.command("project.source.add") |
| 609 | return result.get("sourceId", -1) |
| 610 | |
| 611 | def source_delete(self, source_id: int) -> None: |
| 612 | """Delete a source by ID (Commercial only; sourceId >= 1).""" |