Fix UPnP on Sony

This commit is contained in:
Igor Katson 2024-08-24 14:15:01 +01:00
parent a38480e876
commit f4f82ed4b4
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 47 additions and 17 deletions

View file

@ -10,7 +10,7 @@ use std::{
time::Duration,
};
use tokio::sync::{broadcast::error::RecvError, Notify};
use tracing::{error_span, warn, Instrument};
use tracing::{debug, error_span, warn, Instrument};
pub struct Subscription {
pub url: url::Url,
@ -142,7 +142,7 @@ impl UpnpServerStateInner {
)
.await
{
warn!(error=?e, "error updating UPNP subscription");
debug!(error=?e, "error updating UPNP subscription");
}
}
Err(RecvError::Lagged(by)) => {
@ -158,7 +158,7 @@ impl UpnpServerStateInner {
)
.await
{
warn!(error=?e, "error updating UPNP subscription");
debug!(error=?e, "error updating UPNP subscription");
}
}
Err(RecvError::Closed) => return Ok(()),