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
RunningOrderControlclassAdd support for various edge cases in
mergemethods, fixing several bugsIncrease 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)
Updated mosromgr inspect CLI command to work for all file types
Corrected some singular
MosFileMOS element properties that should have been lists (e.g.source_storyshould have beensource_stories)Improved validation and error handling when merging various
MosFileobjectsAdded
scriptandbodytoRunningOrderAdded non-strict mode to the
MosCollectionmerge()method and the mosromgr merge CLI commandCorrected some edge cases in
MosFilesubclass merge implementations (e.g. emptystoryIDtag means move to bottom)
Release 0.8.1 (2021-04-14)
Fixup release
Release 0.8.0 (2021-04-13)
Improved validation and error handling when merging various
MosFileobjectsAdded more arguments to CLI commands
Corrected some singular
MosFileMOS Elements properties that should have been lists (e.g.source_storyshould have beensource_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
MetaDataReplaceEnsured target story is found when merging
StoryInsertandStoryReplaceAdded
RunningOrderControlclass (forroCtrlmessages)Changed
tx_timetostart_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)
Added
ReadyToAirMOS TypeImproved error message on invalid
MosCollection
Release 0.4.0 (2020-11-30)
Changed
closedproperty tocompletedAdded transmission time and offset to
StoryclassNew CLI with separate commands for mosromgr detect, mosromgr inspect and mosromgr merge
Make
MosCollectionraise exceptions on failure, not just warnings
Release 0.3.0 (2020-11-24)
Switched from complicated
__init__constructors to multiplefrom_classmethods e.g.from_file()Replaced
get_mos_objectfunction with detection logic in theMosFileandElementActionbase classesReplaced
MosContainerclass withMosCollection
Release 0.2.0 (2020-11-24)
Added MOS Elements - a collection of classes used to provide easy access to certain elements within a
MosFileobject