memeco / osd-lyrics

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

0.4.0版搜索歌词问题 #224

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
请列出导致问题的操作
1.运行gmusicbrowser或者banshee
2.运行osd-lyrics
3.无法搜索到任何歌词(搜索引擎只有千千一个选择)。手动
搜索歌词的时候可以自动获取到歌曲名和歌手,就是点了搜��
�之后永远提示“囧,找不到歌词”。

What's the output in terminal (run with command `osd-lyrics -d debug')?
请给出在终端下运行的输出(使用“osd-lyrics -d
debug”来运行)
*Debug*: in function ol_player_exaile03_get: ol_player_exaile03.c[412]
ol_player_exaile03_get
*Debug*: in function ol_player_listen_get: ol_player_listen.c[360]
ol_player_listen_get
*Debug*: in function ol_player_gmusicbrowser_get: ol_player_gmusicbrowser.c[375]
ol_player_gmusicbrowser_get
*Debug*: in function ol_config_class_init: ol_config.c[152]
id of changed signal is: 146
*Debug*: in function ol_config_get_path: ol_config.c[363]
config path: /home/dian/.config/osdlyrics/osdlyrics.conf
*Debug*: in function ol_config_init: ol_config.c[100]
active-lrc-color
*Debug*: in function ol_config_init: ol_config.c[100]
inactive-lrc-color
*Debug*: in function ol_config_init: ol_config.c[100]
lrc-path
*Debug*: in function ol_config_init: ol_config.c[100]
lrc-filename
*Debug*: in function ol_config_get_string: ol_config.c[336]
[General]display-mode:OSD
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[240]
serif 30
*Debug*: in function ol_osd_window_set_bg: ol_osd_window.c[1874]
bg: 0x8223ec8
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]width
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]width:1024
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]osd-window-mode
*Debug*: in function ol_config_get_string: ol_config.c[336]
[OSD]osd-window-mode:dock
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]visible
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]visible:1
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_image_button_size_request: ol_image_button.c[67]
request: 22 x 22
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[919]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (457, 56) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (479, 56) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (501, 56) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (523, 56) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (545, 56) 22 x 22
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]locked
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[217]
  locked: 1
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]line-count
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]line-count:1
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]font-family
*Debug*: in function ol_config_get_string: ol_config.c[336]
[OSD]font-family:文泉驛微米黑
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[240]
文泉驛微米黑 30
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]font-size
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]font-size:30,000000
*Debug*: in function ol_osd_render_update_font: ol_osd_render.c[240]
文泉驛微米黑 30
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]x
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]y:1107
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]x:494
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]lrc-align-0
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]lrc-align-0:0,000000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1238]
ol_osd_window_set_line_alignment:0-0,000000
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]lrc-align-1
*Debug*: in function ol_config_get_double: ol_config.c[323]
[OSD]lrc-align-1:1,000000
*Debug*: in function ol_osd_window_set_line_alignment: ol_osd_window.c[1238]
ol_osd_window_set_line_alignment:1-1,000000
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]active-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[258]
len = 3
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]inactive-lrc-color
*Debug*: in function config_change_handler: ol_osd_module.c[272]
len = 3
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]translucent-on-mouse-over
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]translucent-on-mouse-over:0
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]outline-width
*Debug*: in function ol_config_get_int: ol_config.c[310]
[OSD]outline-width:0
*Debug*: in function ol_config_changed: ol_menu.c[154]
group:OSD  name:locked
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[205]
config_change_handler:[OSD]locked
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function config_change_handler: ol_osd_module.c[217]
  locked: 1
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]locked:1
*Debug*: in function ol_config_changed: ol_menu.c[154]
group:OSD  name:visible
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[OSD]visible:1
*Debug*: in function ol_config_changed: ol_menu.c[154]
group:General  name:display-mode
*Debug*: in function ol_config_get_string: ol_config.c[336]
[General]display-mode:OSD
*Debug*: in function ol_lrc_fetch_add_engine: ol_lrc_fetch.c[95]
engine:ttPlayer
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[919]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (457, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (479, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (501, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (523, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (545, 53) 22 x 22
*Debug*: in function ol_player_get_active_player: ol_player.c[128]
controller count:21
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
trying Amarok 2
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.kde.amarok': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
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[132]
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[132]
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[132]
trying Audacious
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.mpris.audacious': no such 
name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
trying Songbird
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.mpris.songbird': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
trying Clementine
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.mpris.clementine': no such 
name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
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[132]
trying guayadeque 0.2.5
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.mpris.guayadeque': no such 
name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
trying Deciber
*Debug*: in function ol_player_mpris_init_dbus: ol_player_mpris.c[255]
get proxy failed: Could not get owner of name 'org.mpris.dap': no such name
*Debug*: in function ol_player_get_active_player: ol_player.c[132]
trying Gmusicbrowser
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function _find_by_uri: ol_lrclib.c[133]
SELECT lrcpath FROM lyrics WHERE uri = '/media/music/Sing/周杰伦'
*Debug*: in function ol_lrclib_find: ol_lrclib.c[366]
found = 0
*Debug*: in function _find_by_info: ol_lrclib.c[177]
SELECT lrcpath FROM lyrics WHERE title = '青花瓷' AND artist = '周杰伦' 
AND album = '我很忙' AND uri is NULL
*Debug*: in function internal_for_each: ol_lyric_manage.c[47]
  uri: /media/music/Sing/周杰伦
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%p-%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/dian/.lyrics/周杰伦-青花瓷.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/dian/.lyrics/周杰伦-青花瓷.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%t-%p
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/dian/.lyrics/青花瓷-周杰伦.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/dian/.lyrics/青花瓷-周杰伦.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%f
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/dian/.lyrics/周杰伦.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/dian/.lyrics/周杰伦.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:~/.lyrics, name:%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /home/dian/.lyrics/青花瓷.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/home/dian/.lyrics/青花瓷.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%p-%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/music/Sing/周杰伦-青花瓷.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/music/Sing/周杰伦-青花瓷.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%t-%p
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/music/Sing/青花瓷-周杰伦.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/music/Sing/青花瓷-周杰伦.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%f
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/music/Sing/周杰伦.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/music/Sing/周杰伦.lrc
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[319]
  path:%, name:%t
*Debug*: in function ol_path_pattern_for_each: ol_path_pattern.c[326]
  /media/music/Sing/青花瓷.lrc
*Debug*: in function internal_check_lyric_file: ol_lyric_manage.c[62]
  filename:/media/music/Sing/青花瓷.lrc
*Debug*: in function _check_lyric_file: ol_main.c[232]
filename;(null)
*Debug*: in function ol_config_get_string: ol_config.c[336]
[Download]download-engine:ttPlayer
*Debug*: in function ol_app_download_lyric: ol_main.c[171]
Download engine: ttPlayer
*Debug*: in function ol_lrc_fetch_get_engine: ol_lrc_fetch.c[79]
[0]:ttPlayer
*Debug*: in function ol_lrc_fetch_begin_search: ol_lrc_fetch_module.c[200]
  title: 青花瓷
  artist: 周杰伦
  album: 我很忙
*Debug*: in function ol_osd_module_set_message: ol_osd_module.c[560]
  message:正在搜索歌词
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:正在搜索歌词
*Debug*: in function _search: ol_lrc_fetch_ttplayer.c[186]
url: 
http://lrcct2.ttplayer.com/dll/lyricsvr.dll?sh?Artist=68547067264f&Title=5297b18
2f774&Flags=0
*Debug*: in function ol_config_get_string: ol_config.c[336]
[Download]proxy:no
*Error*: in function fetch_into_memory: ol_lrc_fetch_utils.c[329]
failed to perform: [Couldn't resolve host 'lrcct2.ttplayer.com']
*Debug*: in function _search: ol_lrc_fetch_ttplayer.c[190]
Search lyrics failed
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_config_get_bool: ol_config.c[297]
[General]notify-music:0
*Debug*: in function internal_search_callback: ol_lrc_fetch_module.c[101]
returned data:
0
*Debug*: in function ol_osd_module_set_message: ol_osd_module.c[560]
  message:找不到匹配的歌词
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:找不到匹配的歌词
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)
*Debug*: in function ol_osd_window_update_child_allocation: ol_osd_window.c[919]
set child allocation
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (468, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (490, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (512, 53) 22 x 22
*Debug*: in function ol_image_button_size_allocate: ol_image_button.c[77]
allocation: (534, 53) 22 x 22
*Debug*: in function ol_osd_window_set_lyric: ol_osd_window.c[1209]
  lyric:(null)

What's the player and which version you are using?
您使用的播放器是什么?它的版本号是多少?
gmusicbrowser1.1.7

What's version of OSD Lyrics?
OSD Lyrics的版本是多少?
0.4.0

What's your Linux distro?
您使用哪种发行版?
ubuntu 11.04

Original issue reported on code.google.com by mathe...@gmail.com on 1 Jul 2011 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by tigerso...@gmail.com on 2 Jul 2011 at 5:47

GoogleCodeExporter commented 8 years ago
最近,ttplayer 关闭了搜索功能。4月19号的通知。

Original comment by amwyga...@163.com on 3 Jul 2011 at 3:50

GoogleCodeExporter commented 8 years ago
Fuck,中国的企业没有一点分享精神。

Original comment by lilijr...@gmail.com on 3 Jul 2011 at 12:55

GoogleCodeExporter commented 8 years ago
没有任何理由要求别人*必须*分享
另,ttplayer的搜索并没有关闭,只是域名改了,等0.4.1吧,或�
��下beta版玩

Original comment by tigerso...@gmail.com on 3 Jul 2011 at 12:59