Totem,mplayer,sopcast,realplayer,bmp
-
newbiee
- 帖子: 69
- 注册时间: 2009-08-27 21:59
#16
帖子
由 newbiee » 2009-09-09 10:24
pythonist 写了:酷啊!all-in-one p2p player!
有两个建议
1. 建议pptv.me加入搜索功能。如果使用的人多的话甚至可以考虑做个点播排行榜什么的。
2. 把所有的程序、脚本和库文件整合起来做一个百分百的懒人安装包:只要sudo ./install.sh或者是dpkg -i xxx.deb就安装好。其实需要root权限安装并不是问题。
可能最大的问题在于怎么用脚本(比如python)实现firefox和pps://等协议的关联,各个版本firefox似乎不太一样。
关于建议一, 搜索功能的确很重要. 只是比较费电脑computation. 我目前没有使用sql数据库,搜索会比较费事, 不过我将来会transfer data到database中. 这个可以列为中期目标.
点播榜应该很容易实现.这个可以列为短期目标. 我还想可以搞个online chat room, 大家看同一个节目就进同一房间,可以互相交流看片心得.
关于建议二, 应该很容易实现. 待我花时间看看.
-
xpf20008
- 帖子: 81
- 注册时间: 2008-11-09 9:12
#17
帖子
由 xpf20008 » 2009-09-09 10:53

打不开,一点也看不了,我用opera浏览器,安照LZ说的,可是不行,怎么办?我的QQ1095122616谁帮帮忙啊?
-
lewvip
- 帖子: 166
- 注册时间: 2008-10-01 0:28
#18
帖子
由 lewvip » 2009-09-09 10:55
豬豬 写了:我是懶人,我愛懶人包

