[跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

Totem,mplayer,sopcast,realplayer,bmp
回复
头像
xinen007
帖子: 159
注册时间: 2008-05-28 21:32
来自: 豫南小苏州
联系:

[跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#1

帖子 xinen007 » 2009-11-04 14:05

个人笔记,仅供参考,原文内容太多,容易晕乎。。。

1. 去下面下载
http://www.mediafire.com/?sharekey=ea05 ... f6e8ebb871

http://drop.io/rwkrw6l/asset/3inone-tar-gz-2
或者
http://player-3-in-one.googlecode.com/f ... One.tar.gz
解压到~/pps-mplayer

2. 关闭firefox,终端中运行:

代码: 全选

python install.py
(如果有错误,可能要装 sudo apt-get install python-xml)

打开 http://pptv.me 本来以为可以点播拉.,结果和firefox没有关联

关联的方法是:

在pps-mplayer下有个auto_firefox_association.py,实际是作者自动关联Firefox的一个脚本

终端中运行:

代码: 全选

python auto_firefox_association.py
然后打开firefox,已经可以自动打开mplayer进行播放了

遇到一个问题,sopcast是不能播放的,因为缺少libstdc++5这个库

下载libstdc++5_3.3.6-18_i386.deb安装即可。此处为32位系统下的

http://packages.debian.org/stable/base/libstdc++5下载你可用的包吧

现在用这个看电视很方便,应该是目前linux下最好的网络电视软件了吧

感谢newbiee给我们带来的便利,原文见:

viewtopic.php?f=74&t=225502
免费vpn,翻墙必备-->http://vcup.in/j9a
------------------------------------------------------→

320G/2G
Intel core i3 330M 2.13GHz
Nvidia GT 325M 128bit/512M

Ubuntu 10.04+VMware 7.1.0
头像
latalata
帖子: 88
注册时间: 2008-10-10 16:00

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#2

帖子 latalata » 2009-11-05 2:42

收藏了。。 :em11 :em11
jsjy7128
帖子: 45
注册时间: 2009-09-27 1:40

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#3

帖子 jsjy7128 » 2009-11-06 11:31

pptv.me点播sop 出现错误:Firefox doesn't know how to open this address, because the protocol (sop) isn't associated with any program.
头像
xzwucl
帖子: 104
注册时间: 2007-10-12 8:43

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#4

帖子 xzwucl » 2009-11-09 22:08

学习了,收藏一下,这是个好东西。
-时尚科技,精致生活-
chenfeg
帖子: 47
注册时间: 2006-09-18 9:38

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#5

帖子 chenfeg » 2009-11-13 15:35

按照你的指导,提示有如下错误,请问什么原因?

wuxiongbin@wuxiongbin-laptop:~/下载/pps-mplayer$ python install.py
external program position?
(/home/wuxiongbin/下载/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/wuxiongbin/下载/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
haha, adding:pps
haha, adding:tvod
haha, adding:sop
haha, adding:synacast
haha, adding:pps Description
haha, adding:tvod Description
haha, adding:sop Description
haha, adding:synacast Description
haha, adding:pps Description external
haha, adding:tvod Description external
haha, adding:sop Description external
haha, adding:synacast Description external
haha, adding:pps Description handler
haha, adding:tvod Description handler
haha, adding:sop 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/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 137, in autoAssociate
write_to_file(doc, name=mime_file)
File "/home/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 22, in write_to_file
file_object.write(doc.toxml().encode('utf-8'))
File "/usr/lib/python2.6/xml/dom/minidom.py", line 45, in toxml
return self.toprettyxml("", "", encoding)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 60, in toprettyxml
return writer.getvalue()
File "/usr/lib/python2.6/StringIO.py", line 270, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 17: ordinal not in range(128)
头像
xinen007
帖子: 159
注册时间: 2008-05-28 21:32
来自: 豫南小苏州
联系:

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#6

帖子 xinen007 » 2009-11-19 22:01

jsjy7128 写了:pptv.me点播sop 出现错误:Firefox doesn't know how to open this address, because the protocol (sop) isn't associated with any program.
遇到一个问题,sopcast是不能播放的,因为缺少libstdc++5这个库

下载libstdc++5_3.3.6-18_i386.deb安装即可。此处为32位系统下的

http://packages.debian.org/stable/base/ ... +5下载你可用的包吧
免费vpn,翻墙必备-->http://vcup.in/j9a
------------------------------------------------------→

320G/2G
Intel core i3 330M 2.13GHz
Nvidia GT 325M 128bit/512M

Ubuntu 10.04+VMware 7.1.0
cyberghost
帖子: 15
注册时间: 2007-02-02 17:19

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#7

帖子 cyberghost » 2009-11-22 16:45

救命阿,我这里也是这个问题!!
貌似Ubuntu9.10下好像已经找不到python-xml这个包了,而且貌似自带的Python2.6里面已经集成了xml的支持。
怎么解决这个问题阿?
chenfeg 写了:按照你的指导,提示有如下错误,请问什么原因?

wuxiongbin@wuxiongbin-laptop:~/下载/pps-mplayer$ python install.py
external program position?
(/home/wuxiongbin/下载/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/wuxiongbin/下载/pps-mplayer/mypps
firefox: firefox
profile: Profile0
protocols:['pps', 'tvod', 'sop', 'synacast']
now association begins:
haha, adding:pps
haha, adding:tvod
haha, adding:sop
haha, adding:synacast
haha, adding:pps Description
haha, adding:tvod Description
haha, adding:sop Description
haha, adding:synacast Description
haha, adding:pps Description external
haha, adding:tvod Description external
haha, adding:sop Description external
haha, adding:synacast Description external
haha, adding:pps Description handler
haha, adding:tvod Description handler
haha, adding:sop 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/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 137, in autoAssociate
write_to_file(doc, name=mime_file)
File "/home/wuxiongbin/下载/pps-mplayer/auto_firefox_association.py", line 22, in write_to_file
file_object.write(doc.toxml().encode('utf-8'))
File "/usr/lib/python2.6/xml/dom/minidom.py", line 45, in toxml
return self.toprettyxml("", "", encoding)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 60, in toprettyxml
return writer.getvalue()
File "/usr/lib/python2.6/StringIO.py", line 270, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 17: ordinal not in range(128)
ankill
帖子: 1
注册时间: 2009-12-04 12:43

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#8

帖子 ankill » 2009-12-06 21:28

我对这个网络电视很感兴趣,因为有了它我就可以在ubuntu上看我最喜欢的NBA了,但是按照你们上面的方法去做,但做不了多少就不会了,希望你能百里抽闲好好的给我发点带图片的过来,视频最好,发送在我的邮箱里(jiafangping123@163.com),我在这里先谢谢你们了。
binihuai
帖子: 251
注册时间: 2007-08-25 15:56

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#9

帖子 binihuai » 2009-12-06 21:50

标记一下,,,,
harmock
帖子: 56
注册时间: 2008-06-12 10:42

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#10

帖子 harmock » 2009-12-08 10:22

好文章,学习中。一直在找,这个正合适的。 :em11
jeholl
帖子: 15
注册时间: 2010-01-05 9:44

Re: [跟我做]在ubuntu9.10中安装使用ppstream+sopcast+pplive网络电视(关联Firefox)

#12

帖子 jeholl » 2010-01-08 16:34

不知道这个能用不

反正现在都说 linux 下不能看了
回复