Test/telegram streaming integration#1107
Merged
theovilardo merged 57 commits intomasterfrom Feb 16, 2026
Merged
Conversation
…ators, and Channel Dashboard
…streaming proxy, new player engine, and dedicated UI, along with updated ProGuard rules and logging setup.
…turn off secretChat as no need
…Sync Songs Metadata, Artist correctly load from TG Songs
…nt cache eviction fix
…yImpl and improving synthetic IDs
… fix - Resolved proguard-rules.pro conflict (kept Telegram rules) - Migrated TelegramStreamProxy from Ktor-Netty to Ktor-CIO engine
Feature/telegram cloud sync
…cloud-sync # Conflicts: # app/src/main/java/com/theveloper/pixelplay/presentation/screens/SettingsComponents.kt
…ciliation
- **Database Migrations**:
- Increments database version from 19 to 20.
- Adds `MIGRATION_19_20` to reconcile Telegram table schemas by dropping and recreating `telegram_songs` and `telegram_channels` to match current entity definitions.
- Introduces no-op "gap-bridging" migrations (`MIGRATION_5_6`, `MIGRATION_7_8`, `MIGRATION_8_9`) to handle missing version ranges.
- **Dependency Injection**:
- Updates `AppModule` to include the new migration paths in the `PixelPlayDatabase` builder.
…opBar
- **HomeScreen**: Clean up `TelegramLoginActivity` and `Intent` imports.
- **GradientTopBar**:
- Simplify icon and layout imports (e.g., `Spacer`, `Icons`).
- Re-enable `Arrangement.spacedBy(6.dp)` for action buttons and remove manual `Spacer` elements for more consistent layout management.
- Remove redundant size modifier from the Changelog icon.
…opBar
- **HomeScreen**: Clean up `TelegramLoginActivity` and `Intent` imports.
- **GradientTopBar**:
- Simplify icon and layout imports (e.g., `Spacer`, `Icons`).
- Re-enable `Arrangement.spacedBy(6.dp)` for action buttons and remove manual `Spacer` elements for more consistent layout management.
- Remove redundant size modifier from the Changelog icon.
Offline Connectivity Check, Misc DB Bug Fixes, Upstream Master Changes
- Add `rounded_dataset_24.xml` vector drawable - Update `LibraryActionRow` to use `Icons.Rounded.Dataset` instead of `Icons.Rounded.FilterList` for the `ALL` storage filter case
…st regressions - add full Netease bulk sync flow (playlists + songs) from dashboard sync action - repopulate Netease cloud songs into unified library after SyncWorker runs (including rebuild) - include `netease://` sources in Library ONLINE/OFFLINE filtering logic - prevent MediaStore deletion phase from removing cloud-backed songs - fix Netease song overwrite across playlists by using composite song keys - prune stale Netease playlists/songs that were removed remotely - update unit tests for changed method signatures and newly observed flows - keep `:app:compileDebugKotlin` and `:app:testDebugUnitTest` green
feat(netease): stabilize cloud sync, rebuild restore, and pre-push test regressions
- **Library**:
- Enable storage filter button (All/Offline/Online) for the Artists tab.
- Implement infrastructure for storage filtering in the Folders tab (currently disabled via `ENABLE_FOLDERS_STORAGE_FILTER` flag).
- Added feature flags to toggle Folder source switching and storage filtering UI.
- **Data & Repository**:
- Update `MusicRepository` and `MusicDao` to support `filterMode` for Artist queries, filtering by content URI (e.g., hiding Telegram/Netease tracks in Offline mode).
- Add `getAllMediaStoreSongIds` to `MusicDao` to more accurately identify local songs during sync.
- Update `SyncWorker` to use the new MediaStore-specific ID fetcher, improving the detection of deleted local files while preserving cloud-synced metadata.
- **ViewModel**:
- Refactor `LibraryStateHolder` to reactively update Artist and Folder lists when the storage filter changes.
- Apply default "Offline" filtering logic to Folders when the global filter is active but specific folder filtering is disabled.
- **UI**:
- Minor adjustment to `GradientTopBar` action button spacing.
… empty states
- **Library**:
- Enable storage filter button for the Liked songs tab.
- Pass `storageFilter` to Songs, Albums, Artists, and Liked tabs to support filtered views (All, Offline, Cloud).
- Replace manual empty state layouts with a unified `LibraryExpressiveEmptyState` component across all library tabs.
- **Repository & ViewModels**:
- Update `SongRepository`, `MusicRepository`, and `LibraryStateHolder` to support `StorageFilter` when fetching favorite/liked songs.
- Ensure `PlayerViewModel` respects the current storage filter when playing shuffled liked songs.
- **Database**:
- Update `MusicDao` queries (`getFavoriteSongsPaginated`, `getFavoriteSongsList`, `getFavoriteSongCount`) to include `filterMode` logic for distinguishing between local and cloud (Telegram/Netease) tracks.
- Add `deleteSongsAndRelatedData` to ensure that deleting songs also cleans up associated favorites and lyrics.
- Implement `clearAllTelegramSongs` and `clearTelegramSongsForChat` for better data management.
- **Syncing**:
- Refactor `SyncWorker` to use `incrementalSyncMusicData` for Telegram songs, ensuring orphaned unified metadata is removed during synchronization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.