mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 07:36:41 +02:00
Make metadata thread safe, poll properties
This commit is contained in:
parent
1f51befbad
commit
0853c7c701
10 changed files with 124 additions and 100 deletions
|
@ -170,10 +170,10 @@ void LibrespotStream::onStderrMsg(const std::string& line)
|
|||
meta.title = string(m[1]);
|
||||
meta.duration = cpt::stod(m[2]) / 1000.;
|
||||
setMetadata(meta);
|
||||
Properties props;
|
||||
// props.can_seek = true;
|
||||
// props.can_control = true;
|
||||
setProperties(props);
|
||||
Properties properties;
|
||||
// properties.can_seek = true;
|
||||
// properties.can_control = true;
|
||||
setProperties(properties);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue