Help - Search - Members - Calendar
Full Version: Home stereo display
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
cwbowron
I'm using 1.9 micro and when the tracknumber is >= 10 its displaying 0xx so that last digit is out of its box.
musosticky
using 1.9 micro I get a crash (with no crashlog) when trying to use the buttons. The tag writing dialogue pops up and foobar freezes then crashes. Is anyone else having this trouble?

I'm going to report this in the trackinfo_mod thread too just wondering if I'm the only one
Russell777
V 1.9 Micro bugfix
I've uploaded a new archive,in which i fixed the tracknumber issue and added a Custom info support for Rating/Mood value saving.
The reasons for this is that when writing info to file tags for two different fields ("RATING","MOOD") in one playback session,foobar overwrites the value from second tag over the one from the first and to overcome that behaviour there's a need to reload info from file as soon as first tag was written,and sometimes it causes foobar to crash.I suggest you to use the Custom info option,as it doesn't cause craches,faster and doesn't have
the annoying tag writing dialog window.You'll find all the info in the "Instructions.txt" inside the archive.
kockroach
Do you think the tag writing problem is due to th efact that you have essentially stacked two buttons on top of each other? Perhaps it is trying to run both the tag write and the reload at the same time. Would it be possible to have the button perform the two functions in series, such that it writes the tag and then updates the info. This would allow you to not have to include the "reload" button.
Russell777
QUOTE(kockroach @ Oct 2 2006, 22:50) *

Do you think the tag writing problem is due to th efact that you have essentially stacked two buttons on top of each other? Perhaps it is trying to run both the tag write and the reload at the same time. Would it be possible to have the button perform the two functions in series, such that it writes the tag and then updates the info. This would allow you to not have to include the "reload" button.

It's impossible to asign more than one command to a button,also i've noticed that even without the reloading of info it sometimes crashes foobar.
musosticky
be warned that if the names for the custom info scripts are the same as your masstagger scripts (as my mood tags were) the buttons will execute both commands.

Just a friendly warning. This one had me stumped for a while
Russell777
QUOTE(musosticky @ Oct 3 2006, 03:22) *

be warned that if the names for the custom info scripts are the same as your masstagger scripts (as my mood tags were) the buttons will execute both commands.

Just a friendly warning. This one had me stumped for a while

Thanks for the warning,i'll come up with something original smile.gif
musosticky
lol the warning was intended for the uneducated such as myself russell. Thanks a lot for the continued support man. Its very much appreciated
Russell777
VERSION 1.8.1 VIP IS OUT(see the first post)
Changelog:
-On screen metadata editing (rating,mood)
-Volume indicator
-Selectable Last played/First played/Play count all at one position (changing)
-Playing mode indicator (follow cursor\playback)
-File size
-More space for Artist\Title section
-Many "underhood" improvements
Don't forget to get the latest version of cwb hooks and trackinfo mod panel.
For better performance it's suggested to turn "Notify other components of variable changes" option
in cwb hooks menu off.
Thanks to all who helped me and gave me ideas,i'm waiting for your new themes,enjoy smile.gif
kockroach
Hey Russell,

Wanted to let you know that I noticed that the number "7" does not align properly in the track number and both of the time boxes with the newest V1.9 code.
Russell777
QUOTE(kockroach @ Oct 3 2006, 05:47) *

Hey Russell,

Wanted to let you know that I noticed that the number "7" does not align properly in the track number and both of the time boxes with the newest V1.9 code.

It's b/c you need to uninstall the old "7 Segment font" from your sys before installing Rsegment.
kockroach
Man was that stupid. I thought I did already...I thought that they were different names. Thx man!
Warchief
Russell777

I use version 1.8.1 of your home stereo display, and I have following Problem. If I stop the playback my home stereo display looks like on the picture.IPB Image

By changing track it’s looks like on this picture. IPB Image

In both cases this error goes away after several seconds of playback.
Thanks!!!
Warchief
I have one more question. How I have to use -On screen metadata editing (rating,mood) funktion? If try to click on the rating or mood display, nothig happens.

If I manually set rating tag or the song already contains this tag, so its will be not displayed by home stereo display. Previos version of your code works fine.
Russell777
First of all you should get the latest version of trackinfo mod panel that supports buttons,second you should
know that if "write_tags" value is set,my code will look for rating and mood values in the tags,else it will take it from text file/SQLite database/FB2K cfg,so that if you have "write_tags" option disabled and manualy set rating to X using masstager script,you will not see any difference.Also you should install LCDMONO fonts.
Russell777
i've replaced the V 1.8.1 archive coz it had error with follow cursor\playback recognition,please update.
Also i'm looking for a solution to foobar's crashes when writing tags.
hifish
QUOTE(kockroach @ Sep 30 2006, 18:51) *

