DD监控室第一版

Overview

DD监控室

运行指南

确保安装VLC, HELP.html内有更多解释。

开发指南

推荐在venv/anaconda环境下开发

所需包

  • PyQt5

  • requests

  • aiowebsocket

  • python-vlc

  • pyinstaller

  • dnspython

    pip安装

    pip install -r requirements.txt

打包

scripts 文件夹下有各平台的打包脚本,需要在仓库根目录运行。

TODO

全平台

  • 加载热播主播时显示加载状态(在Macos上有明显卡顿)

Windows平台

  • ?

MacOS平台

  • 保证程序打包后附带文件可以被访问
  • 弹幕窗口在启动后不显示
  • 添加热播主播后Thread卡死
  • 添加主播到播放器后不会继承窗口大小,需要重整layout来激活 (VLC bug)

Linux平台

  • 弹幕窗口在启动后不显示
Comments
  • VLC 3.x 版本支持

    VLC 3.x 版本支持

    旧标题:主分支的音量控制坏了

    目前依赖 VLC 2.x 版本,音量控制没问题。但使用 3.x 版本音量控制就不对劲了。 症状是:各个小窗口的音量控制实际上是全局音量。无法只关闭一个窗口的音量。


    ~~看 1.0 版本是没有问题的。~~ ~~我猜是代码没有同步。~~

    可以考虑选一种 git 的分支策略,就在 github 上开发。 目前这个样子容易重复性劳动 / 搞不清楚一个bug到底修好了没。

    供参考的分支策略:Git分支管理策略 - 阮一峰的网络日志

    简单说就是:

    • master 分支只做发布用
    • 开发新功能 / 修 bug 从 dev 新开分支
    • 平时开发最后都合并到 dev 分支上
    • 发布时合并 dev 到主分支
    opened by inkydragon 6
  • 2.8没有弹幕

    2.8没有弹幕

    2021-10-12 18:28:24,790 [Dummy-1 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D15509EA48> 2021-10-12 18:28:24,790 [Dummy-1 ] [ERROR] Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x000001D1552F3DD8>, 6087.484)]'] connector: <aiohttp.connector.TCPConnector object at 0x000001D15509E988> 2021-10-12 18:28:24,895 [Dummy-1 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D15B72BC08> 2021-10-12 18:28:24,905 [Dummy-1 ] [ERROR] Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x000001D15B7209E8>, 6087.593)]'] connector: <aiohttp.connector.TCPConnector object at 0x000001D15B72BCC8> 2021-10-12 18:28:25,340 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:25,340][INFO] 连接服务器并认证成功 2021-10-12 18:28:25,340 [Dummy-1 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:25,485 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:25,485][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:25,485 [Dummy-1 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:25,940 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:25,940][INFO] 连接服务器并认证成功 2021-10-12 18:28:25,940 [Dummy-1 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:25,973 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:25,973][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:25,973 [Dummy-1 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:26,180 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:26,180][INFO] 连接服务器并认证成功 2021-10-12 18:28:26,180 [Dummy-1 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:26,218 [Dummy-1 ] [ERROR] [22015508][2021-10-12 18:28:26,218][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:26,218 [Dummy-1 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:26,218 [Dummy-1 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D169028088> 2021-10-12 18:28:28,050 [Dummy-2 ] [INFO ] 弹幕IP: 120.92.158.137 2021-10-12 18:28:56,884 [Dummy-3 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D15B46F408> 2021-10-12 18:28:56,884 [Dummy-3 ] [ERROR] Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x000001D15B43B278>, 6119.578)]'] connector: <aiohttp.connector.TCPConnector object at 0x000001D15B46FB48> 2021-10-12 18:28:56,957 [Dummy-3 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D15B72B248> 2021-10-12 18:28:56,957 [Dummy-3 ] [ERROR] Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x000001D154F254A8>, 6119.656)]'] connector: <aiohttp.connector.TCPConnector object at 0x000001D15B72B9C8> 2021-10-12 18:28:57,106 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,106][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,107 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,106][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,106 [Dummy-3 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:57,141 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,141][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,141 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,141][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,141 [Dummy-3 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,190 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,190][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,190 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,190][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,190 [Dummy-3 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:57,200 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,200][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,200 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,200][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,200 [Dummy-3 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,345 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,345][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,346 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,345][INFO] 连接服务器并认证成功 2021-10-12 18:28:57,345 [Dummy-3 ] [INFO ] 连接服务器并认证成功 2021-10-12 18:28:57,380 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,380][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,380 [Dummy-3 ] [ERROR] [22015508][2021-10-12 18:28:57,380][ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,380 [Dummy-3 ] [ERROR] 出现错误:unpack requires a buffer of 16 bytes 2021-10-12 18:28:57,380 [Dummy-3 ] [ERROR] Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001D1550A7C88>

    opened by Tanka-Az 5
  • AttributeError: 'NoneType' object has no attribute 'media_player_new'

    AttributeError: 'NoneType' object has no attribute 'media_player_new'

    不是很懂这方面的解决办法,上网简单搜了一下,把vlc的几个devel包也安装了但还是报错。 OS:Fedora 31 64-bit

    [[email protected] DD_Monitor]$ ./dist/DDMonitor/DDMonitor Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. /bin/sh: /usr/bin/lspci: No such file or directory 2021-02-13 13:00:18,503 [MainThread ] [INFO ] 系统信息: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 142 Model name: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz Stepping: 10 CPU MHz: 3758.785 CPU max MHz: 4200.0000 CPU min MHz: 400.0000 BogoMIPS: 4199.88 Virtualization: VT-x L1d cache: 128 KiB L1i cache: 128 KiB L2 cache: 1 MiB L3 cache: 8 MiB NUMA node0 CPU(s): 0-7 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Meltdown: Mitigation; PTI Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

    2021-02-13 13:00:18,503 [MainThread ] [INFO ] GPU信息:

    2021-02-13 13:00:18,504 [MainThread ] [INFO ] libvlc env: PYTHON_VLC_LIB_PATH= 2021-02-13 13:00:18,504 [MainThread ] [INFO ] plugin env: PYTHON_VLC_MODULE_PATH= 2021-02-13 13:00:18,504 [MainThread ] [INFO ] libvlc path: /home/jiaqing/DD_Monitor/dist/DDMonitor/libvlc.so.5 2021-02-13 13:00:18,504 [MainThread ] [INFO ] vlc version: b'3.0.11.1 Vetinari' 2021-02-13 13:00:18,617 [MainThread ] [ERROR]
    !!!UNCAUGHT EXCEPTION!!!********* Type: <class 'AttributeError'> Value: 'NoneType' object has no attribute 'media_player_new' Traceback: File "DD监控室.py", line 1185, in mainWindow = MainWindow(cacheFolder, progressBar, progressText) File "DD监控室.py", line 351, in init hardwareDecode=self.config['hardwareDecode'])) File "VideoWidget_vlc.py", line 279, in init self.newPlayer() # 实例化 player File "VideoWidget_vlc.py", line 905, in newPlayer self.player = self.instance.media_player_new() # 视频播放


    [66707] Failed to execute script DD监控室

    opened by bijiaqing 5
  • [feature request] 弹幕发送和字体定义(以及其它)

    [feature request] 弹幕发送和字体定义(以及其它)

    1.登录发弹幕,应该是可以通过设置cookie来做到的吧(而且如果支持cookie登录,那也就可以自动读取关注的直播列表,而不需要手动输入自己uid了)

    2.弹幕机的字体选择,能否用户自定义?

    3.皮肤好像默认只有一个黑暗模式?(utils/qdark.qss)

    另外还有一个小问题,悬浮窗播放后只能右键菜单退出,并且回到主窗口后不会自动继续播放,只能手动刷新。这是程序如此设计还是我自己操作有问题?

    opened by IzualYang 3
  • 我这是不是哪里有问题

    我这是不是哪里有问题

    [sudo] mdog 的密码: 297 INFO: PyInstaller: 4.2 297 INFO: Python: 3.9.1 300 INFO: Platform: Linux-5.10.10-arch1-1-x86_64-with-glibc2.32 311 INFO: UPX is not available. 331 INFO: Removing temporary files and cleaning cache in /root/.cache/pyinstaller 333 INFO: Extending PYTHONPATH with paths ['/home/mdog/DD_Monitor-master'] 382 INFO: checking Analysis 382 INFO: Building Analysis because Analysis-00.toc is non existent 383 INFO: Initializing module dependency graph... 396 INFO: Caching module graph hooks... 404 WARNING: Several hooks defined for module 'win32ctypes.core'. Please take care they do not conflict. 406 INFO: Analyzing base_library.zip ... 2495 INFO: Processing pre-find module path hook distutils from '/usr/lib/python3.9/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'. 2505 INFO: distutils: retargeting to non-venv dir '/usr/lib/python3.9' 5019 INFO: Caching module dependency graph... 5102 INFO: running Analysis Analysis-00.toc 5192 INFO: Analyzing DD监控室.py 5455 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from '/usr/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py'. 6622 INFO: Processing pre-safe import module hook six.moves from '/usr/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'. 8114 INFO: Processing module hooks... 8115 INFO: Loading module hook 'hook-dns.rdata.py' from '/usr/lib/python3.9/site-packages/pyinstaller_hooks_contrib/hooks/stdhooks'... 8409 INFO: Loading module hook 'hook-cryptography.py' from '/usr/lib/python3.9/site-packages/pyinstaller_hooks_contrib/hooks/stdhooks'... 8551 INFO: Loading module hook 'hook-PyQt5.QtWidgets.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWidgets.abi3.so' 8734 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase_*.qm. These translations were not packaged. 8736 INFO: Loading module hook 'hook-heapq.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 8762 INFO: Excluding import of doctest from module heapq 8763 INFO: Loading module hook 'hook-PyQt5.QtGui.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtGui.abi3.so' 8914 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase*.qm. These translations were not packaged. 8918 INFO: Loading module hook 'hook-distutils.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 8944 INFO: Loading module hook 'hook-difflib.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 8955 INFO: Excluding import of doctest from module difflib 8955 INFO: Loading module hook 'hook-xml.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 9080 INFO: Loading module hook 'hook-PyQt5.QtCore.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so' 9101 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase_*.qm. These translations were not packaged. 9101 INFO: Loading module hook 'hook-sysconfig.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 9109 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 9128 INFO: Excluding import of test from module multiprocessing.util 9128 INFO: Loading module hook 'hook-PyQt5.Qt.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 9136 INFO: Loading module hook 'hook-PyQt5.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 48063 WARNING: Hidden import "sip" not found! 48064 INFO: Loading module hook 'hook-pickle.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 48096 INFO: Excluding import of argparse from module pickle 48097 INFO: Loading module hook 'hook-encodings.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... 48195 INFO: Loading module hook 'hook-PyQt5.QtWebKitWidgets.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtWebKitWidgets.abi3.so' 48301 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase.qm. These translations were not packaged. 48302 INFO: Loading module hook 'hook-PyQt5.QtWebKit.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWebKit.abi3.so' 48330 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase_*.qm. These translations were not packaged. 48331 INFO: Loading module hook 'hook-PyQt5.QtWebEngineWidgets.py' from '/usr/lib/python3.9/site-packages/PyInstaller/hooks'... ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtWebEngineWidgets.abi3.so' 49074 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtdeclarative_.qm. These translations were not packaged. 49074 WARNING: Unable to find Qt5 translations /usr/share/qt/translations/qtbase_*.qm. These translations were not packaged. ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWebEngineWidgets.abi3.so' 49110 INFO: Looking for ctypes DLLs 49572 WARNING: library libvlc.dylib required via ctypes not found 49593 WARNING: library libvlccore.dylib required via ctypes not found 49636 WARNING: library .\ required via ctypes not found 49636 INFO: Analyzing run-time hooks ... 49642 INFO: Including run-time hook '/usr/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py' 49656 INFO: Including run-time hook '/usr/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt5webengine.py' 49657 INFO: Including run-time hook '/usr/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pyqt5.py' 49667 INFO: Looking for dynamic libraries ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/Qt.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/Qt3DExtras.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtWebEngineCore.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWebEngineWidgets.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/Qt3DCore.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/Qt3DLogic.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/Qt3DInput.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/Qt3DAnimation.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/Qt3DRender.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtPurchasing.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtDataVisualization.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWebKitWidgets.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtChart.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtWebKit.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtWebEngine.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtX11Extras.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtCore.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/python3.9/site-packages/PyQt5/QtGui.abi3.so' ldd: 警告:你没有执行权限/usr/lib/python3.9/site-packages/PyQt5/QtWidgets.abi3.so' ldd: 警告:你没有执行权限 /usr/lib/libgcc_s.so.1' ldd: 警告:你没有执行权限/usr/lib/libgssapi_krb5.so.2' ldd: 警告:你没有执行权限 /usr/lib/libkrb5.so.3' ldd: 警告:你没有执行权限/usr/lib/libk5crypto.so.3' ldd: 警告:你没有执行权限 /usr/lib/libkrb5support.so.0' ldd: 警告:你没有执行权限/usr/lib/libnettle.so.8' ldd: 警告:你没有执行权限 /usr/lib/libhogweed.so.6' ldd: 警告:你没有执行权限/usr/lib/libxvidcore.so.4' 55187 INFO: Looking for eggs 55188 INFO: Using Python library /usr/lib/libpython3.9.so.1.0 55194 INFO: Warnings written to /home/mdog/DD_Monitor-master/build/DDMonitor_unix/warn-DDMonitor_unix.txt 55231 INFO: Graph cross-reference written to /home/mdog/DD_Monitor-master/build/DDMonitor_unix/xref-DDMonitor_unix.html 55242 INFO: Appending 'datas' from .spec 55250 INFO: checking PYZ 55250 INFO: Building PYZ because PYZ-00.toc is non existent 55250 INFO: Building PYZ (ZlibArchive) /home/mdog/DD_Monitor-master/build/DDMonitor_unix/PYZ-00.pyz 55746 INFO: Building PYZ (ZlibArchive) /home/mdog/DD_Monitor-master/build/DDMonitor_unix/PYZ-00.pyz completed successfully. 55753 INFO: checking PKG 55753 INFO: Building PKG because PKG-00.toc is non existent 55753 INFO: Building PKG (CArchive) PKG-00.pkg 55810 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 55811 INFO: Bootloader /usr/lib/python3.9/site-packages/PyInstaller/bootloader/Linux-64bit/run 55811 INFO: checking EXE 55811 INFO: Building EXE because EXE-00.toc is non existent 55811 INFO: Building EXE from EXE-00.toc 55819 INFO: Appending archive to ELF section in EXE /home/mdog/DD_Monitor-master/build/DDMonitor_unix/DDMonitor 55856 INFO: Building EXE from EXE-00.toc completed successfully. 55861 INFO: checking COLLECT 55862 INFO: Building COLLECT because COLLECT-00.toc is non existent 55862 INFO: Building COLLECT COLLECT-00.toc 63367 INFO: Building COLLECT COLLECT-00.toc completed successfully.

    [email protected]  ~/DD_Monitor-master  ./run.sh
    ./run.sh:行3: ./DD监控室: 没有那个文件或目录

    opened by mdogwoop 3
  • 关于显卡占用率比chrome高的问题

    关于显卡占用率比chrome高的问题

    本人配置 3600X,1060 6G,32G内存,win10家庭版1909,nvdia驱动程序版本 27.21.14.6089 - nVIDIA ForceWare 460.89 chrome版本 88.0.4324.104(正式版本) (64 位)

    用监控室,开6个直播间,全蓝光画质,硬解,3D占用96%,Video Decode 100%。 改成软解,3D依旧99%,Video Decode 0%。 硬解,全局原画,6个直播间就能明显观察到掉帧。 硬解,全局流畅,6个直播间显卡3D占用57%,Video Decode 32%。

    跟chrome里打开6个直播间全原画下3D占用29%,Video Decode 44%差距很大。

    opened by mzspeedwolf 3
  • 一些建议

    一些建议

    首先非常感谢这个软件,使用上确实提供了很大的便利。

    功能上的建议有:

    1. 按M后,静音功能。
    • 在已经静音之后,希望能添加一个动作响应再次按下M键,例如取消其余直播间的静音。
    • 其次,期望增加一个配置,可以决定在按M后,是将其余直播间静音,或者是将其余直播间音量降低到某个百分比,比如10%

    样式上的建议: 1.在上方直播间card栏,右键下拉菜单中,在删除命令上方添加一个 间隔符

    刚用了1个小时,还有的话再补充

    opened by chanchancl 3
  • 在 Windows 默认代码页为 utf-8 环境下无法启动

    在 Windows 默认代码页为 utf-8 环境下无法启动

    一些机器的默认代码页不是 gbk (936),而是 utf-8 (65001) 当默认代码页为为 utf-8 (65001) 时,发布版和源码版均无法启动

    错误日志如下 !!!UNCAUGHT EXCEPTION!!!********* Type: <class 'UnicodeDecodeError'> Value: 'gbk' codec can't decode byte 0x88 in position 102: illegal multibyte sequence Traceback: File "DD监控室.py", line 1137, in File "ReportException.py", line 54, in loggingSystemInfo


    稳定复现的方式: cmd 执行 chcp 65001 后,再执行 py DD监控室.py

    初步归因: systeminfo.exe 输出和解码编码不一致造成

    预期解决方案:统一为 utf-8

    opened by WindJ0Y 2
  • 关注列表最多可以获取250个

    关注列表最多可以获取250个

    url = f"https://api.bilibili.com:443/x/relation/followings?vmid={vmid}&pn={i}&ps=50&order=desc&jsonp=jsonp"
    

    默认每页20人,但是最多可以50人,参数ps=50即可

    opened by Jeffz615 2
  • stdout/stderr 重定向

    stdout/stderr 重定向

    stderr 重定向并不彻底,有些二进制依赖的错误输出无法捕获


    旧标题:无cmd打包报错

    打包配置里设定 console=False ,或者不用配置命令行 + --noconsole 打包就会 "Failed to execute script"

    折腾了一下午初步判定是 stderr/stdout 重定向的问题。 把标准输出重定向到日志可以解决。

    Note Under some conditions stdin, stdout and stderr as well as the original values stdin, stdout and stderr can be None. It is usually the case for Windows GUI apps that aren’t connected to a console and Python apps started with pythonw.

    sys — System-specific parameters and functions — Python 3.9.1 documentation

    (虽然不影响开发,甚至也不太影响使用

    opened by inkydragon 2
  • VLC3 重启player

    VLC3 重启player

    • 将 player 实例化包装为函数
    • 在 stop之后重新实例化 player
    • 封装 stop 函数确保与 newPlayer 配对使用
    • 使用 playerRestart() 替代 player.stop
    • 直接使用直接调用 VideoWidget.close() 方法,避免多次关闭 player
    • 添加 playerFree 方法用于销毁 player
    • 添加对 player 的说明文档
    • 更新 vlc3.0 dll 依赖
    opened by inkydragon 1
  • requirements.txt中缺少依赖bilibili-api

    requirements.txt中缺少依赖bilibili-api

    测试使用的commit 0e7fe77a370c69a4dec5aefe29ea99f21760c2b1

    环境:

    • Ubuntu 20.04.4 LTS x86_64
    • Python 3.8.10

    复现步骤:

    $ pwd
    /home/username/code/DD_Monitor
    $ pip install -r requirements.txt
    $ python3 DD监控室.py 
    /usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (3.0.4) doesn't match a supported version!
      warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
    Traceback (most recent call last):
      File "DD监控室.py", line 25, in <module>
        from VideoWidget_vlc import PushButton, Slider, VideoWidget
      File "/home/username/code/DD_Monitor/VideoWidget_vlc.py", line 16, in <module>
        from remote import remoteThread
      File "/home/username/code/DD_Monitor/remote.py", line 12, in <module>
        from bilibili_api import live
    ModuleNotFoundError: No module named 'bilibili_api'
    

    手动安装bilibili-api后正常运行

    $ pip install bilibili-api
    $ python3 DD监控室.py
    

    建议在requirements.txt添加一行依赖项bilibili-api

    opened by USN484259 0
  • 请求内嵌DDatHome

    请求内嵌DDatHome

    请问作者有意向在软件后端内嵌入一个DDatHome吗? DDatHome本身只对b站api进行请求,对网络io的要求非常低 如果您愿意嵌入一份DDatHome,对vtbs.moe的运行提供助力的话,我们会非常感谢 DDatHome-python的项目地址:https://github.com/Radekyspec/DDatHome-python

    opened by Radekyspec 0
  • Python3.10下程序无法启动

    Python3.10下程序无法启动

    环境是ArchLinux 内核5.15.2 Python3.10.1 之前滚系统更新时python到这个版本了,然后我在用python3 DD监控室.py命令启动本程序时发生了错误,先前是几个类型问题,我手工修复了,后来出现了以下错误: image

    我试过删除这个仓库重新克隆,重新pip安装依赖,都没有解决。我怀疑是python的版本问题,自己编译了python3.9(软件包降级被我禁止了)并重新安装依赖后成功运行。 我不知道在Windows/MacOS平台上会不会有这些问题,但是我希望作者能解决一下

    opened by lsk-china 0
Releases(DD_Monitor2.9)
Owner
执明神君
执明神君
Set named timers for cooking, watering plants, brewing tea and more.

Timer Set named timers for cooking, watering plants, brewing tea and more. About Use Mycroft when your hands are messy or you need more that the one t

OpenVoiceOS 3 Nov 02, 2022
Automatically unpin old messages so you can always pin more!

PinRotate Automatically unpin old messages so you can always pin more! Installation You will need to install poetry to run this bot locally for develo

3 Sep 18, 2022
Find all solutions to SUBSET-SUM, including negative, positive, and repeating numbers

subsetsum The subsetsum Python module can enumerate all combinations within a list of integers which sums to a specific value. It works for both negat

Trevor Phillips 9 May 27, 2022
An a simple sistem code in python

AMS OS An a simple code in python ⁕¿What is AMS OS? AMS OS is an a simple sistem code writed in python. This code helps you with the cotidian task, yo

1 Nov 10, 2021
Run PD patches in NRT using Python

The files in this repository demonstrate how to use Pure Data (Pd) patches designed to run in Non-Real-Time mode to batch-process (synthesize, analyze, etc) sounds in series using Python.

Jose Henrique Padovani 3 Feb 08, 2022
You can easily send campaigns, e-marketing have actually account using cash will thank you for using our tools, and you can support our Vodafone Cash +201090788026

*** Welcome User Sorry I Mean Hello Brother ✓ Devolper and Design : Mokhtar Abdelkreem ========================================== You Can Follow Us O

Mo Code 1 Nov 03, 2021
A bot to use in a pump & dump event

A bot to use in a pump & dump event on Binance.com. Please note the bot is in heavy devleopment currently so be aware of errors. If you experience err

Freddie Jonas 189 Dec 24, 2022
Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

Pixelarticons - Pixel Art Icons made simple for Flutter, powered by pixelarticons and fontify

lask 16 Dec 12, 2022
Insights in greek football league 2020-2021 and bookmaker's accuracy

Greek_Football_League_Analysis_2020_2021 Aim of Project: This project aims in deriving useful insights from greek football league 2020-2021 by mean st

2 Jan 16, 2022
Fly DCS without a joystick

Intro Usage Delete all mouse view axis Install DCSEasyControlExports to your "Saved Games/DCS/" Path python DCSEasyControl/main.py Set DCS to F12 view

XuHao 36 Dec 27, 2022
Skip spotify ads by automatically restarting application when ad comes

SpotiByeAds No one likes interruptions! Don't you hate it when you're listening to your favorite jazz track or your EDM playlist and an ad for Old Spi

Partho 287 Dec 29, 2022
Your E-Canteen that is convenient and accessible wherever you are in the campus

Food Web E-Canteen System Your E-Canteen that is convenient and accessible wherever you are in the campus. Table of Contents About The Project Contrib

Pudding 5 Jan 07, 2023
These are my solutions to Advent of Code problems.

Advent of Code These are my solutions to Advent of Code problems. If you want to join my leaderboard, the code is 540750-9589f56d. When I solve for sp

Sumner Evans 5 Dec 19, 2022
Simple programming language built on Python.

Serial Another programming language. Built on Python. Building and running program In order to run the program on serial, unfortunately you still need

Aleksey Demchenkov 1 Dec 09, 2021
A program that lets you use your tablet's tilting to emulate an actual joystick on a Linux computer.

Tablet Tilt Joystick A program that lets you use your tablet's tilting to emulate an actual joystick on a Linux computer. It's called tablet tilt joys

1 Feb 07, 2022
Flight Reservation App With Python

Flight Reservation App With Python

victor-h. 1 Nov 21, 2021
Encode and decode cancro lang files to and from brainfuck

cancrolang Encode and decode cancro lang files to and from brainfuck. examples python3 main.py -f hello.cancro --run Hello World! the interpreter is n

witer33 1 Dec 20, 2021
Union oichecklists For Python

OI Checklist Union Auto-Union user's OI Checklists. Just put your checklist's ID in and it works. How to use it? Put all your OI Checklist IDs (that i

FHVirus 4 Mar 30, 2022
Multi View Stereo on Internet Images

Evaluating MVS in a CPC Scenario This repository contains the set of artficats used for the ENGN8601/8602 research project. The thesis emphasizes on t

Namas Bhandari 1 Nov 10, 2021
This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help..

VS Code Virtual Assistant This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help. Its currentl

Soham Ghugare 6 Aug 22, 2021