Changelog

Warning

Note that the library is currently in beta. The API and CLI are not yet stable and may change. Once the library reaches v1.0, it will be considered stable. Please consider giving Feedback to help stabilise the API.

Release 0.8.1 (2021-04-14)

  • Fixup release

Release 0.8.0 (2021-04-13)

  • Improved validation and error handling when merging various MosFile objects

  • Added more arguments to CLI commands

  • Corrected some singular MosFile API - MOS Elements properties that should have been lists (e.g. source_story should have been source_stories)

Release 0.7.0 (2021-01-08)

Release 0.6.0 (2020-12-01)

  • Added support for <StoryDuration> as an alternative to <MediaTime> and <TextTime>

Release 0.5.0 (2020-11-30)

Release 0.4.0 (2020-11-30)

  • Changed closed property to completed

  • Added transmission time and offset to Story class

  • New Command line interface with separate commands for detect, inspect and merge

  • Make MosCollection raise exceptions on failure, not just warnings

Release 0.3.0 (2020-11-24)

  • Switched from complicated __init__ constructors to multiple from_ classmethods e.g. from_file()

  • Replaced get_mos_object function with detection logic in the MosFile and ElementAction base classes

  • Replaced MosContainer class with MosCollection

Release 0.2.0 (2020-11-24)

Release 0.1.0 (2020-11-24)

  • Implemented most standard MOS message types as MosFile subclasses, supporting merging subsequent messages into the original running order

  • Implemented a MOS file detection function (get_mos_object)

  • Added a MOSContainer class as a wrapper for a complete programme

  • Added a CLI for merging MOS files