No luck here getting a "Mute" button to work, either.
...
UPDATE: I was able to get a function "Mute" button by using foo_run. The only problem is that when you click the button, it takes a few seconds for it to activate.

... um just my 2 cents: we're talking about a home stereo display? my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly wink.gif
blaxima
QUOTE(hifish @ Oct 4 2006, 02:40) *

my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly wink.gif


My thoughts exactly. Why would you want to mute it as opposed to pause, this ain't TV
Russell777
QUOTE(blaxima @ Oct 4 2006, 09:03) *

QUOTE(hifish @ Oct 4 2006, 02:40) *

my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly wink.gif


My thoughts exactly. Why would you want to mute it as opposed to pause, this ain't TV

Mine has,in case you're listening to radio and suddenly get a phone call or something,(radio broadcast can not be paused from my end) smile.gif smile.gif smile.gif
blaxima
QUOTE(Russell777 @ Oct 4 2006, 06:15) *

QUOTE(blaxima @ Oct 4 2006, 09:03) *

QUOTE(hifish @ Oct 4 2006, 02:40) *

my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly wink.gif


My thoughts exactly. Why would you want to mute it as opposed to pause, this ain't TV

Mine has,in case you're listening to radio and suddenly get a phone call or something,(radio broadcast can not be paused from my end) smile.gif smile.gif smile.gif


I've noticed that when I have the volume display showing it slows down the responsiveness of my volume control. Would this be because of cwb hooks?
Russell777
QUOTE(blaxima @ Oct 4 2006, 12:18) *

I've noticed that when I have the volume display showing it slows down the responsiveness of my volume control. Would this be because of cwb hooks?

Get the latest version of cwb hooks,go to its menu (it has a menu now) and uncheck the "notufy other components of variable change" box.Problem gone.
kockroach
QUOTE(Russell777 @ Oct 4 2006, 05:15) *

QUOTE(blaxima @ Oct 4 2006, 09:03) *

QUOTE(hifish @ Oct 4 2006, 02:40) *

my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly wink.gif


My thoughts exactly. Why would you want to mute it as opposed to pause, this ain't TV

Mine has,in case you're listening to radio and suddenly get a phone call or something,(radio broadcast can not be paused from my end) smile.gif smile.gif smile.gif

Strange, bacuae my brand new home stereo also has a mute button. Should I return it?! Just kidding. wink.gif But I do agree with what Russell says about radio broadcasts.
blaxima
QUOTE(Russell777 @ Oct 4 2006, 07:17) *

QUOTE(blaxima @ Oct 4 2006, 12:18) *

I've noticed that when I have the volume display showing it slows down the responsiveness of my volume control. Would this be because of cwb hooks?

Get the latest version of cwb hooks,go to its menu (it has a menu now) and uncheck the "notufy other components of variable change" box.Problem gone.


Nope. I already have the latest version of it

QUOTE(kockroach @ Oct 4 2006, 10:32) *

Strange, bacuae my brand new home stereo also has a mute button. Should I return it?! Just kidding. wink.gif But I do agree with what Russell says about radio broadcasts.


Well mine does too but I was refering more to the need of one in the display, especially since the volume control indicater has memory issues and makes the volume control less responsive. Besides I just dont understand why you woldn't just pause a song because by muting it you miss out on it, thats really what I meant
and yes that is with the latest cwb hooks tongue.gif
Russell777
QUOTE(blaxima @ Oct 4 2006, 19:22) *

Well mine does too but I was refering more to the need of one in the display, especially since the volume control indicater has memory issues and makes the volume control less responsive.
and yes that is with the latest cwb hooks tongue.gif

The volume indicator doesn't cause the high cpu usage,you can remove it ("Rating Mood Volume" section of the code) and you will see no difference at all.Again,turn off the callback notifications of cwb hooks.
blaxima
QUOTE(Russell777 @ Oct 4 2006, 13:29) *

QUOTE(blaxima @ Oct 4 2006, 19:22) *

Well mine does too but I was refering more to the need of one in the display, especially since the volume control indicater has memory issues and makes the volume control less responsive.
and yes that is with the latest cwb hooks tongue.gif

The volume indicator doesn't cause the high cpu usage,you can remove it ("Rating Mood Volume" section of the code) and you will see no difference at all.Again,turn off the callback notifications of cwb hooks.


