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
classAdd support for various edge cases in
merge
methods, 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
MosFile
MOS element properties that should have been lists (e.g.source_story
should have beensource_stories
)Improved validation and error handling when merging various
MosFile
objectsAdded
script
andbody
toRunningOrder
Added non-strict mode to the
MosCollection
merge()
method and the mosromgr merge CLI commandCorrected some edge cases in
MosFile
subclass merge implementations (e.g. emptystoryID
tag 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
MosFile
objectsAdded more arguments to CLI commands
Corrected some singular
MosFile
MOS Elements properties that should have been lists (e.g.source_story
should 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
MetaDataReplace
Ensured target story is found when merging
StoryInsert
andStoryReplace
Added
RunningOrderControl
class (forroCtrl
messages)Changed
tx_time
tostart_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
ReadyToAir
MOS TypeImproved error message on invalid
MosCollection
Release 0.4.0 (2020-11-30)
Changed
closed
property tocompleted
Added transmission time and offset to
Story
classNew CLI with separate commands for mosromgr detect, mosromgr inspect and mosromgr merge
Make
MosCollection
raise 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_object
function with detection logic in theMosFile
andElementAction
base classesReplaced
MosContainer
class 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
MosFile
object