release v0.21.25
-----BEGIN PGP SIGNATURE----- iQJEBAABCgAuFiEEA5IzWngIOJSkMBxDI26KWMbbRRIFAl8DfoEQHG1heEBtdXNp Y3BkLm9yZwAKCRAjbopYxttFEgVqD/0X+QAV77Pw+RDP7qPtyYDfBH6jOvSpAmHm moXIFMBaPeIrAFd6jfYTL+JMcVf+jfS6H86JlrWVz5/jerV0St/LxwrTGRqkac8K OFDmMl2SE2KkniLOTHC2nKq3RFzAKDKK8uCaw3JFpXiAezuRXutX19nHitbau+HC jD+2Ybyy149fPAB+D6aON6vjZI9hQyyeGoEbducZ5uZz+tvzwY0w1KcnDlaicjJq Wdu16RFFZNXJnrXQ8hPWTxltgIdRfc9xMrIkydsyQkpW5jLZAJn9Yvl4xIQJhJlb HlF2/xAUAIqykDqjbxWGnQYywOtCh12XDdn2S2AzAGgNH0z++EBiMyQjLorHf3Eo wSa/qvi1E5rf8WBCaz3Qa/oa9trj4TQcQFQ+v9esO/yBn3O0K6oGr67P45f1KRqg SAwnwd+YwYp838lT+MlueD+c67QAY64qCYjI810o3rZ3cyEitWKF6kkvwfzqCfly HeZJS7OsG1UoxInSfnYwJW1svwtkfZU0WqWHxqKSL/MnwihXhlkhkom8jIS+yYcO pVPllLvF1H0d/Y2Eb2MH6OKZF+7c5cwSeXJzA808NwzE5dpL2tHAgjxhS/P66voF /UqLyXySqEaUijp9hW3jEeFJ5TSP2bCaNXnbsQUoM4uqjhkoUi9QLTJIqyG1PKmM 3JKzuZXy2g== =eK6Y -----END PGP SIGNATURE----- Merge tag 'v0.21.25' release v0.21.25
This commit is contained in:
commit
b74a91427d
3
NEWS
3
NEWS
@ -40,11 +40,12 @@ ver 0.22 (not yet released)
|
|||||||
* switch to C++17
|
* switch to C++17
|
||||||
- GCC 7 or clang 4 (or newer) recommended
|
- GCC 7 or clang 4 (or newer) recommended
|
||||||
|
|
||||||
ver 0.21.25 (not yet released)
|
ver 0.21.25 (2020/07/06)
|
||||||
* protocol:
|
* protocol:
|
||||||
- fix crash when using "rangeid" while playing
|
- fix crash when using "rangeid" while playing
|
||||||
* database
|
* database
|
||||||
- simple: automatically scan new mounts
|
- simple: automatically scan new mounts
|
||||||
|
- upnp: fix compatibility with Plex DLNA
|
||||||
* storage
|
* storage
|
||||||
- fix disappearing mounts after mounting twice
|
- fix disappearing mounts after mounting twice
|
||||||
- udisks: fix reading ".mpdignore"
|
- udisks: fix reading ".mpdignore"
|
||||||
|
@ -89,9 +89,18 @@ public:
|
|||||||
tag.Clear();
|
tag.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gcc_pure
|
||||||
|
bool IsRoot() const noexcept {
|
||||||
|
return type == Type::CONTAINER && id == "0";
|
||||||
|
}
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
bool Check() const noexcept {
|
bool Check() const noexcept {
|
||||||
return !id.empty() && !parent_id.empty() && !name.empty() &&
|
return !id.empty() &&
|
||||||
|
/* root nodes don't need a parent id and a
|
||||||
|
name */
|
||||||
|
(IsRoot() || (!parent_id.empty() &&
|
||||||
|
!name.empty())) &&
|
||||||
(type != UPnPDirObject::Type::ITEM ||
|
(type != UPnPDirObject::Type::ITEM ||
|
||||||
item_class != UPnPDirObject::ItemClass::UNKNOWN);
|
item_class != UPnPDirObject::ItemClass::UNKNOWN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user