版主
精华
|
战斗力 鹅
|
回帖 0
注册时间 2002-7-17
|
<html>
<body>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.gif" /></a>本文采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.0/">Creative Commons license</a>.</center>
==========================================================
那天我在论坛</a>的<a href="http://www.stage1st.com/bbs/showthread.php?s=&threadid=142973">一个帖子</a>里,贴出了我的<a href="http://www.foobar2000.org">Foobar 2000</a>界面,然后很多人问我是如何设置成这样的效果的,趁今天有点时间,我便简单写个教程,不多说了,往下看。
在Foobar 2000中,可以选择默认的界面,在这个界面下就是最原始的Foobar 2000,它看起来就像一个简单的记事本,如图:
<img src="http://www.stage1st.com/bbs/upload/c69b53fc97d6138491b1aca24e0e45f7.jpg" alt="" />
嗯,我听到有人说寒酸了。的确,和之前我们使用最多的WinAMP和系统自带的Windows Media Player相比,Foobar 2000就像个灰姑娘。所以,就有人开发了一个简单但是实用的界面插件,最重要的是它很稳定,所以它已经作为官方插件随新版本的Foobar 2000一起可以选择安装了。这个插件就是<a href="http://music.morbo.org">Columns UI</a>。
如果有人是从早期的Foobar 2000一直使用过来的,应该还记得,默认界面的显示效果,是通过更改代码来进行更改的。虽然代码不算难,但是不是每个人都是代码专家,更多的人只能等待高手们贴出代码,然后粘贴到自己的Foobar 2000设置里,并且每一种风格你最好都自己用记事本或者其他的东西记下来,因为你想换另一位高手的风格的话,就要把之前的代码都清除掉。最痛苦的是,Playlist、Status这些的代码都是分别设置的,也就是说你要分别复制粘贴。很麻烦,不是吗?幸好,Columns UI给我们带来了新的视觉体验。它最开始实际上是Foobar 2000默认界面的功能扩展,同样的也是通过代码来更改显示的效果,不过它可以把界面文件导入/导出,这样就免去了上网站复制代码的烦恼了。终于可以和复制粘贴代码暂时说告别了~
随着版本的发展,Columns UI又增加了一个很棒的功能:增加Tab。然后,又是一轮的开发热潮,不段有新的Tab插件出现,有支持显示专辑封面的,有支持显示专辑信息的,也许将来还会有更棒的~
首先,你得先下载好插件,我已经打包好,你可以 <a href="http://www.stage1st.com/bbs/upload/0c88291b02635bcc5662ab93349a4afa.zip">点击这里直接下载</a> 然后释放到你的Foobar 2000安装目录下,比如:<em>C:\Program Files\foobar2000</em> ,另外如果启动的时候有出错窗口,那么大概是欠缺了一些DLL文件, <a href="http://www.stage1st.com/bbs/upload/e33c2806ff854fb89f255a7a30a66112.rar">点击这里下载</a> ,释放到 <em>你的系统安装盘\system32\</em> 目录下,比如 <em>C:\WINDOWS\system32</em>
然后,启动你的Foobar 2000,我们要给灰姑娘好好打扮一番。点击 <u>Foobar 2000</u> -> <u>Preferences / 参数设置</u>,进入设置窗口。然后在左边的列表选择 <u>Display / 显示</u> 选项,右方窗口会显示当前使用的显示设置,我们把它改成 <u>Columns UI</u> ,然后选择 <u>Save all / 全部保存</u> ,然后退出Foobar 2000,重新启动它。
<img src="http://www.stage1st.com/bbs/upload/2a313a10e6f52ea53031f770a4374c71.jpg" alt="" />
重新启动后,看起来还是一样?别心急,继续看下去,下面要对Columns UI进行设置~还是点击 <u>Foobar 2000</u> -> <u>Preferences / 参数设置</u>,进入设置窗口。然后在左边的列表选择 <u>Display / 显示</u> -> <u>Columns UI</u>,右边会出现Cloumns UI的设置选项,很多是吧,先不探讨这个,直接点最后一个标签 <u>other / 其他</u> ,这里中间有 <u>Import / 导入</u> 和 <u>Export / 导出</u> 两个按钮,左边还有两个选项,意思是问你导入和导出的时候要不要一并导入/导出相关的状态栏、系统栏设置,那么导入当然要一起导入这些设置了,给它勾上,然后点击 <u>Import / 导入</u> 。
<img src="http://www.stage1st.com/bbs/upload/6d9af6fe80546ef4c0ea428596d4c230.jpg" alt="" />
弹出了一个窗口,让你选择一个配置文件,选择 <em>你的Foobar 2000安装目录\resource\columns ui\fcs</em> ,然后选择一个配置文件,这里我选择 Sugar 这个配置,然后点击 <u>Apply / 关闭</u> ,回到Foobar 2000,看,已经成功了,多简单!
<img src="http://www.stage1st.com/bbs/upload/8d89c08b67e6b8c309eabada0d4069fa.jpg" alt="" />
当然,很多人在看了我的设置效果后,对这个是不会满足的,他们叫嚷着“我也要达到这样的效果”、“我要你的配置文件!”,好吧,那我们就接着往下看。
接下来我们要添加Tab,首先我们要进行一些的设置。还是点击 <u>Foobar 2000</u> -> <u>Preferences / 参数设置</u>,进入设置窗口。然后在左边的列表选择 <u>Display / 显示</u> -> <u>Columns UI</u>,右边直接点最后一个标签 <u>other / 其他</u> ,把 <u>List all toolbars / 列出所有工具栏</u> 勾上,会弹出一个警告窗口,选择 <u>Yes</u> 然后 <u>Apply / 关闭</u> 回到窗口。这时候你在界面上方和左方空白的地方点击鼠标右键的话,就会出现一个菜单,如图所示:
<img src="http://www.stage1st.com/bbs/upload/ffb4966c71193ddca42dadb8720d99b1.jpg" alt="" />
<u>Layout / 布局</u> 这里可以添加一个 Tabbed Panel Stack / 面板标签集,<u>Panel / 面板</u> 这里可以添加各种的Panel / 面板。Panel / 面板比较好理解,Tabbed Panel Stack / 面板标签集 是什么呢?你可以把它理解成一个框架,里面可以再添加Panel / 面板,那么为什么需要有 Tabbed Panel Stack / 面板标签集 ?这是因为,如果你在界面的上方添加Panel / 面板的话,很多Panel / 面板是不支持自定义高度的,它会显示成默认的一个长条,难看至极。而 Tabbed Panel Stack / 面板标签集 可以自定义高度,我们可以先在上方添加 Tabbed Panel Stack / 面板标签集,然后在这个 Tabbed Panel Stack / 面板标签集 里添加Panel / 面板,达到组织Panel / 面板的目的(左方的Tab则不需要通过这个方法来改变大小,因为左方的Tab是可以拖动改变大小的)。
那么先在上方添加一个 Tabbed Panel Stack / 面板标签集,它默认也是一个空白的长条,在它上面点右键,选择 <u>setting / 设置</u> ,在 minimum height / 最小高度 选项里设置最小高度,然后保存。然后回到窗口,在刚才添加的 Tabbed Panel Stack / 面板标签集 上再点右键,选择 <u>Add Tab / 添加标签</u>,然后添加相应的Panel / 面板或者其他东西。
<img src="http://www.stage1st.com/bbs/upload/4b324d763676f93c1f2a78efacb13eb4.jpg" alt="" />
<img src="http://www.stage1st.com/bbs/upload/2dde0e9ba29242d3db95a205f3e3947a.jpg" alt="" />
Tips:在 Tabbed Panel Stack / 面板标签集 里,你添加多个Panel / 面板的话,它不会增加相应的 Tabbed Panel Stack / 面板标签集 ,而会在当前的 Tabbed Panel Stack / 面板标签集 里增加Panel / 面板,如果你想要增加 Tabbed Panel Stack / 面板标签集 的话,需要在添加 Tabbed Panel Stack / 面板标签集 的时候按住Shift添加。
而在界面的左方,我选择了添加 Track Info / 专辑信息,用来显示歌曲的信息,默认情况下,这个歌曲信息很简单,那么我提供我现在使用的一个代码,你可以在 Track Info / 专辑信息 面板上按右键选择 <u>Setting / 设置</u> ,然后在代码窗口里把我提供的代码替换进去:
<blockquote>// Highly customizeable track information made by Lycox
// Credits:
// Peter Pawlowski for great fb2k
// Free - for great progressbar
// upNorth - for filesize string
// Looks quite good with Arial, 8pt bold
// ==============================================
// Global Config Part //
// Shows Song Info in track info panel
// 0 = No, 1 = Yes
$puts(show_songinfo,1)
// Show various informations in Song Info
// 0 = No, 1 = Yes
$puts(title,1)
$puts(artist,1)
$puts(mixartist,1)
$puts(band,1)
$puts(album,1)
$puts(tracknumber,1)
$puts(genre,1)
$puts(bpm,1)
$puts(date,1)
$puts(copyright,1)
// Shows Additional Info in track info panel
// 0 = No, 1 = Yes
$puts(show_additionalinfo,1)
// Show various informations in Additional Info
// 0 = No, 1 = Yes
$puts(comment,1)
$puts(wwwartist,1)
$puts(publisher,1)
$puts(language,1)
$puts(composer,1)
$puts(lyricist,1)
$puts(conductor,1)
$puts(recordingdates,1)
$puts(fileowner,1)
// Shows Technical Info in track info panel
// 0 = No, 1 = Yes
$puts(show_techinfo,1)
// Show various informations in Tech Info
// 0 = No, 1 = Yes
$puts(codec,1)
$puts(bitrate,1)
$puts(samplerate,1)
$puts(channels,1)
$puts(time_elapsed_total,1)
$puts(trackgain,1)
$puts(albumgain,1)
$puts(rating,1)
$puts(play_counter,1)
$puts(play_date,1)
$puts(encodedby,1)
$puts(encodersettings,1)
$puts(filesize,1)
// hidden, because not really needed
$puts(filename_ext,0)
$puts(mediatype,0)
$puts(size,0)
$puts(songlen,0)
$puts(time,0)
// Shows Web Info in track info panel
// 0 = No, 1 = Yes
$puts(show_webinfo,1)
// Shows Web Related Infos in Web Info
// 0 = No, 1 = Yes
$puts(show_webrelated,1)
// Show various informations in Web Info
// 0 = No, 1 = Yes
$puts(wwwaudiofile,1)
$puts(wwwcopyright,1)
$puts(wwwcommercialinfo,1)
$puts(wwwpayment,1)
$puts(wwwpublisher,1)
$puts(wwwuser,1)
// Shows NetRadio Info in Web Info
// 0 = No, 1 = Yes
$puts(show_netradioinfo,1)
// Show various informations in NetRadio Info
// 0 = No, 1 = Yes
$puts(wwwradiopage,1)
$puts(netradioowner,1)
$puts(netradiostation,1)
// Shows Misc Info in track info panel
// 0 = No, 1 = Yes
$puts(show_miscinfo,1)
// Show various informations in Misc Info
// 0 = No, 1 = Yes
$puts(subtitle,1)
$puts(involvedpeople,1)
$puts(playlistdelay,0)
$puts(initialkey,0)
$puts(isrc,0)
$puts(partinset,0)
// Shows Original Info in track info panel
// 0 = No, 1 = Yes
$puts(show_originalinfo,1)
// Show various informations in Original Info
// 0 = No, 1 = Yes
$puts(origartist,1)
$puts(origyear,1)
$puts(origlyricist,1)
$puts(origfilename,1)
// Spacer
$puts(spacer,d6d6d6------------------------------------------------------------------------------------------$char(10))
// color codes
$puts(headline,256d3d)
$puts(info,ec9184)
$puts(text,000000)
$puts(grayed,c8c8c8)
// chars
$puts(rating_char,?)
$puts(progress_char,●)
// End Global Config//
==============================================
DCAE8DMode: %_trackinfo_mode%$char(10)$if(%_trackinfo_notrack%,No track,
// progressbar config
$puts(theme,1)
$puts(progress_length,18)
$if($strcmp($get(theme),1),
$puts(progress_color1,ff6d66)
$puts(progress_color2,ffe1df)
)
// PREPARE COLOR-STRINGS
// =========================================
$puts(progress_color1a,$blend($get(progress_color1),000000,1,4.5))
$puts(progress_color2a,$blend($get(progress_color2),000000,1,5.7))
// progressbar
$puts(progressbar,
$if(%_length_seconds%,
$puts(progress,$muldiv(%_time_elapsed_seconds%,$get(progress_length),%_length_seconds%))
$transition($repeat($get(progress_char),$get(progress)),$get(progress_color1a),$get(progress_color1))
$transition($repeat($get(progress_char),$sub($get(progress_length),$get(progress))),$get(progress_color2a),$get(progress_color2))
$pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)'%'
,streaming...
))
$get(progressbar))
$char(10)
// Song Info
$if($strcmp(1,$get(show_songinfo)),
$get(spacer)
$char(1)C$get(headline)Song Info$char(10)
$if($strcmp(1,$get(title)),$get(info)Title: $get(text)$if(%title%,%title%,$get(grayed)'['No Title']')$char(10))
$if($strcmp(1,$get(artist)),$get(info)Artist: $get(text)$if(%artist%,%artist%,$get(grayed)'['Unknown Artist']')$char(10))
$if($strcmp(1,$get(mixartist))
/$strcmp(1,$get(band))
,
$if($strcmp(1,$get(mixartist)),$if(%mixartist%,$get(info)MixArtist: $get(text)%mixartist%$char(10)))
$if($strcmp(1,$get(band)),$if(%band%,$get(info)Band: $get(text)%band%$char(10))))
$if($strcmp(1,$get(album)),$if(%album%,$get(info)Album: $get(text)%album%$char(10)))
$if($strcmp(1,$get(tracknumber)),$if(%tracknumber%,$get(info)Track: $get(text)%tracknumber%$char(10)))
$if($strcmp(1,$get(genre)),$if(%genre%,$get(info)Genre: $get(text)%genre%$char(10)))
$if($strcmp(1,$get(bpm)),$if(%bpm%,$get(info)bpm: $get(text)%bpm%$char(10)))
$if($strcmp(1,$get(date)),$if(%date%,$get(info)Date: $get(text)%date%$char(10)))
$if($strcmp(1,$get(copyright)),$if(%copyright%,$get(info)© $get(text)%copyright%$char(10)))
)
// End Song Info
// Additional Info
$if($strcmp(1,$get(show_additionalinfo)),
$if($if(%comment%,$and($strcmp(1,$get(comment))))
/$if(%wwwartist%,$and($strcmp(1,$get(wwwartist))))
/$if(%publisher%,$and($strcmp(1,$get(publisher))))
/$if(%language%,$and($strcmp(1,$get(language))))
/$if(%composer%,$and($strcmp(1,$get(composer))))
/$if(%lyricist%,$and($strcmp(1,$get(lyricist))))
/$if(%conductor%,$and($strcmp(1,$get(conductor))))
/$if(%recordingdates%,$and($strcmp(1,$get(recordingdates))))
/$if(%fileowner%,$and($strcmp(1,$get(fileowner))))
,$get(spacer)
$char(1)C$get(headline)Additional Info$char(10)
$if($strcmp(1,$get(comment)),$if(%comment%,$get(info)Comment: $get(text)%comment%$char(10)))
$if($strcmp(1,$get(wwwartist)),$if(%wwwartist%,$get(info)Web: $get(text)%wwwartist%$char(10)))
$if($strcmp(1,$get(publisher)),$if(%publisher%,$get(info)Publisher: $get(text)%publisher%$char(10)))
$if($strcmp(1,$get(language)),$if(%language%,$get(info)Language: $get(text)%language%$char(10)))
$if($strcmp(1,$get(composer)),$if(%composer%,$get(info)Composer: $get(text)%composer%$char(10)))
$if($strcmp(1,$get(lyricist)),$if(%lyricist%,$get(info)Lyricist: $get(text)%lyricist%$char(10)))
$if($strcmp(1,$get(conductor)),$if(%conductor%,$get(info)Conductor: $get(text)%conductor%$char(10)))
$if($strcmp(1,$get(contentgroup)),$if(%contentgroup%,$get(info)Group: $get(text)%contentgroup%$char(10)))
$if($strcmp(1,$get(recordingdates)),$if(%recordingdates%,$get(info)Rec. Date: $get(text)%recordingdates%$char(10)))
$if($strcmp(1,$get(fileowner)),$if(%fileowner%,$get(info)Owner: $get(text)%fileowner%$char(10)))
))
// End Additional Info
// Tech Info
$if($strcmp(1,$get(show_techinfo)),
$get(spacer)
$char(1)C$get(headline)Tech Info$char(10)
$if($strcmp(1,$get(codec)),$get(info)Codec: $get(text)%__codec%$char(10))
$if($strcmp(1,$get(bitrate)),$get(info)Bitrate: $get(text)%__bitrate% Kbit/s$char(10))
$if($strcmp(1,$get(samplerate)),$get(info)Samplerate: $get(text)%__samplerate% Hz$char(10))
$if($strcmp(1,$get(channels)),$get(info)Channels: $get(text)$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,' 'Stereo,''Mono)),)$char(10))
$if($strcmp(1,$get(time_elapsed_total)),$get(info)Time: $get(text)%_time_elapsed% / %_time_total%$char(10))
$puts(size,5)
$if($strcmp(1,$get(trackgain)),$if(%__replaygain_track_gain%,$get(info)RG Track: $get(text)$cut(%__replaygain_track_gain%,$get(size)) dB$char(10)))
$if($strcmp(1,$get(albumgain)),$if(%__replaygain_album_gain%,$get(info)RG Album: $get(text)$cut(%__replaygain_album_gain%,$get(size)) dB$char(10)))
$puts(rating,1)
$puts(_rating,$repeat($get(rating_char),%rating%))
$if($strcmp(1,$get(rating)),$if(%rating%,$get(info)Rating: $get(text) $get(_rating) $get(grayed)'('%rating%')'$char(10)))
$if($strcmp(1,$get(play_counter)),$if(%play_counter%,$get(info)Played $get(text)%play_counter%$get(info) times.$char(10)))
$if($strcmp(1,$get(play_date)),$if(%play_date%,$get(info)Last played: $get(text)%play_date%$char(10)))
$if($strcmp(1,$get(encodedby)),$if(%encodedby%,$get(info)Encoded by: $get(text)%encodedby%$char(10)))
$if($strcmp(1,$get(encodersettings)),$if(%encodersettings%,$get(info)Encoder Settings: $get(text)%encodersettings%$char(10)))
// formating filesize string by upNorth
$if($strcmp(1,$get(filesize)),$get(info)Filesize: $get(text)$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),1000,1048576),3),2)' MB'$char(10))
$if($strcmp(1,$get(filename_ext)),$get(info)File: $get(text)%_filename_ext%$char(10))
$if($strcmp(1,$get(mediatype)),$if(%mediatype%,$get(info)Mediatype: $get(text)%mediatype%$char(10)))
$if($strcmp(1,$get(size)),$if(%size%,$get(info)Size: $get(text)%size%$char(10)))
$if($strcmp(1,$get(songlen)),$if(%songlen%,$get(info)Length: $get(text)%songlen%$char(10)))
$if($strcmp(1,$get(time)),$if(%time%,$get(info)Time: $get(text)%time%$char(10)))
)
// End Tech Info
// Web Info
$if($strcmp(1,$get(show_webinfo)),
$if($if(%wwwaudiofile%,$and($strcmp(1,$get(wwwaudiofile))))
/$if(%wwwcopyright%,$and($strcmp(1,$get(wwwcopyright))))
/$if(%wwwcommercialinfo%,$and($strcmp(1,$get(wwwcommercialinfo))))
/$if(%wwwpayment%,$and($strcmp(1,$get(wwwpayment))))
/$if(%wwwpublisher%,$and($strcmp(1,$get(wwwpublisher))))
/$if(%wwwuser%,$and($strcmp(1,$get(wwwuser))))
/$if(%wwwradiopage%,$and($strcmp(1,$get(wwwradiopage))))
/$if(%netradioowner%,$and($strcmp(1,$get(netradioowner))))
/$if(%netradiostation%,$and($strcmp(1,$get(netradiostation))))
,$get(spacer)
// Web Related
$if($strcmp(1,$get(show_webrelated)),
$if($if(%wwwaudiofile%,$and($strcmp(1,$get(wwwaudiofile))))
/$if(%wwwcopyright%,$and($strcmp(1,$get(wwwcopyright))))
/$if(%wwwcommercialinfo%,$and($strcmp(1,$get(wwwcommercialinfo))))
/$if(%wwwpayment%,$and($strcmp(1,$get(wwwpayment))))
/$if(%wwwpublisher%,$and($strcmp(1,$get(wwwpublisher))))
/$if(%wwwuser%,$and($strcmp(1,$get(wwwuser))))
,
$char(1)C$get(headline)Web Info$char(10)
$if($strcmp(1,$get(wwwaudiofile)),$if(%wwwaudiofile%,$get(info)File: $get(text)%wwwaudiofile%$char(10)))
$if($strcmp(1,$get(wwwcopyright)),$if(%wwwcopyright%,$get(info)© $get(text)%wwwcopyright%$char(10)))
$if($strcmp(1,$get(wwwaudiosource)),$if(%wwwaudiosource%,$get(info)Source: $get(text)%wwwaudiosource%$char(10)))
$if($strcmp(1,$get(wwwcommercialinfo)),$if(%wwwcommercialinfo%,$get(info)Info: $get(text)%wwwcommercialinfo%$char(10)))
$if($strcmp(1,$get(wwwpayment)),$if(%wwwpayment%,$get(info)Payment: $get(text)%wwwpayment%$char(10)))
$if($strcmp(1,$get(wwwpublisher)),$if(%wwwpublisher%,$get(info)Publisher: $get(text)%wwwpublisher%$char(10)))
$if($strcmp(1,$get(wwwuser)),$if(%wwwuser%,$get(info)User: $get(text)%wwwuser%$char(10)))
$char(10))
)
// End Web Info
// Net Radio Ifno
$if($strcmp(1,$get(show_netradioinfo)),
$if($if(%wwwradiopage%,$and($strcmp(1,$get(wwwradiopage))))
/$if(%netradioowner%,$and($strcmp(1,$get(netradioowner))))
/$if(%netradiostation%,$and($strcmp(1,$get(netradiostation))))
,$char(1)C$get(headline)NetRadio Info$char(10)
$if($strcmp(1,$get(wwwradiopage)),$if(%wwwradiopage%,$get(info)Page: $get(text)%wwwradiopage%$char(10)))
$if($strcmp(1,$get(netradioowner)),$if(%netradioowner%,$get(info)Owner: $get(text)%netradioowner%$char(10)))
$if($strcmp(1,$get(netradiostation)),$if(%netradiostation%,$get(info)Station: $get(text)%netradiostation%$char(10))))
)))
// End - Web Related
// Misc Info
$if($strcmp(1,$get(show_miscinfo)),
$if($if(%subtitle%,$and($strcmp(1,$get(subtitle))))
/$if(%involvedpeople%,$and($strcmp(1,$get(involvedpeople))))
/$if(%playlistdelay%,$and($strcmp(1,$get(playlistdelay))))
/$if(%initialkey%,$and($strcmp(1,$get(initialkey))))
/$if(%isrc%,$and($strcmp(1,$get(isrc))))
/$if(%partinset%,$and($strcmp(1,$get(partinset))))
,$get(spacer)
$char(1)C$get(headline)Misc Info$char(10)
$if($strcmp(1,$get(subtitle)),$if(%subtitle%,$get(info)Subtitle: $get(text)%subtitle%$char(10)))
$if($strcmp(1,$get(involvedpeople)),$if(%involvedpeople%,$get(info)Involved People: $get(text)%involvedpeople%$char(10)))
$if($strcmp(1,$get(playlistdelay)),$if(%playlistdelay%,$get(info)Playlistdelay: $get(text)%playlistdelay%$char(10)))
$if($strcmp(1,$get(initialkey)),$if(%initialkey%,$get(info)Initialkey: $get(text)%initialkey%$char(10)))
$if($strcmp(1,$get(isrc)),$if(%isrc%,$get(info)ISRC: $get(text)%isrc%$char(10)))
$if($strcmp(1,$get(partinset)),$if(%partinset%,$get(info)Partinset: $get(text)%partinset%$char(10)))
))
// End Misc Info
// Original Info
$if($strcmp(1,$get(show_originalinfo)),
$if($if(%origartist%,$and($strcmp(1,$get(origartist))))
/$if(%origyear%,$and($strcmp(1,$get(origyear))))
/$if(%origlyricist%,$and($strcmp(1,$get(origlyricist))))
/$if(%origfilename%,$and($strcmp(1,$get(origfilename))))
,$get(spacer)
$char(1)C$get(headline)Original Info$char(10)
$if($strcmp(1,$get(origartist)),$if(%origartist%,$get(info)Artist: $get(text)%origartist%$char(10)))
$if($strcmp(1,$get(origyear)),$if(%origyear%,$get(info)Year: $get(text)%origyear%$char(10)))
$if($strcmp(1,$get(origlyricist)),$if(%origlyricist%,$get(info)Lyricist: $get(text)%origlyricist%$char(10)))
$if($strcmp(1,$get(origfilename)),$if(%origfilename%,$get(info)Filename: $get(text)%origfilename%$char(10)))
))</blockquote>
然后,我们得到了这样的效果。大功告成!
<img src="http://www.stage1st.com/bbs/upload/1d52ebe64f767e01a95ad08cf124b570.jpg" alt="" />
噢!按钮还没有替换,还是(这是第几次了)点击 <u>Foobar 2000</u> -> <u>Preferences / 参数设置</u>,进入设置窗口。然后在左边的列表选择 <u>Display / 显示</u> -> <u>Columns UI</u>,右边直接点最后一个标签 <u>other / 其他</u> ,按下图这样设置:
<img src="http://www.stage1st.com/bbs/upload/2eb13792f947860ab50a58d76ff0d4e1.jpg" alt="" />
点一下在 <u>Use custom buttons / 使用自定义按钮</u> 后面的那个省略号按钮,然后选择 <em>你的Foobar 2000安装目录\resource\columns ui\buttons</em> 目录,选择一个你想要的按钮,保存然后重新启动你的Foobar 2000,看看,我们做到了。
<img src="http://www.stage1st.com/bbs/upload/5da4f1a79de1fb8f59040a88e3b506b3.jpg" alt="" />
</body>
</html> |
|