这个我也不 懂。ssfjhh 写了:很好用,但是看完之后的电影存在什么地方了?还是直接给删掉了,没有存在本地盘?有时候想收藏,或者发给别人。
PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
-
- 帖子: 166
- 注册时间: 2006-08-22 23:10
Re: PPlive totem 插件 已更新2009-09-07
-
- 帖子: 166
- 注册时间: 2006-08-22 23:10
Re: PPlive totem 插件 已更新2009-09-07
我也不清楚peacekeep 写了:Document Start ...
Document End ...
/usr/lib/totem/plugins/PPliveonline/PPliveonline.py:47: DeprecationWarning: Use the new widget gtk.Tooltip
tooltips = gtk.Tooltips()
/usr/lib/totem/plugins/PPliveonline/PPliveonline.py:49: DeprecationWarning: Use the new widget gtk.Tooltip
tooltips.set_tip(b, '停止后台运行的xpplive程序。')
/usr/lib/totem/plugins/PPliveonline/PPliveonline.py:57: DeprecationWarning: Use the new widget gtk.Tooltip
tooltips.set_tip(b, '打开http://127.0.0.1:1024/1.asf位置播放。因为有时候会自己停止播放!')
/usr/lib/totem/plugins/PPliveonline/PPliveonline.py:73: DeprecationWarning: Use the new widget gtk.Tooltip
tooltips.set_tip(b, '将正在播放的频道加入收藏!')
/usr/lib/totem/plugins/PPliveonline/PPliveonline.py:77: DeprecationWarning: Use the new widget gtk.Tooltip
tooltips.set_tip(b, '将下面选中频道从收藏中删除!')
xpplive:没有发现操作
(totem:15471): GLib-GObject-WARNING **: value "10752000" of type `guint' is invalid or out of range for property `connection-speed' of type `guint'
(totem:15471): GLib-GObject-WARNING **: value "10752000" of type `guint' is invalid or out of range for property `connection-speed' of type `guint'
** Message: Error: 无效的 URI“”。
gsturidecodebin.c(889): gen_source_element (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin1
(totem:15471): Gtk-WARNING **: Attempting to add `http://127.0.0.1:1024/1.asf' to the list of recently used resources, but not MIME type was defined
** Message: Couldn't add recent file for 'http://127.0.0.1:1024/1.asf'
这是怎么会事
-
- 帖子: 166
- 注册时间: 2006-08-22 23:10
Re: PPlive totem 插件 已更新2009-09-07
你这个是pps, 我写的是xpplive的gui界面。swore2 写了:我的ubuntu是8.10.
为什么安装了pps, mplayer总是调用失败? 安装了你的totem插件也不行。
[pps_callback]: buffing done.
[pps_callback]: buffing done.
[pps_callback]: buffing done.
[pps_callback]: buffing done.
[pps_callback]: buffing done.
[pps_callback]: buffing done.
[pps_callback]: buffing done.
MPlayer interrupted by signal 4 in module: demux_open
- MPlayer crashed by an 'Illegal Instruction'.
It usually happens when you run it on a CPU different than the one it was
compiled/optimized for.
Verify this!
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
[ppsvod_stop_item]-----------start,index=1
[ppsvod_stop_item]-----------end
[ppsvod_remove_item]-----------start, index:1
[ppsvod_remove_item]-----------end
[ppsvod_destroy]-----------start
CUDPBaseEx::Send failed!!!!!!!!!!!: Bad file descriptor
CUDPBaseEx::Send failed!!!!!!!!!!!: Bad file descriptor
CUDPBaseEx::Send failed!!!!!!!!!!!: Bad file descriptor
[ppsvod_destroy]-----------end
-
- 帖子: 7
- 注册时间: 2007-09-14 15:50
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
很好用!图像非常连续!就是声音老是无缘故没有,需要快进一下才可以!能否帮忙解决?
-
- 帖子: 166
- 注册时间: 2006-08-22 23:10
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
这个我也不懂zhangtudou 写了: 很好用!图像非常连续!就是声音老是无缘故没有,需要快进一下才可以!能否帮忙解决?
- mickeywaley
- 帖子: 1427
- 注册时间: 2009-03-19 9:19
- 系统: ubuntu
- 来自: 江苏
- 联系:
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
安装
xpplivegui_2009-10-27_i386.deb
出错
原来要先删除 totem-pplive-plugin_2009-09-18_i386.deb
xpplivegui_2009-10-27_i386.deb
出错
原来要先删除 totem-pplive-plugin_2009-09-18_i386.deb
- blog:http://lizhenglin.com备份的,原站加www.
- OS:ubuntu:9.04
- Google Talk:mickeywaley#gmail.com
- Twitter:@mickeywaley
- Google Voice:1-520-226-8130
- Ubuntu 9.10 (Karmic Koala) 安装配置相关教程 http://docs.google.com/View?id=ddqsjgzx_747f25h8pcb
-
- 帖子: 7
- 注册时间: 2007-09-14 15:50
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
原来是我的编码有问题,我也不是很清楚,反正装完w32codes后便好了。谢谢!zhangtudou 写了: 很好用!图像非常连续!就是声音老是无缘故没有,需要快进一下才可以!能否帮忙解决?
- jarryson
- 帖子: 4002
- 注册时间: 2005-08-14 19:53
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
我觉得既然是totem的插件,pplve临时文件就和totem临时文件放一起吧。
$XDG_DATA_HOME/totem/plugins/pplive
所有程序都在$HOME下建立一个文件夹那HOME下就壮观了
$XDG_DATA_HOME/totem/plugins/pplive
所有程序都在$HOME下建立一个文件夹那HOME下就壮观了
- jarryson
- 帖子: 4002
- 注册时间: 2005-08-14 19:53
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
需要pyxdg,安装很多软件需要这个,比如安装deluge,kupfer应该已经附带安装上了。或者自己写也很简单,base.xdg_data_home对应~/.local/share就好了。。好像totem插件很简单啊,才两个文件就可以了啊。呵呵
代码: 全选
diff -uNr a/usr/lib/totem/plugin/PPliveonline/PPliveonline.py b/usr/lib/totem/plugin/PPliveonline/PPliveonline.py
--- a/usr/lib/totem/plugin/PPliveonline/PPliveonline.py 2009-08-30 22:50:48.000000000 +0800
+++ b/usr/lib/totem/plugin/PPliveonline/PPliveonline.py 2009-11-02 21:53:27.464253949 +0800
@@ -6,6 +6,7 @@
import os
import time
import user
+import xdg.BaseDirectory as base
class main_window(gtk.Frame):
def quit(self, w):
@@ -86,7 +87,7 @@
self.catalog_change( menu)
self.menu = menu
- f = os.path.join( user.home, '.pplive', 'pplive.wdsc')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.wdsc')
if os.path.exists( f):
ff = open( f)
line = ff.read().split('\n')
@@ -104,7 +105,7 @@
if hasattr( self, 'play_url') and hasattr( self, 'play_name'):
iter = self.modelsc.append()
self.modelsc.set( iter, 0, self.play_name, 1, self.play_url)
- f = os.path.join( user.home, '.pplive', 'pplive.wdsc')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.wdsc')
ff = open( f, 'r+')
ff.seek(0,2)
ff.write( self.play_name + ';' + self.play_url + '\n')
@@ -114,14 +115,14 @@
model,iter = self.tvsc.get_selection().get_selected()
if iter:
model.remove( iter)
- f = os.path.join( user.home, '.pplive', 'pplive.wdsc')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.wdsc')
ff = open( f, 'w+')
for i in model:
ff.write( i[0] + ';' + i[1] + '\n')
ff.close()
def update(self, w):
- furl = os.path.join( user.home, '.pplive', 'pplive.url')
+ furl = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.url')
l = open( furl).read()
ppurl = l.split('\n')
ppurl = [ i.strip() for i in ppurl if i.strip()!='' ]
@@ -160,7 +161,7 @@
self.ppurl=w.get_label()
def run(self, *w):
- f = os.path.join( user.home, '.pplive', 'pplive.list')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.list')
if self.ppurl=='':os.system('wget http://list.pplive.com/zh-cn/xml/new.xml -O %s'%f)
else:os.system('wget "%s" -O %s'%(self.ppurl,f))
for i,ii in self.d.items():
@@ -220,7 +221,7 @@
return model, scroll, treeview
def on_active (self, tv, path, view_column, totem):
- wdir = os.path.join( user.home, '.pplive')
+ wdir = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive')
totem.action_stop()
model = tv.get_model()
iter = model.get_iter(path)
diff -uNr a/usr/lib/totem/plugin/PPliveonline/pplive.py b/usr/lib/totem/plugin/PPliveonline/pplive.py
--- a/usr/lib/totem/plugin/PPliveonline/pplive.py 2009-08-30 15:42:06.000000000 +0800
+++ b/usr/lib/totem/plugin/PPliveonline/pplive.py 2009-11-02 21:56:20.570905529 +0800
@@ -1,6 +1,7 @@
#!/usr/bin/env python
#coding:utf-8
from xml import sax
+from xdg import BaseDirectory as base
class TestHandler(sax.ContentHandler):
def __init__(self):
self.r=[]
@@ -37,15 +38,15 @@
import os, user, re
def test():
- f = os.path.join( user.home, '.pplive', 'pplive.list')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.list')
if os.path.exists( f):
txt = open( f).read()
else:
- try:os.makedirs(os.path.join( user.home, '.pplive'))
+ try:os.makedirs(os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive'))
except:pass
os.system('wget http://list.pplive.com/zh-cn/xml/new.xml -O %s'%f)
txt = open( f).read()
- f = os.path.join( user.home, '.pplive', 'pplive.url')
+ f = os.path.join( base.xdg_data_home, 'totem', 'plugin', 'pplive', 'pplive.url')
if not os.path.exists( f):
t = open( f,'w+')
l='''http://www.pplive.com/zh-cn/xml/default.xml
- jarryson
- 帖子: 4002
- 注册时间: 2005-08-14 19:53
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
我也遇到:
我的totem是2.28,新版的totem也许没有这个东西了。。
换用add_to_playlist_and_play:
然后在最后添加一个False,可以了,但是出现前面人非常奇怪的提示。。
“http”未实现 URI 处理器
gsturidecodebin.c(912): gen_source_element (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0
不知道怎么办了。。
代码: 全选
Traceback (most recent call last):
File "/usr/lib/totem/plugins/PPliveonline/PPliveonline.py", line 233, in on_active
totem.action_set_mrl_and_play('http://127.0.0.1:1024/1.asf')
AttributeError: 'totem.Object' object has no attribute 'action_set_mrl_and_play'
换用add_to_playlist_and_play:
代码: 全选
Traceback (most recent call last):
File "/usr/lib/totem/plugins/PPliveonline/PPliveonline.py", line 233, in on_active
totem.add_to_playlist_and_play('http://127.0.0.1:1024/1.asf', '1.asf')
TypeError: Required argument 'add_to_recent' (pos 3) not found
“http”未实现 URI 处理器
gsturidecodebin.c(912): gen_source_element (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0
不知道怎么办了。。
-
- 帖子: 166
- 注册时间: 2006-08-22 23:10
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
我这里也是,视频播放比9.04时差多了,totem不知道少了什么解码器不能播放类似http://127.0.0.1:1024/1.asf的东西。jarryson 写了:我也遇到:我的totem是2.28,新版的totem也许没有这个东西了。。代码: 全选
Traceback (most recent call last): File "/usr/lib/totem/plugins/PPliveonline/PPliveonline.py", line 233, in on_active totem.action_set_mrl_and_play('http://127.0.0.1:1024/1.asf') AttributeError: 'totem.Object' object has no attribute 'action_set_mrl_and_play'
换用add_to_playlist_and_play:然后在最后添加一个False,可以了,但是出现前面人非常奇怪的提示。。代码: 全选
Traceback (most recent call last): File "/usr/lib/totem/plugins/PPliveonline/PPliveonline.py", line 233, in on_active totem.add_to_playlist_and_play('http://127.0.0.1:1024/1.asf', '1.asf') TypeError: Required argument 'add_to_recent' (pos 3) not found
“http”未实现 URI 处理器
gsturidecodebin.c(912): gen_source_element (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0
不知道怎么办了。。
pps mplayer播放也经常卡住,折腾半天下载来看也是一样卡住,但重启后又能播放,觉得可能是libpps(跟9.04时用一样的包)的问题导致数据不完整,所以播放错误。
-
- 帖子: 30
- 注册时间: 2008-09-04 21:32
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
怎么我删除了也装不了mickeywaley 写了:安装
xpplivegui_2009-10-27_i386.deb
出错
原来要先删除 totem-pplive-plugin_2009-09-18_i386.deb
- qq52073344
- 帖子: 169
- 注册时间: 2006-12-07 6:38
- 联系:
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
装上了,点击刷新,无法获取最新列表
我爱UBUNTU
http://www.52ubuntucom/
http://www.52ubuntucom/
- lucifer591
- 帖子: 347
- 注册时间: 2009-07-12 18:49
Re: PPlive totem 插件 已更新2009-09-07 增加单独窗口版(调用mplayer播放)
代码: 全选
╭━━灬╮╭━━∞╮ .(
┃⌒ ⌒┃┃⌒ ⌒┃ (の)
┃┃ ┃┃┃━ ━┃ ╱)
〇━━━〇〇━━━〇
-
- 帖子: 81
- 注册时间: 2008-11-13 18:45