Block upload of duplicate sources via API
A duplicate source is one in which a non-blank URL is identical to the URL in another linked source. The Film Viewer's "Attach to Family Tree" feature prevents duplicates from being attached.
Duplicates are not blocked when a source is added via the API. Can the code be changed so that the API uses the Film Viewer's logic?