Prevent import of directories as DCPs if they do not have an
authorCarl Hetherington <cth@carlh.net>
Wed, 28 Oct 2020 11:48:48 +0000 (12:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 28 Oct 2020 11:50:37 +0000 (12:50 +0100)
commitedbd3d482734fcd12985252932918776f9ee0bad
tree53bd3adf173bd5b34c4f059ff15aa48d2644bed8
parentb73549f6c4f13e8ef5cadebbc767829aea5a2c16
Prevent import of directories as DCPs if they do not have an
ASSETMAP{,.xml} in the top level.

This should avoid some confusion, as previously DoM would scan the
whole directory tree looking for an ASSETMAP.  It also prevents
people adding a DCP-o-matic project to itself, which I believe is the
cause of #1620.

Backported-from-commit: 2c74c1534cb563cab4c6c3225ced573619f6a647
Backported-from-branch: v2.15.x
src/lib/dcp_content.cc