logologo
HomeGallery
  • Why?
  • Docs
  • Demo
  • Download
    Start
    Install
    General
    docker-compose
    docker
    Binary
    App Bundle
    Generic Bundle
    Source
    Azure
    Configuration
    CLI
    help
    run
    export meta
    export static
    fetch
    database
    storage
    plugin
    cast
    Webapp
    Search
    FAQ
    API server
    Recipes
    Use Nginx proxy with subpath
    Use Traefik proxy with subpath
    Use IIS Proxy With a Sub-Path
    Internals
    Workflow
    Building Blocks
    Data Structures
    Design Decisions
    Development
    Plugin
    Extractor Plugin
    Database Mapper Plugin
    Query Plugin
    Previous pagepluginNext pageWebapp

    #cast command

    The cast command

    • Cast a slideshow to a Chromecast-enabled TV
    • Supports subsets via query
    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.org
    Note

    Cast 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