"""Read the timeline's FPS label separately from project settings. No rounding."""
from resolve_api_connection import connect
from resolve_api_timeline import read_rates, dumps


def main():
    report = read_rates(connect())
    print(dumps(report))
    # label_fraction describes the text; physical_timebase remains not_inferred.
    return 0 if report["timeline"]["status"] == "parsed_label" else 2


if __name__ == "__main__":
    raise SystemExit(main())
