Skip to content

Test/telegram streaming integration#1107

Merged
theovilardo merged 57 commits intomasterfrom
test/telegram-streaming-integration
Feb 16, 2026
Merged

Test/telegram streaming integration#1107
theovilardo merged 57 commits intomasterfrom
test/telegram-streaming-integration

Conversation

@theovilardo
Copy link
Copy Markdown
Owner

No description provided.

Dv1101 and others added 30 commits January 18, 2026 13:58
…streaming proxy, new player engine, and dedicated UI, along with updated ProGuard rules and logging setup.
…Sync Songs Metadata, Artist correctly load from TG Songs
Dv1101 and others added 27 commits February 6, 2026 20:57
… fix - Resolved proguard-rules.pro conflict (kept Telegram rules) - Migrated TelegramStreamProxy from Ktor-Netty to Ktor-CIO engine
…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.
@theovilardo theovilardo merged commit fbea3bb into master Feb 16, 2026
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.

3 participants