我也在等待懒人包
-
jsleemz
- 帖子: 144
- 注册时间: 2006-07-27 15:50
#20
帖子
由 jsleemz » 2009-09-10 7:40
newbiee 写了:我自己顶顶,给等傻瓜包的看看.
代码: 全选
/pps-mplayer$ python install.py
Traceback (most recent call last):
File "install.py", line 1, in <module>
import auto_firefox_association as auto
File "/home/leemz/Downloads/linux/pps-mplayer/auto_firefox_association.py", line 12, in <module>
import xml.dom.ext
ImportError: No module named ext
代码: 全选
sudo apt-get install python-xml
[sudo] password for leemz:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
python-xml 已经是最新的版本了。
ubuntu 8.04,i386
-
newbiee
- 帖子: 69
- 注册时间: 2009-08-27 21:59
#21
帖子
由 newbiee » 2009-09-10 9:33
jsleemz 写了:newbiee 写了:我自己顶顶,给等傻瓜包的看看.
代码: 全选
/pps-mplayer$ python install.py
Traceback (most recent call last):
File "install.py", line 1, in <module>
import auto_firefox_association as auto
File "/home/leemz/Downloads/linux/pps-mplayer/auto_firefox_association.py", line 12, in <module>
import xml.dom.ext
ImportError: No module named ext
代码: 全选
sudo apt-get install python-xml
[sudo] password for leemz:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
python-xml 已经是最新的版本了。
ubuntu 8.04,i386
这个是hardy ubuntu的python-xml包问题.我重写了一下.请重新下载附件 install.tar.gz 然后覆盖老的py 文件
http://forum.ubuntu.com.cn/download/file.php?id=77459
-
yaska
- 帖子: 1169
- 注册时间: 2007-10-28 21:35
#22
帖子
由 yaska » 2009-09-10 9:50
mplayer键盘控制太麻烦,一断线就得重新开始!
vlc 不知道怎么样。。
-
jsleemz
- 帖子: 144
- 注册时间: 2006-07-27 15:50
#23
帖子
由 jsleemz » 2009-09-10 10:39
代码: 全选
$ python install.py
external program position?
(/home/leemz/Downloads/linux/pps-mplayer/mypps)correct me if I'm wrong
(enter to use the default):
Your firefox version?(firefox,firefox-3.5,firefox-3.6)
(enter to use the default firefox):
Your profile?(Profile0)
(enter to use the default profile):
summary:
program: /home/leemz/Downloads/linux/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
haha, adding:tvod
haha, adding:synacast
haha, adding:tvod Description
haha, adding:synacast Description
haha, adding:tvod Description external
haha, adding:synacast Description external
haha, adding:tvod Description handler
haha, adding:synacast Description handler
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/home/leemz/Downloads/linux/pps-mplayer/auto_firefox_association.py", line 137, in autoAssociate
write_to_file(doc, name=mime_file)
File "/home/leemz/Downloads/linux/pps-mplayer/auto_firefox_association.py", line 22, in write_to_file
file_object.write(doc.toxml())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 3952-3954: ordinal not in range(128)
在firefox中点击播放时要求选择关联程序,选择后pps能播放,但关掉视频窗口没有自动关闭终端窗口,后台声音仍有;
sop与pplive只出现终端窗口,不能播放。
-
000
- 帖子: 84
- 注册时间: 2007-09-10 16:16
#26
帖子
由 000 » 2009-09-15 16:29
我也看晕了,后来成功。总结一下:
我是ubuntu8.04.又是AMD64.
-----------------------------------------------------------------------------------------------------------------
安装使用方法:
1. 下载
http://www.mediafire.com/?sharekey=ea5a ... f6e8ebb871
或
http://drop.io/angcpyb/asset/all-in-one-for-dummy-tgz
解压
2. 运行 python install.py ( 不要root权限)
(如果有错误,可能要装 sudo apt-get install python-xml)
打开
http://pptv.me , 或
http://kan.pps.tv/ 可以点播拉.
---------------------------
补充:解压后是名为pps-mplayer的文件夹。
运行时要进入目录,而且关闭Firefox。
打开http://kan.pps.tv时要点客户端播放。
我文件夹在home的用户名下,播放时选择程序/home/用户名/pps-mplayer/mypps
列表中变成两个mypps.
列表中原有的mypps没用。自选的有用。
------------------------------------------------------------------------------------------------------------------
谢谢!
上次由
000 在 2010-01-30 11:43,总共编辑 1 次。
-
scgs3178
- 帖子: 1
- 注册时间: 2009-05-27 3:04
#27
帖子
由 scgs3178 » 2009-09-16 13:16
默认关联的是mplayer,怎么修改成其他的啊?另外命令行的mplayer程序怎么调整画面的亮度、对比度等?
-
xpf20008
- 帖子: 81
- 注册时间: 2008-11-09 9:12
#28
帖子
由 xpf20008 » 2009-09-16 17:59

安照LZ说的,我的opera和fox都关联不上,看不上,怎样运行python install.py,可以教我一下吗/QQ1095122616
-
newbiee
- 帖子: 69
- 注册时间: 2009-08-27 21:59
#29
帖子
由 newbiee » 2009-09-21 11:24
刚刚修正了错误,用了pythonist新发布的绿色ppstream. 自己顶。
-
fish336
- 帖子: 4
- 注册时间: 2009-09-29 23:29
#30
帖子
由 fish336 » 2009-09-30 22:58
代码: 全选
external program position?
(/tmp/pps-mplayer/mypps)correct me if I'm wrong
(enter to use the default):
Your firefox version?(firefox,firefox-3.5,firefox-3.6)
(enter to use the default firefox):
Your profile?(Profile0)
(enter to use the default profile):
summary:
program: /tmp/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
Traceback (most recent call last):
File "install.py", line 46, in <module>
auto.autoAssociate(['pps','tvod','sop','synacast'],ext_pro,profile,fox)
File "/tmp/pps-mplayer/auto_firefox_association.py", line 56, in autoAssociate
doc = dom.parse(mime_file)
File "/usr/lib/python2.6/dist-packages/_xmlplus/dom/minidom.py", line 1915, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/dist-packages/_xmlplus/dom/expatbuilder.py", line 926, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/dist-packages/_xmlplus/dom/expatbuilder.py", line 211, in parseFile
parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0
错误年年有,今年特别多啊,LZ可有空帮忙看一下,
这会似乎点播网站也上不去了。。。