Actually it does have in impact on memory but thats not what I'm saying. I said that with it in my code when I use my keyboard to adjust the volume the volume is not as responsive as when that section of the code is not in it
Stuart60611
QUOTE(blaxima @ Oct 4 2006, 12:46) *

QUOTE(Russell777 @ Oct 4 2006, 13:29) *

QUOTE(blaxima @ Oct 4 2006, 19:22) *

Well mine does too but I was refering more to the need of one in the display, especially since the volume control indicater has memory issues and makes the volume control less responsive.
and yes that is with the latest cwb hooks tongue.gif

The volume indicator doesn't cause the high cpu usage,you can remove it ("Rating Mood Volume" section of the code) and you will see no difference at all.Again,turn off the callback notifications of cwb hooks.


Actually it does have in impact on memory but thats not what I'm saying. I said that with it in my code when I use my keyboard to adjust the volume the volume is not as responsive as when that section of the code is not in it



I think the simplest solution to this debate is if you do not like the volume display, simply remove it from the code. I am in the process of releasing a substantially tweaked version of the 1.8.1 VIP which has been modified to meet my needs. Russel's code is very clean, well organized, and clearly labeled so that it should not be that difficult for one to adjust it to meet one's needs. If you are stuck and cannot figure out how to tweak a portion of his code to your liking, Russel and others are very responsive to such issues and simply post your problem here, and I am confident that it will be timely responded to with the assistance you request. I indicated to Russel that I did not need the volume indicator in the new version b/c I use kernal streaming and therefore do not adjust foobar volume through the computer. However, Russel decided that he wanted to have such a display, which clearly is his entitlement as the creator of this code. The volume indicator is easily removed from his code and can be replaced with whatever information one desires to display (on my moded version, I am playing around with displaying total tracks in the Queue in place of the volume display and/or hotness and have removed the buttons feature, decreasing rating code, track number display, and several other portions of Russel's code). The beauty of foobar is you can customize it as you see fit to meet your needs.
Russell777
Yep,i agree.I think the best way for those who don't need certain features is to wait for an alternative version from Stuart.Maybe he will be so kind to pull an alternative version for V 1.9 too (if you ask him nicely). smile.gif
blaxima
I'm not complaining as I mod it to suite my needs and taste anyways. I'm letting you know of some issues I've come across with it, thats all
Stuart60611
QUOTE(blaxima @ Oct 4 2006, 15:09) *

I'm not complaining as I mod it to suite my needs and taste anyways. I'm letting you know of some issues I've come across with it, thats all



No problem at all, and I think constructive comments, like yours, benefit us all because they only improve the end result. I just wanted to interject the rather obvious point that arguing about whether the display should or should not have certain information displayed does not advance anything and is really a personal issue which should be addressed by tweaking the code to a person's particular preferences. I will release my version as soon as it is done (very soon).
12zmcnvow1277
I havnb't tried out the latest version with the on screen editing of mood etc. But will it be possible to allow onscreen access to adjust the progress bar?
Russell777
QUOTE(12zmcnvow1277 @ Oct 5 2006, 00:55) *

I havnb't tried out the latest version with the on screen editing of mood etc. But will it be possible to allow onscreen access to adjust the progress bar?

Only when it will be possible to access main section commands via trackinfo mod buttons,I'm dying to get rid
of the scrollbar too.
Paul Cage
IPB Image
I´ve installed al the requested fonts, and i'm using Vista Inspirat theme config for the display, and i've updated all the necessary components,but i can't seem to discover how to fix the font type used so it doesn't look like this. Can you help me,plz?
Russell777
QUOTE(Paul Cage @ Oct 6 2006, 02:37) *

IPB Image
I´ve installed al the requested fonts, and i'm using Vista Inspirat theme config for the display, and i've updated all the necessary components,but i can't seem to discover how to fix the font type used so it doesn't look like this. Can you help me,plz?

It's obviously that LCD fonts and Symbolix aren't installed on your system.Open charmap.exe and check that you have these fonts installed:LCD,LCDmono,LCD2,LCDmono2 and Symbolix.
Paul Cage
For some reason, I didn't have the LCD fonts installed. I've installed the LCD fonts and that did it! Thx Russell777 biggrin.gif
Zetto
here's mine...
i took some of Russell777's Code (thx man), modified it a bit and added some gfx... still working on it though.


IPB Image

(accidentally posted in 3rd Party Plugins - (fb2k) forum so im posting this here again... thx again Russell777)
Russell777
QUOTE(Zetto @ Oct 6 2006, 18:10) *

here's mine...
i took some of Russell777's Code (thx man), modified it a bit and added some gfx... still working on it though.


IPB Image

(accidentally posted in 3rd Party Plugins - (fb2k) forum so im posting this here again... thx again Russell777)

Amazing!Mind sharing it?
Stuart60611
QUOTE(Russell777 @ Oct 6 2006, 11:23) *

QUOTE(Zetto @ Oct 6 2006, 18:10) *

here's mine...
i took some of Russell777's Code (thx man), modified it a bit and added some gfx... still working on it though.


IPB Image

(accidentally posted in 3rd Party Plugins - (fb2k) forum so im posting this here again... thx again Russell777)

Amazing!Mind sharing it?


Dito! Truly awesome. Would love a copy of the code and the image.
LNCPapa
QUOTE(Zetto @ Oct 6 2006, 10:10) *

here's mine...
i took some of Russell777's Code (thx man), modified it a bit and added some gfx... still working on it though.


IPB Image

(accidentally posted in 3rd Party Plugins - (fb2k) forum so im posting this here again... thx again Russell777)


This brings many ideas to mind... Place some usable buttons in that sphere and you could have yourself a very small and almost skinned foobar. Something like that with the inclusion of a Toaster-like component would be quite nice for day-to-day playback.
Stuart60611
Well, when compared to Zetto's post, my contribution is, indeed, far less impressive. But anyway, below is a screenshot and download link to my minor modifications to version 1.8.1 VIP. Changes are detailed in the download, but generally removed volume display, the buttons, decreasing rating code, track number display, and added queue total, new quality indicator (same as 1.8 VIP) and alternative follow the cursor indicator.

IPB Image

Download

(Edit: Labeled relative quality indicator)
Russell777
Looking at the versions made by Zetto and Stuart60611 gave me an idea to release a
"Script development kit" (SDK) for home stereo panel,so that everyone could just easily take pieces of my code
and create their own home stereo panels with custom graphics,alignment,font sizes,backgrounds etc.
It will contain a variaty of txt files every of which containing some feature,like progressbar,verticalprogressbar,
playtime etc.The user will just take the pieces that he\she wants to use and put it inside their code.
I'm planning to release it on sunday,and i really want to see what you guys will come up with.Take care.
Zetto
that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

IPB Image

IPB Image
Russell777
QUOTE(Zetto @ Oct 7 2006, 02:19) *

that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

IPB Image

IPB Image

It looks like you're one hell of a demon when it comes to gfx.I believe that if you share your config you'll get a lots of "thank you"s.
PS:Did you create the image yourself?
Zetto
re... ok here are the necessary files (images) for the setup:

http://www.szemke.de/TEMP/Zetto-Foo!.pics.7z

just extract the directory to your foobar install dir and thats it.
here's the code:

CODE
CODE


///Zetto's main Trackinfo-Mod window (thx to Russell777,
///for i have used pieces of his "Home Stereo Display" code -> GREAT WORK !)///
///my Page: www.szemke.de///

///dynamics///
$puts(fontColorInactive,$rgb(40,130,130))
$puts(fontColorActive,$rgb(0,255,255))
$puts(alt_font,georgia)
$puts(alt_font_size,9)
$puts(alt_font_options,italic)
$puts(alt_font_fix,-1)
$puts(symbolinfo,1)
$puts(scrollback,1)
$puts(windowAlbum,18)
$puts(windowTitle,60)

///bgImage///
$if(%isplaying%,$puts(tiPlayingNum,$add($mod(%_time_elapsed_seconds%,30),1))
$puts(count_path,myLayoutPics\tiPlaying$get(tiPlayingNum).png)
$imageabs(0,0,$get(count_path),),$imageabs(0,0,myLayoutPics\tiStopped.png,))

///in-/active colors///
$puts(fontColorAI,$get(fontColorInactive))
$if(%isplaying%,$puts(fontColorAI,$get(fontColorActive)))

///codec///
$alignabs(118,44,%_width%,%_height%,center,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%codec%]

///bitrate///
$alignabs(367,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)
$if($stricmp($codec(),mp3),
$if($stricmp(%__extrainfo%,VBR),VBR,CBR),)
$char(32)['/' %__bitrate_dynamic%'kb']

///channels///
$alignabs(-78,64,%_width%,%_height%,right,top)
$font(lcdmono2,10,,)
$get(fontColorAI)
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,Stereo,Mono)),)$char(10)

