The cast command
gallery.js cast
Cast media slideshow to Google Chromecast
Options:
--version Show version number [boolean]
--full-version Show full build version [boolean]
-l, --log-level Console log level
[string] [choices: "trace", "debug", "info", "warn", "error", "silent"]
-J, --log-json-format Log output format in json [boolean]
-L, --log-file Log file
--log-file-level Log file level
[string] [choices: "trace", "debug", "info", "warn", "error"] [default: "debug
"]
-u, --server-url, --url Gallery server url [required]
-q, --query Search query [string]
--proxy Use HTTP proxy. Chromecast does not support internal
DNS and self-signed certificates. The proxy bypasses
this limit. Use --no-proxy to disable it for public g
alleries [boolean] [default: true]
--proxy-ip Use given IP for proxy. Auto detect if not given
-p, --port Proxy port [number] [default: 38891]
-k, --insecure Do not verify HTTPS certificates. Disable it by --no-
insecure if you know what you do [boolean]
-s, --random, --shuffle Randomize playback. Use --no-random for linear order
[boolean]
-r, --reverse Reverse order. Default order is by date oldest first
[boolean]
--delay Delay between the images in seconds
[number] [default: 5]
--max-preview-size Maximum size of preview images
[number] [default: 1920]
-h, --help Show help [boolean]
--level [default: debug]
Example:
./gallery cast -u https://demo.home-gallery.orgCast command does not work inside a docker container by default. The cast command needs to run in the same network as Google's Chromecast device. Please ensure that your docker container runs in the same network