Apr-09-2022, 01:31 PM
If anything means for you guys: I have already tried to redirect print which i want to hide from stdout to file or string buffer, but it seems nothing works. Solution form here doesn't work.
https://stackoverflow.com/a/1218951/9157441
For example:
https://stackoverflow.com/a/1218951/9157441
For example:
from cStringIO import StringIO # Python3 use: from io import StringIO import sys def startStream(myUrl): old_stdout = sys.stdout sys.stdout = mystdout = StringIO() from SomeFolder.SomeApp.SomeFile import PlayStream PlayStream(myUrl)An again in system debug-log:
Output:15:26:57.0339 { } /usr/lib/python2.7/site-packages/twisted/python/util.py:815 untilConcludes 2022-04-09 15:26:57+0200 [-] playing [b]4097:0:0:0:0:0:0:0:0:0:http%3a//blahblah.net%3a80/a/movie?action=stream&id=0005&hash=qwertzuiop:Eaux Profondes[/b]
15:26:57.0371 [ ] service/servicemp3.cpp:195 create_gstreamer_sinks [eServiceFactoryMP3] **** dvb_audiosink created ***
15:26:57.0389 [ ] service/servicemp3.cpp:204 create_gstreamer_sinks [eServiceFactoryMP3] **** dvb_videosink created ***
15:26:57.0404 [ ] service/servicemp3.cpp:213 create_gstreamer_sinks [eServiceFactoryMP3] **** dvb_subsink created ***
15:26:57.0404 [ ] service/servicemp3.cpp:233 play [eServiceFactoryMP3] ****new play service total services played is 1****
15:26:57.0408 [ ] service/servicemp3.cpp:725 eServiceMP3 [eServiceMP3] playbin uri=[b]http://blahblah.com:80/a/movie?action=stream&id=0005&hash=qwertzuiop[/b]
15:26:57.0453 [ ] service/servicemp3.cpp:959 start [eServiceMP3] *** starting pipeline ****