Remove redudant indenattion level in MPRIS XML

This commit is contained in:
Ilya Fedin 2021-03-31 21:54:47 +04:00 committed by John Preston
parent 9a6e571154
commit 30c86523ff

View file

@ -49,7 +49,7 @@ constexpr auto kIntrospectionXML = R"INTROSPECTION(<node>
<property name='Fullscreen' type='b' access='readwrite'/> <property name='Fullscreen' type='b' access='readwrite'/>
<property name='CanSetFullscreen' type='b' access='read'/> <property name='CanSetFullscreen' type='b' access='read'/>
</interface> </interface>
</node>)INTROSPECTION"_cs; </node>)INTROSPECTION"_cs;
constexpr auto kPlayerIntrospectionXML = R"INTROSPECTION(<node> constexpr auto kPlayerIntrospectionXML = R"INTROSPECTION(<node>
<interface name='org.mpris.MediaPlayer2.Player'> <interface name='org.mpris.MediaPlayer2.Player'>
@ -88,7 +88,7 @@ constexpr auto kPlayerIntrospectionXML = R"INTROSPECTION(<node>
<property name='CanSeek' type='b' access='read'/> <property name='CanSeek' type='b' access='read'/>
<property name='CanControl' type='b' access='read'/> <property name='CanControl' type='b' access='read'/>
</interface> </interface>
</node>)INTROSPECTION"_cs; </node>)INTROSPECTION"_cs;
auto CreateMetadata(const Media::Player::TrackState &state) { auto CreateMetadata(const Media::Player::TrackState &state) {
std::map<Glib::ustring, Glib::VariantBase> result; std::map<Glib::ustring, Glib::VariantBase> result;