parzulpan / livebox Goto Github PK
View Code? Open in Web Editor NEWA cross-platform network media aggregation application
Home Page: https://livebox.parzulpan.cn
License: GNU General Public License v3.0
A cross-platform network media aggregation application
Home Page: https://livebox.parzulpan.cn
License: GNU General Public License v3.0
I'm Linux system_platform: Linux system_platform: Linux Traceback (most recent call last): File "real_live.py", line 36, in <module> run() File "/home/hu/Code/Python/real-live/src/real-live-desktop/utils/singleton.py", line 24, in inner _instance[cls] = cls() File "real_live.py", line 29, in run main_window = MainWindow() File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/main_widget.py", line 157, in __init__ self.vlc_widget = VlcPlayerWidget() File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 51, in __init__ self.set_media_player(args) File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 94, in set_media_player self.instance = vlc.Instance(*args) File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 1906, in __new__ return libvlc_new(len(args), args) File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 4705, in libvlc_new _Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance), File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 292, in _Cfunction raise NameError('no function %r' % (name,)) NameError: no function 'libvlc_new'
用的什么Python版本?
python 3.8.2 系统 ubuntu 20.04
建议使用3.6和3.7版本,版本太新,有的库匹配的不是很好。
Originally posted by @parzulpan in https://github.com/parzulpan/real-live/issue_comments/702462590
如题,小白暗搓搓问一下。下载了不知道怎么打开
原谅我问了一个蠢蠢的问题
I'm Linux
system_platform: Linux
system_platform: Linux
Traceback (most recent call last):
File "real_live.py", line 36, in <module>
run()
File "/home/hu/Code/Python/real-live/src/real-live-desktop/utils/singleton.py", line 24, in inner
_instance[cls] = cls()
File "real_live.py", line 29, in run
main_window = MainWindow()
File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/main_widget.py", line 157, in __init__
self.vlc_widget = VlcPlayerWidget()
File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 51, in __init__
self.set_media_player(args)
File "/home/hu/Code/Python/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 94, in set_media_player
self.instance = vlc.Instance(*args)
File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 1906, in __new__
return libvlc_new(len(args), args)
File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 4705, in libvlc_new
_Cfunction('libvlc_new', ((1,), (1,),), class_result(Instance),
File "/home/hu/.local/lib/python3.8/site-packages/vlc.py", line 292, in _Cfunction
raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'
Traceback (most recent call last):
File "real_live.py", line 36, in
run()
File "/Users/jackrobin/source/js/real-live/src/real-live-desktop/utils/singleton.py", line 24, in inner
_instance[cls] = cls()
File "real_live.py", line 29, in run
main_window = MainWindow()
File "/Users/jackrobin/source/js/real-live/src/real-live-desktop/widgets/main_widget.py", line 157, in init
self.vlc_widget = VlcPlayerWidget()
File "/Users/jackrobin/source/js/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 51, in init
self.set_media_player(args)
File "/Users/jackrobin/source/js/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 108, in set_media_player
self.media_player.set_nsobject(self.media_player_frame.winId())
File "/Users/jackrobin/source/js/real-live/venv/lib/python3.8/site-packages/vlc.py", line 3709, in set_nsobject
return libvlc_media_player_set_nsobject(self, drawable)
File "/Users/jackrobin/source/js/real-live/venv/lib/python3.8/site-packages/vlc.py", line 6835, in libvlc_media_player_set_nsobject
return f(p_mi, drawable)
ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type
Describe the bug
commit 866f678 on master branch.
When running ./DebugRun.sh, it spits:
I'm MacOS
system_platform: Darwin
system_platform: Darwin
system_platform: Darwin
system_platform: Darwin
system_platform: Darwin
system_platform: Darwin
Traceback (most recent call last):
File "real_live.py", line 36, in <module>
run()
File "/Users/SonderTALVCF/work/personal/real-live/src/real-live-desktop/utils/singleton.py", line 24, in inner
_instance[cls] = cls()
File "real_live.py", line 29, in run
main_window = MainWindow()
File "/Users/SonderTALVCF/work/personal/real-live/src/real-live-desktop/widgets/main_widget.py", line 157, in __init__
self.vlc_widget = VlcPlayerWidget()
File "/Users/SonderTALVCF/work/personal/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 51, in __init__
self.set_media_player(args)
File "/Users/SonderTALVCF/work/personal/real-live/src/real-live-desktop/widgets/vlc_player_widget.py", line 108, in set_media_player
self.media_player.set_nsobject(self.media_player_frame.winId())
File "/Users/SonderTALVCF/bin/.venv/lib/python3.7/site-packages/vlc.py", line 3709, in set_nsobject
return libvlc_media_player_set_nsobject(self, drawable)
File "/Users/SonderTALVCF/bin/.venv/lib/python3.7/site-packages/vlc.py", line 6835, in libvlc_media_player_set_nsobject
return f(p_mi, drawable)
ctypes.ArgumentError: argument 2: <class 'TypeError'>: wrong type
我是小白,写个简单教程吧
对项目有任何疑问和建议的胡欢迎加入QQ 群 RealLive项目讨论群:893364757
对项目有任何疑问和建议的胡欢迎加入QQ 群 RealLive项目讨论群:893364757
对项目有任何疑问和建议的胡欢迎加入QQ 群 RealLive项目讨论群:893364757
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.