[SCM] kodi-pvr-hts/master: alternate the log message when adding/updating channels

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:45 UTC 2016


The following commit has been merged in the master branch:
commit e4d86b303258eb713682db835c93341302bbcdc1
Author: Sam Stenvall <sam.stenvall at nordsoftware.com>
Date:   Fri Oct 9 16:15:48 2015 +0300

    alternate the log message when adding/updating channels

diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp
index 2ad40f9..bc2aaf4 100644
--- a/src/Tvheadend.cpp
+++ b/src/Tvheadend.cpp
@@ -1592,8 +1592,9 @@ void CTvheadend::ParseChannelAddOrUpdate ( htsmsg_t *msg, bool bAdd )
   /* Update Kodi */
   if (channel != comparison)
   {
-    tvhdebug("channel update id:%u, name:%s",
-              channel.GetId(), channel.GetName().c_str());
+    tvhdebug("channel %s id:%u, name:%s",
+             (bAdd ? "added" : "updated"), channel.GetId(), channel.GetName().c_str());
+
     if (m_asyncState.GetState() > ASYNC_CHN)
       TriggerChannelUpdate();
   }

-- 
kodi-pvr-hts packaging



More information about the pkg-multimedia-commits mailing list