Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -41,7 +41,7 @@
- from ACEStream.Core.Ads.Manager import AdManager
- from ACEStream.Core.TS.Service import TSService
- from ACEStream.Core.Utilities.mp4metadata import clear_mp4_metadata_tags_from_file
- -from ACEStream.Core.Statistics.GoogleAnalytics import GoogleAnalytics
- +#from ACEStream.Core.Statistics.GoogleAnalytics import GoogleAnalytics
- from ACEStream.Core.Statistics.TNS import TNS, TNSNotAllowedException
- from ACEStream.Core.Statistics.Settings import RemoteStatisticsSettings
- from ACEStream.Core.Statistics.TrafficStatistics import TrafficStatistics
- @@ -230,7 +230,7 @@
- ACEStream.Core.DirectDownload.Downloader.DEBUG = debug_level == -1 or debug_level & 2 != 0
- ACEStream.Core.DirectDownload.Storage.DEBUG = debug_level == -1 or debug_level & 2 != 0
- ACEStream.Core.DirectDownload.VODTransporter.DEBUG = debug_level == -1 or debug_level & 2 != 0
- - ACEStream.Core.Statistics.GoogleAnalytics.DEBUG = debug_level == -1 or debug_level & 2 != 0
- +# ACEStream.Core.Statistics.GoogleAnalytics.DEBUG = debug_level == -1 or debug_level & 2 != 0
- ACEStream.Core.TorrentDef.DEBUG = False
- ACEStream.Core.TS.domutils.DEBUG = False
- ACEStream.Core.Utilities.mp4metadata.DEBUG = debug_level == -1 or debug_level & 2 != 0
- @@ -346,8 +346,8 @@
- except:
- log_exc()
- - ga = lambda : GoogleAnalytics.send_event('client', 'startup', VERSION)
- - self.run_delayed(ga)
- + #ga = lambda : GoogleAnalytics.send_event('client', 'startup', VERSION)
- + #self.run_delayed(ga)
- self.tsservice = TSService(self)
- self.run_delayed(self.check_auth_level, 0.1)
- self.cookie_file = os.path.join(self.state_dir, 'cookies.pickle')
- @@ -368,7 +368,7 @@
- if TS_ENV_PLATFORM == 'dune':
- default_enabled = False
- else:
- - default_enabled = True
- + default_enabled = False
- preload_ads_enabled = self.get_preload_ads_enabled(default_enabled)
- if DEBUG:
- log('baseapp::init: preload_ads_enabled', preload_ads_enabled)
- @@ -965,8 +965,8 @@
- finally:
- self.dlinfo_lock.release()
- - func = lambda : GoogleAnalytics.send_event('client', 'play', VERSION)
- - self.run_delayed(func)
- + #func = lambda : GoogleAnalytics.send_event('client', 'play', VERSION)
- + #self.run_delayed(func)
- return newd
- def start_ad_downloads_when_main_started(self, maind, ads):
- @@ -1240,8 +1240,8 @@
- finally:
- self.dlinfo_lock.release()
- - func = lambda : GoogleAnalytics.send_event('client', 'play', VERSION)
- - self.run_delayed(func)
- + #func = lambda : GoogleAnalytics.send_event('client', 'play', VERSION)
- + #self.run_delayed(func)
- return newd
- def get_encrypted_file_metainfo(self, path):
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement