Files
PeachyCadandClaude Opus 5.5 ff88a07821 Yandex Music pill on macOS (GitHub build) and Windows (#837)
* Yandex Music pill on macOS (GitHub build) and Windows

A new integration_yandex_music pill, modelled on the Spotify one: title,
artist, progress with seek, play/pause and previous/next, and Mochi
dances while it plays.

- macOS (GitHub build): Yandex Music has no AppleScript dictionary, so
  the track is read from the system's Now Playing through MediaRemote,
  run by /usr/bin/osascript (JXA). A small watcher runs only while the
  pill is declared and Yandex Music is open. Commands go to Yandex Music
  only, never to another player. No cover or volume.
- Windows: system media controls (SMTC) filtered on Yandex Music's app
  id, cover from the session thumbnail, volume from the mixer.
- Linux: not offered (no official client).
- Tests: scripts/test-yandex-music.sh (also in CI),
  windows/tests/yandex-music.test.mjs; strings in all 14 languages;
  docs, privacy page and Android catalog entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Regenerate Xcode project with xcodegen

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

* Revert "Regenerate Xcode project with xcodegen"

The project file is generated by XcodeGen in CI, so this PR leaves it out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Regenerate Xcode project after merging v0.6.1

The merge dropped the Yandex Music sources from the project file; xcodegen puts them back with the 0.6.1 sources.

* ci: retrigger Phone link after apt flake on ubuntu-24.04

relay-e2e failed installing Tauri system libraries (apt-get exit 100); unrelated to the Yandex Music changes.

* Android: refresh i18n/REVIEW.md after strings regen

CI fails English strings are up to date when REVIEW.md lags windows/src/i18n/strings.json after the 0.6.2 rebase.

* ci: retrigger Phone link after relay-e2e flake

* Use the updated shared translations on Windows

* Refresh translations after merging upstream main

* Preserve the shared approval button translation

* Keep the Yandex Music pill desktop-only

* Regenerate Windows translations after upstream merge

* Use shared translations for Details and Off

* Refresh Android translation review for updated shared catalog

* Retry Android CI when Maven Central rate limits downloads

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-04 18:29:52 +00:00

30 lines
1.1 KiB
YAML

name: android
on:
pull_request:
paths: ['android/**', 'docs/ANDROID_LINK.md', '.github/workflows/android.yml']
push:
branches: [main]
paths: ['android/**']
jobs:
build:
runs-on: ubuntu-24.04
defaults: { run: { working-directory: android } }
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with: { distribution: temurin, java-version: '17' }
- uses: actions/setup-node@v7
with: { node-version: '22' }
- uses: gradle/actions/setup-gradle@v5
- name: English strings are up to date
run: node scripts/gen-strings.mjs --check
- name: Tests, debug build, lint
run: bash scripts/gradle-ci.sh test assembleDebug lint --console=plain
- name: No ads, billing or analytics (condition of the author's permission)
run: "! grep -rEi 'admob|play-services-ads|billingclient|firebase-analytics|crashlytics|com.google.android.gms' app/build.gradle.kts"
- uses: actions/upload-artifact@v7
if: always()
with:
name: android-test-reports
path: android/app/build/reports