Changement du mécanisme d'attention sur les channels Radio Paradise.

This commit is contained in:
2025-11-29 14:19:16 +01:00
parent cf3f0afde4
commit 0a03f72467
44 changed files with 564 additions and 231 deletions

View File

@@ -322,9 +322,19 @@ impl NodeLogic for PlaylistSourceLogic {
Ok(()) => {
tracing::info!("PlaylistSource: finished track {} - {}", artist, title);
// Piste décodée avec succès, transférer vers l'historique si configuré
tracing::warn!("🔍 HISTORY DEBUG: history_playlist is {:?}", if self.history_playlist.is_some() { "Some" } else { "None" });
tracing::warn!(
"🔍 HISTORY DEBUG: history_playlist is {:?}",
if self.history_playlist.is_some() {
"Some"
} else {
"None"
}
);
if let Some(ref history) = self.history_playlist {
tracing::warn!("🔍 HISTORY DEBUG: Attempting to push cache_pk={} to history", cache_pk);
tracing::warn!(
"🔍 HISTORY DEBUG: Attempting to push cache_pk={} to history",
cache_pk
);
if let Err(e) = history.push(cache_pk.to_string()).await {
tracing::warn!(
"PlaylistSourceLogic: failed to add track to history: {}",