Nick Bowler [Thu, 16 May 2019 23:27:32 +0000 (19:27 -0400)]
caa-fetcher: Allow pasting musicbrainz URIs for MBIDs
This alters the input parsing so you can simply paste any string
containing a substring that looks like an MBID. The first such
substring will be used. This makes it easier to browse to a release
on Musicbrainz and just copy+paste the URI into caa-fetcher.
And improve the error messages if you paste some other kind of MBID.
Nick Bowler [Wed, 8 May 2019 01:26:29 +0000 (21:26 -0400)]
caa-fetcher: Create downloaded files with correct permissions.
python's NamedTemporaryFile hardcodes a mode of 0600, which is wrong
for what we are trying to accomplish. Downloaded files should be
created with default permissions (respecting umask, acls, etc.)
It's a real pain to fix up permissions after the fact so we'll
have to cook up our own version instead...