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

Totem,mplayer,sopcast,realplayer,bmp
lqs
帖子: 22
注册时间: 2005-06-01 15:48

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

#1

帖子 lqs » 2008-04-21 11:07

用python重新写过了,可以本地缓存,设置字体,颜色等。
最好是在hardy中安装。

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

目前问题是CPU占用过高,可以删除/usr/share/lyriczilla/player中的多余文件来解决。
附件
lyriczilla_0.4-1_i386.deb
(19.57 KiB) 已下载 1543 次
上次由 lqs 在 2008-04-22 12:41,总共编辑 1 次。
头像
vincent_zh
帖子: 129
注册时间: 2008-04-05 10:56
来自: 学校

#2

帖子 vincent_zh » 2008-04-21 11:21

好像还是不能支持audacious 1.5版的,可否有解决办法
修己,安人
lqs
帖子: 22
注册时间: 2005-06-01 15:48

#3

帖子 lqs » 2008-04-21 11:40

vincent_zh 写了:好像还是不能支持audacious 1.5版的,可否有解决办法
hardy里面的audacious 1.5已经可以支持了。
头像
vincent_zh
帖子: 129
注册时间: 2008-04-05 10:56
来自: 学校

#4

帖子 vincent_zh » 2008-04-21 11:54

由于本人是菜鸟,可否讲述下安装步骤??
不胜感激
修己,安人
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#5

帖子 zhuqin_83 » 2008-04-21 11:55

源代码在那儿?
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zheng3116
帖子: 91
注册时间: 2008-03-16 1:24

#6

帖子 zheng3116 » 2008-04-21 12:00

还是不行啊,一用就连歌都没法放了,终端运行错误如下
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
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#7

帖子 zhuqin_83 » 2008-04-21 12:04

ls搞错了,你那个showlyric没有卸载,自然会错。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#8

帖子 zhuqin_83 » 2008-04-21 12:07

问下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
}
上次由 zhuqin_83 在 2008-04-21 12:22,总共编辑 2 次。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zheng3116
帖子: 91
注册时间: 2008-03-16 1:24

#9

帖子 zheng3116 » 2008-04-21 12:07

怎么卸啊,不会啊,
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#10

帖子 zhuqin_83 » 2008-04-21 12:18

他。。。只写了安装脚本就没写卸载的。。。所以,你只要照那个install文件逆向操作即可。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#11

帖子 zhuqin_83 » 2008-04-21 12:28

来秀个图 8)
附件
Screenshot.png
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
zheng3116
帖子: 91
注册时间: 2008-03-16 1:24

#12

帖子 zheng3116 » 2008-04-21 14:20

我不太会命令,可以帮我改下不啊,。。。。
#!/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"
头像
zheng3116
帖子: 91
注册时间: 2008-03-16 1:24

#13

帖子 zheng3116 » 2008-04-21 16:29

弄好了,但是用起来不方便,呵呵,歌词有时候会错,
头像
wc_111191
帖子: 471
注册时间: 2008-02-02 23:05
来自: 天津

#14

帖子 wc_111191 » 2008-04-21 19:10

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
头像
wc_111191
帖子: 471
注册时间: 2008-02-02 23:05
来自: 天津

#15

帖子 wc_111191 » 2008-04-21 21:43

zhuqin_83 写了:源代码在那儿?
这本身是解释方式运行的(Python代码)..
回复