remove the uri log when playing the vod.
authorkos <kos@dev3>
Wed, 3 Jul 2013 10:39:12 +0000 (19:39 +0900)
committerkos <kos@dev3>
Wed, 3 Jul 2013 10:39:12 +0000 (19:39 +0900)
Navigation.py
lib/python/Plugins/Extensions/HbbTV/plugin.py
lib/service/servicemp3.cpp

index a905da1..1043f80 100644 (file)
@@ -55,7 +55,8 @@ class Navigation:
                if ref and oldref and ref == oldref and not forceRestart:
                        print "ignore request to play already running service(1)"
                        return 0
                if ref and oldref and ref == oldref and not forceRestart:
                        print "ignore request to play already running service(1)"
                        return 0
-               print "playing", ref and ref.toString()
+               #print "playing", ref and ref.toString()
+               print "playing service.."
                if ref is None:
                        self.stopService()
                        return 0
                if ref is None:
                        self.stopService()
                        return 0
index ddeb2cb..6d51dde 100644 (file)
@@ -190,8 +190,8 @@ class MMSStreamURL:
                sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
                sock.connect((host, port))
                sock.send(self.sendmsg%(location, host))
                sock = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
                sock.connect((host, port))
                sock.send(self.sendmsg%(location, host))
-               print "Request."
-               print self.sendmsg%(location, host)
+               #print "Request."
+               #print self.sendmsg%(location, host)
                fullydata = ''
                while 1:
                        res = sock.recv(1024)
                fullydata = ''
                while 1:
                        res = sock.recv(1024)
@@ -780,7 +780,8 @@ class HandlerHbbTV(Handler):
                for ii in range(5):
                        self._vod_service = None
                        try:
                for ii in range(5):
                        self._vod_service = None
                        try:
-                               print "Try to open vod [%d] : %s" % (ii, url)
+                               #print "Try to open vod [%d] : %s" % (ii, url)
+                               print "Try to open vod"
                                self._vod_service = eServiceReference(4097, 0, url)
                                self._session.nav.playService(self._vod_service)
                                if self._vod_service is not None:
                                self._vod_service = eServiceReference(4097, 0, url)
                                self._session.nav.playService(self._vod_service)
                                if self._vod_service is not None:
@@ -942,7 +943,7 @@ class HbbTVWindow(Screen, InfoBarNotifications):
        def _serviceForbiden(self):
                global __gval__
                real_url = MMSStreamURL().getLocationData(__gval__.hbbtv_handelr.getUrl())
        def _serviceForbiden(self):
                global __gval__
                real_url = MMSStreamURL().getLocationData(__gval__.hbbtv_handelr.getUrl())
-               print "Received URI :\n", real_url
+               #print "Received URI :\n", real_url
 
                if real_url is not None:
                        __gval__.hbbtv_handelr.doRetryOpen(real_url.strip())
 
                if real_url is not None:
                        __gval__.hbbtv_handelr.doRetryOpen(real_url.strip())
index 69e6262..bb75a06 100755 (executable)
@@ -330,7 +330,8 @@ eServiceMP3::eServiceMP3(eServiceReference ref)
 
                uri = g_filename_to_uri(filename, NULL, NULL);
 
 
                uri = g_filename_to_uri(filename, NULL, NULL);
 
-       eDebug("eServiceMP3::playbin2 uri=%s", uri);
+       //eDebug("eServiceMP3::playbin2 uri=%s", uri);
+       eDebug("eServiceMP3::playbin2");
 
        m_gst_playbin = gst_element_factory_make("playbin2", "playbin");
        if (!m_gst_playbin)
 
        m_gst_playbin = gst_element_factory_make("playbin2", "playbin");
        if (!m_gst_playbin)
@@ -453,7 +454,8 @@ RESULT eServiceMP3::stop()
        
        //GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(m_gst_playbin),GST_DEBUG_GRAPH_SHOW_ALL,"e2-playbin");
 
        
        //GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(m_gst_playbin),GST_DEBUG_GRAPH_SHOW_ALL,"e2-playbin");
 
-       eDebug("eServiceMP3::stop %s", m_ref.path.c_str());
+       //eDebug("eServiceMP3::stop %s", m_ref.path.c_str());
+       eDebug("eServiceMP3::stop service..");
        gst_element_set_state(m_gst_playbin, GST_STATE_NULL);
        m_state = stStopped;
 
        gst_element_set_state(m_gst_playbin, GST_STATE_NULL);
        m_state = stStopped;