///samplerate///
$alignabs(-13,64,%_width%,%_height%,right,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%__samplerate% 'Hz']

///Rating Mood Volume///
$if(%rating%,$puts(rating,%rating%),
$puts(fix,$div($cwb_datediff(%cwb_systemdatetime%,%first_played%),
$get(decreaserange)))
$puts(rating,$sub($add(%play_count%,%play_counter%),$get(fix))))
$if($greater($get(rating),5),$puts(rating,5))
$if($greater(0,$get(rating)),$puts(rating,0))
$alignabs(319,$add($div(%_height%,5),54),%_width%,%_height%,,)
$font(wingdings,12,$get(font_options),250-250-250)
$get(fontColorActive)$repeat($char(171),$get(rating))
$get(fontColorInactive)$repeat($char(171),$sub(5,$get(rating)))
$alignabs(396,$add($div(%_height%,5),53),%_width%,%_height%,,)
$font(webdings,9,$get(font_options),250-250-250)
$get(fontColorActive)$repeat($char(89),%mood%)
$get(fontColorInactive)$repeat($char(89),$sub(3,%mood%))
$puts(volume,$substr($num(%cwb_volume%,4),2,4))
$font(webdings,9,$get(font_options),)
$alignabs(324,$add($div(%_height%,5),73),%_width%,%_height%,,)
$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive))$char(88)$char(32)
$font(arial,10,bold$get(font_options),250-250-250)
$if($greater(1,$get(volume)),$puts(amp,12),
$if($greater(3,$get(volume)),$puts(amp,11),
$if($greater(6,$get(volume)),$puts(amp,10),
$if($greater(9,$get(volume)),$puts(amp,9),
$if($greater(13,$get(volume)),$puts(amp,8),
$if($greater(16,$get(volume)),$puts(amp,7),
$if($greater(21,$get(volume)),$puts(amp,6),
$if($greater(26,$get(volume)),$puts(amp,5),
$if($greater(33,$get(volume)),$puts(amp,4),
$if($greater(43,$get(volume)),$puts(amp,3),
$if($greater(58,$get(volume)),$puts(amp,2),
$puts(amp,1)
)))))))))))
$if($stricmp(100,$get(volume)),$puts(amp,0))
$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive))
$repeat($char(305),$get(amp))
$get(fontColorInactive)$repeat($char(305),$sub(12,$get(amp)))
$alignabs(392,$add($div(%_height%,5),76),%_width%,%_height%,,)
$font(7segment,8,$get(font_options),)$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive)
)-$get(volume)Db

