memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

fail to get position from rhythmbox occasionally #276

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
重现步骤:
1. 在打开Rhythmbox(Rb)之前打开OSD。
2. 
Rb会自动启动。正常带歌词播放几分钟(最长测试过半小时)
后,停止并退出Rb。
3. OSD弹出提示要求选择播放器。(Expect: 
跟随播放器一起退出。因为0.46新功能是“1分钟以内退出”才
会要求选择。)
4. 
再次启动播放器并重复步骤2,OSD依然会弹出并提示“无法连�
��Rb”等等。

Debug信息:(因为滚动很快,只剩下不停重复以下这一段)
*Debug*: in function ol_player_get_active_player: ol_player.c[139]
controller count:16
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Banshee
*Debug*: in function ol_player_banshee_init_dbus: ol_player_banshee.c[192]
get proxy failed: Could not get owner of name 'org.bansheeproject.Banshee': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Exaile 0.2
*Debug*: in function ol_player_exaile02_init_dbus: ol_player_exaile02.c[246]
get proxy failed: Could not get owner of name 'org.exaile.DBusInterface': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Exaile 0.3
*Debug*: in function ol_player_exaile03_init_dbus: ol_player_exaile03.c[314]
get proxy failed: Could not get owner of name 'org.exaile.Exaile': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Listen Music Player
*Debug*: in function ol_player_listen_init_dbus: ol_player_listen.c[264]
get proxy failed: Could not get owner of name 'org.gnome.Listen': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Gmusicbrowser
*Debug*: in function ol_player_gmusicbrowser_init_dbus: 
ol_player_gmusicbrowser.c[279]
get proxy failed: Could not get owner of name 'org.gmusicbrowser': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying MPRIS
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Rhythmbox-legacy
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying MPRIS2
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying MOC
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying cmus
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Quod Libet
*Debug*: in function internal_ensure_dbus: ol_player_quodlibet.c[257]
get proxy failed: Could not get owner of name 'net.sacredchao.QuodLibet': no 
such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Juk
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying Muine
*Debug*: in function ol_dbus_connect: ol_utils_dbus.c[389]
get proxy failed: Could not get owner of name 'org.gnome.Muine': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying RhythmCat
*Debug*: in function ol_dbus_connect: ol_utils_dbus.c[389]
get proxy failed: Could not get owner of name 'org.supercat.RhythmCat': no such 
name
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying XMMS2
*Debug*: in function ol_player_xmms2_ensure_connection: ol_player_xmms2.c[279]
Ensure connection failed!
*Debug*: in function ol_player_get_active_player: ol_player.c[143]
trying MPD
Error in connection() 111 - 拒绝连接
*Debug*: in function ol_player_mpd_ensure_connection: ol_player_mpd.c[168]
  connect result: -10

播放器:
Rhythmbox 2.97
(包版本:2.96-0ubuntu4)

版本:
0.4.3-1~precise1
(来自官方PPA)

Linux发行版:
Ubuntu 12.04 (同时影响11.10)

Original issue reported on code.google.com by Du9L....@gmail.com on 21 Jul 2012 at 2:35

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in commit 23c24a3

这其实是Rhythmbox的问题,rb在切歌的时候会导致获取播放时间
失败,于是OSD 
Lyrics认为rb被断开了,然后又重连上,这时60秒计时又重新开�
��了。

Original comment by tigerso...@gmail.com on 29 Jul 2012 at 11:21