diff --git a/ref/probundle/pro-format-difference/correct.json b/ref/probundle/pro-format-difference/correct.json new file mode 100644 index 0000000..b05d6e6 --- /dev/null +++ b/ref/probundle/pro-format-difference/correct.json @@ -0,0 +1,153 @@ +{ + "applicationInfo": { + "platform": "PLATFORM_MACOS", + "platformVersion": { + "majorVersion": 14, + "minorVersion": 8, + "patchVersion": 3 + }, + "application": "APPLICATION_PROPRESENTER", + "applicationVersion": { + "majorVersion": 20, + "build": "335544354" + } + }, + "uuid": { + "string": "8E0F1A63-32CD-4360-BBC5-CB676079E1C3" + }, + "name": "TestBild", + "background": { + "color": { + "alpha": 1 + } + }, + "chordChart": { + "platform": "PLATFORM_MACOS" + }, + "selectedArrangement": { + "string": "FB276233-E2EA-4667-B78A-19E16E28A75A" + }, + "arrangements": [ + { + "uuid": { + "string": "FB276233-E2EA-4667-B78A-19E16E28A75A" + }, + "name": "normal", + "groupIdentifiers": [ + { + "string": "C2941B44-2DE9-4541-B514-AD7414BC552E" + } + ] + } + ], + "cueGroups": [ + { + "group": { + "uuid": { + "string": "C2941B44-2DE9-4541-B514-AD7414BC552E" + }, + "name": "Verse 1", + "color": { + "alpha": 1 + }, + "hotKey": {} + }, + "cueIdentifiers": [ + { + "string": "448DE289-AEBE-4623-BD3F-34D26884B02B" + } + ] + } + ], + "cues": [ + { + "uuid": { + "string": "448DE289-AEBE-4623-BD3F-34D26884B02B" + }, + "name": "test-background", + "hotKey": {}, + "actions": [ + { + "uuid": { + "string": "94A3AED9-C2B9-4CAC-94AB-81B0DB7B6BAF" + }, + "isEnabled": true, + "type": "ACTION_TYPE_PRESENTATION_SLIDE", + "slide": { + "presentation": { + "baseSlide": { + "size": { + "width": 1920, + "height": 1080 + }, + "uuid": { + "string": "DF9F58CB-E4EF-4EDA-8732-5ED02900FED2" + } + }, + "chordChart": { + "platform": "PLATFORM_MACOS" + } + } + } + }, + { + "uuid": { + "string": "ABBEF5F3-3806-4472-9FC1-C4D511D84A20" + }, + "name": "test-background", + "isEnabled": true, + "type": "ACTION_TYPE_MEDIA", + "media": { + "element": { + "uuid": { + "string": "A4EC63B1-A1F7-4ADD-B340-854E8740CAD8" + }, + "url": { + "platform": "PLATFORM_MACOS", + "absoluteString": "file:///Users/thorsten/AI/propresenter/ref/Media/test-background.png", + "local": { + "root": "ROOT_USER_HOME", + "path": "AI/propresenter/ref/Media/test-background.png" + } + }, + "metadata": { + "format": "png" + }, + "image": { + "drawing": { + "naturalSize": { + "width": 200, + "height": 150 + }, + "customImageBounds": { + "origin": {}, + "size": {} + }, + "cropInsets": {}, + "alphaType": "ALPHA_TYPE_STRAIGHT" + }, + "file": { + "localUrl": { + "platform": "PLATFORM_MACOS", + "absoluteString": "file:///Users/thorsten/AI/propresenter/ref/Media/test-background.png", + "local": { + "root": "ROOT_USER_HOME", + "path": "AI/propresenter/ref/Media/test-background.png" + } + } + } + } + }, + "layerType": "LAYER_TYPE_FOREGROUND", + "audio": {} + } + } + ], + "isEnabled": true + } + ], + "ccli": {}, + "timeline": { + "duration": 300 + } +} diff --git a/ref/probundle/pro-format-difference/correct.pro b/ref/probundle/pro-format-difference/correct.pro new file mode 100644 index 0000000..6bb7810 Binary files /dev/null and b/ref/probundle/pro-format-difference/correct.pro differ diff --git a/ref/probundle/pro-format-difference/wrong.json b/ref/probundle/pro-format-difference/wrong.json new file mode 100644 index 0000000..3934c3c --- /dev/null +++ b/ref/probundle/pro-format-difference/wrong.json @@ -0,0 +1,103 @@ +{ + "applicationInfo": { + "platform": "PLATFORM_MACOS", + "platformVersion": { + "build": "335544354" + }, + "application": "APPLICATION_PROPRESENTER", + "applicationVersion": { + "build": "335544354" + } + }, + "uuid": { + "string": "8e0f1a63-32cd-4360-bbc5-cb676079e1c3" + }, + "name": "TestBild", + "selectedArrangement": { + "string": "fb276233-e2ea-4667-b78a-19e16e28a75a" + }, + "arrangements": [ + { + "uuid": { + "string": "fb276233-e2ea-4667-b78a-19e16e28a75a" + }, + "name": "normal", + "groupIdentifiers": [ + { + "string": "c2941b44-2de9-4541-b514-ad7414bc552e" + } + ] + } + ], + "cueGroups": [ + { + "group": { + "uuid": { + "string": "c2941b44-2de9-4541-b514-ad7414bc552e" + }, + "name": "Verse 1", + "color": { + "alpha": 1 + } + }, + "cueIdentifiers": [ + { + "string": "448de289-aebe-4623-bd3f-34d26884b02b" + } + ] + } + ], + "cues": [ + { + "uuid": { + "string": "448de289-aebe-4623-bd3f-34d26884b02b" + }, + "actions": [ + { + "uuid": { + "string": "94a3aed9-c2b9-4cac-94ab-81b0db7b6baf" + }, + "isEnabled": true, + "type": "ACTION_TYPE_PRESENTATION_SLIDE", + "slide": { + "presentation": { + "baseSlide": { + "uuid": { + "string": "df9f58cb-e4ef-4eda-8732-5ed02900fed2" + } + } + } + } + }, + { + "uuid": { + "string": "abbef5f3-3806-4472-9fc1-c4d511d84a20" + }, + "isEnabled": true, + "type": "ACTION_TYPE_MEDIA", + "media": { + "element": { + "uuid": { + "string": "01f74da8-4b7e-4d27-918c-69bea0d14bd7" + }, + "url": { + "platform": "PLATFORM_MACOS", + "absoluteString": "file:///Users/thorsten/AI/propresenter/ref/Media/test-background.png", + "local": { + "root": "ROOT_BOOT_VOLUME", + "path": "Users/thorsten/AI/propresenter/ref/Media/test-background.png" + } + }, + "metadata": { + "format": "png" + }, + "image": {} + }, + "layerType": "LAYER_TYPE_FOREGROUND" + } + } + ], + "isEnabled": true + } + ] +} diff --git a/ref/probundle/pro-format-difference/wrong.pro b/ref/probundle/pro-format-difference/wrong.pro new file mode 100644 index 0000000..e4aedd1 Binary files /dev/null and b/ref/probundle/pro-format-difference/wrong.pro differ