百言 发表于 2013-8-16 17:20:43

~\(≧▽≦)/~看起来不错的样子

52160780 发表于 2013-8-16 15:27:38

这个不错,就是不知道支持酷狗不

wangjinlu199679 发表于 2013-8-15 22:08:02

用不了啊 亲代码如下 帮忙忙看看吧!2013版的酷我!

Author=无界 & 风飏
Update=200
MouseActionCursor=0
ContextTitle=重置歌词(&R)
ContextTitle2=查看歌词(&L)
ContextTitle3=打开播放器(&W)
ContextTitle4=更新歌词地址列表(&F)
ContextAction=[!CommandMeasure "Lua" "load_lrc()" "#Currentconfig#"]

[!Update]
ContextAction2=[!CommandMeasure "Lua" """SKIN:Bang('"'..url..'"')"""

"#Currentconfig#"]
ContextAction3=[!Commandmeasure "mPlayer"Openplayer]
ContextAction4=[!CommandMeasure "Lua" "makefilelist(1)"]

;OnRefreshAction=[!CommandMeasure "Lua" "load_lrc()"

"#Currentconfig#"]


Name=WLM
Config=
Description=迷你黑光播放器(TTPlayer含歌词)
Version=3.X.6
License=
Author=风飏


Update=200
;皮肤刷新率
PlayerName=WMP
;播放器类型
;AIMP写为: AIMP
;foobar2000写为:CAD
;iTunes写为:iTunes
;Winamp写为:winamp
;Windows Media Player写为:WMP
;千千静听/酷狗/QQ音乐/酷我/多米/AIRPLAY/写为:WLM
PlayerPath=G:\Program Files (x86)\kuwo\KWMUSIC2013\KwMusic.exe
;播放器运行地址(只有当NowPlaying无法正常打开播放器时才需要填写)

Lyric=""
Lyric1=""
Lyric2=""
status=0

;LUA___________________________________________

Measure=Script
Scriptfile=lrc.lua
UpdateDivider=1
filename=%A %T;%A - %T;%A-%T;%T - %A;%T-%A;%T;***
;歌词文件名格式(%A 艺术家,%T 标题;*** 最大模糊匹配;英文分号结束)
filepath=F:\影音\W.我的音乐;
;歌词文件地址(英文分号结束)
;(最大模糊匹配将检索子目录)
monitortrackchange=0
;让lua监测歌曲切换(0,否;1,是)
;(只有当NowPlaying检测不到歌曲切换时才需要打开)
makefilelist=0
;皮肤每次加载时更新歌词文件地址列表


;----------------------------TIP
;主歌词输出#Lyric#
;第一语言歌词输出#Lyric1#
;第二语言歌词输出#Lyric2#
;状态输出#status#:0,未匹配到歌词文件;1,正常匹配到歌词;2,匹配到双

语歌词

;输入播放器类型#PlayerName#       
;        --
;输入艺术家、标题、媒体文件地址、、       
;        --若为空值,则歌词不会被加载。
;输入播放进度,检测播放长度
;        --若检测不到,则lua将自行计算播放进度

;函数makefilelist(1)        --更新歌词文件列表(重建FileList.tmp)
;函数load_lrc()                --重新加载歌词
;函数trackchange()        --执行发生歌曲切换时相应的动作
;函数mposition('+1')/('-1')                --播放进度+1/-1秒。用于调整歌词

进度。
;;函数p()                        --暂停/继续播放进度的计算和歌词的滚动。(

只当WLM时才有效)
;;函数plyer_type_change('WLM')/('WMP')        --播放器类型改变为WLM/WMP,

并刷新当前皮肤。

;语句SKIN:Bang('"'..url..'"')        --打开歌词文件(注意因为包含英文双引号,

所以在Bang中书写需要用”“”包围)
;语句pause = ‘p’                --暂停播放进度的计算和歌词的滚动
;语句pause = nil                --继续播放进度的计算和歌词的滚动

;绘图_________________________________________

Meter=Image
X=0
Y=0
ImageName=Images\bg24.png
ImageCrop=0,0,300,115
MouseScrollUpAction=[!CommandMeasure "mPlayer" "Setposition +5"]
MouseScrollDownAction=[!CommandMeasure "mPlayer" "Setposition -5"]


