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.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
mosromgr.moscollection.MosCollection.merge()
method and CLICorrected 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
API - 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 Command line interface with separate commands for
detect
,inspect
andmerge
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 API - 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 orderImplemented a MOS file detection function (
get_mos_object
)Added a
MOSContainer
class as a wrapper for a complete programmeAdded a CLI for merging MOS files