memeco / osd-lyrics

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

failed to expand path pattern ``%'' when uri is only a path #185

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
请列出导致问题的操作
moc, 给出信息:无法创建歌词目录
同样歌曲,osd-lyrics同样设置,audacious2正常

What's the output in terminal (run with command `osd-lyrics -d debug')?
请给出在终端下运行的输出(使用“osd-lyrics -d
debug”来运行)
此处给出我认为最相关的:(完整的请见附件)
ol_lyric_manage.c[27]:  uri: /media/musVid/musicVideo/music/songs/Eason/Life 
Continues/最佳损友-陈奕迅-Solidays 新曲+精选.mp3
ol_path_pattern.c[291]:ol_path_pattern_for_each
ol_path_pattern.c[303]:  path:%, name:%f
ol_osd_module.c[360]:ol_osd_module_set_message
ol_osd_module.c[366]:  message:无法创建歌词目录
ol_osd_window.c[1093]:ol_osd_window_set_lyric
ol_osd_window.c[1094]:  lyric:无法创建歌词目录
ol_osd_window.c[1093]:ol_osd_window_set_lyric
ol_osd_window.c[1094]:  lyric:(null)
init1
prev:197000, time:198000
ol_osd_module.c[400]:hide_message
ol_osd_window.c[1093]:ol_osd_window_set_lyric
ol_osd_window.c[1094]:  lyric:(null)
ol_osd_window.c[627]:ol_osd_window_unmap
ol_osd_window.c[630]:  hiding windows
ol_osd_window.c[639]: remove timer
ol_osd_window.c[645]:  unmap done
ol_menu.c[313]:ol_menu_get_popup
ol_menu.c[106]:ol_config_changed
ol_menu.c[107]:  name:locked

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

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

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

其他:
歌词目录的设置为:
ol_path_pattern.c[303]:  path:%, name:%f

Original issue reported on code.google.com by kyle.j....@gmail.com on 15 Apr 2011 at 2:29

Attachments:

GoogleCodeExporter commented 8 years ago
在最新的release(0.3.20100604)上测试,此问题依然存在

Original comment by kyle.j....@gmail.com on 15 Apr 2011 at 4:08

GoogleCodeExporter commented 8 years ago
能否给出audacious2下的URI信息?
类似这一条:
ol_lyric_manage.c[27]:  uri: /media/musVid/musicVideo/music/songs/Eason/Life 
Continues/最佳损友-陈奕迅-Solidays 新曲+精选.mp3

怀疑是对NTFS这种不区分大小写的文件系统支持不好

Original comment by tigerso...@gmail.com on 5 May 2011 at 6:52

GoogleCodeExporter commented 8 years ago
可能的。
在audacious2中debug输出有下面两行:(直接从vim中copy过来的,�
��略[1m*等字符,我google了半天没找到怎么让vim不显示这些
字符,若你知道也告诉我:)
SELECT lrcpath FROM lyrics WHERE uri = 
'file:///media/musVid/musicVideo/music/songs/Eason/Life%20Continues/%E6%9C%80%E4
%BD%B3%E6%8D%9F%E5%8F%8B-%E9%99%88%E5%A5%95%E8%BF%85-Solidays%20%E6%96%B0%E6%9B%
B2+%E7%B2%BE%E9%80%89.mp3'
*Debug*: in function _find_by_uri: ol_lrclib.c[138]
Path is: /media/musVid/musicVideo/music/songs/Eason/Life 
Continues/最佳损友-陈奕迅-Solidays 新曲+精选.lrc
而moc中,则是:
SELECT lrcpath FROM lyrics WHERE uri = 
'/media/musVid/musicVideo/music/songs/Eason/Life 
Continues/最佳损友-陈奕迅-Solidays 新曲+精选.mp3'
下面一行没有

附件为日志,用vimdiff 查看可以方便找到上面所描述的。
另外,上面是用最新的release(0.3.20100604)的log

hope this would be help:)

Original comment by kyle.j....@gmail.com on 5 May 2011 at 1:40

Attachments:

GoogleCodeExporter commented 8 years ago
问题找到了,与NTFS无关,是对moc的路径形式处理得不好

Original comment by tigerso...@gmail.com on 5 May 2011 at 2:41

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
great!:)
glad to be helpful in improving osd-lyrics~

Original comment by kyle.j....@gmail.com on 5 May 2011 at 3:05

GoogleCodeExporter commented 8 years ago
fixed
Thank you for this issue :)

Original comment by tigerso...@gmail.com on 5 May 2011 at 3:08