Skip to content

Commit 29fddd8

Browse files
committed
Update documentation and bump version number
1 parent 5385572 commit 29fddd8

File tree

6 files changed

+52
-15
lines changed

6 files changed

+52
-15
lines changed

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# History
22

3+
### 3.4.0 (2019-12-14)
4+
5+
* Add capability to toggle between existing, tempate, and edited metadata
6+
* Add IARL
7+
* Add additional XMP MD fields
8+
* Add bwf2pbcore and bwf2csv tools
9+
10+
311
### 3.3.1 (2019-07-22)
412

513
* Add "--config" argument to autoBWF

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Michael Andrec/UHEC'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '3.3.1'
25+
release = '3.4.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ content based on file naming conventions, system metadata, and pre-configured re
1515
can copy metadata fields from a template file to avoid having to enter the same information multiple times
1616
for derivative files of the same physical instantiation.
1717

18-
Also included are two command line programs (``autosplice`` and ``autolame``) which simplify the creation
19-
of derivative files.
18+
Also included are auxilliary command line scripts which simplify the creation
19+
of derivative files and provide for export of embedded metadata to PBCore and CSV files.
2020

2121
Contents
2222
++++++++++++
@@ -35,5 +35,5 @@ Known issues
3535
may cause a change to the modification time for the directory, which could cause a problem for some digital
3636
preservation schemes.
3737
* ``autoBWF`` strives to write valid XMP, but when reading Wave files it makes significant assumptions about
38-
the structure of the XMP XML beyond those mandated by the XMP standard. Therefore, it is capable of reliably
39-
reading only XMP generated by ``autoBWF`` itself, and metadata written by other software may not be correctly parsed.
38+
the structure of the XMP XML beyond those mandated by the XMP standard. Therefore, it is only capable of reliably
39+
reading XMP generated by ``autoBWF`` itself, and metadata written by other software may not be correctly parsed.

docs/installation.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Python 3
88
------------
99

1010
This code requires Python 3.6 or later. If you are running on Linux or Mac OS,
11-
then it is almost certainly already installled. If you are running on Widows,
12-
you can install Python using instructions that can be found on any number of web
11+
then it is almost certainly already installed. If you are running on Widows,
12+
you can install Python using instructions on any number of web
1313
sites (such as `this one
1414
<https://www.digitalocean.com/community/tutorials/how-to-install-
1515
python-3-and-set-up-a-local-programming-environment-on-windows-10>`_).
@@ -20,10 +20,10 @@ run ``autoBWF``.
2020

2121
bwfmetaedit
2222
----------------------------
23-
Download the and run the installer for the `BWFMetaEdit
23+
If needed, download and run the installer for the `BWFMetaEdit
2424
<https://mediaarea.net/BWFMetaEdit>`_ CLI (Command Line Interface) appropriate
2525
to your operating system from `mediaarea.net <https://mediaarea
26-
.net/BWFMetaEdit/Download>`_. Note that simply having the BWFMetaEdit GUI
26+
.net/BWFMetaEdit/Download>`_. Note that having the BWFMetaEdit GUI
2727
installed is not sufficient.
2828

2929
``autoBWF`` has been tested with ``bwfmetaedit`` v1.3.3 and v1.3.8. Note that
@@ -58,5 +58,5 @@ and installing the local code with ``pip3``, or by running ::
5858

5959
pip3 install git+git://github.com/Ukrainian-History/autoBWF.git#egg=autoBWF
6060

61-
The master branch contains functional code - all development work that is likely
61+
The master branch *should* contain functional code development work that is likely
6262
to result in a broken state is done on feature branches.

docs/splicelame.rst

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Autosplice and autolame
1+
Auxilliary tools
22
===========================
33

44
autosplice
@@ -45,7 +45,7 @@ Security note
4545
``subprocess.call()`` function with the ``shell=True`` argument. This is a
4646
theorectical security risk, as a maliciously-crafted EDL file obtained from an
4747
untrusted source could result in a shell injection attack. It is mitigated by the
48-
fact that such a malicious file should be easily recognizable by simple visual
48+
fact that such a malicious file would be easily detectable by simple visual
4949
inspection.
5050

5151
autolame
@@ -57,9 +57,38 @@ Usage::
5757

5858
Each `<infile>` will be converted to mp3 and the result will be saved to the same
5959
file name with the extension changed to mp3. Multiple <infile>s can be given, or
60-
generated using a shell glob (e.g. `*.wav`)
60+
generated using a shell glob (e.g. `*.wav`). Selected embedded metadata values from the BWF
61+
files are migrated to ID3v2 tags in the resulting mp3 files.
6162

6263
An output file name can be specified using the ``-o`` option, but in that case
6364
only one input file is allowed.
6465

65-
The default VBR level is currently 7.
66+
The default VBR level is currently 7.
67+
68+
bwf2pbcore
69+
------------------
70+
71+
Usage::
72+
73+
bwf2pbcore [-h] infile [infile ...]
74+
75+
Embeded Wave metadata in each `<infile>` will be extracted and saved as a PBCore XML sidecar file.
76+
The filename of the generated sidecar file will be the same as that of `<infile>` with
77+
"_pbcore" inserted just before the ".xml" extension (i.e. the input file "foobar.wav" will
78+
result in a sidecar file with the name "foobar_pbcore.xml")
79+
80+
`bwf2pbcore` checks for the presence of a file with the same name as the `<infile>`, but with
81+
"_ohms.xml" as a suffix and extension (i.e. for the input file "foobar.wav", it will look for the
82+
file "foobar_ohms.xml"). If such a file is found, it will assume that it contains XML metadata exported from
83+
the Oral History Metadata Synchronizer, and the contents will be inserted into the PBCore XML
84+
within an instantiation-level `<extensionEmbedded>` element.
85+
86+
bwf2csv
87+
------------------
88+
89+
Usage::
90+
91+
bwf2csv [-h] infile [infile ...]
92+
93+
Selected elements of embeded Wave metadata in each `<infile>` will be extracted and output to `stdout` in CSV format (one line
94+
per Wave file).

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939
packages=find_packages(include=['autoBWF']),
4040
setup_requires=setup_requirements,
4141
url='https://github.com/Ukrainian-History/autoBWF',
42-
version='3.3.1',
42+
version='3.4.0',
4343
zip_safe=False,
4444
)

0 commit comments

Comments
 (0)