///date///
$alignabs(15,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%date%]

///genre///
$alignabs(62,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%genre%]

///album///
$alignabs(16,$add($div(%_height%,5),-57),%_width%,%_height%,left,middle)
$puts(title,
[%album%])
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),31),
$puts(title,
$lower($replace($upper($get(title)),-,$char(8208),&,+,À,a,Á,a,Â,a,Ã,a,Ä,ae,Å,a,
Æ,ae,Ç,c,È,e,É,e,Ê,e,Ë,e,Ì,i,Í,i,Î,i,Ï,i,Ò,o,Ó,o,Ô,o,Õ,o,Ö,oe,Ù,u,Ú,u,Û,u,Ü,ue,
ß,ss)))
$puts(alt_font_fix,0)
$font(lcdmono2,10,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(fontColorAI)
$if($greater($len($get(title)),$get(windowAlbum)),
$if($stricmp($mod($len($get(title)),0),0),
$puts(title,$pad($get(title),$add($len($get(title)),1))),)
$puts(shift,$sub($len($get(title)),$get(windowAlbum)))
$if($get(scrollback),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($mul($get(shift),2),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowAlbum)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$if($greater($add($get(shift),1),$get(mod)),
$substr($get(title),$add(1,$get(mod)),$add($get(windowAlbum),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(windowAlbum),$sub($mul($get(shift),2),$get(mod),0))))),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($get(shift),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowAlbum)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(windowAlbum),$get(mod))))),
$alignabs(15,$add($div(%_height%,5),27,$get(alt_font_fix)),404,%_height%,left,top)
$get(fontColorAI)$get(title))

///time & tracknumber///
$alignabs(15,89,%_width%,%_height%,left,top)
$font(7 Segment,20,,)
$get(fontColorInactive)'88'

$alignabs(15,89,%_width%,%_height%,left,top)
$font(7 Segment,20,,)
$get(fontColorAI)[%tracknumber%]

