OSD Lyrics 添加 Songbird 支持
OSD Lyrics开始支持MPD了

OSD Lyrics 近况

Tiger Soldier posted @ 2009年12月04日 22:25 in osd-lyrics with tags osd-lyrics , 6186 阅读

好久没更新blog了,不过OSD Lyrics的改进一直没停下来。

自上一篇blog之后,OSD Lyrics又有了以下改进:

  • 多线程下载,解决下载时无响应的问题(不过目前的实现有个bug,虽然一般不会触发)
  • 有多个歌词匹配时,弹出歌词选择界面让用户自行选择
  • 重新下载已有的歌词
  • 下载歌词时用OSD显示下载信息
  • 可以定义歌词存放的位置和歌词文件名,音乐文件所在目录,以音乐文件名来命名
  • 其他的一些改进和bugfix

接下来要做的有:

  • 命令行选项支持
  • 手动关联歌曲与歌词

另外还有一个好消息和一个坏消息

好消息是,liangsuilong同学为OSD Lyrics提供了rpm源,现在用fedora的同学也可以直接从源里更新OSD Lyrics了:)

坏消息是,我从11月开始就连不上launch PPA的FTP了,也就是说,ubuntu的源无法更新了:(。暂时不知道是不是墙的问题,现在也没什么时间弄。

要期末了,估计进度又要慢下来了

 

 

eagle 说:
Dec 05, 2009 06:10:47 PM

能否加mpd、mocp的支持?

dzy 说:
Dec 10, 2009 03:00:07 AM

你好, 在gentoo 64位 系统下安装出错,其实上个星期刚装gentoo时是可以用的,后来删除了,系统有一些更新,加了一些软件,现在再装就不行了,提示如下

x86_64-pc-linux-gnu-gcc -march=amdfam10 -O2 -pipe -msse3 -msse4a -m3dnow -mmmx -fomit-frame-pointer -L../src/ -Wl,-O1 -o osd-lyrics ol_main.o ol_config.o ol_glade.o ol_about.o ol_option.o ol_osd_window.o ol_osd_render.o ol_osd_module.o ol_player.o ol_player_banshee.o ol_player_exaile02.o ol_player_exaile03.o ol_player_amarok1.o ol_player_amarok2.o ol_player_mpris.o ol_player_audacious.o ol_player_songbird.o ol_player_xmms2.o ol_player_rhythmbox.o ol_elapse_emulator.o ol_utils.o ol_utils_dbus.o ol_utils_dcop.o ol_lrc_parser.o ol_lrc_utility.o ol_trayicon.o ol_menu.o ol_lrc_fetch.o ol_lrc_fetch_module.o ol_lrc_fetch_ui.o ol_lrc_fetch_sogou.o ol_lrc_fetch_qianqian.o ol_lrc_fetch_utils.o ol_music_info.o ol_color.o ol_eggaccelerators.o ol_keybinder.o ol_keybindings.o ol_commands.o ol_path_manage.o ol_cell_renderer_button.o ol_marshal.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lcurl -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 ol_option.o: In function `ol_option_show':

ol_option.c:(.text+0x10c9): undefined reference to `gtk_file_chooser_set_create_folders'

collect2: ld returned 1 exit status make[3]: *** [osd-lyrics] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-plugins/osd-lyrics-9999/work/osd-lyrics-9999/src'

make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-plugins/osd-lyrics-9999/work/osd-lyrics-9999/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-plugins/osd-lyrics-9999/work/osd-lyrics-9999'

make: *** [all] Error 2 * * ERROR: media-plugins/osd-lyrics-9999 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3078: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed

 

Head_small
Tiger Soldier 说:
Dec 10, 2009 05:14:09 AM

@dzy: 估计是因为你的GTK版本太旧了,把GTK升级到2.18以上版本试试?

dzy 说:
Dec 11, 2009 08:07:31 PM

多谢提醒,我升级到2.18(以前被mask了),然后装上了。但是运行仍然出错。 没有运行任何音乐播放器时,无法成功运行就退出了 有播放器时,可以运行,图标出来了,但是点它没反应,也没有歌词出来。 出错信息里有一句:找不到dcop,也许问题就是它吗?这是什么软件包里提供的?我的系统一直是在添加和升级软件,没有删除什么,为什么以前可用,现在倒不行了呢?麻烦你分析下,我挺喜欢这个软件的,简单实用,一个软件就解决了歌词问题。谢谢!

main
ol_player_amarok1_get_controller
ol_dcop_get_boolean
sh: dcop: command not found
ol_player_amarok2_get_controller
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f04e0
get proxy failed: Could not get owner of name 'org.kde.amarok': no such name
ol_player_banshee_get_controller
ol_player_banshee_init_dbus
get proxy failed: Could not get owner of name 'org.bansheeproject.Banshee': no such name
ol_player_exaile02_get_controller
ol_player_exaile02_get_activated
ol_player_exaile02_init_dbus
get proxy failed: Could not get owner of name 'org.exaile.DBusInterface': no such name
ol_player_exaile03_get_controller
ol_player_exaile03_get_activated
ol_player_exaile03_init_dbus
get proxy failed: Could not get owner of name 'org.exaile.Exaile': no such name
ol_player_audacious_get_controller
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f4110
get proxy failed: Could not get owner of name 'org.mpris.audacious': no such name
ol_player_songbird_get_controller
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f41f0
get proxy failed: Could not get owner of name 'org.mpris.songbird': no such name
ol_player_xmms2_get_controller
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f42d0
get proxy failed: Could not get owner of name 'org.mpris.xmms2': no such name
ol_player_rhythmbox_get_controller
ol_player_rhythmbox_init_dbus
get proxy failed: Could not get owner of name 'org.gnome.Rhythmbox': no such name
ol_osd_module_new
new
class init
init
serif 30
id of changed signal is: 144
config path: /home/gentoo/.config/osd-lyrics/osd-lyrics.conf
active-lrc-color
name:active-lrc-color len:3
inactive-lrc-color
name:inactive-lrc-color len:3
lrc-path
name:lrc-path len:2
lrc-filename
name:lrc-filename len:4
config_change_handler:[OSD]visible
[General]visible:1
config_change_handler:[OSD]locked
[OSD]locked:1
  locked: 1
[OSD]locked:1
config_change_handler:[OSD]line-count
[OSD]line-count:1
ol_osd_window_realize
ensure
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.500000
ol_osd_window_size_allocate
(448, 518) - 1024 x 43
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.500000
config_change_handler:[OSD]xalign
[OSD]xalign:0.500000
[OSD]yalign:0.850000
ol_osd_window_set_alignment
  xalign 0.500000
  yalign 0.850000
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.850000
ol_osd_window_size_allocate
(448, 881) - 1024 x 43
config_change_handler:[OSD]font-family
[OSD]font-family:serif
serif 30
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.850000
config_change_handler:[OSD]font-size
[OSD]font-size:30.000000
serif 30
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.850000
config_change_handler:[OSD]width
[OSD]width:1024
ol_osd_window_compute_position
  xalign: 0.500000, yalign: 0.850000
config_change_handler:[OSD]lrc-align-0
[OSD]lrc-align-0:0.000000
ol_osd_window_set_line_alignment:0-0.000000
config_change_handler:[OSD]lrc-align-1
[OSD]lrc-align-1:1.000000
ol_osd_window_set_line_alignment:1-1.000000
config_change_handler:[OSD]active-lrc-color
len = 3
config_change_handler:[OSD]inactive-lrc-color

** (osd-lyrics:11070): CRITICAL **: ol_config_get_str_list: assertion `config != NULL' failed
len = 3
config_change_handler:[OSD]translucent-on-mouse-over

** (osd-lyrics:11070): CRITICAL **: ol_config_get_bool: assertion `config != NULL' failed

(osd-lyrics:11070): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(osd-lyrics:11070): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
ol_lrc_fetch_add_engine:Sogou
ol_lrc_fetch_add_engine:Qianqian
ol_lrc_fetch_search_func
ol_player_get_active_player
controller count:9
trying player 0
ol_dcop_get_boolean
sh: dcop: command not found
trying player 1
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f04e0
get proxy failed: Could not get owner of name 'org.kde.amarok': no such name
trying player 2
ol_player_banshee_init_dbus
get proxy failed: Could not get owner of name 'org.bansheeproject.Banshee': no such name
trying player 3
ol_player_exaile02_get_activated
ol_player_exaile02_init_dbus
get proxy failed: Could not get owner of name 'org.exaile.DBusInterface': no such name
trying player 4
ol_player_exaile03_get_activated
ol_player_exaile03_init_dbus
get proxy failed: Could not get owner of name 'org.exaile.Exaile': no such name
trying player 5
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f4110
get proxy failed: Could not get owner of name 'org.mpris.audacious': no such name
trying player 6
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f41f0
get proxy failed: Could not get owner of name 'org.mpris.songbird': no such name
trying player 7
ol_player_mpris_get_activated
ol_player_mpris_init_dbus:7f42d0
get proxy failed: Could not get owner of name 'org.mpris.xmms2': no such name
trying player 8
ol_player_rhythmbox_init_dbus
get proxy failed: Could not get owner of name 'org.gnome.Rhythmbox': no such name
No supported player is running, exit.
ol_osd_module_destroy
unrealize
ol_osd_window_destroy

 

Head_small
Tiger Soldier 说:
Dec 12, 2009 03:36:33 AM

你用的是什么播放器?
使用上有问题的话,最好到https://groups.google.com/group/osd-lyrics上提问,毕竟这里贴太多东西不方便,而且回复了也没有提醒

dzy 说:
Dec 12, 2009 05:28:35 AM

我用的rhythmbox 0.11.6,刚才去要去你说的地址发贴前,不抱近期可用的希望了,于是将gtk又降级到了2.16,然后发现一些软件有更新,就升级了下,再重编译了osd-lyrics,现在发现可以用了,呵呵。什么原因真没想明白,那个dcop到底是什么?前面那些代码好乱,影响美观,删了它们吧。多谢回复。

Head_small
Tiger Soldier 说:
Dec 12, 2009 08:22:43 AM

@dzy: docp是之前amarok1所使用的通信机制,一般来说没用了,我确定amarok1彻底死绝了就会把它给去掉的
能用就好:)

authur 说:
Dec 21, 2010 04:42:02 AM

软件还真是比较强大 大人考虑改动一下首选项界面吧 或者 增加一些歌词显示效果吧 播放器的支持已经很好了

继续支持OSD Lyrics 如果有可能还是希望能够微这个软件加入代码的

hfutsln 说:
Feb 21, 2011 05:17:48 AM

我在用的时候歌词显示老是一闪一闪的,用的是Fedora 14,从项目主页上下载的二进制文件,用Rhythmbox播放音乐,请问这个问题怎么解决呀


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter