Refactor content_directory into files

This commit is contained in:
Igor Katson 2024-08-28 22:31:32 +01:00
parent 510769886b
commit 15b254c47c
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
12 changed files with 573 additions and 539 deletions

View file

@ -20,8 +20,8 @@ use itertools::Itertools;
use librqbit_core::torrent_metainfo::TorrentMetaV1Info;
use tracing::{debug, trace, warn};
use upnp_serve::{
upnp_types::content_directory::{
response::{Container, Item, ItemOrContainer},
services::content_directory::{
browse::response::{Container, Item, ItemOrContainer},
ContentDirectoryBrowseProvider,
},
UpnpServer, UpnpServerOptions,
@ -346,8 +346,8 @@ mod tests {
TorrentMetaV1File, TorrentMetaV1Info, TorrentMetaV1Owned,
};
use tempfile::TempDir;
use upnp_serve::upnp_types::content_directory::{
response::{Container, Item, ItemOrContainer},
use upnp_serve::services::content_directory::{
browse::response::{Container, Item, ItemOrContainer},
ContentDirectoryBrowseProvider,
};