Skip to content

Add macOS media play/pause controls#491

Closed
rafael-urena-yoke wants to merge 1 commit into
Stremio:masterfrom
rafael-urena-yoke:codex/macos-media-play-pause-master
Closed

Add macOS media play/pause controls#491
rafael-urena-yoke wants to merge 1 commit into
Stremio:masterfrom
rafael-urena-yoke:codex/macos-media-play-pause-master

Add macOS media play pause controls

844e9e3
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jun 13, 2026 in 5m 15s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #492 Add macOS media play/pause controls.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Focal)
Node.js Version 8
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "node_js": [
    "8"
  ],
  "jobs": {
    "include": [
      {
        "os": "linux",
        "dist": "xenial",
        "sudo": true,
        "services": [
          "docker"
        ],
        "env": [
          {
            "global": [
              {
                "BUILD_OS": "linux"
              }
            ]
          }
        ]
      }
    ]
  },
  "before_install": [
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then brew update; fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then brew install p7zip awscli; fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then npm -g install appdmg; fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then source ./mac/keychain_profile; fi",
    "sudo pip install --upgrade s3cmd"
  ],
  "install": [
    "echo \"Nothing to do for install\""
  ],
  "script": [
    "export NODE_BIN_PATH=$(dirname `which node`)",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then source mac/mac_profile; fi",
    "mkdir -p packages",
    "export DESTDIR=`realpath packages`",
    "export TAG=${TAG:-$TRAVIS_BRANCH}",
    "echo \"> building from TAG $TAG\"",
    "echo \"> Using node $(node --version)\"",
    "if [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then export DISTROS=`ls distros`; for i in $DISTROS; do echo \"Building for distro $i...\" && ./dist-utils/build-package.sh $i -d $DESTDIR -t $TAG; done fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then ( qmake . && make ); fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then ./mac/finalize.sh \"$TAG\"; fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then ( ./stremio.app/Contents/MacOS/stremio & sleep 10 && STREMIO_PID=$! && kill $STREMIO_PID ); fi",
    "if [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then ./mac/pack.sh; fi",
    "export AWS_ACCESS_KEY_ID=\"AKIAJWBFLU34IVITPLHA\"",
    "export AWS_SECRET_ACCESS_KEY=$AWS_SECRET",
    "export AWS_DEFAULT_REGION=eu-west-1",
    "echo $TRAVIS_PULL_REQUEST",
    "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then export DEPLOY=true; else export DEPLOY=false; fi",
    "echo \"Deploy for build is $DEPLOY...\"",
    "if [ \"$DEPLOY\" = \"true\" ] && [ \"$TRAVIS_OS_NAME\" = \"osx\" ]; then s3cmd --acl-public --access_key=$AWS_ACCESS_KEY_ID --secret_key=$AWS_SECRET_ACCESS_KEY --force --region=$AWS_DEFAULT_REGION --add-header=Cache-Control:max-age=7200 put ./dist-osx/*.dmg s3://stremio-artifacts/shell-osx-old/$TAG/; fi",
    "if [ \"$DEPLOY\" = \"true\" ] && [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then shopt -s nullglob; for package in $DESTDIR/*.{deb,pkg.tar.zst,rpm}; do echo Uploading package to http://stremio-artifacts.s3.amazonaws.com/shell-linux/$TAG/$package; s3cmd --acl-public --access_key=$AWS_ACCESS_KEY_ID --secret_key=$AWS_SECRET_ACCESS_KEY --force --region=$AWS_DEFAULT_REGION --add-header=Cache-Control:max-age=7200 put \"$package\" s3://stremio-artifacts/shell-linux/$TAG/; done; fi"
  ],
  "notifications": {
    "slack": [
      {
        "rooms": [
          "stremio:74vRvYUJbhcl3IrYCbOIvTo3#installer-ci"
        ],
        "template": [
          "%{repository}@%{branch}: build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) by %{author} %{result} in %{duration}\n%{message} - %{commit_message}\""
        ]
      }
    ]
  }
}