$alignabs(-338,89,%_width%,%_height%,right,top)
$font(7 Segment,20,,)
$get(fontColorInactive)'88:88'

$alignabs(-338,89,%_width%,%_height%,right,top)
$font(7 Segment,20,,)
$get(fontColorAI)[%playback_time%]

$alignabs(-300,90,%_width%,%_height%,right,top)
$font(7 Segment,10,,)
$get(fontColorInactive)'88:88'

$alignabs(-300,90,%_width%,%_height%,right,top)
$font(7 Segment,10,,)
$get(fontColorAI)[%length%]

///progressbar///
$if(%isplaying%,$if3($strcmp(%playback_time_seconds%,0)
,,$drawrect(14,121,$muldiv(%playback_time_seconds%,$sub(%_width%,314),%length_seconds%),3,
pencolor-0-255-255 brushcolor-0-255-255 width-1)
,))

///title///
$alignabs(0,$add($div(%_height%,5),34),%_width%,%_height%,center,middle)
$puts(title,
[%artist%][ '-' "%title%"])
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),31),
$puts(title,
$lower($replace($upper($get(title)),-,$char(8208),&,+,À,a,Á,a,Â,a,Ã,a,Ä,ae,Å,a,
Æ,ae,Ç,c,È,e,É,e,Ê,e,Ë,e,Ì,i,Í,i,Î,i,Ï,i,Ò,o,Ó,o,Ô,o,Õ,o,Ö,oe,Ù,u,Ú,u,Û,u,Ü,ue,
ß,ss)))
$puts(alt_font_fix,0)
$font(lcdmono2,10,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(fontColorAI)
$if($greater($len($get(title)),$get(windowTitle)),
$if($stricmp($mod($len($get(title)),2),1),
$puts(title,$pad($get(title),$add($len($get(title)),1))),)
$puts(shift,$sub($len($get(title)),$get(windowTitle)))
$if($get(scrollback),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($mul($get(shift),2),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowTitle)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$if($greater($add($get(shift),1),$get(mod)),
$substr($get(title),$add(1,$get(mod)),$add($get(windowTitle),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(windowTitle),$sub($mul($get(shift),2),$get(mod),0))))),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($get(shift),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowTitle)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(windowTitle),$get(mod))))),
$alignabs(0,-15,%_width%,%_height%,center,bottom)
$get(fontColorAI)$get(title))

///transpFgImage///
$imageabs(0,0,myLayoutPics\tiGlasses.png,)


Have Fun wink.gif

QUOTE
PS:Did you create the image yourself?


Yes i did. maybe u want to visit MY PAGE for more stuff wink.gif
Russell777
QUOTE(Zetto @ Oct 7 2006, 02:59) *

re... ok here are the necessary files (images) for the setup:

http://www.szemke.de/TEMP/Zetto-Foo!.pics.7z

just extract the directory to your foobar install dir and thats it.
here's the code:

CODE
///Zetto's main Trackinfo-Mod window (thx to Russell777,
///for i have used pieces of his "Home Stereo Display" code -> GREAT WORK !)///
///my Page: www.szemke.de///

///dynamics///
$puts(fontColorInactive,$rgb(40,130,130))
$puts(fontColorActive,$rgb(0,255,255))
$puts(alt_font,georgia)
$puts(alt_font_size,9)
$puts(alt_font_options,italic)
$puts(alt_font_fix,-1)
$puts(symbolinfo,1)
$puts(scrollback,1)
$puts(windowAlbum,18)
$puts(windowTitle,60)

///bgImage///
$if(%isplaying%,$puts(tiPlayingNum,$add($mod(%_time_elapsed_seconds%,30),1))
$puts(count_path,myLayoutPics\tiPlaying$get(tiPlayingNum).png)
$imageabs(0,0,$get(count_path),),$imageabs(0,0,myLayoutPics\tiStopped.png,))

///in-/active colors///
$puts(fontColorAI,$get(fontColorInactive))
$if(%isplaying%,$puts(fontColorAI,$get(fontColorActive)))

///codec///
$alignabs(118,44,%_width%,%_height%,center,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%codec%]

///bitrate///
$alignabs(367,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)
$if($stricmp($codec(),mp3),
$if($stricmp(%__extrainfo%,VBR),VBR,CBR),)
$char(32)['/' %__bitrate_dynamic%'kb']

///channels///
$alignabs(-78,64,%_width%,%_height%,right,top)
$font(lcdmono2,10,,)
$get(fontColorAI)
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,'

'Stereo,''Mono)),)$char(10)

