分页: 1 / 4

LyricZilla 歌词显示(支持amarok,audacious,banshee,listen,quodlibet)

发表于 : 2008-04-21 11:07
lqs
用python重新写过了,可以本地缓存,设置字体,颜色等。
最好是在hardy中安装。

安装好后在运行里输入 lyriczilla 即可。

目前问题是CPU占用过高,可以删除/usr/share/lyriczilla/player中的多余文件来解决。

发表于 : 2008-04-21 11:21
vincent_zh
好像还是不能支持audacious 1.5版的,可否有解决办法

发表于 : 2008-04-21 11:40
lqs
vincent_zh 写了:好像还是不能支持audacious 1.5版的,可否有解决办法
hardy里面的audacious 1.5已经可以支持了。

发表于 : 2008-04-21 11:54
vincent_zh
由于本人是菜鸟,可否讲述下安装步骤??
不胜感激

发表于 : 2008-04-21 11:55
zhuqin_83
源代码在那儿?

发表于 : 2008-04-21 12:00
zheng3116
还是不行啊,一用就连歌都没法放了,终端运行错误如下
udb@udb-desktop:~$ audacious
/home/udb/.themes/LiNsta3/gtk-2.0/menubar-custom.rc:22: 无法在像素图路径中找到图像文件:“Menu-Menubar/menubar-black.svg”
/home/udb/.themes/LiNsta3/gtk-2.0/menubar-custom.rc:25: Background image options specified without filename
/home/udb/.themes/LiNsta3/gtk-2.0/menubar-custom.rc:31: 无法在像素图路径中找到图像文件:“Menu-Menubar/menubar-black.svg”
/home/udb/.themes/LiNsta3/gtk-2.0/menubar-custom.rc:34: Background image options specified without filename
ShowLyric: lyric_init
ShowLyric: theApp:Init
ShowLyric: Lyric_LoadConfigs

(audacious:8216): libglade-WARNING **: could not find glade file './ShowLyricUI.glade'

(audacious:8216): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_signal_connect_full: assertion `self != NULL' failed

(audacious:8216): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
ShowLyric: lyric_playback_begin
ShowLyric: Lyric_GetSongInfo

ShowLyric: The playlist length is 192!(Audacious.c:97)

ShowLyric: The playlist pos is 171!(Audacious.c:103)

ShowLyric: szFileName: 星光 - S.H.E - 星光.mp3 (3:54)
ShowLyric: szTitle: 星光
ShowLyric: szArtist: S.H.E

(audacious:8216): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
ShowLyric: LoadLyric(星光, S.H.E)
ShowLyric: 正在搜索歌词......

段错误
udb@udb-desktop:~$ SearchLyric:180

发表于 : 2008-04-21 12:04
zhuqin_83
ls搞错了,你那个showlyric没有卸载,自然会错。

发表于 : 2008-04-21 12:07
zhuqin_83
问下lz,是原来的那个google主页么?只有svn的。试过了,确实挺好。
顺便做了一个arch的pkgbuild。

代码: 全选

# Contributor: zhuqin <zhuqin83@gmail.com>

pkgname=lyriczilla-svn
pkgver=88
pkgrel=1
pkgdesc="A lyric plugin for amarok, audacious, banshee, listen, quodlibet, rhythmbox"
arch=(i686 x86_64)
license=('GPL2')
optdepends=('amarok' 'audacious' 'banshee' 'listen' 'quodlibet' 'rhythmbox')
makedepends=('subversion')
url="http://code.google.com/p/lyriczilla/"
source=()
md5sums=()

_svntrunk=http://lyriczilla.googlecode.com/svn/trunk/
_svnmod=lyriczilla

build() {
    cd $startdir/src
    
    msg "Updating SVN entries for $_svnmod ..."
    
    if [ -d $_svnmod/.svn ]; then
      (cd $_svnmod && svn up -r $pkgver)
    else
      svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
    fi
    
    cp -r $_svnmod $_svnmod-build
    
    cd $_svnmod-build
    
    msg "Finished update, starting build ..."
    
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install || return 1
    
    rm -rf $startdir/src/$_svnmod-build
}

发表于 : 2008-04-21 12:07
zheng3116
怎么卸啊,不会啊,

发表于 : 2008-04-21 12:18
zhuqin_83
他。。。只写了安装脚本就没写卸载的。。。所以,你只要照那个install文件逆向操作即可。

发表于 : 2008-04-21 12:28
zhuqin_83
来秀个图 8)

发表于 : 2008-04-21 14:20
zheng3116
我不太会命令,可以帮我改下不啊,。。。。
#!/bin/sh

#make

cd DownLoadLyric
mkdir -p /usr/share/ShowLyric/
cp TTDownLoadLyric.py /usr/share/ShowLyric/
cp ttplayer /usr/share/ShowLyric/
cd ..

cp SelLyricDlg.glade /usr/share/ShowLyric
cp ShowLyricUI.glade /usr/share/ShowLyric

# 分析路径
if [ -d "/usr/local/lib/audacious/General/" ]
then
cp au_ShowLyric.so /usr/local/lib/audacious/General/
echo "文件au_ShowLyric.so被安装到/usr/local/lib/audacious/General/"
fi

if [ -d "/usr/lib/audacious/General/" ]
then
cp au_ShowLyric.so /usr/lib/audacious/General/
echo "文件au_ShowLyric.so被安装到/usr/lib/audacious/General/"
fi


echo "安装完成!有问题请发email到qimingos_lsk@163.com"

发表于 : 2008-04-21 16:29
zheng3116
弄好了,但是用起来不方便,呵呵,歌词有时候会错,

发表于 : 2008-04-21 19:10
wc_111191
Amarok 报如下错误。。。

代码: 全选

prefs init lyriczilla
diff!!
get_lyric_list True /media/sda1/songs/xyxy.mp3 星语心愿 张柏芝
l = None
Traceback (most recent call last):
  File "/usr/bin/lyriczilla", line 411, in on_timer
    lyricview.set_current_time(last_info['time'] + (time.time() - last_clock) * 1000)
TypeError: cannot concatenate 'str' and 'float' objects
clear

发表于 : 2008-04-21 21:43
wc_111191
zhuqin_83 写了:源代码在那儿?
这本身是解释方式运行的(Python代码)..