Meter=Image
X=257
Y=37
W=25
H=52
SolidColor=200,200,200,1
LeftMouseUpAction=[!SetVariable status ((#status#+1)%3)]
MouseScrollUpAction=[!SetVariable status ((#status#+1)%3)]
MouseScrollDownAction=[!SetVariable status ((#status#+2)%3)]
DynamicVariables=1
MouseActionCursor=1

;WMP_Infor_________________________________________

Meter=STRING
MeterStyle=Title_#status#
X=55
Y=45
W=200
SolidColor=0,0,0,1
FontSize=10
StringStyle=BOLD
StringAlign=Left
FontColor=0,128,192
FontFace=微软雅黑
AntiAlias=1
ClipString=1
X=300
Y=25
Hidden=0
DynamicVariables=1
LeftMouseUpAction=[!CommandMeasure "Lua" "load_lrc()"

"#Currentconfig#"][!Update]
MouseOverAction=[!SetOption #CurrentSection# FontColor 250,250,250]
MouseLeaveAction=[!SetOption #CurrentSection# FontColor 0,128,192]
MouseScrollUpAction=[!CommandMeasure "Lua" "mposition('+1')"][!

Update]
MouseScrollDownAction=[!CommandMeasure "Lua" "mposition('-1')"][!

Update]



Meter=STRING
MeterStyle=Artist_#status#
Y=67
H=15
W=200
SolidColor=0,0,0,1
FontFace=微软雅黑
FontSize=9
FontColor=127,127,127,255
ClipString=1
AntiAlias=1
StringAlign=Left

DynamicVariables=1

;METER_STYLE__________________________________________

Text=
H=17

H=39
Text=#Lyric1#


H=17
Text=#Lyric1#


Text=
X=55
Y=67

Hidden=1

Text=#Lyric2#
X=50

;WMP_CONTROL_________________________________________


Meter=IMAGE
X=165
Y=75
W=90
H=20
Hidden=0
SolidColor=255,255,255,1
MouseOverAction=[!ShowMeterGroup BUTTON1][!Update]
MouseLeaveAction=[!HideMeterGroup BUTTON1][!Update]


Meter=BUTTON
ButtonImage=Images\Prev_a.png
X=195
Y=80
ToolTipType=0
Group=BUTTON1
Hidden=1
LeftMouseDownAction= [!PluginBang "mPlayer Previous"]


Meter=BUTTON
ButtonImage=Images\.png
X=215
Y=80
ToolTipType=0
DynamicVariables=1
Group=BUTTON1
Hidden=1
LeftMouseDownAction= [!PluginBang "mPlayer PlayPause"][!

CommandMeasure "Lua" "p()"]
Hidden=0
DynamicVariables=1



Meter=BUTTON
ButtonImage=Images\next_a.png
X=235
Y=80
ToolTipType=0
Group=BUTTON1
Hidden=1
LeftMouseDownAction= [!PluginBang "mPlayer Next"]


;WMP_MEASURES_________________________________________


Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=#PlayerName#
PlayerType=TITLE
PlayerPath=#PlayerPath#
DisableLeadingZero=0
Substitute="":"N\A"
TrackChangeAction=[!CommandMeasure "Lua" "trackchange()"

"#Currentconfig#"]


Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=ARTIST
Substitute=" (酷我音乐盒)":"","":"N\A"


Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=POSITION


Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=PROGRESS

Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=DURATION


Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=STATE
IfAboveValue=1
IfAboveAction=[!CommandMeasure "Lua" "pause = 'p'"]
IfEqualValue=1
IfEqualAction=[!CommandMeasure "Lua" "pause = nil"]
;"0":"终止","1":"播放","2":"暂停"

Measure=Calc
Formula=mState
Substitute='2':"4" ,'0':"4" ,'1':";" ,'4':"4"

; 歌词文件地址

Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=
PlayerType=File
DynamicVariables=1

;自动检测WLM与WMP的切换

Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=WMP
PlayerType=Status

Measure=Plugin
Plugin=NowPlaying.dll
PlayerName=WLM
PlayerType=State

Measure=Calc
Formula= -
DynamicVariables=1
IfAboveValue=0
IfBelowValue=0
IfAboveAction=[!CommandMeasure "Lua" "plyer_type_change('WMP')"]
IfBelowAction=[!CommandMeasure "Lua" "plyer_type_change('WLM')"]

hxiaoyin 发表于 2013-8-15 16:38:08

好厉害啊 是经过很多修改的吧

我妻泡椒 发表于 2013-8-14 16:04:20

好漂亮。。。

qq422026592 发表于 2013-8-13 18:26:29

支持千千、酷我、WMP等一串英文播放器

suixin812 发表于 2013-8-12 19:55:11

pc兄 发表于 2013-8-12 16:51
好吧= = 难过啊

怎么了?

pc兄 发表于 2013-8-12 16:51:21

pc兄 发表于 2013-4-14 22:22
技术好东西 收下



好吧= = 难过啊

tianshi930315 发表于 2013-8-12 13:28:31

谢谢楼主啦

孤独de上网 发表于 2013-8-12 12:34:27

看一看我要看一看~~
页: 18 19 20 21 22 23 24 25 26 27 [28] 29 30 31 32 33 34 35 36 37
查看完整版本: 支持千千、酷我的带歌词播放器皮肤——3.x.r3