///samplerate///
$alignabs(-13,64,%_width%,%_height%,right,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%__samplerate% 'Hz']

///Rating Mood Volume///
$if(%rating%,$puts(rating,%rating%),
$puts(fix,$div($cwb_datediff(%cwb_systemdatetime%,%first_played%),
$get(decreaserange)))
$puts(rating,$sub($add(%play_count%,%play_counter%),$get(fix))))
$if($greater($get(rating),5),$puts(rating,5))
$if($greater(0,$get(rating)),$puts(rating,0))
$alignabs(319,$add($div(%_height%,5),54),%_width%,%_height%,,)
$font(wingdings,12,$get(font_options),250-250-250)
$get(fontColorActive)$repeat($char(171),$get(rating))
$get(fontColorInactive)$repeat($char(171),$sub(5,$get(rating)))
$alignabs(396,$add($div(%_height%,5),53),%_width%,%_height%,,)
$font(webdings,9,$get(font_options),250-250-250)
$get(fontColorActive)$repeat($char(89),%mood%)
$get(fontColorInactive)$repeat($char(89),$sub(3,%mood%))
$puts(volume,$substr($num(%cwb_volume%,4),2,4))
$font(webdings,9,$get(font_options),)
$alignabs(324,$add($div(%_height%,5),73),%_width%,%_height%,,)
$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive))$char(88)$char(32)
$font(arial,10,bold$get(font_options),250-250-250)
$if($greater(1,$get(volume)),$puts(amp,12),
$if($greater(3,$get(volume)),$puts(amp,11),
$if($greater(6,$get(volume)),$puts(amp,10),
$if($greater(9,$get(volume)),$puts(amp,9),
$if($greater(13,$get(volume)),$puts(amp,8),
$if($greater(16,$get(volume)),$puts(amp,7),
$if($greater(21,$get(volume)),$puts(amp,6),
$if($greater(26,$get(volume)),$puts(amp,5),
$if($greater(33,$get(volume)),$puts(amp,4),
$if($greater(43,$get(volume)),$puts(amp,3),
$if($greater(58,$get(volume)),$puts(amp,2),
$puts(amp,1)
)))))))))))
$if($stricmp(100,$get(volume)),$puts(amp,0))
$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive))
$repeat($char(305),$get(amp))
$get(fontColorInactive)$repeat($char(305),$sub(12,$get(amp)))
$alignabs(392,$add($div(%_height%,5),76),%_width%,%_height%,,)
$font(7

segment,8,$get(font_options),)$if(%isplaying%,$get(fontColorActive),$get(fontColorInactive)

)-$get(volume)Db

///date///
$alignabs(15,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%date%]

///genre///
$alignabs(62,44,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[%genre%]

///album///
$alignabs(16,$add($div(%_height%,5),-57),%_width%,%_height%,left,middle)
$puts(title,
[%album%])
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),31),
$puts(title,
$lower($replace($upper($get(title)),-,$char(8208),&,+,À,a,Á,a,Â,a,Ã,a,Ä,ae,Å,a,
Æ,ae,Ç,c,È,e,É,e,Ê,e,Ë,e,Ì,i,Í,i,Î,i,Ï,i,Ò,o,Ó,o,Ô,o,Õ,o,Ö,oe,Ù,u,Ú,u,Û,u,Ü,ue,
ß,ss)))
$puts(alt_font_fix,0)
$font(lcdmono2,10,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(fontColorAI)
$if($greater($len($get(title)),$get(windowAlbum)),
$if($stricmp($mod($len($get(title)),0),0),
$puts(title,$pad($get(title),$add($len($get(title)),1))),)
$puts(shift,$sub($len($get(title)),$get(windowAlbum)))
$if($get(scrollback),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($mul($get(shift),2),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowAlbum)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$if($greater($add($get(shift),1),$get(mod)),
$substr($get(title),$add(1,$get(mod)),$add($get(windowAlbum),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(windowAlbum),$sub($mul($get(shift),2),$get(mod),0))))),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($get(shift),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowAlbum)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(windowAlbum),$get(mod))))),
$alignabs(15,$add($div(%_height%,5),27,$get(alt_font_fix)),404,%_height%,left,top)
$get(fontColorAI)$get(title))

///time & tracknumber///
$alignabs(15,89,%_width%,%_height%,left,top)
$font(7 Segment,20,,)
$get(fontColorInactive)'88'

$alignabs(15,89,%_width%,%_height%,left,top)
$font(7 Segment,20,,)
$get(fontColorAI)[%tracknumber%]

