UPNP: better ID handling + only ASCII in URLs
This commit is contained in:
parent
65623f2074
commit
8d10a8a69c
2 changed files with 30 additions and 28 deletions
|
|
@ -62,6 +62,8 @@ pub mod browse {
|
|||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub struct Container {
|
||||
pub id: usize,
|
||||
// Parent id is None only for the root container.
|
||||
// The only way to see the root container is BrowseMetadata on ObjectID=0
|
||||
pub parent_id: Option<usize>,
|
||||
pub children_count: Option<usize>,
|
||||
pub title: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue