🌸 The Cutest Music Player With Support Local File and Youtube Music for Android!
This report summarizes scanner evidence for rukamori/ArchiveTune, a Kotlin project with 7,836 GitHub stars. SynthScan examined 287,150 lines of code across 1129 source files, recording 115 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 10 finding(s).
Are imports declared and package/API names verified? 57 finding(s).
Are wrappers, guards, and repeated structures necessary? 51 finding(s).
Which changes need focused human review? 115 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 115 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …mori/archivetune/cast/DefaultCastPlaybackRepository.kt | 563 | moe.rukamori.archivetune.models.MediaMetadata.Album( | CODE |
| CRITICAL | …c/main/kotlin/moe/rukamori/archivetune/MainActivity.kt | 672 | androidx.media3.exoplayer.offline.DownloadService.sendAddDownload( | CODE |
| CRITICAL | …c/main/kotlin/moe/rukamori/archivetune/MainActivity.kt | 845 | moe.rukamori.archivetune.ui.theme.ThemeSeedPalette( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1370 | androidx.compose.ui.graphics.Brush.horizontalGradient( | CODE |
| CRITICAL | …ukamori/archivetune/ui/screens/HomeScreenComponents.kt | 2072 | author = subtitle?.let { moe.rukamori.archivetune.innertube.models.Artist(name = it, id = null) }, | CODE |
| CRITICAL | …e/rukamori/archivetune/ui/screens/NavigationBuilder.kt | 442 | moe.rukamori.archivetune.ui.screens.settings.ModulesSettings(navController) | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/ui/screens/HomeScreen.kt | 660 | private fun androidx.compose.foundation.lazy.LazyListScope.sectionSpacer(key: String) { | CODE |
| CRITICAL | …hivetune/ui/screens/downloads/DownloadLibraryScreen.kt | 289 | moe.rukamori.archivetune.ui.component.IconButton( | CODE |
| CRITICAL | …amori/archivetune/viewmodels/LocalPlaylistViewModel.kt | 527 | moe.rukamori.archivetune.db.entities.PlaylistEntity( | CODE |
| CRITICAL | …amori/archivetune/viewmodels/LocalPlaylistViewModel.kt | 546 | moe.rukamori.archivetune.db.entities.PlaylistSongMap( | CODE |
| CRITICAL⚡ | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5028 | moe.rukamori.archivetune.together.TogetherSessionState.HostingOnline( | CODE |
| CRITICAL⚡ | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5037 | moe.rukamori.archivetune.together.TogetherOnlineEndpoint.onlineWebSocketUrlOrNull( | CODE |
| CRITICAL⚡ | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5044 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 4062 | moe.rukamori.archivetune.together.TogetherGuestPlaybackPlanner.planPlayTrackNow( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 4879 | moe.rukamori.archivetune.together.TogetherSessionState.Hosting( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 4954 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 4969 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 4991 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5107 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5172 | moe.rukamori.archivetune.together.TogetherSessionState.Joined( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5215 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5249 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5271 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5285 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5316 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5340 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5355 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5371 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5429 | moe.rukamori.archivetune.together.TogetherSessionState.Joined( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5472 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5506 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5528 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5542 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5561 | moe.rukamori.archivetune.together.TogetherOnlineEndpoint.onlineWebSocketUrlOrNull( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5568 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5821 | moe.rukamori.archivetune.together.TogetherSessionState.Error( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 5982 | moe.rukamori.archivetune.together.TogetherSessionState.Joined( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 6003 | moe.rukamori.archivetune.together.TogetherSessionState.Joined( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 6157 | moe.rukamori.archivetune.playback.queues.ListQueue( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 6208 | moe.rukamori.archivetune.together.TogetherSessionState.Joined( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 6285 | private fun moe.rukamori.archivetune.together.TogetherTrack.toMediaMetadata(): moe.rukamori.archivetune.models.Media | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 6364 | androidx.media3.exoplayer.offline.DownloadService.sendAddDownload( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 7047 | moe.rukamori.archivetune.together.ControlAction.SeekToIndex( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 7052 | moe.rukamori.archivetune.together.ControlAction.SeekToTrack( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 7564 | moe.rukamori.archivetune.together.ControlAction.SetShuffleEnabled( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 7596 | moe.rukamori.archivetune.together.ControlAction.SetRepeatMode( | CODE |
| CRITICAL | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 8669 | moe.rukamori.archivetune.models.QueueData.YouTubeData( | CODE |
| CRITICAL | …amori/archivetune/playback/stream/AudioStreamModels.kt | 58 | fun moe.rukamori.archivetune.modules.ModuleAudioSelection.toResolvedAudioStream() = ResolvedAudioStream( | CODE |
| CRITICAL | …kamori/archivetune/backup/ScheduledBackupRepository.kt | 144 | private fun androidx.datastore.preferences.core.Preferences.toScheduledBackupSettings(): ScheduledBackupSett | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 701 | return moe.rukamori.archivetune.spotify.models.SpotifyLibraryFolder( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1389 | return@runCatching moe.rukamori.archivetune.spotify.models.SpotifyHomeFeed( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1402 | moe.rukamori.archivetune.spotify.models.SpotifyHomeFeed( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1428 | return moe.rukamori.archivetune.spotify.models.SpotifyHomeFeedSection( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1472 | return moe.rukamori.archivetune.spotify.models.SpotifyHomeFeedItem.Playlist( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1500 | return moe.rukamori.archivetune.spotify.models.SpotifyHomeFeedItem.Album( | CODE |
| CRITICAL | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1521 | return moe.rukamori.archivetune.spotify.models.SpotifyHomeFeedItem.Artist( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 133 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 135 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 167 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 169 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1098 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1100 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1219 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1221 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1391 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1393 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1524 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/ui/component/LyricsV2.kt | 1526 | // ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ri/archivetune/utils/potoken/BotGuardTokenGenerator.kt | 104 | // ── state ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ri/archivetune/utils/potoken/BotGuardTokenGenerator.kt | 125 | // ── public API ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ri/archivetune/utils/potoken/BotGuardTokenGenerator.kt | 276 | // ── internal ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ri/archivetune/utils/potoken/BotGuardTokenGenerator.kt | 432 | // ── WebView wrapper ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …tlin/moe/rukamori/archivetune/playback/MusicService.kt | 8910 | // ── Widget Support ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 146 | // ── JSON navigation helpers ────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 176 | // ── GraphQL core ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 309 | // ── REST core (fallback for endpoints without GQL equivalent) ──────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 363 | // ── GQL response converters ────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 457 | // ── User Profile (GQL with REST fallback) ────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 483 | // ── Playlists (GQL: libraryV3) ────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 543 | // ── Library hierarchy (GQL: libraryV3, folders preserved) ─────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 708 | // ── Library Artists (GQL: libraryV3 with Artists filter) ─────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 786 | // ── Playlist detail (GQL: fetchPlaylist) ──────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 876 | // ── Playlist Mutations (GQL) ────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 998 | // ── Liked Songs (GQL: fetchLibraryTracks) ─────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1041 | // ── Library Mutations (GQL: addToLibrary / removeFromLibrary) ────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1081 | // ── Top Tracks (REST fallback — no GQL equivalent) ────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1096 | // ── Top Artists (REST fallback — no GQL equivalent) ───────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1111 | // ── Recommendations (REST fallback — no GQL equivalent) ───────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1128 | // ── Search (GQL: searchDesktop) ───────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1281 | // ── Browse: New Releases (GQL: queryWhatsNewFeed) ─────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1341 | // ── Home feed (GQL: home) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1529 | // ── Albums (GQL: getAlbum) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1589 | // ── Artists (GQL: queryArtistOverview) ─────────────────────────────── | COMMENT |
| MEDIUM | …fycore/src/moe/rukamori/archivetune/spotify/Spotify.kt | 1697 | // ── Related Artists (REST fallback) ───────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 38 | // ── Logging ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 54 | // ── Constants ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 59 | // ── Networking ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 88 | // ── Cache ──────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 144 | // ── Public API ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 193 | // ── Core Logic ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/moe/rukamori/archivetune/canvas/AppleMusicProvider.kt | 386 | // ── Helpers ────────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/package_module.py | 53 | CODE | |
| LOW | scripts/package_module.py | 144 | CODE | |
| LOW | scripts/package_module.py | 258 | CODE | |
| LOW | scripts/package_module.py | 433 | CODE | |
| LOW | scripts/package_module.py | 644 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | duplicate_checker.py | 369 | except Exception: | CODE |
| MEDIUM | scripts/package_module.py | 800 | print("Error: " + safe_text(error), file=sys.stderr) | CODE |
| LOW | .github/workflows/deploy_artifacts.py | 136 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | duplicate_checker.py | 299 | def read_positive_integer_environment(name: str) -> int: | CODE |
| LOW | .github/workflows/cleanup.yml | 253 | def normalize_resources_wrapper(path: Path, text: str) -> str: | CODE |
| LOW | .github/workflows/cleanup.yml | 443 | def find_tools_keep_string_names( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …moe/rukamori/archivetune/ui/player/PlayerComponents.kt | 4340 | // speed MUST be an integer to ensure seamless looping when progress wraps from 1f to 0f. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/deploy_artifacts.py | 30 | # Create the client with bot token directly | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | duplicate_checker.py | 1 | CODE |