diff --git a/.gitignore b/.gitignore index 0eb6179..acbf53f 100644 --- a/.gitignore +++ b/.gitignore @@ -61,4 +61,41 @@ Thumbs.db .player_heartbear +# NOTE: the line above is a long-standing typo for `.player_heartbeat` and is +# kept only so nothing changes for existing clones. The correct patterns are +# below — without them the player's runtime state files get committed (they +# change every 10 seconds, which would create endless noise and merge conflicts). +.player_heartbeat +.player_stop_requested +logs/startup_marker.txt +logs/startup_crash.log +logs/console_out.txt +logs/console_err.txt +logs/watchdog_test_*.txt +logs/.webview2_install_attempt + windows/venv_build/ + +# Player credentials — live auth_code/player_id/server_url. Never commit these: +# a bundled copy made fresh builds boot "already authenticated" against an old +# server and play a stale playlist. +player_auth.json +src/player_auth.json +working_files/player_auth.json +windows/dist/*/player_auth.json + +# Runtime web-engine profiles (browser cache, not source) +.kiosk-profile/ +.webview2-profile/ + +# NOTE: windows/webview2_sdk/ IS tracked on purpose — build.spec bundles those +# DLLs, so a fresh clone must have them or web links silently fall back to the +# Chrome/Edge subprocess engine. Only ~860 KB (2 files). + +# The small WebView2 Runtime bootstrapper (~1.7 MB) IS tracked: build.spec +# bundles it so a machine without the Runtime can install it on first start. +# The ~203 MB offline standalone installer is NOT tracked — fetch it with +# windows/webview2_runtime/download_runtime_installers.ps1 when you need to +# build for machines that have no internet. +windows/webview2_runtime/MicrosoftEdgeWebView2RuntimeInstaller*.exe +!windows/webview2_runtime/MicrosoftEdgeWebview2Setup.exe diff --git a/player_auth.json b/player_auth.json deleted file mode 100644 index 25d3e52..0000000 --- a/player_auth.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hostname": "WINDOWS-PC", - "auth_code": "GAh_D0qrgRGS0ERK-AQN0Fx17HvEmV9aA7EHXzszYO4", - "player_id": 2, - "player_name": "Windows-Player1", - "playlist_id": 1, - "orientation": "Landscape", - "authenticated": true, - "server_url": "http://192.168.0.107:8080" -} \ No newline at end of file diff --git a/playlists/server_playlist.json b/playlists/server_playlist.json deleted file mode 100644 index 477af89..0000000 --- a/playlists/server_playlist.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "count": 6, - "player_id": 2, - "player_name": "Windows-Player1", - "playlist": [ - { - "audio": "off", - "description": null, - "duration": 30, - "edit_on_player": false, - "file_name": "anders-jilden-cYrMQA7a3Wc-unsplash.jpg", - "id": 9, - "muted": true, - "position": 1, - "type": "image", - "url": "media\\anders-jilden-cYrMQA7a3Wc-unsplash.jpg" - }, - { - "audio": "off", - "description": null, - "duration": 14, - "edit_on_player": true, - "file_name": "sean-oulashin-KMn4VEeEPR8-unsplash.jpg", - "id": 2, - "muted": true, - "position": 2, - "type": "image", - "url": "media\\sean-oulashin-KMn4VEeEPR8-unsplash.jpg" - }, - { - "audio": "on", - "description": null, - "duration": 31, - "edit_on_player": false, - "file_name": "sample-30s.mp4", - "id": 4, - "muted": false, - "position": 3, - "type": "video", - "url": "media\\sample-30s.mp4" - }, - { - "audio": "off", - "description": null, - "duration": 50, - "edit_on_player": true, - "file_name": "edited_media/5/eye_e_v2.jpg", - "id": 5, - "muted": true, - "position": 4, - "type": "image", - "url": "media\\edited_media\\5\\eye_e_v2.jpg" - }, - { - "audio": "off", - "description": "https://moto-adv.com/", - "duration": 30, - "edit_on_player": false, - "file_name": "weblink-ecc2705c34e5", - "id": 7, - "muted": true, - "position": 5, - "type": "weblink", - "url": "https://moto-adv.com/" - }, - { - "audio": "off", - "description": null, - "duration": 30, - "edit_on_player": false, - "file_name": "jack-anstey-XVoyX7l9ocY-unsplash.jpg", - "id": 8, - "muted": true, - "position": 6, - "type": "image", - "url": "media\\jack-anstey-XVoyX7l9ocY-unsplash.jpg" - } - ], - "playlist_id": 1, - "playlist_version": 32 -} \ No newline at end of file diff --git a/src/player_auth.json b/src/player_auth.json deleted file mode 100644 index 25d3e52..0000000 --- a/src/player_auth.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hostname": "WINDOWS-PC", - "auth_code": "GAh_D0qrgRGS0ERK-AQN0Fx17HvEmV9aA7EHXzszYO4", - "player_id": 2, - "player_name": "Windows-Player1", - "playlist_id": 1, - "orientation": "Landscape", - "authenticated": true, - "server_url": "http://192.168.0.107:8080" -} \ No newline at end of file