$alignabs(-338,89,%_width%,%_height%,right,top)
$font(7 Segment,20,,)
$get(fontColorInactive)'88:88'

$alignabs(-338,89,%_width%,%_height%,right,top)
$font(7 Segment,20,,)
$get(fontColorAI)[%playback_time%]

$alignabs(-300,90,%_width%,%_height%,right,top)
$font(7 Segment,10,,)
$get(fontColorInactive)'88:88'

$alignabs(-300,90,%_width%,%_height%,right,top)
$font(7 Segment,10,,)
$get(fontColorAI)[%length%]

///progressbar///
$if(%isplaying%,$if3($strcmp(%playback_time_seconds%,0)
,,$drawrect(14,121,$muldiv(%playback_time_seconds%,$sub(%_width%,314),%length_seconds%),3,p

encolor-0-255-255 brushcolor-0-255-255 width-1)
,))

///title///
$alignabs(0,$add($div(%_height%,5),34),%_width%,%_height%,center,middle)
$puts(title,
[%artist%][ '-' "%title%"])
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),31),
$puts(title,
$lower($replace($upper($get(title)),-,$char(8208),&,+,À,a,Á,a,Â,a,Ã,a,Ä,ae,Å,a,
Æ,ae,Ç,c,È,e,É,e,Ê,e,Ë,e,Ì,i,Í,i,Î,i,Ï,i,Ò,o,Ó,o,Ô,o,Õ,o,Ö,oe,Ù,u,Ú,u,Û,u,Ü,ue,
ß,ss)))
$puts(alt_font_fix,0)
$font(lcdmono2,10,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$alignabs(21,$add($div(%_height%,5),55,$get(alt_font_fix)),%_width%,%_height%,,)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(fontColorAI)
$if($greater($len($get(title)),$get(windowTitle)),
$if($stricmp($mod($len($get(title)),2),1),
$puts(title,$pad($get(title),$add($len($get(title)),1))),)
$puts(shift,$sub($len($get(title)),$get(windowTitle)))
$if($get(scrollback),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($mul($get(shift),2),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowTitle)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$if($greater($add($get(shift),1),$get(mod)),
$substr($get(title),$add(1,$get(mod)),$add($get(windowTitle),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(windowTitle),$sub($mul($get(shift),2),$get(mod),0))))),
$puts(mod,$mod(%_time_elapsed_seconds%,$add($get(shift),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,$get(windowTitle)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(windowTitle),$get(mod))))),
$alignabs(0,-15,%_width%,%_height%,center,bottom)
$get(fontColorAI)$get(title))

///transpFgImage///
$imageabs(0,0,myLayoutPics\tiGlasses.png,)


Have Fun wink.gif

QUOTE
PS:Did you create the image yourself?


Yes i did. maybe u want to visit MY PAGE for more stuff wink.gif


Thank you,are the images from your site are yours too?They are truly amazing.Only one request:
in your post could you add "box" to the [code][/code] section ( ex: codebox) so it will be easier for ppl to copy your code?
Zetto
QUOTE
are the images from your site are yours too?

yes they are
QUOTE
Only one request:
in your post could you add "box" to the [code][/code] section ( ex: codebox) so it will be easier for ppl to copy your code?

done... sry first time posting code in a forum smile.gif
...Just Elliott
QUOTE(Zetto @ Oct 7 2006, 01:19) *

that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

IPB Image

IPB Image

BEYOND AWESOME!

An idea would be making more colour schemes, but heck, I want to redesign my fooby for that now.
unabatedshagie
Whats the second progress bar underneath the time progress bar for??

IPB Image
Russell777
QUOTE(unabatedshagie @ Oct 8 2006, 11:07) *

Whats the second progress bar underneath the time progress bar for??

IPB Image

It's the "Relative format quality" indicator.It indicates the quality of playing item relatively to it's format.
For example mp3 320 kb/s will give you full bar as it's best quality available for mp3 format,but mpc 320 kb/s
will give you partly filled bar as it's not format's best quality.
Russell777
Home stereo display SDK is out (see the first post)

Well it took some time to turn the code into separate stand alone pieces,but finally it's here.
The script developing kit will allow you to create your own HSD with custom alignment,graphics etc.
It includes all the items used in current versions plus a couple from the past ones.It's the first version,
if i'll get some good feedback on this,i'll continue to develop it further.Have fun,and show the world
what are you capable of.
Russell777
I forgot to include this info in the SDK:in the end of "Globals" section insert this line:
CODE
$if(%isplaying%,,$puts(active,$get(back)))
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.