Commit Graph

13 Commits

Author SHA1 Message Date
bfa6231b1d feat: add async get_container and parallelize source browsing
Introduce an async `get_container` method across source implementations to fetch lightweight container metadata efficiently. Add the `futures` crate as a dependency to enable concurrent operations. Refactor the `browse` flow to short-circuit ephemeral IDs and delegate metadata resolution to `get_container`. Update the RadioFrance handler to scrape episode pages in parallel, bypassing limited RSS feeds and improving overall browsing performance.
2026-06-21 15:06:31 +02:00
d49bb604ca feat: add UrlSource for arbitrary URL-based media playback
Introduces the pmourlsource crate as a standard MusicSource that resolves HTTP/HTTPS URLs via a priority-ordered UrlHandler registry. Includes specialized handlers for Qobuz and Radio France alongside an SSRF-safe generic scraper supporting playlists, feeds, and HTML audio. Integrates with existing browse flows, REST endpoints, and Android Web Share targets while updating source capability flags to correctly route URL queries.
2026-06-21 15:01:51 +02:00
8179c0e239 refactor: rework search implementation and fix navigation bug
Replaces raw string queries with structured `SearchQuery` types across the `MusicSource` trait and UPnP handlers. Adds dedicated paginated endpoints, explicit caching, and type-specific filtering for the Qobuz source. Fixes a frontend navigation bug by aligning state management with UPnP browse semantics and properly routing virtual container IDs. Also updates the Makefile for dynamic `RUST_LOG` configuration, standardizes logging with `tracing`, and adds the dependency lockfile.
2026-06-11 22:02:38 +02:00
34260e7cbd 🔧 fix unused variable warning and suppress must-use lint in macros
- Prefix `_object_id` parameter with underscore to silence unused variable warning in `get_item`
- Add #[allow(unused_must_use)] to all action macro definitions in pmoupnp/macros.rs
- Remove redundant doc comment line break
2026-04-04 00:54:16 +02:00
7546072d2b Correction de petits bugs d'interface 2026-01-04 20:45:51 +01:00
d55c22a267 des debug mais je ne sais plus de quoi 2025-12-06 12:48:21 +01:00
ea6dd03ac0 Je ne sais pas trop 2025-10-29 22:35:53 +01:00
208fe8be76 amélioration de la webapp 2025-10-20 16:18:21 +02:00
d86cfe46df Refactoring des pmosource 2025-10-18 09:38:33 +02:00
823617c5f3 Refactoring de l'API rest des musicsources 2025-10-17 12:56:12 +02:00
d64b96cef4 complète le trait MusicSource 2025-10-17 08:37:28 +02:00
b22a82bb50 Crée la crate pmoplaylist 2025-10-17 07:47:39 +02:00
2149d1a797 Elabore une crate pmosource 2025-10-16 22:12:15 +02:00