--- a/src/ohplaylist.cxx
+++ b/src/ohplaylist.cxx
@@ -248,6 +248,13 @@
     return true;
 }
 
+void OHPlaylist::refreshState()
+{
+    m_mpdqvers = -1;
+    unordered_map<string, string> st;
+    makestate(st);
+}
+
 bool OHPlaylist::getEventData(bool all, std::vector<std::string>& names, 
                               std::vector<std::string>& values)
 {
@@ -594,11 +601,6 @@
     return ok ? UPNP_E_SUCCESS : UPNP_E_INTERNAL_ERROR;
 }
 
-void OHPlaylist::resetQVers()
-{
-    m_mpdqvers = -1;
-}
-
 bool OHPlaylist::insertUri(int afterid, const string& uri, 
                            const string& metadata, int *newid)
 {