énorme refactoring de PMOcontrol step 1

This commit is contained in:
2025-12-28 17:45:06 +01:00
parent 000d378789
commit 64450185c5
54 changed files with 3840 additions and 2769 deletions

View File

@@ -1,5 +1,5 @@
use std::sync::Arc;
use std::time::{Duration, SystemTime, UNIX_EPOCH};
use std::time::{Duration, Instant, SystemTime, UNIX_EPOCH};
use pmometadata::{MetadataError, MetadataResult, TrackMetadata};
use serde_json::{Number, Value};
@@ -394,7 +394,7 @@ impl TrackMetadata for AudioCacheTrackMetadata {
}
async fn touch(&mut self) -> MetadataResult<()> {
self.write_timestamp(SystemTime::now())?;
self.write_timestamp(Instant::now())?;
Ok(Some(()))
}
}