Skip to content

feat(player): add song sharing and copy link - #896

Open
echo-ilovech3ss wants to merge 1 commit into
Clash-Projects:mainfrom
echo-ilovech3ss:feat/song-sharing
Open

echo-ilovech3ss wants to merge 1 commit into
Clash-Projects:mainfrom
echo-ilovech3ss:feat/song-sharing

Conversation

@echo-ilovech3ss

Copy link
Copy Markdown
Contributor

Fixes #892.

Add Share to both song menu layouts and Now Playing. The Android share sheet receives the title, artist, and YouTube Music link. Copy link sits next to Copy song. When a track has no usable video ID and lookup finds no match, both actions use a YouTube Music search link.

Verification

  • Debug APK built. All 387 tests passed across the workflow's unit test selection and the seven new sharing tests.
  • On Android 11, verified the redesigned and classic menus, the share sheet in portrait and landscape, and the copied link. The emulator used a local audio fixture and exercised the search fallback. Unit tests cover direct watch links.
  • A broader run reported four failures in AutoVoiceRequestTest and FuzzyMatcherTest. All four reproduced on upstream main.
Before After Android share sheet
Track menu before Track menu with Copy link and Share Android share sheet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Share a song or copy its link

1 participant