diff --git a/common/properties.hpp b/common/properties.hpp index 1c92a2d4..1e63cd9e 100644 --- a/common/properties.hpp +++ b/common/properties.hpp @@ -113,8 +113,8 @@ public: boost::optional volume; /// The current track position in seconds boost::optional position; - /// The current track duration in seconds - boost::optional duration; + // /// The current track duration in seconds + // boost::optional duration; /// Whether the client can call the Next method on this interface and expect the current track to change boost::optional can_go_next; /// Whether the client can call the Previous method on this interface and expect the current track to change @@ -138,7 +138,7 @@ public: addTag(j, "shuffle", shuffle); addTag(j, "volume", volume); addTag(j, "position", position); - addTag(j, "duration", duration); + // addTag(j, "duration", duration); addTag(j, "canGoNext", can_go_next); addTag(j, "canGoPrevious", can_go_previous); addTag(j, "canPlay", can_play); @@ -182,7 +182,7 @@ public: readTag(j, "shuffle", shuffle); readTag(j, "volume", volume); readTag(j, "position", position); - readTag(j, "duration", duration); + // readTag(j, "duration", duration); readTag(j, "canGoNext", can_go_next); readTag(j, "canGoPrevious", can_go_previous); readTag(j, "canPlay", can_play); diff --git a/control/meta_mpd.py b/control/meta_mpd.py index a646eb31..419731c6 100755 --- a/control/meta_mpd.py +++ b/control/meta_mpd.py @@ -548,7 +548,6 @@ class MPDWrapper(object): except (ValueError, TypeError): logger.warning( f"Can't cast value {value} to {tag_mapping[key][1]}") - logger.debug(f'snapcast meta: {snapmeta}') # Hack for web radio: