firefox 关联 pps,不动mplayer,不用root权限, 系统干净无瑕地看pps(9月12日更新,完美解决)

Totem,mplayer,sopcast,realplayer,bmp
头像
spectater
帖子: 665
注册时间: 2008-02-03 18:53

firefox 关联 pps,不动mplayer,不用root权限, 系统干净无瑕地看pps(9月12日更新,完美解决)

#1

帖子 spectater » 2009-09-04 14:09

方法:

1. 安装pps 插件 for totem
viewtopic.php?f=74&t=223582

2. 建立firefox 关联pps:


程序firefox关联,可直接修改配制文件,不过编辑时一定要关闭firefox,我这法子,比网上流传的about:config方法要简单得多:

根据 主目录下: .mozilla/firefox/profiles.ini 的内容,确认firefox 的有效配制文件目录:

代码: 全选

cat  ~/.mozilla/firefox/profiles.ini 
path=xxxx.default , xxxx.default就是freifox配制文件所在目录
然后编辑
gedit ~/.mozilla/firefox/xxxx.default/prefs.js
在文件最后加如下内容

代码: 全选

user_pref("network.protocol-handler.app.tvod", "/usr/bin/totem");
user_pref("network.protocol-handler.expose.tvod", false);
user_pref("network.protocol-handler.external.tvod", true);
ser_pref("network.protocol-handler.app.pps", "/usr/bin/totem");
user_pref("network.protocol-handler.expose.pps", false);
user_pref("network.protocol-handler.external.pps", true);
在firefox下打开pplive 节目列表的网站, 对于kan.pps.tv ,要点用客户端播放所在位置。

http://kan.pps.tv/movie_index.html


firefox第一次关联时,要求选使用其它, 浏览到 /usr/bin/totem确定一次(编辑--首选项--应用程序)。

viewtopic.php?f=155&t=201994
上次由 spectater 在 2009-09-12 14:13,总共编辑 6 次。
头像
spectater
帖子: 665
注册时间: 2008-02-03 18:53

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不要root权限,自动弹出mplayer

#3

帖子 spectater » 2009-09-04 14:24

pythonist 写了:你的方法没有我的简单,呵呵。不需要编译

http://code.google.com/p/ppshell/wiki/PPSMplayerInstall
http://code.google.com/p/ppshell/wiki/firefoxpps

1。你firefox关联部分,用about config 太麻烦,直接改配制文件最方便。

2。 找不到为了pps 去动mplayer的理由。
头像
pythonist
帖子: 51
注册时间: 2009-08-28 2:14

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不要root权限,自动弹出mplayer

#4

帖子 pythonist » 2009-09-04 14:37

spectater 写了:
pythonist 写了:你的方法没有我的简单,呵呵。不需要编译

http://code.google.com/p/ppshell/wiki/PPSMplayerInstall
http://code.google.com/p/ppshell/wiki/firefoxpps

1。你firefox关联部分,用about config 太麻烦,直接改配制文件最方便。

2。 找不到为了pps 去动mplayer的理由。
pps-mplayer和你机器上安装的mplayer并不冲突,只不过是把mplayer的代码和解码pps流的工具整合在一起重新编译而已。

我试试你的直接往pref.js里添加的方法,如果可行,应该能写个python脚本出来自动处理。
头像
spectater
帖子: 665
注册时间: 2008-02-03 18:53

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不要root权限,自动弹出mplayer

#5

帖子 spectater » 2009-09-04 14:43

pythonist 写了:
spectater 写了:
pps-mplayer和你机器上安装的mplayer并不冲突,只不过是把mplayer的代码和解码pps流的工具整合在一起重新编译而已。
为什么不直接修改那个xpps 原程序, 缓冲完后自动调用系统自带的mplayer ?
头像
pythonist
帖子: 51
注册时间: 2009-08-28 2:14

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不要root权限,自动弹出mplayer

#6

帖子 pythonist » 2009-09-04 14:54

spectater 写了:
pythonist 写了:
spectater 写了:
pps-mplayer和你机器上安装的mplayer并不冲突,只不过是把mplayer的代码和解码pps流的工具整合在一起重新编译而已。
为什么不直接修改那个xpps 原程序, 缓冲完后自动调用系统自带的mplayer ?
因为所有人都喜欢把工具整合在一起,xpps将来也是要整合在gmlive中的。

更何况我开始修改mplayer的时候xpps还没出现呢 :em04
头像
spectater
帖子: 665
注册时间: 2008-02-03 18:53

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不要root权限,自动弹出mplayer

#7

帖子 spectater » 2009-09-04 15:10

pythonist 写了:
因为所有人都喜欢把工具整合在一起,
杯具了
头像
eagle5678
帖子: 1865
注册时间: 2006-07-08 14:07

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不用root权限看pps 视频

#8

帖子 eagle5678 » 2009-09-04 19:40

2个人…… :em04

我用蛇的,谁叫他先出来,猴子的就先放一边了
头像
john.wu
帖子: 1006
注册时间: 2007-10-18 17:40

Re: 不修改mplayer ,firefox 关联 tvod:// 和pps:// 不用root权限看pps 视频

#9

帖子 john.wu » 2009-09-05 11:53

ubuntu 9.04,搞定了:
要关闭firefox 后再编辑prefs.js




spectater 写了: 找不到为了pps 去动mplayer的理由。

期待大大们的新版xpps , 缓冲完后自动调用mplayer , 或支持firefox关联的gmlive

:em11

千帖户,享有论坛特权!
头像
spectater
帖子: 665
注册时间: 2008-02-03 18:53

Re: firefox 关联 tvod:// 和pps:// 不用root权限,不修改mplayer ,系统干净地看pps

#10

帖子 spectater » 2009-09-12 13:46

john.wu 写了:
期待大大们的新版xpps , 缓冲完后自动调用mplayer , 或支持firefox关联的gmlive

:em11


viewtopic.php?f=74&t=223582&start=382

新版totem pps插件, 已经支持firefox 关联。

firefox 编辑--首选项--应用程序 pps 和tvod 关联改为totem即可

:em11
aitjcize
帖子: 96
注册时间: 2009-02-01 18:28
来自: 台灣

Re: firefox 关联 tvod:// 和pps:// 不动mplayer 系统干净地看pps(9月12日更新完美解决)

#11

帖子 aitjcize » 2009-09-12 18:25

頂! :em11
Aitjcize, AZ
My Blog: http://berelent.blogspot.com
头像
john.wu
帖子: 1006
注册时间: 2007-10-18 17:40

Re: firefox 关联 tvod:// 和pps:// 不用root权限,不修改mplayer ,系统干净地看pps

#12

帖子 john.wu » 2009-09-12 20:23

spectater 写了:

viewtopic.php?f=74&t=223582&start=382

新版totem pps插件, 已经支持firefox 关联。

firefox 编辑--首选项--应用程序 pps 和tvod 关联改为totem即可

:em11
:em11

千帖户,享有论坛特权!
zh133929
帖子: 99
注册时间: 2008-03-07 6:39

Re: firefox 关联 pps,不动mplayer,不用root权限, 系统干净无瑕地看pps(9月12日更新,完美解决)

#15

帖子 zh133929 » 2009-09-15 20:34

我用的是9.04
按照楼主的放法,很好
回复