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.10.0 (2022-08-25)

  • Add type hints

  • Remove RunningOrderControl class

  • Add support for various edge cases in merge methods, fixing several bugs

  • Increase test coverage for XML, MOS Collection, MOS Elements and MOS Types to 100%

Release 0.9.1 (2021-09-02)

Release 0.9.0 (2021-06-21)

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 MOS Elements properties that should have been lists (e.g. source_story should have been source_stories)

Release 0.7.0 (2021-01-08)

  • Ensured exceptions are raised when story IDs are not found when merging

  • Ensured tags aren’t overwritten when they are empty in MetaDataReplace

  • Ensured target story is found when merging StoryInsert and StoryReplace

  • Added RunningOrderControl class (for roCtrl messages)

  • Changed tx_time to start_time

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)

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)

  • Added MOS Elements - a collection of classes used to provide easy access to certain elements within a MosFile object

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