HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: Russell777 on 2006-08-25 00:53:06

Title: Home stereo display
Post by: Russell777 on 2006-08-25 00:53:06
Home stereo display SDK v 1.0
Download (rapidshare) (http://rapidshare.de/files/35962977/Home_stereo_display_SDK.rar.html)
Download (badongo) (http://www.badongo.com/file/1514845)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
VERSION 1.9.1 NANO
Changelog:
-Mouse click editing of:Rating\Mood,playback order,follow cursor mode,volume mute
-Track\album gain indicator
-Compact size
-New glass overlay image

IMPORTANT:
Take a moment to read the "instructions.txt" as it contains all the definitions of variables you may want to change.Also note that the fonts list now includes "Rsegment" instead of "7 Segment"

   

-----------------------------------------------------------------------------------------------------------------------------------

THEMES
Hello creative people of the world!As you can see i've added a limited (for now) themes support and even provided some "out of the box" themes.But when it comes to art i SUCK.
So if you have created something beautiful,don't keep it for your self!Share it with  the rest of the world
and be remembered!
How to share the themes? If you've done one,save it's definition in a text file,
add your images and put it in the archive,upload it to wherever you like and send me a PM or E-mail
(russel777@gmail.com) and i'll post it in the FIRST PAGE of this topic.Your message must contain:
-Your Name (for the history books)
-Name of your theme (for geek history books)
-Link to download the archive
-Link to a screenshot
-Comments (optional)
You can of cos post it yourself,but it will get lost in other people's posts and will be difficult to find.Enjoy!!

Credits goes to Strictly4me for the glass image,and to all of you who
gave me ideas and provided me with help.

---------------------------------------------------------------------------------------------------------

To install a theme,copy the whole theme definition from the .txt file into ////Themes//// section in your code
   
FOR Versions prior to V 1.8
----------------------------------------------------------------------------------------------------------
                                          Elementals suite by Sw!ng

http://rapidshare.de/files/33027437/Swings_Themes.zip.html (http://rapidshare.de/files/33027437/Swings_Themes.zip.html)
Title: Home stereo display
Post by: Crissaegrim on 2006-08-25 01:12:43
This looks good.  Thank you. : )

For next versions, can you add more codecs (FLAC, APE, WavPack, etc.)?  And alternate colour schemes, please?

Again, thank you.
Title: Home stereo display
Post by: Russell777 on 2006-08-25 01:22:26
To install a theme,copy the whole theme definition from the .txt file into ////Themes//// section in your code
   
FOR V 1.8

                                        Haze by Brandon Binn
(http://img246.imageshack.us/img246/3317/hazescreenww1.png)
http://www.biniaris.net/public_files/Pics/Foobar/ (http://www.biniaris.net/public_files/Pics/Foobar/)
----------------------------------------------------------------------------------------------------------

                                          Slarv by vader897
(http://img222.imageshack.us/img222/8596/slarvct0de1.png)
Download (http://doctordeath.org.ru/Russell777/slarv.rar)

----------------------------------------------------------------------------------------------------------

                                        Neuro by vader897
(http://img215.imageshack.us/img215/7611/neuroje7.png)
   http://rapidshare.de/files/33595730/neuro.rar.html (http://rapidshare.de/files/33595730/neuro.rar.html)
----------------------------------------------------------------------------------------------------------

                                      Grey Ghost by Stuart60611
(http://img65.imageshack.us/img65/4791/greyhm2.png)
http://rapidshare.de/files/33632905/Grey_Ghost.7z.html (http://rapidshare.de/files/33632905/Grey_Ghost.7z.html)
Title: Home stereo display
Post by: DeepDose on 2006-08-25 04:13:08
this is really awsome...It's working great for me....thanks for everything...just when I thought foobar could'nt get any better...good stuff
Title: Home stereo display
Post by: Squeller on 2006-08-25 11:23:46
This looks simply great! As there many other popular codecs (aac, the lossless ones): Can you modify it in a way, that only one codec is displayed?
Title: Home stereo display
Post by: Russell777 on 2006-08-25 11:45:33
This looks simply great! As there many other popular codecs (aac, the lossless ones): Can you modify it in a way, that only one codec is displayed?

New version is in progress.
I need good symbol fonts to make this panel more readable,so if anyone knows of such a font
please share it's name (or even better a download link). Thank you.
Title: Home stereo display
Post by: ojdo on 2006-08-25 13:15:03
I need good symbol fonts to make this panel more readable,so if anyone knows of such a font
please share it's name (or even better a download link). Thank you.

Probably more readable, but I'm not sure if it fits in style: Radioland (http://www.dafont.com/radioland.font?nb_ppp=50) from dafont (http://www.dafont.com).

Great panel!
ojdo
Title: Home stereo display
Post by: carmenm on 2006-08-25 13:41:16
I think a way to make it more clear is also to make the top a little less bright. I find it a little too much.

This is an awesome job!!! Thanks
Title: Home stereo display
Post by: musosticky on 2006-08-25 14:50:12
I second the need for more codecs like AAC love this script
Title: Home stereo display
Post by: Generalverdacht on 2006-08-25 17:00:38
nice, thnx!
Title: Home stereo display
Post by: musosticky on 2006-08-25 22:50:02
Hi

Just tried updating from the first version (which worked beautifully) to version 1.1 and had this come up in the panel.

(http://img90.imageshack.us/img90/890/foobartrackinfoqs5.th.png) (http://img90.imageshack.us/my.php?image=foobartrackinfoqs5.png)

I added it twice from the above codebox and it still turns out this way.
The font i have selected is that of 7segment 14pt
Do you have any idea what I'm doing wrong?
Title: Home stereo display
Post by: Russell777 on 2006-08-25 23:03:35
Hi

Just tried updating from the first version (which worked beautifully) to version 1.1 and had this come up in the panel.

(http://img90.imageshack.us/img90/890/foobartrackinfoqs5.th.png) (http://img90.imageshack.us/my.php?image=foobartrackinfoqs5.png)

I added it twice from the above codebox and it still turns out this way.
The font i have selected is that of 7segment 14pt
Do you have any idea what I'm doing wrong?

Since you're using a dark background change the "active" variable to something like (255,255,255)
and the "passive" to some like (100,100,100).Problem solved.
(For light backgrounds use dark text colors+you don't have to select any font at all,it doesn't have any effect)
Title: Home stereo display
Post by: musosticky on 2006-08-25 23:34:47
Perfect pal.....dunno how I missed that thanks a lot
Title: Home stereo display
Post by: beto on 2006-08-26 13:51:45
Awesome work my friend. I'll definitely use it!!
Would it be possible to support %play_count%, %last_played% and %rating%? Thanks again.
Title: Home stereo display
Post by: Russell777 on 2006-08-26 13:58:20
Awesome work my friend. I'll definitely use it!!
Would it be possible to support %play_count%, %last_played% and %rating%? Thanks again.

Derfinately.What i want to know is if to continue adding new fields to the right so it will look like a long stripe,
or to give it a more "conservative" rectangle look?
Title: Home stereo display
Post by: Generalverdacht on 2006-08-26 14:22:14

Awesome work my friend. I'll definitely use it!!
Would it be possible to support %play_count%, %last_played% and %rating%? Thanks again.

Derfinately.




great to here that! it´s indeed a great work, thank you my friend!
Title: Home stereo display
Post by: Stuart60611 on 2006-08-26 14:34:29

Awesome work my friend. I'll definitely use it!!
Would it be possible to support %play_count%, %last_played% and %rating%? Thanks again.

Derfinately.What i want to know is if to continue adding new fields to the right so it will look like a long stripe,
or to give it a more "conservative" rectangle look?



I think you should add more fields so it will be a long stripe.  I would also love an option to add other user defined tags, such as genre, rating, mood, tempo, bpm, and others.  Perhaps you could have the option to add whatever tags to the right the user wants and have the panel automatically resize itself depending on which, if any, tags are addded to the optional ones.  Also, you could make this a complete track info by also adding fields for artist and title to the left and an indicator to indicate whether the particular artist-title being diplayed is the now playing track or a selected track.  A progress bar could also be cool.
Title: Home stereo display
Post by: kalmark on 2006-08-26 14:41:43
For some reason I'm not able to change the fonts for the audio codec, it's just plain Arial for me. I'm not familiar with the trackinfo panel, so I really have no idea why and how this is  Can someone enlighten me, what to do?
This thing looks quite nice BTW, I think I'll stick to it.
Title: Home stereo display
Post by: Russell777 on 2006-08-26 14:44:01
For some reason I'm not able to change the fonts for the audio codec, it's just plain Arial for me. I'm not familiar with the trackinfo panel, so I really have no idea why and how this is  Can someone enlighten me, what to do?
This thing looks quite nice BTW, I think I'll stick to it.

You need the fonts provided for version 1.1,it's different from the archive in the V1.0
Title: Home stereo display
Post by: kalmark on 2006-08-26 14:52:15
You need the fonts provided for version 1.1,it's different from the archive in the V1.0

Thanks, I did not notice that. Looks swell.
Title: Home stereo display
Post by: musosticky on 2006-08-26 15:12:09
I like the idea of a very long strip. My Trackinfo is alread 3/4 of the screen because of the way my layout in designed but it'd be great to have this full of useful info thenI could get shut of the standard looking box from the old track info panel
Title: Home stereo display
Post by: Russell777 on 2006-08-26 15:17:48
I like the idea of a very long strip. My Trackinfo is alread 3/4 of the screen because of the way my layout in designed but it'd be great to have this full of useful info thenI could get shut of the standard looking box from the old track info panel


Tell me what fields are you using in your old trackinfo?
See it's impossible to put every possible field in this panel so i need to know what is absolutely essential for you guys to have.
Title: Home stereo display
Post by: Stuart60611 on 2006-08-26 15:21:43

I like the idea of a very long strip. My Trackinfo is alread 3/4 of the screen because of the way my layout in designed but it'd be great to have this full of useful info thenI could get shut of the standard looking box from the old track info panel


Tell what fields you're using in your old trackinfo.See it's impossible to put every possible field in this panel
so i need to know what is absolutely essential for you guys to have.


Rating, mood, playcount, last played
Title: Home stereo display
Post by: Russell777 on 2006-08-26 15:23:54
Quote
Rating, mood, placount, last played

By rating do you mean the %rating% tag,that has been edited manualy,or rating value calculated by some
code ("Hotness","Hot or not")?
Title: Home stereo display
Post by: beto on 2006-08-26 15:24:18
hmmmmm... cannot get it to work properly..... The 7 segment font does not work....
I already installed the 1.1 version fonts in the windows/fonts directory apparently to no avail....

(http://img208.imageshack.us/img208/6869/bugtrackinfots7.th.png) (http://img208.imageshack.us/my.php?image=bugtrackinfots7.png)

any pointer as to what might be wrong? thanks.
Title: Home stereo display
Post by: Russell777 on 2006-08-26 15:37:35
hmmmmm... cannot get it to work properly..... The 7 segment font does not work....
I already installed the 1.1 version fonts in the windows/fonts directory apparently to no avail....

(http://img208.imageshack.us/img208/6869/bugtrackinfots7.th.png) (http://img208.imageshack.us/my.php?image=bugtrackinfots7.png)

any pointer as to what might be wrong? thanks.


Open Windows\System32\charmap.exe and check if the fonts from the archive are installed.
P.S. You're using version 1.1,it's better to use V 1.1.1 instead.
Title: Home stereo display
Post by: Russell777 on 2006-08-26 15:49:52
Does anybody know what font contains this symbol?
(http://img150.imageshack.us/img150/8783/untitledsh8.png)
Title: Home stereo display
Post by: strogoff_ger on 2006-08-26 15:57:17
I think i've seen it in Arial Unicode MS, but are not sure.
Title: Home stereo display
Post by: Russell777 on 2006-08-26 16:01:11
I think i've seen it in Arial Unicode MS, but are not sure.

Thanks for reply,but it's not there,and i realy need it.
Title: Home stereo display
Post by: kalmark on 2006-08-26 16:03:06
Russell777, could you please keep the 1st post up-to-date with the latest version? Makes it a lot easier to find it that way. And you can avoid confusion with troubleshooting, probably.
Title: Home stereo display
Post by: dream4distance on 2006-08-26 17:11:21
Does anybody know what font contains this symbol?
  I might be able to make a new font with just that symbol in it, lol.

d4d
Title: Home stereo display
Post by: Russell777 on 2006-08-26 17:14:49

Does anybody know what font contains this symbol?
  I might be able to make a new font with just that symbol in it, lol.

d4d

Thanks for your efforts,I just found exactly what i've been looking for.
Title: Home stereo display
Post by: rodan321 on 2006-08-26 17:35:38
This is a good idea! I got a problem though... for some reason glass.png isn't loading. Yes, I have it in my images directory. PNG buttons work fine so the libs are okay. I have the trackinfo_mod from the 17th which is the latest. Any ideas? Everything else looks good and works fine.
Title: Home stereo display
Post by: Squeller on 2006-08-26 17:47:31
Great work.

I'm on Windows 2000 and do not have "franklin gothic medium", the system seems to use kinda arial then, which is bigger.

The glass/png stuff does not seem to work here on my 2000 system? Same as with custom buttons, this will be not possible?
EDIT: It works.

rodan321, you probably did the same mistake like me. The images directory belongs to where your foobar2000.cfg is, this may be %appdata%\foobar2000\.
Title: Home stereo display
Post by: rodan321 on 2006-08-26 17:52:37
rodan321, you probably did the same mistake like me. The images directory belongs to where your foobar2000.cfg is, this may be %appdata%\foobar2000\.


That was it, figured it out right before I refreshed and saw your post. I saw a little blurb on the wiki. Thanks!
Title: Home stereo display
Post by: Russell777 on 2006-08-26 17:53:32
This is a good idea! I got a problem though... for some reason glass.png isn't loading. Yes, I have it in my images directory. PNG buttons work fine so the libs are okay. I have the trackinfo_mod from the 17th which is the latest. Any ideas? Everything else looks good and works fine.

Open preferences->General if you have the "Enable user support" box checked,you should place the image
inside your profile directory (...Application data\foobar2000\images\glass.png).

2 Squealer It might be your problem too.
Title: Home stereo display
Post by: Squeller on 2006-08-26 18:03:23
BTW, I think the realtime vbr display is useless, as the panel just refreshes once a second. I'd rather use %__bitrate%
Title: Home stereo display
Post by: beto on 2006-08-26 18:18:11
Open Windows\System32\charmap.exe and check if the fonts from the archive are installed.
P.S. You're using version 1.1,it's better to use V 1.1.1 instead.

Tried this and the font does not appear to be installed.... odd.... it's in the fonts directory:

[a href="http://img235.imageshack.us/my.php?image=bugtrackinfo2ek2.png" target="_blank"]
Title: Home stereo display
Post by: Stuart60611 on 2006-08-26 18:19:28
Quote
Rating, mood, placount, last played

By rating do you mean the %rating% tag,that has been edited manualy,or rating value calculated by some
code ("Hotness","Hot or not")?


For me, regular rating and hotness would be great.
Title: Home stereo display
Post by: musosticky on 2006-08-26 19:00:32
from the rating tag could you provide some form of symbol fitting with the rest of the symbols as Id love to see what you come up with 
Title: Home stereo display
Post by: Stuart60611 on 2006-08-26 19:22:30
Does anybody know what font contains this symbol?
(http://img150.imageshack.us/img150/8783/untitledsh8.png)


DejaVu Sans Condensed (http://dejavu.sourceforge.net/wiki/index.php/Bitstream_Vera_derivatives) has a symbol very close to this and many others which are similar.
Title: Home stereo display
Post by: Lance Uppercut on 2006-08-26 19:37:26
Do I need something special to get the glass overlay.  The path is correct and I have the png libraries in the foobar directory, but i'm not seeing the glass effect

thanks
Title: Home stereo display
Post by: Squeller on 2006-08-26 20:16:32
Tried this and the font does not appear to be installed.... odd.... it's in the fonts directory:
Install the font as you have to install fonts in windows: Visit the fonts folder and choose the install fonts dialog from the file menu.
@LanceUppercut: See the rodan321 postings above.

@Thread starter: Add precise info about where to put the image and how to install fonts.

BTW can someone provide the franklin gothic medium? On w2k I do not have it. (if this is the font of "LOCAL DRIVE, STREAMING, REMOVABLE", my system shows arial)
Title: Home stereo display
Post by: post_scriptum on 2006-08-26 20:39:53
And is there an easy way to create left padding?

Oh and sometimes it shows the track number, sometimes it doesn't... and I don't really know why. :-\
Title: Home stereo display
Post by: tool++ on 2006-08-27 00:44:32
Thats awesome. Can we get a filefront link or upload section?

Because rapidshare no worky for NTL users
Title: Home stereo display
Post by: Russell777 on 2006-08-27 01:13:06
Thats awesome. Can we get a filefront link or upload section?

Because rapidshare no worky for NTL users

Just give me a link to the desired storage.
Title: Home stereo display
Post by: acedriver on 2006-08-27 02:37:00
awesome work russell
Title: Home stereo display
Post by: Russell777 on 2006-08-27 03:11:56
awesome work russell

Thank you! I've posted new version (V 1.2) See the first post.
I've added some of the features,you guys asked for,but i'm uncertain about the others.
Some of you asked for a "mood" value to be displayed,but as i understand it's not restricted to contain
specific sort of data and every one uses it in his own way,so symbolic display is not possible,unless you tell me
what do you write to this tag.Also i would like to pull a version with color schemes (for now it was monochrome)
so please post images of your home stereo's displays to give me some inspiration.Enjoy 
Title: Home stereo display
Post by: skelly831 on 2006-08-27 06:41:05
This is some awesome work you've done Russell777, I'm loving this stereo display thingy!
Title: Home stereo display
Post by: roentgen on 2006-08-27 08:30:45
This is the greatest thing ever! I am not really into track info panel but your code got me hooked up.
Thanks.
Title: Home stereo display
Post by: RadioactiveMan on 2006-08-27 12:32:52
this looks really nice.
but unfortunately i have a little problem with it.

(http://www.holzhaeuer.info/pics_sonst/foobar_error.jpg)

As you can see the upper line with stereo information und such is invisible.

This is my definition part:
Code: [Select]
$puts(removable,ez)
$puts(glass_intensity,10)
$puts(back,$rgb(175,175,175))
$puts(active,$rgb(128,0,0))
$puts(decreaserange,15)
$puts(YY_MM_DD,)


I am using the background color $rgb(129,136,147)
All required plugins are installed (at leat i think so).
The fonts are also installed.
I have just copied the code from version 1.2.
There is also the part "//Stereo Encoding Tagtype///" inside the code.
Title: Home stereo display
Post by: Russell777 on 2006-08-27 12:47:40
Just copy pasted the code from the post and put your settings:
(http://img138.imageshack.us/img138/7991/untitledps3.png)
As you can see everything is kicking.Try to re-paste the code,also check in the charmap.exe if the fonts
such as "franklin gothic medium" and "lucida sans unicode" are installed on your pc.If you are running
win 2k see Squellers post about installing the fonts (i'm not familiar with win 2k).This is really odd...
Title: Home stereo display
Post by: RadioactiveMan on 2006-08-27 13:03:26
Just copy pasted the code from the post and put your settings:
(http://img138.imageshack.us/img138/7991/untitledps3.png)
As you can see everything is kicking.Try to re-paste the code,also check in the charmap.exe if the fonts
such as "franklin gothic medium" and "lucida sans unicode" are installed on your pc.If you are running
win 2k see Squellers post about installing the fonts (i'm not familiar with win 2k).This is really odd...

this is what i call mysterious. i tried to reinstall the fonts. but 2 seconds after i deleted them they were back again (perhaps it was windows file protection) and now everything works. hmpf.
Title: Home stereo display
Post by: Russell777 on 2006-08-27 13:06:01
Glad to hear that 
Title: Home stereo display
Post by: steamfish81 on 2006-08-27 15:46:56
Awesome !!!!...

I need something to enable/disable what to display on the panel?
Title: Home stereo display
Post by: Russell777 on 2006-08-27 15:49:59
Awesome !!!!...

I need something to enable/disable what to display on the panel?

At this stage no,you have no choice which features are enabled and which aren't.(Unless you want to mess with
the code a little).Maybe it will be implemented in further versions.
Title: Home stereo display
Post by: Lance Uppercut on 2006-08-27 17:07:30
Yes. truly awesome work!  I also could never settle on a track info panel until this came along.  It's just so cool!

(http://img242.imageshack.us/img242/8281/foobarew1.th.png) (http://img242.imageshack.us/my.php?image=foobarew1.png)
Title: Home stereo display
Post by: Russell777 on 2006-08-28 01:05:24
Hi to all,please make an effort and provide me with your %mood% tag examples for the final version.
Title: Home stereo display
Post by: beto on 2006-08-28 01:07:34
I'm still having issues. There is some problem with the alignment:

(http://img247.imageshack.us/img247/2046/untitledjv8.th.png) (http://img247.imageshack.us/my.php?image=untitledjv8.png)

could someone please point me to a possible solution? thanks.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 01:15:49
I'm still having issues. There is some problem with the alignment:

(http://img247.imageshack.us/img247/2046/untitledjv8.th.png) (http://img247.imageshack.us/my.php?image=untitledjv8.png)

could someone please point me to a possible solution? thanks.

Well,I must tell you i'm shocked by this sight.I don't know but no matter how much i resize the window i can not
destroy the alignment.Try to re-paste the code,i'll check it later.
Title: Home stereo display
Post by: beto on 2006-08-28 01:22:50
repasted the code and same problem
Title: Home stereo display
Post by: Russell777 on 2006-08-28 01:30:07
repasted the code and same problem

Just out of curiosity:what version of foobar are you using (i know it's a 0.9x series) but what exactly?
See in the authors topic (of trackinfo mod panel) it says
Quote
it needs some later 0.9.x version of foobar
so maybe that's the problem,realy can't think about something else.
Title: Home stereo display
Post by: beto on 2006-08-28 01:36:49
0.9.3.1 is the foobar version.
Maybe this has anythig to do with my display settings. I'm on 1280x1024 on 19' LCD monitor.
That's not it. Tried different settings and none worked. 
my trackinfo mod is 0.5 beta from 17/8/2006.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 01:41:10
0.9.3.1 is the foobar version.
Maybe this has anythig to do with my display settings. I'm on 1280x1024 on 19' LCD monitor.


Quote
it needs the C runtime library for vs .net 2005 (msvcr80.dll I think). Do you have this file in your system?
(it must be located at ...windows\system32\) But on the other hand without it
you woudn't be able to use this panel in a first place.I dunno...
Title: Home stereo display
Post by: tool++ on 2006-08-28 01:41:45

Thats awesome. Can we get a filefront link or upload section?

Because rapidshare no worky for NTL users

Just give me a link to the desired storage.

http://www.sendspace.com/ (http://www.sendspace.com/)
Title: Home stereo display
Post by: beto on 2006-08-28 01:43:52
the runtime is there. I installed .NET 2.0
man this is really strange...
Title: Home stereo display
Post by: Russell777 on 2006-08-28 01:48:36
2 beto:I'm realy sory,but there's nothing i can think of right now.
2 tool++:I added one more link (see the first post under Version 1.2)
Title: Home stereo display
Post by: DeepDose on 2006-08-28 01:49:46
Russell777, I think version 1.0 and 111 should still be posted, I'm using ver. 1.1.1 because I like the short look, and the long one doesn't fit into my config, ver. 1.0 I think also looks great, I kept them both, but I feel some people may be missing out not having seen the two prior versions.
Title: Home stereo display
Post by: beto on 2006-08-28 01:50:28
thanks anyway. I'll try one or two things I have in mind once I figure out how you handle positioning in your code.
Hopefully I'll be able to make it work....
Title: Home stereo display
Post by: spex04 on 2006-08-28 03:43:01
Here's an idea... How about having a artist/title/album section to the right, which scrolls when they're too long..?

Something like:

Artist
Title
Album


..?
Title: Home stereo display
Post by: musosticky on 2006-08-28 05:54:47
Id quite like the option to change the overall font of the text but still keep it in proportion. I know i could do this manually but the code is a little confusing to me
Title: Home stereo display
Post by: MellowB on 2006-08-28 07:25:12
Thanks for this great trackinfo panel. I like it a lot and it helped me replacing like 4 other panels up there in my player which were essentially doing the same but in a baaad way. xD
And about the artist/trackinfo stuff requested up there, i already modded mine a bit to show that and a progress bar. Also changed it to show the last-played time with the official playcounter and modified the "hot-ness" rating a bit to not show any more (5 stars that is) because i dont use the un-official playcounter nor do i tag my mp3s with any ratings... so its dis-functional for me.
Looks like this then:

Title: Home stereo display
Post by: Sw!ng on 2006-08-28 07:32:31
I'm still having issues. There is some problem with the alignment:
[a href=\"http://img247.imageshack.us/my.php?image=untitledjv8.png\" target=\"_blank\"] -THNX Russell !!

Code: [Select]
$puts(sizefix,$muldiv(10,$get(size),14))
... is the "evil" line ...!! (Search in Wordpad ;-) )
You can try to exchange the given "14" with a "12" and see if it works ...

AFTER that go to the "Played Time" Sequence:
Code: [Select]
//////////////////////////////////////Time total Bitrate Samplerate/////////////////////////////////////////////////////
...
...
...
...
//$if(%_time_total%,
...
...
...
$alignabs($add(245,$get(f9)),$div(%_height%,5),%_width%,%_height%,,)
...
...
$alignabs(259,$div(%_height%,5),%_width%,%_height%,,)
...
...
$alignabs($add(266,$get(f11)),$div(%_height%,5),%_width%,%_height%,,)


.
..
...


//////////////////////////////////////////Codec///////////////////////////////////////////////////////
$alignabs(285,$div(%_height%,5),%_width%,%_height%,,)
...
...
Here you can put each 3-digit-number a little bit up (steps by 1).

I hope it will help ...!!

________________________________________________________________________________________

And to be in the Leage of Suggest0rs:
- Russell, have you seen the //$if(%_time_total%, above as a quote of your code ...??  . . . <<----  ...!!

- I like the functions of the 2nd one but nessesarily more the size of the first ... ---> Perhaps you could implement a smooth blink-script (not too fast) that switches between the Codec-stuff and the Rating/Playcount ...??
 . |
 . |___-> The Name-Stuff (spex mentioned) would fit there as a 3rd instance to switch between as well

- And the Rating-RANGE should be "easy customiseable", too (like the colors, eg ) ...!! 

________________________________________________________________________________________

I am already impressed ...!!
Title: Home stereo display
Post by: Russell777 on 2006-08-28 08:35:01
Well,where do i start?
Quote
Russell777, I think version 1.0 and 111 should still be posted, I'm using ver. 1.1.1 because I like the short look, and the long one doesn't fit into my config, ver. 1.0 I think also looks great, I kept them both, but I feel some people may be missing out not having seen the two prior versions.

Version 1.1.1 is exactly the same as V1.1.2 except for bad alignment,as for V1.0 i'll post it after fixing it's alignment issues.
Quote
Id quite like the option to change the overall font of the text but still keep it in proportion. I know i could do this manually but the code is a little confusing to me

Ok,but it will be a little complicated (and probably enlarge the code size x2) so to avoid doing it for
every version that will come out before we settle all the issues down i will not do it for now,it will be in the final version
i believe.
Quote
- I like the functions of the 2nd one but nessesarily more the size of the first ... ---> Perhaps you could implement a smooth blink-script (not too fast) that switches between the Codec-stuff and the Rating/Playcount ...??

That's a good one,I'll put it as an option (you will be able to switch between "show all" mode and "blink" one)
Quote
Here's an idea... How about having a artist/title/album section to the right, which scrolls when they're too long..?

Yes it's a "must",but since there's no native support for scrolling it will be done using "home made" scrolling
effect that will take place once in a second (not very smooth)
Title: Home stereo display
Post by: ktr on 2006-08-28 11:55:21
(http://img171.imageshack.us/img171/8649/problemsng3.png) (http://imageshack.us)

dont really know how to solve this problem :/

using v1.2

any ideas?

thx for your help


e:/ great script! nice work!
Title: Home stereo display
Post by: Russell777 on 2006-08-28 12:02:56
1.Does it happens to every track?
2.If not,what is the length of the track in the image?
Title: Home stereo display
Post by: RadioactiveMan on 2006-08-28 13:39:29
damn it, there is another problem
(http://www.holzhaeuer.info/pics_sonst/foobar_glitch.jpg)

as you can see, the play-symbol isn't correct. could be related to a wrongly installed font. which one is responsible for the symbol?

another really odd thing is the playcount-number. the second parentheses is shown after the second number, not after the third... i have just copied and pasted the code. 5 minutes ago again, but with the same result.

thanks in advance.

edit: font installation under windows makes me mad... did it again and now it works.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 13:49:54
VERSION 1.3 is out (see the first post)
Title: Home stereo display
Post by: cwbowron on 2006-08-28 14:15:36
Thanks for the cool display. 

I tweaked mine a bit so that rather than the date of the last play, it displays "today", "yesterday" or the number of days its been since the track was played.

Code: [Select]
$get(active)
$if(%last_played%, $puts(diff,$cwb_datediff(%last_played%,%cwb_systemdate%))
$ifgreater(1,$get(diff),today,$ifgreater(2,$get(diff),yesterday,$get(diff) days)),..........)


requires my foo_cwb_hooks plugin.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 14:19:54
Thanks for the cool display. 

I tweaked mine a bit so that rather than the date of the last play, it displays "today", "yesterday" or the number of days its been since the track was played.

Code: [Select]
$get(active)
$if(%last_played%, $puts(diff,$cwb_datediff(%last_played%,%cwb_systemdate%))
$ifgreater(1,$get(diff),today,$ifgreater(2,$get(diff),yesterday,$get(diff) days)),..........)


requires my foo_cwb_hooks plugin.

First of all you welcome,second as you've probably seen i also make an intensive use of your plugin
in the later versions.(Thanks for it)
Title: Home stereo display
Post by: ktr on 2006-08-28 14:24:42
1.Does it happens to every track?
2.If not,what is the length of the track in the image?



hm, i got some drum-n-bass sets in my playlists and they are often >60mins.

so, i tested, and, the mistake is corrected, if the "playing moment" (i got a bad english.. sorry) of the current mp3 is above 10mins

and, it happens with every mp3 file i have in my playlist unless it reaches the 10mins


e: perhaps, it's because some tracks are displayed with eg 1:30:40 length in the playlist, but i'm not sure
Title: Home stereo display
Post by: Russell777 on 2006-08-28 14:27:51
I'll check it.
Title: Home stereo display
Post by: ktr on 2006-08-28 14:31:42
hm, also the complete file length works correct if the track is above 10mins long


e:\ as long as the track is not longer as 60mins
Title: Home stereo display
Post by: Russell777 on 2006-08-28 15:20:14
hm, also the complete file length works correct if the track is above 10mins long


e:\ as long as the track is not longer as 60mins

In one thing you're right:there's no support for tracks bigger than 60m,but it's not a bug,but was designed this way.About the files with length<10m,can you tell me please how their %_time_total% displayed
in lets say playlist view?Could it be something like 0:01:23?
Title: Home stereo display
Post by: ktr on 2006-08-28 15:24:04
(http://img175.imageshack.us/img175/7168/problemszi6.png) (http://imageshack.us)


in my coloumns setup, i have %_LENGTH% instead off %_time_total%, as i can see
Title: Home stereo display
Post by: Russell777 on 2006-08-28 15:30:51
(http://img175.imageshack.us/img175/7168/problemszi6.png) (http://imageshack.us)


in my coloumns setup, i have %_LENGTH% instead off %_time_total%, as i can see

Your problem can be reproduced if these line in the code are screwed up:
Code: [Select]
$if($stricmp($len(%_time_elapsed%),4),$puts(time,$insert(0,%_time_elapsed%,3)),
$puts(time,%_time_elapsed%))
$if(%_time_total%,
$if($stricmp($len(%_time_total%),4),$puts(total,$insert(0,%_time_total%,3)),
$puts(total,%_time_total%)),$puts(total,__:__))

Try to repaste the code
Title: Home stereo display
Post by: ktr on 2006-08-28 15:40:09
hm, repasted it, but the problem is the same /:

perhaps i have to activate database or smth? because i dont use this feature...
looks like your last player and rating system needs this, or is it independent from that?
Title: Home stereo display
Post by: Russell777 on 2006-08-28 15:43:31
Does anybody else experience the same f!@k up?
Cos here everything is working fine,and i use the same exact code as you do:
(http://img105.imageshack.us/img105/74/untitledvp5.png)

what smth is?
Title: Home stereo display
Post by: ktr on 2006-08-28 16:16:25
hm, perhaps the plugin list helps and there is some kind of conflict?
and, i dont use the media library..

(win xp sp2 pro btw)

(http://img73.imageshack.us/img73/5440/fb2kwz7.th.png) (http://img73.imageshack.us/my.php?image=fb2kwz7.png)

e:\ used the new v1.3 code
Title: Home stereo display
Post by: Russell777 on 2006-08-28 16:24:23
There was a minor problem with the scrolling
(probably you didn't even noticed) It's been fixed.

hm, perhaps the plugin list helps and there is some kind of conflict?
and, i dont use the media library..

(win xp sp2 pro btw)
e:\ used the new v1.3 code

I don't have an answer yet,sure this aint no plugin conflict,i'll let you know.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 16:41:35
The symbolic font used for trackinfo can be somewhat harmful (check the album title in the image below,
actually it's "flick of the switch" and not the f!@# of it!) 
(http://img105.imageshack.us/img105/2639/untitledix5.png)
Title: Home stereo display
Post by: ARiel G. on 2006-08-28 17:30:32
Why my Home stereo display look so ugly and wierd, and i don't mean to the width??

(http://img178.imageshack.us/img178/9721/15001500148815131501hk1.th.jpg) (http://img178.imageshack.us/my.php?image=15001500148815131501hk1.jpg)


I installed the fonts, and i have some of them before.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 17:36:44
Why my Home stereo display look so ugly and wierd, and i don't mean to the width??

[a href="http://img178.imageshack.us/my.php?image=15001500148815131501hk1.jpg" target="_blank"]
Title: Home stereo display
Post by: bozo950 on 2006-08-28 19:05:45
looks great bu got a problem:

can you help me?
Title: Home stereo display
Post by: Russell777 on 2006-08-28 19:12:37
Try repasting the code.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 20:24:41
Version 1.3.1 is out (see the first post)
It looks and acts exactly like V 1.3 but has slightly improved scrolling and auto characte encoding detection.
So if you want to use the LCD font,but have files in your library which tags are written in:
East european lang.,Hebrew,Arabic,or Japaneese and\or all the east asian languages you can use it,
and at the moment unhandled characters are detected the font will auto switch to "Arial unicode ms"
Don't forget to download the new archive.Enjoy     
Title: Home stereo display
Post by: Crissaegrim on 2006-08-28 20:27:34
Wow, thanks for adding ability to change colours.  This keeps getting better and better.

This is how I'm using it:

(http://static.flickr.com/78/227444726_d09959a02f_m.jpg) (http://static.flickr.com/78/227444726_d09959a02f_o.png)

It doesn't like Monkey's Audio:

(http://static.flickr.com/90/227449990_4ddb2f5dc9_m.jpg) (http://static.flickr.com/90/227449990_4ddb2f5dc9_o.png)

It's not important.  I only have like 60 APE songs in my library.  Just a heads up.
Title: Home stereo display
Post by: Russell777 on 2006-08-28 20:35:05
Oh my,finally one post without complaints! Bless you!
Title: Home stereo display
Post by: blaxima on 2006-08-28 21:45:14
Oh my,finally one post without complaints! Bless you!


   
Great job Russell

Ok so now thats two good ones

Now, WHY no WavPack??

Pleeeeeeeeeease
Title: Home stereo display
Post by: Russell777 on 2006-08-28 21:48:47

Oh my,finally one post without complaints! Bless you!


   
Great job Russell

Ok so now thats two good ones

Now, WHY no WavPack??

Pleeeeeeeeeease

Two in a row?Unbelievable... (Thank you) If you send me a Wav pack file i'll see what i can do (i don't have any).
BTW:what's the problem with it? (russel777@gmail.com)
Title: Home stereo display
Post by: unabatedshagie on 2006-08-28 21:58:00
Loving this panel, would it be possible to add album rating just to the right of the track rating.

Maybe have some way of telling them apart?

Also what about a progress bar?
Title: Home stereo display
Post by: Russell777 on 2006-08-28 22:04:59
Loving this panel, would it be possible to add album rating just to the right of the track rating.

Maybe have some way of telling them apart?

Also what about a progress bar?

In the next version i'm planning to add some additional fields,that user can choose from.
They won't be displayed by default,cos not evrybody's using them (such as BPM,mood,album rating etc.)
As for progress bar:i've tried it and it doesnt look good at all,it looks like a fridge in a middle of a desert 
Have you seen home stereo with a progressbar?
Title: Home stereo display
Post by: eNforcer on 2006-08-28 22:34:30
Hey!

This is extremely cool looking!  Followed the instructions and everything is working perfectly, it looks really awesome!

(http://www.seriosuploader.com/files/1/foobar_new_thumb.jpg) (http://www.seriosuploader.com/files/view/1/foobar_new.jpg)
Title: Home stereo display
Post by: Earthworm on 2006-08-28 22:39:17
great work there!
i only found one thing that could be fixed. i have a removable drive called H:\
if i add this one in your script, both, Streaming and Removable are activated.

keep going on with your work!
Title: Home stereo display
Post by: Russell777 on 2006-08-28 22:50:49
great work there!
i only found one thing that could be fixed. i have a removable drive called H:\
if i add this one in your script, both, Streaming and Removable are activated.

keep going on with your work!

It will be fixed,and thank you guys for nice replies.(Hmm..it rhymes!)

Hey!

This is extremely cool looking!  Followed the instructions and everything is working perfectly, it looks really awesome!

(http://www.seriosuploader.com/files/1/foobar_new_thumb.jpg) (http://www.seriosuploader.com/files/view/1/foobar_new.jpg)

This one really looks great,make me thinking of going back to my black config
Title: Home stereo display
Post by: Crissaegrim on 2006-08-28 23:50:50
Here are some ideas:

Disc number uses DISCNUMBER or DISC NUMBER meta.
File size
Genre
Multi-volume compilation (yes/no) - One method to check for this is presence of DISNUMBER/DISC NUMBER
Part of various artist compilation (yes/no) - VARIOUS = 1 or ALBUM ARTIST = Various Artists

Of those, I'd really like file size.
Title: Home stereo display
Post by: kabuki on 2006-08-29 01:53:06
Hi Russell777
As many other, i want to thank u sooooooo much for your awesome work, spending time to make it better.
I was just expecting a nice info panel to fit with my miniplayer :

[a href="http://img167.imageshack.us/my.php?image=kabukisnapfoobar01ep7.jpg" target="_blank"] 

here the code for the progress bar at the right:
Code: [Select]
//////////////////////////////////////Progress Bar/////////////////////////////////////////////////////
$puts(length,6)
$font(lcd2,15,,250-250-250)
$puts(symbol,__)
$puts(color_tail,$rgb(250,250,250))
$puts(color_head,$rgb(250,250,250))
$puts(passive_color,$rgb(100,100,100))
//*******************************************************************
//*******************************************************************
$alignabs(-7,2,%_width%,%_height%,right,)
#LINEHEIGHT,3#
$puts(percent,$muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%))
$puts(progress,$muldiv($get(length),$get(percent),100))
$repeat($get(passive_color)$get(symbol)$char(10),$sub($get(length),$get(progress)))
$transition($repeat($get(symbol)$char(10),$get(progress)),$get(color_head),$get(color_tail))$char(10)
$alignabs(-12,34,%_width%,%_height%,right,)
$font(7 Segment,8,,100-100-100)
$puts(size,24)
$puts(sizefix,$muldiv(10,$get(size),14))
$char(56)$char(56)
$alignabs(-12,34,%_width%,%_height%,right,)
$font(7 Segment,8,,250-250-250)
$puts(size,24)
$puts(sizefix,$muldiv(10,$get(size),14))
$if(%_time_total%,$if(%_time_total_seconds%,$muldiv(%_time_elapsed_seconds%,99,%_time_total_seconds%),2))
$alignabs(-5,33,%_width%,%_height%,right,)
$font(Lucida sans unicode,6,,250-250-250)$get(active) '%'


Two time better than one : I thank u once more

Edit:
That's being said,
Do you think it is possible to make the scroll a quite different so when the title reaches the end, it restarts from the beginning directely without scrolling from the end to the beginning ? In fact i would like to have my scroll only in one direction and not in negative direction (because of too long title)... i've played a little with:
Code: [Select]
$substr($get(title),$sub($mul($get(shift),2),$get(mod),1),
$add($get(window),$sub($mul($get(shift),2),$get(mod),1)))))
,$get(title)))

so i've just remove the "-" (negative symbol) but i'm sure there is a way to do it better.

Oh, and i've made a little change with the track info, so in "follow cursor mode" the title switch in back color (inactive color) instead of active, and made the track number active so i can see which tracknumber corresponds to the title selected.

So that is.
with cordiality.
Title: Home stereo display
Post by: Russell777 on 2006-08-29 09:01:14
Now that's what i like!When people take action at their own risk.You've gave me wonderful idea about the look of
a progress bar (like i said in previous post i've tried many progressbar configs,but haven't found one that
matches with the rest of the panel) I'll sertainly use your progress bar (by your permission of course)
in the next version.As for scrolling,i'm planing to make it switchable between jump back and scroll back modes
Again thank you.
Title: Home stereo display
Post by: kabuki on 2006-08-29 09:32:15
 
I'll sertainly use your progress bar (by your permission of course)
in the next version.

I'm honored... and i'm laughing      ... because you are asking for using a code (for vertical progress bar) that have been posted earlier by ... ...YOU (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=45669&view=findpost&p=402924)
All credits goes to you 

Edit:
Thank you in advance, for planning to manage the scroll request

Greatings
Title: Home stereo display
Post by: PHM on 2006-08-29 11:09:57
This is a great item, really enhances foobar's visual style in ways I could never imagine! Great work!!! 

There's only one little request I have *ducks*: Could you add a multichannel icon to the (Joint) Stereo and Mono section (something like "Surround" or "5.1")?
Title: Home stereo display
Post by: Russell777 on 2006-08-29 11:17:08
This is a great item, really enhances foobar's visual style in ways I could never imagine! Great work!!! 

There's only one little request I have *ducks*: Could you add a multichannel icon to the (Joint) Stereo and Mono section (something like "Surround" or "5.1")?
Since i don't have any files of these channel capacities,can you specify what is the data %channels%
return on these two?
Title: Home stereo display
Post by: PHM on 2006-08-29 11:29:05
Since i don't have any files of these channel capacities,can you specify what is the data %channels%
return on these two?

For my DTS-encoded music, it displays "6ch" or "5ch" (depending on the number of channels)...
Title: Home stereo display
Post by: Kupo on 2006-08-29 11:37:59
Man, i love this thing! 

But i'm joining the "f!§%ed up playing time" bandwagon...
Maybe it's a thing about the track_info_mod plugin itself?
Running the latest version of it here... and version 1.3.1 of your code:

Screenshot (http://img237.imageshack.us/img237/4967/fdupfoobdl2.jpg)

The code is pasted properly...
Also tried it with newer beta versions of foobar... didn't work either.

Nevertheless, beautiful work... you see, i'm in love 
Title: Home stereo display
Post by: Russell777 on 2006-08-29 12:06:22
Man, i love this thing! 

But i'm joining the "f!§%ed up playing time" bandwagon...
Maybe it's a thing about the track_info_mod plugin itself?
Running the latest version of it here... and version 1.3.1 of your code:

Screenshot (http://img237.imageshack.us/img237/4967/fdupfoobdl2.jpg)

The code is pasted properly...
Also tried it with newer beta versions of foobar... didn't work either.

Nevertheless, beautiful work... you see, i'm in love 

What version of foobar do you use? (i use 0.9.3.1) Also it's been built on 1024x768 resolution,maybe that's the case?
Title: Home stereo display
Post by: Kupo on 2006-08-29 12:46:49
Thank you so much... i didn't even notice a newer version
than 0.9.2 was out   

now with 0.9.3.1 everything works like a charm...
Title: Home stereo display
Post by: kockroach on 2006-08-29 13:11:41
Also it's been built on 1024x768 resolution,maybe that's the case?

That is very good to know as I have a 1600x1200 display and it can limit placement.  It might be good to put this in the first post.  I love this display.  You have done amazing work....thanks!
Title: Home stereo display
Post by: mr pi on 2006-08-29 14:50:06
hello there

can you use an other filehoster because the limit is exhausted to fast. or maybe you can use the hydrogenaudio upload service.

thank in advance

the pi
Title: Home stereo display
Post by: ktr on 2006-08-29 14:53:43
Thank you so much... i didn't even notice a newer version
than 0.9.2 was out   

now with 0.9.3.1 everything works like a charm...


100% agree

updated all plugins, but not foobar itself...

nice code! tnx
Title: Home stereo display
Post by: FofR on 2006-08-29 15:05:51
I've added a link to this from the trackinfo wiki:
Wiki (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:0.9_Track_Info_Panel_Mod_%28foo_uie_trackinfo_mod%29)
The details aren't too substantial at the moment.

It is under the new Code Examples section.
Title: Home stereo display
Post by: ktr on 2006-08-29 15:24:11
just a personal mod-wish:
is it possible to make the last-played row as a progressbar, and the playcount as the volumedisplay?

i tried, but i'm not in this whole code thingy :/
Title: Home stereo display
Post by: esa372 on 2006-08-29 16:14:11
Hey Russell777,

I love the look of the panel, but I can't get it to work...   
I followed the instructions, but all i get in the panel is "UNKOWN FUNCTION".

Screenshots:  Stopped (http://66.49.140.133/assets/ha/hsd_stop.png)  | Playing (http://66.49.140.133/assets/ha/hsd_play.png)

I know I must be missing something simple, but don't know what it is.

Any suggestions?

Thanks!

~esa
Title: Home stereo display
Post by: Russell777 on 2006-08-29 16:25:43
Hey Russell777,

I love the look of the panel, but I can't get it to work...   
I followed the instructions, but all i get in the panel is "UNKOWN FUNCTION".

Screenshots:  Stopped (http://66.49.140.133/assets/ha/hsd_stop.png)  | Playing (http://66.49.140.133/assets/ha/hsd_play.png)

I know I must be missing something simple, but don't know what it is.

Any suggestions?

Thanks!

~esa

I suggest you to use trackinfo mod instead of trackinfo
Title: Home stereo display
Post by: esa372 on 2006-08-29 17:07:12
I suggest you to use trackinfo mod instead of trackinfo
D'OH!   

Thanks, Russell...
Title: Home stereo display
Post by: Acropolis on 2006-08-29 17:30:14
firstly, thanks for this display, good job.
secondly, I want to report some kind of "bugs".

the first problem I notice is the FLAC display. it never gets highlighted, because the line below is incorrect:

$if($stricmp(%codec%,flac),$get(active),$get(back)) FLAC

should be changed to:

$if($stricmp(%codec%,Monkey$char(39)s Audio),$get(active),$get(back)) FLAC

but in my opinion, the VC and FLAC display are duplicated display, because the other place already shows them as "VORBIS" and "MONKEY'S AUDIO".

the second problem is the rating symbol's location, when playing MP3, the display is fine, but when playing some files  like "MONKEY'S AUDIO" or "WINDOWS MEDIA AUDIO V7/V8", the symbols will get overlapped (covered), because the codec is too long, comparing with MP3.
Title: Home stereo display
Post by: Russell777 on 2006-08-29 17:42:53
firstly, thanks for this display, good job.
secondly, I want to report some kind of "bugs".

the first problem I notice is the FLAC display. it never gets highlighted, because the line below is incorrect:

$if($stricmp(%codec%,flac),$get(active),$get(back)) FLAC

should be changed to:

$if($stricmp(%codec%,Monkey$char(39)s Audio),$get(active),$get(back)) FLAC

but in my opinion, the VC and FLAC display are duplicated display, because the other place already shows them as "VORBIS" and "MONKEY'S AUDIO".

the second problem is the rating symbol's location, when playing MP3, the display is fine, but when playing some files  like "MONKEY'S AUDIO" or "WINDOWS MEDIA AUDIO V7/V8", the symbols will get overlapped (covered), because the codec is too long, comparing with MP3.

Hi,i'll fix the flac issue in the version that's coming out today,as for overlaping codec name,i've noticed that myself and already fixed it,but it will be released in the upcoming version,on which i'm working now.
BTW:Wanted to use the oportunity and to thank you for your great plugins.
Title: Home stereo display
Post by: uberkrieg on 2006-08-29 18:17:14
absolutely  amazin! working like a charm (after some wierd stuff )
thank you so much!!
keep up the great work
Title: Home stereo display
Post by: Russell777 on 2006-08-29 19:43:38
VERSION 1.4 IS IN THE AIR(see the first post)
I've made some effort to overcome the problem of playing time display,that was experienced by users
with high resolution displays.I wasn't able to test it (since i'm running 1024x768).
I'm waiting for your comments.Enjoy     
Title: Home stereo display
Post by: ashepler on 2006-08-29 20:16:51
Awesome work!!  Thank you

using at 1920x1200

(http://s87672339.onlinehome.us/IMG7.jpg)
Title: Home stereo display
Post by: BenniP on 2006-08-29 20:16:58
Thank you for this great piece of code!
Looks really nice, and runs fine!

Just one question, could you upload the 1.4 archive to something else than sendspace.com?
I can't download the files, always getting an "no download slots available".
Title: Home stereo display
Post by: beto on 2006-08-29 21:00:41
Nah, now that I tweaked almost everything to fit my display....   
Just kidding. I'll test this as soon as I get home and thanks again Russel777 for this code and for all the support you provide your users. 

Thanks also to SW!NG for helping me out to isolate my alignment problem in high resolution displays and providing me with tips.
Title: Home stereo display
Post by: Russell777 on 2006-08-29 21:46:16
I've added a link to this from the trackinfo wiki:
Wiki (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:0.9_Track_Info_Panel_Mod_%28foo_uie_trackinfo_mod%29)
The details aren't too substantial at the moment.

It is under the new Code Examples section.

By doing it you had immortalized this topic and the people who wrote here.
(We're all gonna be in history books,YES!) Thanks.                     
Title: Home stereo display
Post by: Acropolis on 2006-08-29 22:40:18
another "bug" found, when the played time or total time is over 60 mins, the displayed time is incorrect.
Title: Home stereo display
Post by: BenniP on 2006-08-29 22:41:14
I'm sorry to bother you again.
But could you also upload the "Stuff4.rar" to rapidshare?
Title: Home stereo display
Post by: Russell777 on 2006-08-29 23:09:25
another "bug" found, when the played time or total time is over 60 mins, the displayed time is incorrect.

It's not a bug,but well known thing.It wasn't planned to handle tracks over 60 minutes.Next version
will be capable of handling tracks up to 100 minutes with no change in appearance.But thank you for reporting
a problematic features,cos it the only way to make it better.
Title: Home stereo display
Post by: tomthomson on 2006-08-29 23:15:08
Great stuff you have coded there which fits very well in my black foobar style

One thing: Wouldnt It be better to have the progessbar somewhere near the time. Lets say on the left or right side of the elapsed time  - since its some kind of time information
Title: Home stereo display
Post by: ktr on 2006-08-29 23:22:29
just a personal mod-wish:
is it possible to make the last-played row as a progressbar, and the playcount as the volumedisplay?

i tried, but i'm not in this whole code thingy :/

i tried the progressbar instead of last-played thing, here is my result:

[a href=\"http://imageshack.us\" target=\"_blank\"]

code: replaced a lot of "//Rating FP Play count Compression//", so i paste my whole snippet from that "chapter"
Code: [Select]
////////////////////////////Rating FP Play count Compression//////////////////////////////////////////////////////
$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(400,$div(%_height%,5),%_width%,%_height%,,)
$font(wingdings,12,,250-250-250)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$repeat($char(171),$get(rating))
$get(back)$repeat($char(171),$sub(5,$get(rating)))
#LINEHEIGHT,13#$char(32)$char(10)
$font(7 segment,10,,250-250-250)
$progress(%playback_time_seconds%,%length_seconds%,10,|,-)
$alignabs(466,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$puts(percent,$num($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),3))
$if($stricmp($substr($get(percent),1,1),0),$puts(back1,$get(back))
$puts(percent,$char(32)$substr($get(percent),2,3))
,$puts(back1,$get(active)))
$alignabs(476,$sub($div(%_height%,5),2),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(7 Segment,10,,250-250-250)
$if($and(%isplaying%,%_time_total%),
$get(active)$get(percent),$get(active)$char(32)0)
$alignabs(476,$sub($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(Lucida sans unicode,8,,250-250-250)$get(active)'('$repeat($char(32),6)'%'
$alignabs(509,$sub($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(Lucida sans unicode,8,,250-250-250)$get(active)$repeat($char(32),0)')'

i kicked the compression display, to avoid confusion with the progress percentage behind the progress bar

the progressbar 'chapter' in the config can be deleted in this case, no bugs found so far,
but i'm no coding expert!!!!


perhaps if someone can make the stars flashing, like a progress bar, but every second the next one, and at the end, from the first star again? (omg, my english is so bad  sry) just as a little thing for the eyes
Title: Home stereo display
Post by: Russell777 on 2006-08-29 23:36:30
I'm sorry to bother you again.
But could you also upload the "Stuff4.rar" to rapidshare?


Mirror added for both archives.
Title: Home stereo display
Post by: beto on 2006-08-30 00:19:24
There is still some tweaking to be done (v. 1.4). Thanks for the code:

(http://img99.imageshack.us/img99/8744/buggy3tu8.th.png) (http://img99.imageshack.us/my.php?image=buggy3tu8.png)

a question: what line(s) take care of the alignment of the horizontal line in the middle of the tracknumber and elapsed time display (and also the : symbol)?

(http://img55.imageshack.us/img55/4291/buggy4vc6.th.png) (http://img55.imageshack.us/my.php?image=buggy4vc6.png)
Title: Home stereo display
Post by: Russell777 on 2006-08-30 00:36:42
There is still some tweaking to be done (v. 1.4). Thanks for the code:

(http://img99.imageshack.us/img99/8744/buggy3tu8.th.png) (http://img99.imageshack.us/my.php?image=buggy3tu8.png)

a question: what line(s) take care of the alignment of the horizontal line in the middle of the tracknumber and elapsed time display (and also the : symbol)?

(http://img55.imageshack.us/img55/4291/buggy4vc6.th.png) (http://img55.imageshack.us/my.php?image=buggy4vc6.png)


1st:No line taking care of it,it's defined by the font
2nd:See
Code: [Select]
$alignabs($add(141,$get(f2),$mul($get(s),1)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(2):
under "Time sequence"
Title: Home stereo display
Post by: beto on 2006-08-30 00:52:54
Found the problem of the odd horizontal line. It is the font size. For some reason 7 segment with a font size of 24 (default in your code) screws up the display for me. Changing to 25 or 23 solves the problem.

I knew it would be something stupid as this.....

Thanks again for the code and support.
Title: Home stereo display
Post by: beto on 2006-08-30 02:03:13
How do I use the media source (removable, local drive, streaming)?
I have one CD-ROM (h:) one DVD-RAM (i:) and one usb external drive (e:). If  I change the removable line to this: $puts(removable,hie) whenever I play a file from the usb drive (e:) it shows up as local drive..... is this intended?

thanks
Title: Home stereo display
Post by: acedriver on 2006-08-30 02:32:55
@ktr, thx for the progress bar replacemant code..

I don't use playcount, so your code is a perfect for me..
Title: Home stereo display
Post by: Westies on 2006-08-30 04:08:04
Brilliant! I'll be downloading this soon.
Title: Home stereo display
Post by: Russell777 on 2006-08-30 07:47:04
How do I use the media source (removable, local drive, streaming)?
I have one CD-ROM (h:) one DVD-RAM (i:) and one usb external drive (e:). If  I change the removable line to this: $puts(removable,hie) whenever I play a file from the usb drive (e:) it shows up as local drive..... is this intended?

thanks

No thats a bug,that i knew of but forgot to fix.Wait for "security update".Thanks for reminder.
Title: Home stereo display
Post by: RadioactiveMan on 2006-08-30 08:59:29
Quote
How do I use the media source (removable, local drive, streaming)?
I have one CD-ROM (h:) one DVD-RAM (i:) and one usb external drive (e:). If I change the removable line to this: $puts(removable,hie) whenever I play a file from the usb drive (e:) it shows up as local drive..... is this intended?

thanks


have you tried using upper case letters?
Title: Home stereo display
Post by: ktr on 2006-08-30 09:03:15
@ktr, thx for the progress bar replacemant code..

I don't use playcount, so your code is a perfect for me..


that's why i made it, was the same reason for me

hope with further updates it doesnt get too hard to update this

thanks for using btw
Title: Home stereo display
Post by: uRT on 2006-08-30 11:03:24
Oh this is just lovely, PM when you want to get married, I'll be waiting
Title: Home stereo display
Post by: moglenstar on 2006-08-30 12:04:10
This looks great, but could you upload the files to another mirror?

Rapidshare never works for me, because my internet is through a proxy, and sendspace has reached its limit.

Thanks in advance
Title: Home stereo display
Post by: eNforcer on 2006-08-30 12:22:50
Here is my mirror off my site, if Russell doesn't mind.
(Russel, you may use these links in your first post if you wish)

http://www.boringboard.com/V_1_4.rar (http://www.boringboard.com/V_1_4.rar)
http://www.boringboard.com/Some_Stuff_04.rar (http://www.boringboard.com/Some_Stuff_04.rar)
Title: Home stereo display
Post by: moglenstar on 2006-08-30 12:31:55
Here is my mirror off my site, if Russell doesn't mind.
(Russel, you may use these links in your first post if you wish)

http://www.boringboard.com/V_1_4.rar (http://www.boringboard.com/V_1_4.rar)
http://www.boringboard.com/Some_Stuff_04.rar (http://www.boringboard.com/Some_Stuff_04.rar)


Thanks for those
Title: Home stereo display
Post by: Russell777 on 2006-08-30 16:28:24
New version is coming out today with "security" improvements + predefined skins
Title: Home stereo display
Post by: josephyang on 2006-08-30 17:36:55
First of all...big thanks for this wonderful stuff
But I don't know how to fix this prob...(I mean the numbers in the red box)

---

Title: Home stereo display
Post by: blaxima on 2006-08-30 17:43:22
First of all...big thanks for this wonderful stuff
But I don't know how to fix this prob...(I mean the numbers in the red box)

I'm using v1.4 and installed fonts normally and copied // pasted the code
This prob happened with every track...what am I doing wrong???
Please help me out...


I had the exact same problem.
Installing the latest version (.9.3.1) of foobar corrected it
Title: Home stereo display
Post by: josephyang on 2006-08-30 18:19:03

First of all...big thanks for this wonderful stuff
But I don't know how to fix this prob...(I mean the numbers in the red box)

I'm using v1.4 and installed fonts normally and copied // pasted the code
This prob happened with every track...what am I doing wrong???
Please help me out...


I had the exact same problem.
Installing the latest version (.9.3.1) of foobar corrected it


GREAT !!! You're my life-saver!!! Much thanks for the help 
Title: Home stereo display
Post by: Russell777 on 2006-08-30 22:01:17
VERSION 1.5 is out (see the first post)

-added support for files larger than 60 minutes (up to 100 minutes)
-added limited (for now) theme support
        I'll wait for your comments.Enjoy     
Title: Home stereo display
Post by: Generalverdacht on 2006-08-30 22:23:03
VERSION 1.5 is out (see the first post)

-added support for files larger than 60 minutes (up to 100 minutes)
-added limited (for now) theme support
        I'll wait for your comments.Enjoy     



thumbs up!

great work as usual, but i´m not sure yet if i really should get a background image like these... harder to read, destroys my layout somehow and so on. but keep the good work up!
Title: Home stereo display
Post by: Russell777 on 2006-08-30 22:27:12

VERSION 1.5 is out (see the first post)

-added support for files larger than 60 minutes (up to 100 minutes)
-added limited (for now) theme support
        I'll wait for your comments.Enjoy     



thumbs up!

great work as usual, but i´m not sure yet if i really should get a background image like these... harder to read, destroys my layout somehow and so on. but keep the good work up!


You can leave the "Theme" variable blank and use the default display,it's only optional+as i said i suck when
it comes to making something beautiful,therefore the non contrast colors and backgrounds
Title: Home stereo display
Post by: ktr on 2006-08-31 09:48:51
http://www.hydrogenaudio.org/forums/index....st&p=425561 (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=425561)
tested, and works so far, with v1.5

as far as there are no changes in "Time total Bitrate Samplerate", this should always work

great work russel777 *thumbsup* also the theming is  a great idea!
Title: Home stereo display
Post by: Russell777 on 2006-08-31 10:51:20
There was a little problem with V 1.5:when in "no theme" mode the the inactive
background digits wasn't displayed,it's fixed,i've uploaded a new archive,so anyone who downloaded the archive yesterday please update.
Also i have an idea about Themes:I want to allow user not to only change the images and the colors of the
text,but also every single aspect of layout.The idea is to divide it into lego pieces (Track number,progressbar,
time,codec,etc.) and to give an option to align it the way the user wants+controlling it's size,color etc.
from inside the theme definitions.Now i want to know what do you think about it:will it be fun,or will it  be
to complicated for a user to understand?
Title: Home stereo display
Post by: Pingwinho on 2006-08-31 11:01:38
Hey, the  new version is unbelievably good.

But I've got a request.

Can you add a text for lyrics near the replay gain? i mean, not the Lyric tags but lyrics file.lrc. So I've got a song named 02 Universally Speaking, and in the same folder i have the lyrics file also named 02 Universally Speaking.lrc.
So if the song has lyrics .lrc it would be $get(active)LYRICS, and if not $get(back)LYRICS.

Is it possible?


And one more, how can i make the panel with the song name wider?



Sorry, for my English
Title: Home stereo display
Post by: Russell777 on 2006-08-31 11:05:13
Hey, the  new version is unbelievably good.

But I've got a request.

Can you add a text for lyrics near the replay gain? i mean, not the Lyric tags but lyrics file.lrc. So I've got a song named 02 Universally Speaking, and in the same folder i have the lyrics file also named 02 Universally Speaking.lrc.
So if the song has lyrics .lrc it would be $get(active)LYRICS, and if not $get(back)LYRICS.

Is it possible?

It's not likely possible,cos the trackinfo mod panel doesn't have the ability to open .lrc files.But i have something on my mind,i'll check it.
Title: Home stereo display
Post by: Russell777 on 2006-08-31 18:27:21
VERSION 1.6 is out (see the first post)
It now features info backgrounds and frames,that should give the info beter readability when using themes.
It's very important that you download the latest version of trackinfo mod plugin (30.8.06)

Also tomorrow i'm moving to new appartment and i'll have internet connection only on wensday,
so there will be no newer versions till then,but please continue to post your themes.Best regards.
Title: Home stereo display
Post by: blaxima on 2006-08-31 18:49:01
@Russell777

Damn ruslan, you definately have been putting in alot of effort here. Great job a good luck with the move 


P.S Keep up the good work
Title: Home stereo display
Post by: Russell777 on 2006-08-31 18:50:56
@Russell777

Damn ruslan, you definately have been putting in alot of effort here. Great job a good luck with the move 


P.S Keep up the good work

Thank you!But how do you know my real name? (I'm scared  )
Title: Home stereo display
Post by: blaxima on 2006-08-31 19:09:23

@Russell777

Damn ruslan, you definately have been putting in alot of effort here. Great job a good luck with the move 


P.S Keep up the good work

Thank you!But how do you know my real name? (I'm scared  )


   
2 words E MAIL, you only sent me like 5 or 6!!
Title: Home stereo display
Post by: Russell777 on 2006-08-31 19:10:49
Uh..I'm a little slow today
Title: Home stereo display
Post by: blaxima on 2006-08-31 19:12:23
Uh..I'm a little slow today


and a little paranoid too it looks like
Title: Home stereo display
Post by: unabatedshagie on 2006-08-31 19:31:02
Is there any chance when you release a new version could you not put the code in the zip file (or if you do could you post it in the first post) it's a pain to download 14Mb to update a trackinfo panel

p.s. this trackinfo panel config rocks
Title: Home stereo display
Post by: Russell777 on 2006-08-31 19:39:56
Is there any chance when you release a new version could you not put the code in the zip file (or if you do could you post it in the first post) it's a pain to download 14Mb to update a trackinfo panel

p.s. this trackinfo panel config rocks

Definately,next time i split it into two archives:one containing the updated code and images and one with all the fonts (arial unicode ms weights about 12M).

Also there's upcoming wonderful feature by Cwbowron that will be implemented in his "cwbhooks" plugin.
It will give user the ability to see the name of next/previous track in the playlist via titleformatting.
So what do you think:shall we add a new line with prev\next track or to show "now playing" and "next" title
for a limited period of time
Title: Home stereo display
Post by: BenniP on 2006-08-31 19:50:35
Yes! That would be great.

Does this feature work with the shuffle modes?
Title: Home stereo display
Post by: Russell777 on 2006-08-31 20:05:46
Yes! That would be great.

Does this feature work with the shuffle modes?

You'd better ask CwBowron b/s it's his development,i'm sure he will explain you the rest.
Title: Home stereo display
Post by: musosticky on 2006-08-31 20:22:53
Enjoy the new apartment dude and I think you've done enough work over the last week or so to keep us happy for a long while. In fact ill enjoy the time not having to update the panel every day  But I look forward to having you back. Thanks again for the hard work, pal.
Title: Home stereo display
Post by: musosticky on 2006-08-31 20:38:04
Rapidshare is playing up and has made me use my quota up for the day by not letting the download complete. Any chance of a mirror?
Title: Home stereo display
Post by: Acropolis on 2006-08-31 20:47:24
hello again.
could you put your updated code in the first post? because I found that for the past few updates you put the code inside the rar with the same fonts that I've got already, that makes the rar over 10MB, but I just need the code.

thanks
Title: Home stereo display
Post by: Russell777 on 2006-08-31 20:57:24
hello again.
could you put your updated code in the first post? because I found that for the past few updates you put the code inside the rar with the same fonts that I've got already, that makes the rar over 10MB, but I just need the code.

thanks


Done (i've uploaded a rar that contains only the code and the images 303KB) see the first post
Title: Home stereo display
Post by: foosion on 2006-08-31 21:34:35
Arial Unicode MS, Franklin Gothic Medium, Lucida Sans Unicode, Webdings, and Wingdings are copyrighted fonts. If you got permission from the copyright holders to distribute them, you should include some proof of that in the archive.

The LCD font family by Samuel Reynolds may be redistributed only under the terms of the license that is included in the original font package.

I suggest you remove any copyrighted fonts for which you don't have permission to distribute from your package before you re-add the link to the first post.
Title: Home stereo display
Post by: eNforcer on 2006-08-31 21:57:55
aye, Russell, PM me with new link when it's up and I'll mirror it for you again.

On a side note, how can I align the background image to the right more?

(http://www.seriosuploader.com/files/1/example_1_thumb.jpg) (http://www.seriosuploader.com/files/view/1/example_1.jpg)
Title: Home stereo display
Post by: Russell777 on 2006-08-31 22:24:06
aye, Russell, PM me with new link when it's up and I'll mirror it for you again.

On a side note, how can I align the background image to the right more?

(http://www.seriosuploader.com/files/1/example_1_thumb.jpg) (http://www.seriosuploader.com/files/view/1/example_1.jpg)


$imageabs(0,0,%_width%,%_height%,)
See the red zero? If you put here a possitive value the image will move right,negative-left.
Title: Home stereo display
Post by: Blitzmeister on 2006-09-01 04:55:21
Any chance of getting it to display ampersands (&)?  At least make it a plus (+) please?
Cheers
Title: Home stereo display
Post by: Russell777 on 2006-09-01 07:37:11
Any chance of getting it to display ampersands (&)?  At least make it a plus (+) please?
Cheers

Will be done in next version.
Title: Home stereo display
Post by: Warchief on 2006-09-01 14:50:42
I use version 1.6 of your script and
if play any *.dts file, i see this

(http://img378.imageshack.us/img378/5297/123za4.png)

Can you fix it please?
Title: Home stereo display
Post by: spex04 on 2006-09-02 02:53:05
Surely you can just link to the page with the LCD fonts on seeing as they'e are free afaik..?

It's just you're not allowed to put them in your zip file, but it should be OK to link to the original website.
Title: Home stereo display
Post by: dr kerneg on 2006-09-02 14:33:31
Great work, Rus!!! I simply love this trackinfo!!
But I've a problem with the fonts: the tracknumber, the encoding info and some other information aren't shown in stereo-like font. What can I do?
I'm tryin' to change the code, but i'm not so good 

Please, help me!!!

(I've all the fonts, the last version of foobar2000 e trackinfo_mod.
Sorry for my bad english!!!)

EDIT: I Made It!!!!
Title: Home stereo display
Post by: kockroach on 2006-09-02 15:25:48
Hey Russell777,

I love this config for the track info panel mod.  One small issue is that the LCD font doesn't display characters with accents, such as "é".  I was looking around for a possible substitute font, and found this one (http://www.dafont.com/transponder-aoe.font), which says on the page that it is free for personal use.  It has characters with accents, so I thought it would be a good one to potentially use.
Title: Home stereo display
Post by: Stuart60611 on 2006-09-02 17:13:57
I have tweaked Russel777's code a bit to suit my (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43077&view=findpost&p=426576) needs, primarily to allow for a full length horizontal display.  Essentially, I removed  the decreasing rating code, track number display, vertical progress bar, scrolling title display, and compression code. I then added mood display.  I then realigned all the text and then added a second panel for display of the title and a horizontal progress bar.
Title: Home stereo display
Post by: Borbus on 2006-09-03 00:27:54
I use version 1.6 of your script and
if play any *.dts file, i see this

(http://img378.imageshack.us/img378/5297/123za4.png)

Can you fix it please?

DTS is lossy...
Title: Home stereo display
Post by: Pingwinho on 2006-09-03 13:29:14
Yeah, but look at the second marker. It says that DTS is uncompressed media.
Title: Home stereo display
Post by: esa372 on 2006-09-03 15:03:29
Hey Russell777 - Great work; thank you!

Would it be possible to add a "Network Drive" designation on the far left of the display (where it shows "Streaming" "Removable" and "Local Drive")?

Thanks,

~esa
Title: Home stereo display
Post by: Borbus on 2006-09-03 18:56:35
Thanks for this plugin, it's great.

A question: what does it use for the last played date thing? I'm using foo_playcount 1.0 and the playcount works but the last played date always just has _____. Thanks.
Title: Home stereo display
Post by: Jacklewis on 2006-09-03 22:25:26
Thanks For the great Work
Can you give me a tip on how i can get the fonts to work?
Unfortunatily i cannot change the font to any than the default
using foov 0.9.3.1
Title: Home stereo display
Post by: jayzer on 2006-09-03 23:19:12
Why does mine look like this? I've installed all of the LCD fonts and seeing as I'm running XP, I should have all of the other fonts, correct?

(http://img474.imageshack.us/img474/8347/lcdrh0.gif)
Title: Home stereo display
Post by: Jacklewis on 2006-09-04 00:56:09
Why does mine look like this? I've installed all of the LCD fonts and seeing as I'm running XP, I should have all of the other fonts, correct?

(http://img474.imageshack.us/img474/8347/lcdrh0.gif)


Same here as well....
i cannot get any other fonts to work
Running Xp also
Title: Home stereo display
Post by: Borbus on 2006-09-04 01:02:25
The fonts aren't being distributed by the author of the plugin any more because he doesn't a have a license to redistribute them. You should have all the MS ones, you just need to download the LCD font family from here: http://www.spinwardstars.com/scrfonts/lcd.html (http://www.spinwardstars.com/scrfonts/lcd.html) and also 7 Segment from here: http://www.twyman.org.uk/Fonts/ (http://www.twyman.org.uk/Fonts/)

Install them all then it will work.
Title: Home stereo display
Post by: Jacklewis on 2006-09-04 01:49:52
The fonts aren't being distributed by the author of the plugin any more because he doesn't a have a license to redistribute them. You should have all the MS ones, you just need to download the LCD font family from here: http://www.spinwardstars.com/scrfonts/lcd.html (http://www.spinwardstars.com/scrfonts/lcd.html) and also 7 Segment from here: http://www.twyman.org.uk/Fonts/ (http://www.twyman.org.uk/Fonts/)

Install them all then it will work.



Thanks Works Like A charm
 
Title: Home stereo display
Post by: jayzer on 2006-09-04 07:53:47
Installed both sets of fonts and it still looks like this:

(http://img231.imageshack.us/img231/3088/lcd2tb6.jpg)

:-/
Title: Home stereo display
Post by: Russell777 on 2006-09-05 11:30:07
Hello world! I'm back! New version is coming soon,any last minute wishes?
Title: Home stereo display
Post by: RadioactiveMan on 2006-09-05 14:38:25
any last minute wishes?


converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font.
thank you.
Title: Home stereo display
Post by: kockroach on 2006-09-05 14:43:09
converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font.
thank you.

The font I found actually has those characters.  It is mentioned in this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=426684).
Title: Home stereo display
Post by: Russell777 on 2006-09-05 15:06:56

converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font.
thank you.

The font I found actually has those characters.  It is mentioned in this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=426684).

Please,could you provide me with an example track that has those symbols? I need to test it first.



Version 1.7 is out (see the first post)
Title: Home stereo display
Post by: Blitzmeister on 2006-09-05 15:39:33
Beautiful Work  I had too muck around with the padding to get the background boxes to align properly is this what what was supposed to happen?
Cheers
Title: Home stereo display
Post by: RadioactiveMan on 2006-09-05 15:43:51
The font I found actually has those characters.  It is mentioned in this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=426684).

I knew about that font but I have never seen an LCD supporting those accents. I would just prefer the conversion-thing.
Perhaps an option (conversion or not) would be the best thing.


Please,could you provide me with an example track that has those symbols? I need to test it first.


I could give you something. Do you have Skype? I could also send it via email. (374KB)

another small note: you should mention somewhere in the instructions, that a vertical and horizontal padding of 10 is needed for a correct alignment of the boxes behind the letters.
Title: Home stereo display
Post by: Russell777 on 2006-09-05 15:50:26
Quote
I could give you something. Do you have Skype? I could also send it via email. (374KB)

another small note: you should mention somewhere in the instructions, that a vertical and horizontal padding of 10 is needed for a correct alignment of the boxes behind the letters


Email me:russel777@gmail.com

As for the vertiacal padding:i didn't know that it affects the rectangle positioning (b/c it doesn't affect the rest)
I'll add the notice in the first post,thanks.
Title: Home stereo display
Post by: PHM on 2006-09-05 16:02:02
Multichannel support! You made my day...
Title: Home stereo display
Post by: unabatedshagie on 2006-09-05 16:18:08
Nice update, one thing you might consider adding is a queue length indicator although I have no idea where you would fit it in.
Title: Home stereo display
Post by: Russell777 on 2006-09-05 16:20:24
Quote
converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font. thank you.

Done,will be released soon.
Title: Home stereo display
Post by: kockroach on 2006-09-05 16:26:12
Quote
converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font. thank you.

Done,will be released soon.

If you will be doing this, you might want to get other characters with accents.
Title: Home stereo display
Post by: Russell777 on 2006-09-05 16:30:10

Quote
converting german special characters (ä,ö,ü,ß) to to ae, oe, ue, ss. this way they can be used with the lcd-font. thank you.

Done,will be released soon.

If you will be doing this, you might want to get other characters with accents.

Sure,for me it's chineese,if you could provide them to me (together with their spelling) i'll be glad.
Title: Home stereo display
Post by: kockroach on 2006-09-05 17:16:23
Sure,for me it's chineese,if you could provide them to me (together with their spelling) i'll be glad.

Here are a bunch of them for you:

À,Á,Â,Ã,Ä,Å,Æ,Ç,È,É,Ê,Ë,Ì,Í,Î,Ï,Ñ,Ò,Ó,Ô,Õ,Ö,Ù,Ú,Û,Ü,Œ

I pulled those out of the Character Map in Windows.  I think these are some of the more common ones.  I don't need all of these, but I thought it would be good to cover the bases.  I would assume that you could do upper and lower with needing to copy both here.  If not, let me know.
Title: Home stereo display
Post by: Russell777 on 2006-09-05 17:19:52

Sure,for me it's chineese,if you could provide them to me (together with their spelling) i'll be glad.

Here are a bunch of them for you:

À,Á,Â,Ã,Ä,Å,Æ,Ç,È,É,Ê,Ë,Ì,Í,Î,Ï,Ñ,Ò,Ó,Ô,Õ,Ö,Ù,Ú,Û,Ü,Œ

I pulled those out of the Character Map in Windows.  I think these are some of the more common ones.  I don't need all of these, but I thought it would be good to cover the bases.  I would assume that you could do upper and lower with needing to copy both here.  If not, let me know.

Thats all good,but how to spell those?I mean what english letters combinations should i assign to each of those
symbols?
Title: Home stereo display
Post by: kockroach on 2006-09-05 17:27:53

Here are a bunch of them for you:

À,Á,Â,Ã,Ä,Å,Æ,Ç,È,É,Ê,Ë,Ì,Í,Î,Ï,Ñ,Ò,Ó,Ô,Õ,Ö,Ù,Ú,Û,Ü,Œ

Thats all good,but how to spell those?I mean what english letters combinations should i assign to each of those
symbols?

Good point.  Most are straight forward (or should be unless I am wrong):

A,A,A,A,A,A,AE,C,E,E,E,E,I,I,I,I,N,O,O,O,O,O,U,U,U,U,OE
Title: Home stereo display
Post by: Russell777 on 2006-09-05 17:30:53
Thanks
Title: Home stereo display
Post by: spex04 on 2006-09-05 17:34:33
I think you should enclose the title/artist display bit in a $lower() function, because the capital M and W letters on the lcdmono2 font "run over" onto the next letter..

example:

(http://img96.imageshack.us/img96/6594/fbzk9.png)
Title: Home stereo display
Post by: Russell777 on 2006-09-05 17:37:42
I think you should enclose the title/artist display bit in a $lower() function, because the capital M and W letters on the lcdmono2 font "run over" onto the next letter..

example:

(http://img96.imageshack.us/img96/6594/fbzk9.png)

Thanks for the observation,i'll change it.
Title: Home stereo display
Post by: Jacklewis on 2006-09-06 02:14:01
Here Is A Little Ditty I made up for a background
(http://t.arellano.home.bresnan.net/F2K%20(Theme).png)
Corrected (http://rapidshare.de/files/32107851/F2K_Theme.rar.html)

(http://t.arellano.home.bresnan.net/lay.png)
Title: Home stereo display
Post by: xx1 on 2006-09-06 02:52:03
Here Is A Little Ditty I made up for a background

Link1 (http://rapidshare.de/files/32100478/F2K_Theme.rar.html)
Link2 (http://rapidshare.de/files/32100478/F2K_Theme.rar?killcode=2880482172)


Jacklewis, I'm so Sorry.
I clicked 2nd Link. 
2nd link is delete uploaded file.
Reupload your theme. PLZ.
Title: Home stereo display
Post by: acedriver on 2006-09-06 05:37:52
I think you should enclose the title/artist display bit in a $lower() function, because the capital M and W letters on the lcdmono2 font "run over" onto the next letter..

example:

(http://img96.imageshack.us/img96/6594/fbzk9.png)

fixed if you use LCD2
Title: Home stereo display
Post by: jahpal on 2006-09-06 06:12:02
Russell 777 you are the man Bro. Thank you So much , you are a geneus man with those display they are Off the Hinges they`ll Great.  Give Thanks...  JAHPAL Love`em
Title: Home stereo display
Post by: Crissaegrim on 2006-09-06 06:51:42
Hi, Russell.  Thanks for new updates.  They're nice.

Unicode (Chi/JP/Kor/Rus) stopped working for me.

(http://static.flickr.com/88/235716207_5b43d23d4a_m.jpg) (http://static.flickr.com/88/235716207_5b43d23d4a_o.png)

But not when the title's latin...

(http://static.flickr.com/85/235716206_d6e2b3ddfa_m.jpg) (http://static.flickr.com/85/235716206_d6e2b3ddfa_o.png)
Title: Home stereo display
Post by: cvax on 2006-09-06 07:58:18
Hi, Russell.  Thanks for new updates.  They're nice.

Unicode (Chi/JP/Kor/Rus) stopped working for me.

(http://static.flickr.com/88/235716207_5b43d23d4a_m.jpg) (http://static.flickr.com/88/235716207_5b43d23d4a_o.png)

But not when the title's latin...

(http://static.flickr.com/85/235716206_d6e2b3ddfa_m.jpg) (http://static.flickr.com/85/235716206_d6e2b3ddfa_o.png)

hey what font are you using for the chi/jp/kor/rus displayed in blue above the home stereo display?
Title: Home stereo display
Post by: spex04 on 2006-09-06 14:36:18

I think you should enclose the title/artist display bit in a $lower() function, because the capital M and W letters on the lcdmono2 font "run over" onto the next letter..

example:

Title: Home stereo display
Post by: Russell777 on 2006-09-06 15:33:17
Hi, Russell.  Thanks for new updates.  They're nice.

Unicode (Chi/JP/Kor/Rus) stopped working for me.

(http://static.flickr.com/88/235716207_5b43d23d4a_m.jpg) (http://static.flickr.com/88/235716207_5b43d23d4a_o.png)

But not when the title's latin...

(http://static.flickr.com/85/235716206_d6e2b3ddfa_m.jpg) (http://static.flickr.com/85/235716206_d6e2b3ddfa_o.png)

Yes i know,it's because i had to remove the arial unicode ms font support,but i plan to release an update in which every one could use his own defined font for unicode needs,coming soon.
Title: Home stereo display
Post by: ktr on 2006-09-06 16:03:10
(http://img231.imageshack.us/img231/3008/17progressbarlx3.jpg) (http://imageshack.us)

--> http://rapidshare.de/files/32160672/1.7_al...essbar.rar.html (http://rapidshare.de/files/32160672/1.7_alterna_progressbar.rar.html)

my little custom mod, because i dont use last played, so i made it to a progressbar
using V1.7

if any1 has a nice idea, what can be used instead of the rating, post it, i have no good idea (and almost no coding skills :/ )
Title: Home stereo display
Post by: Russell777 on 2006-09-06 20:29:21
VERSION 1.7.1 is out (see the first post)

Added:
-Support for user defined fonts
-Basic transcription support for latin letters with accents.(while using LCD font)
-Adjustable scroll window length
-Slightly changed alignment to achive a more compact and solid look
-Additional theme

Well I know i'm being a pain in the ass with all the updates,but I'm just trying to make it better
and more usable.I promise not to release any updates in the nearest future.Enjoy     
Title: Home stereo display
Post by: Crissaegrim on 2006-09-06 20:31:43
Tahoma has unicode.  And almost everyone has Tahoma...

Quote
hey what font are you using for the chi/jp/kor/rus displayed in blue above the home stereo display?
That's Tahoma.  size 26pt
Title: Home stereo display
Post by: cwbowron on 2006-09-06 21:45:57
I love the stereo track info display, it has changed the way I use foobar2000.

Since you are adding options for various things, I have a couple suggestions that others might like as well and I'd love to see them as configuration variables so I dont have to remake the changes when I update to latest versions.

1 - Option to disable the leading zero on total time and play time.  This can be done

Code: [Select]
$puts(1,$replace($get(1),0, ))
$puts(8,$replace($get(8),0, ))


2 - Option to display the last played date as the number of days ago, rather than the actual date.  Perhaps the YY_MM_DD variable could be extended to allow you to choose from YY-MM-DD, YY.MM.DD, or xx Days Ago.

Code: [Select]
$get(active)
$if(%last_played%, $puts(diff,$cwb_datediff(%last_played%,%cwb_systemdate%))
$ifgreater(1,$get(diff),today,$ifgreater(2,$get(diff),yesterday,$get(diff) days)),..........)
Title: Home stereo display
Post by: Russell777 on 2006-09-06 21:54:57
Quote
2 - Option to display the last played date as the number of days ago, rather than the actual date. Perhaps the YY_MM_DD variable could be extended to allow you to choose from YY-MM-DD, YY.MM.DD, or xx Days Ago.

Yes,i thought about it (already reserved the space for this feature) That's where your plugin will come into
full action.On this note do you plan to add %cwb_next_title% support for shuffled playlist? I've already written
the next track part of the code but haven't included it in the current version b/c it's only capable to correctly
display the next track from the "default" playback order.I would love to see it working with shuffle too.
As for your first request i'll add it in the following versions.
Title: Home stereo display
Post by: cwbowron on 2006-09-06 22:01:10
Yes,i thought about it (already reserved the space for this feature) That's where your plugin will come into
full action.On this note do you plan to add %cwb_next_title% support for shuffled playlist? I've already written
the next track part of the code but haven't included it in the current version b/c it's only capable to correctly
display the next track from the "default" playback order.I would love to see it working with shuffle too.
As for your first request i'll add it in the following versions.


I don't know if it is technically possible to get the next track that will play when you are in shuffle mode.  I've looked in the SDK for a way to determine it, but I cannot find anything.  So if anyone reading this is familiar with the SDK and knows a way to do this, please let me know.

%cwb_next_title% should currently work with default playback order or with queued files.

Thanks for listening to the requests.
Title: Home stereo display
Post by: spex04 on 2006-09-07 00:01:31
How about centering the track artist/title info when it doesn't need to be scrolled?

And being able to change the left and top padding using customizable variables, so you can shift all the text/info up/down/left/right?

They're the only 2 things that could make this better IMO.
Title: Home stereo display
Post by: jahpal on 2006-09-07 03:12:00
thank you
Title: Home stereo display
Post by: kockroach on 2006-09-07 04:58:23
Hey Russell,

With the new beta, it doesn't properly display "VBR" for MP3 files.  It would appear that there is no %__extrainfo% field now with the new detction of MP3 tech fields.
Title: Home stereo display
Post by: MrMuffin on 2006-09-07 05:37:10
How about centering the track artist/title info when it doesn't need to be scrolled?

And being able to change the left and top padding using customizable variables, so you can shift all the text/info up/down/left/right?

They're the only 2 things that could make this better IMO.


Following along with what you suggested - perhaps a variable could be defined at the top which would allow the user to change the alignment of everything in the trackinfo panel at once.  Like, Left / Center / Right alignments.  This would allow for users running at high resolutions with really large foobar windows (like myself) to be a little more creative in placing this into their configurations.

You've done some awesome work on this thing, Russel!  It's really amazing what you've done with the tools available!
Title: Home stereo display
Post by: acedriver on 2006-09-07 05:41:37
Hey Russell,

With the new beta, it doesn't properly display "VBR" for MP3 files.  It would appear that there is no %__extrainfo% field now with the new detction of MP3 tech fields.

it's displayed correctly on my machine.

foobar2000 0.9.4 beta 1, config v1.7
Title: Home stereo display
Post by: Russell777 on 2006-09-07 05:56:27
Hey Russell,

With the new beta, it doesn't properly display "VBR" for MP3 files.  It would appear that there is no %__extrainfo% field now with the new detction of MP3 tech fields.

Yes i can confirm,the %_extrainfo% field had been removed,so from now on i'll have to support  both 0.9.3 and
0.9.4 fields,i'll release an update later today.The o.9.4 version also gives more info about the codec and bitrate type,i'll add this info too.
If you encounter some more strange things under 0.9.4 please post.Note that the 0.9.3 version will be fully supported by the update.
Title: Home stereo display
Post by: acedriver on 2006-09-07 06:24:44
ok.. I get want you mean..

when I retag a VBR file in 0.9.4 beta 1, %_extrainfo% field is removed.
Title: Home stereo display
Post by: james.miller on 2006-09-07 11:50:41
i cant get my background to work. everythign else is fine, but i have no back grounds, only solid colour. I appologise if its been mentioned before, but does anybody know what my problem is?

cheers
Title: Home stereo display
Post by: unabatedshagie on 2006-09-07 13:11:04
i cant get my background to work. everythign else is fine, but i have no back grounds, only solid colour. I appologise if its been mentioned before, but does anybody know what my problem is?

cheers
Have you followed the instructions in the readme?

Do you have the images in the images directory that must be located in your foobar's profile directory (where's your foobar.cfg file is located) (....\foobar2000\images\ or ..application data\foobar2000\images\ -depends on user profile support).
Title: Home stereo display
Post by: Russell777 on 2006-09-07 23:45:37
VERSION 1.7.2 is out (see the first post)
Now the main purpose of this version is to provide compatibility with the new Foobar 0.9.4 beta.
I've added some features,along with a couple of your requests,but many more requests has been left
for later versions as i was restricted in time to release the compatibility update.This version tested
to run with both v0.9.3.1 and v0.9.4 b1.
Title: Home stereo display
Post by: kockroach on 2006-09-08 00:23:05
Hey Russell, this looks great.  I did notice though that on FLAC files, it is showing the files both "LOSSLESS" and "CBR".  Should it be doing this?
Title: Home stereo display
Post by: spex04 on 2006-09-08 02:41:18
Nice updates 

I think it'd be better if the first/last played bits were swapped around (so the date section under rating shows firstplayed, and the text at bottom shows last played). IMO, it makes more sense to have the last played info in text, where it stands out more. Or give an option to swap them round?

Also it would be good if you moved the artist/title string up to the top, so we could change it without having to search through the whole code.

Another idea would be to add something like ' *** ' to the end on the title string when it is being scrolled forwards only, and then making it continuously scroll through, so the string would keep getting added onto the end, and keep looping. Don't know if that could actually be done, but might be good.

Anyway, glad you keep working on this..
Title: Home stereo display
Post by: Blitzmeister on 2006-09-08 03:38:24
I was playing a song before that had a question mark in it and the whole line of info disappeared from track info. Is this supposed to happen??
Title: Home stereo display
Post by: JzE on 2006-09-08 14:56:40
I have a problem with the 1.7.2 version. 1.7.1 worked fine but now this is somehow messed up.

(http://jze.arkku.net/problem.png)

Like this. What are those ////////'s on the background?

And I'm using the latest beta. 0.9.4 beta 1

~JzE
Title: Home stereo display
Post by: Russell777 on 2006-09-08 15:28:11
I have a problem with the 1.7.2 version. 1.7.1 worked fine but now this is somehow messed up.

(http://jze.arkku.net/problem.png)

Like this. What are those ////////'s on the background?

And I'm using the latest beta. 0.9.4 beta 1

~JzE


It's obviously one of the code parts separator that got messed up while copying the code from the txt file.
Try to reduce the font size in the txt file and re paste it.If it doesnt work for you,you'll have to go through the code and manualy delete all the separators,till it's all good again ("//////").I used arial 10 pt font
while making the code txt file,so no problems with it from my side,if your font is bigger sized you can get
some long lines "cut off",and thats what's causing the problem.

Quote
Hey Russell, this looks great. I did notice though that on FLAC files, it is showing the files both "LOSSLESS" and "CBR". Should it be doing this?


No it's my fault,probably messed things up while making the bitrate mode recognition compatible with
fb2k 0.9.4b .Sorry for that i'll fix it.

Quote
I think it'd be better if the first/last played bits were swapped around (so the date section under rating shows firstplayed, and the text at bottom shows last played). IMO, it makes more sense to have the last played info in text, where it stands out more. Or give an option to swap them round?


Ok,it will be switchable.

Quote
I was playing a song before that had a question mark in it and the whole line of info disappeared from track info. Is this supposed to happen??

I've tried to make the auto font recognition better but probably it came out worse,i'll check it
and if so,I'll fix it.

Quote
Another idea would be to add something like ' *** ' to the end on the title string when it is being scrolled forwards only, and then making it continuously scroll through, so the string would keep getting added onto the end, and keep looping. Don't know if that could actually be done, but might be good.

It's called "cycle" scrolling,and i'm planning to add it at some stage.

To everybody:i get alot of requests,but you sure understand that it's impossible to add all these,
that some other people might not like,so i'll need more than a single request to add something.
Title: Home stereo display
Post by: apathy on 2006-09-08 16:13:15
How do you fix the NF for the playback? I have all the right fonts installed
Title: Home stereo display
Post by: Russell777 on 2006-09-08 16:34:30
How do you fix the NF for the playback? I have all the right fonts installed

It's should be displayed using "wingdings 3" font,check if you have it installed on your system.
Title: Home stereo display
Post by: JzE on 2006-09-08 16:42:54
It's obviously one of the code parts separator that got messed up while copying the code from the txt file.
Try to reduce the font size in the txt file and re paste it.If it doesnt work for you,you'll have to go through the code and manualy delete all the separators,till it's all good again ("//////").I used arial 10 pt font
while making the code txt file,so no problems with it from my side,if your font is bigger sized you can get
some long lines "cut off",and thats what's causing the problem.


Ah.. Yep. The code was messed up somehow, but repasting worked. (I wonder why I didn't try it myself first =/) But thanks

~JzE
Title: Home stereo display
Post by: apathy on 2006-09-08 17:20:08

How do you fix the NF for the playback? I have all the right fonts installed

It's should be displayed using "wingdings 3" font,check if you have it installed on your system.



Yea i guess thats the problem  i have "wingdings" but no "wingdings 3" 
Title: Home stereo display
Post by: Pingwinho on 2006-09-08 17:52:51
I've got a problem. The code says that the song was played 6 days ago, but the it was played 2 days ago! How can i fix it?
Title: Home stereo display
Post by: Russell777 on 2006-09-08 18:03:54
I've got a problem. The code says that the song was played 6 days ago, but the it was played 2 days ago! How can i fix it?

can you send me your file for examination?
Title: Home stereo display
Post by: Pingwinho on 2006-09-08 18:11:23
you mean the code?

here it is
Code: [Select]
/////////////////////////////////////////Definitions///////////////////////////////////////////////////
$puts(Theme,space)
$puts(removable,FGH)
$puts(glass_intensity,10)
$puts(back,$rgb(100,100,100))
$puts(active,$rgb(250,250,250))
$puts(center,1)
$puts(display_back,1)
$puts(full,null)
$puts(frame,null)
$puts(decreaserange,15)
$puts(YY_MM_DD,)
$puts(first_played,1)
$puts(alt_font,)
$puts(alt_font_size,)
$puts(alt_font_options,)
$puts(symbolinfo,1)
$puts(scrollback,1)
$puts(window,65)
$puts(size,24)
///////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////THEMES//////////////////////////////////////////////////
$if($stricmp($get(Theme),space),
$puts(back,$rgb(100,100,100))
$puts(active,$rgb(250,250,250))
$puts(font_options,)
$puts(display_back,)
$puts(full,null)
$puts(frame,100-100-100)
$imageabs(0,0,images\star.png,)
)


//THEME VISTA INSPIRAT BY PINGWINHO
//FOR HOME STEREO DISPLAY BY RUSSELL777

$if($stricmp($get(Theme),Vista Inspirat),
$puts(back,$rgb(94,105,10))
$puts(active,$rgb(44,46,61))
$puts(font_options,)
$puts(display_back,)
$puts(full,132-152-16 )
$puts(frame,102-132-0)
$imageabs(0,0,images\grass.png,)
)

$if($stricmp($get(Theme),stardust),
$puts(back,$rgb(50,50,100))
$puts(active,$rgb(200,200,250))
$puts(font_options,glow-50-50-100 glowalpha-100)
$puts(display_back,)
$puts(full, alpha-100)
$puts(frame,null)
$imageabs(-20,-27,images\stardust.png,)
)
//  LAVA-theme by Sw!ng
// For Russell777's HOME STEREO DISPLAY.
// Enjoy !!

$if($stricmp($get(Theme),Lava),
$puts(back,$rgb(0,0,0))
$puts(active,$rgb(250,0,0))
$puts(font_options,)
$puts(display_back,)
$puts(full,)
$puts(frame,0-0-0 alpha-100)
$imageabs(-210,$sub($mul($mod(%_time_elapsed_seconds%,60),-8),80),images\RedLava.png,)
)
///////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////TIME Sequence//////////////////////////////////////////////
$if(%isplaying%,$puts(active,$get(active)),$puts(active,$get(back))
$puts(font_options,)$puts(display_back,1))
$if($or($get(full),$get(frame)),
$drawrect(7,$sub($div(%_height%,5),7),39,29,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(48,$sub($div(%_height%,5),7),30,29,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(175,$add($div(%_height%,5),10),41,12,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(79,$sub($div(%_height%,5),7),91,29,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(175,$sub($div(%_height%,5),7),41,15,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(221,$sub($div(%_height%,5),7),166,29,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(388,$sub($div(%_height%,5),7),120,29,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(509,$sub($div(%_height%,5),18),25,40,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(7,$add($div(%_height%,5),25),527,15,brushcolor-$get(full) pencolor-$get(frame))
$if($get(first_played),
$drawrect(276,$add($div(%_height%,5),43),232,15,brushcolor-$get(full) pencolor-$get(frame))
$drawrect(509,$add($div(%_height%,5),43),25,15,brushcolor-$get(full) pencolor-$get(frame))))
$if($stricmp($get(alt_font),),$puts(alt_font,arial))
$if($stricmp($get(alt_font_size),),$puts(alt_font_size,11))
$puts(min,$div( %playback_time_seconds%,60))
$if($stricmp($len($get(min)),1),$puts(min,0$get(min)))
$puts(sec,$mod( %playback_time_seconds%,60))
$if($stricmp($len($get(sec)),1),$puts(sec,0$get(sec)))
$puts(time,$get(min):$get(sec))
$if(%_time_total%,
$puts(total,$num($div( %length_seconds%,60),2):
$num($mod( %length_seconds%,60),2))
,$puts(total,__:__))
$font(7 Segment,$get(size),$get(font_options),250-250-250)
$puts(1,$substr($get(time),1,1))
$puts(2,$substr($get(time),2,2))
$puts(4,$substr($get(time),4,4))
$puts(5,$substr($get(time),5,5))
$puts(6,$substr(%tracknumber%,1,1))
$puts(7,$substr(%tracknumber%,2,2))
$puts(8,$substr($get(total),1,1))
$puts(9,$substr($get(total),2,2))
$puts(10,$substr($get(total),4,4))
$puts(11,$substr($get(total),5,5))
$puts(s,$calcwidth($get(1)))
$puts(s1,$calcwidth()
$if($stricmp($get(1),7),$puts(f1,2),)
$if($stricmp($get(2),7),$puts(f2,2),)
$if($stricmp($get(5),7),$puts(f5,3),)
$if($stricmp($get(6),7),$puts(f6,3),)
$if($stricmp($get(7),7),$puts(f7,3),)
$if($stricmp($get(8),7),$puts(f8,3),)
$if($stricmp($get(9),7),$puts(f9,3),)
$if($stricmp($get(10),7),$puts(f10,3),)
$if($stricmp($get(11),7),$puts(f11,2),)
$alignabs(91,$div(%_height%,5),%_width%,%_height%,,)$get(back)
$if($get(display_back),$char(56)$char(56):$char(56)$char(56),)
$alignabs($add(91,$get(f1)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(1)
$alignabs($add(91,$get(f2),$mul($get(s),1)),$div(%_height%,5),
%_width%,%_height%,,)
$get(active)$get(2):
$alignabs($add(92,$get(f4),$mul($get(s),2),$get(s1)),$div(%_height%,5),
%_width%,%_height%,,)
$get(active)$get(4)
$alignabs($add(92,$get(f5),$mul($get(s),3),$get(s1)),$div(%_height%,5)
,%_width%,%_height%,,)
$get(active)$get(5)
//////////////////////////////////////////Source////////////////////////////////////////////////////
$puts(str,1)
$alignabs(21,$add($div(%_height%,5),57),%_width%,%_height%,,)
$font(arial,6,bolditalic$get(font_options),250-250-250)
#LINEHEIGHT,9#
$if($stricmp(ftp,$substr(%path%,1,3)),$get(active),$get(back))NET DRIVE
$char(32)$char(32)
$if($stricmp(\,$substr(%path%,1,1)),$get(active),$get(back))REMOTE PC
$char(32)$char(32)
$if($stricmp($substr(%path%,1,4),http),$get(active)STREAMING$puts(str,),
$get(back)STREAMING)$char(32)$char(32)
$if($or($not($stricmp($strchr($get(removable),$substr(%path%,1,1)),0)),
$stricmp(%codec%,CDDA)),$get(active)REMOVABLE,
$get(back)REMOVABLE)$char(32)$char(32)
$if($and($stricmp($strchr($get(removable),$substr(%path%,1,1)),0),
$stricmp($stricmp(\,$substr(%path%,1,1)),),$stricmp($stricmp(ftp,$substr(%path%,1,3)),),
$not($stricmp(%codec%,CDDA)),$not($stricmp($substr(%path%,1,4),http))),
$get(active)LOCAL DRIVE,$get(back)LOCAL DRIVE)
/////////////////////////Stereo Encoding Tagtype RG///////////////////////////////////////
$alignabs(21,$div(%_height%,50),%_width%,%_height%,,)
#LINEHEIGHT,4#$char(32)$char(10)
$font(arial,7,bolditalic$get(font_options),250-250-250)
$if($stricmp(%channels%,8ch),$get(active),$get(back))7.1
$if($stricmp(%channels%,7ch),$get(active),$get(back))$char(32)6.1
$if($stricmp(%channels%,6ch),$get(active),$get(back))$char(32)5.1$char(32)
$if($stricmp(%__mp3_stereo_mode%,JOINT STEREO),$get(active)JOINT STEREO
$get(back)$char(32)MONO,
$if($stricmp(%channels%,stereo),$get(back)JOINT $get(active)STEREO
$get(back)$char(32)MONO,
$get(back)JOINT STEREO
$if($stricmp(%channels%,MONO),$get(active)$char(32)MONO,
$get(back)$char(32)MONO)))
$if($stricmp($info(encoding),lossy),$get(active) LOSSY$get(back) LOSSLESS,
$get(back) LOSSY$get(active) LOSSLESS)
$if($or($stricmp(%codec_profile%,CBR),
$and($stricmp($info(extrainfo),),$stricmp(%codec_profile%,?)),
$stricmp($info(encoding),lossless),$stricmp(%codec%,wma)),
$get(active),$get(back)) CBR
$if($or($stricmp(%codec%,musepack),$and($stricmp(%codec%,aac),$get(str)),
$info(extrainfo),$strstr(%codec_profile%,VBR)),$get(active),$get(back)) VBR
$if($stricmp(%codec%,vorbis),$get(active),$get(back)) ABR
$if($strstr($info(tagtype),id3v1),$get(active),$get(back)) ID3V1
$if($strstr($info(tagtype),id3v2),$get(active),$get(back)) ID3V2
$if($strstr($info(tagtype),apev2),$get(active),$get(back)) APEV2
$if($stricmp(%codec%,vorbis),$get(active),$get(back)) VC
$if($stricmp(%codec%,flac),$get(active),$get(back)) FLAC
$if($or( %__replaygain_album_gain%,%__replaygain_track_gain%)
,$get(active),$get(back)) R-GAINED
////////////////////////////////Play pause tracknumber//////////////////////////////////////////
$alignabs(193,$add($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$font(webdings,10,$get(font_options),250-250-250)
$if(%ispaused%,$get(active),$get(back))$char(59)
$font(arial,9,$get(font_options),250-250-250)
$if($not(%ispaused%),$get(active),$get(back))$char(9658)
$alignabs(21,$div(%_height%,5),%_width%,%_height%,,)
$font(7 Segment,$get(size),$get(font_options),250-250-250)
$if($get(display_back),$get(back)$char(56)$char(56),)
$alignabs($add(21,$get(f6)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(6)
$alignabs($add(21,$get(f7),$get(s)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(7)
//////////////////////////////////////////Time total //////////////////////////////////////////////
$alignabs(188,$div(%_height%,5),%_width%,%_height%,,)
$font(7 segment,11,$get(font_options),250-250-250)
$puts(s2,$calcwidth($get(8)))
$puts(s3,$calcwidth()
#LINEHEIGHT,3#$char(32)$char(10)
$if($get(display_back),$get(back)$char(56)$char(56):$char(56)$char(56),)
$alignabs($add(188,$get(f8)),$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(8)
$alignabs($add(188,$get(s2),$get(f9)),$div(%_height%,5),
%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(9):
$alignabs($add(188,$mul($get(s2),2),$get(s3)),$div(%_height%,5),
%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(10)
$alignabs($add(188,$get(s3),$mul($get(s2),3),$get(f11)),
$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(11)
///////////////////////////////Bitrate Samplerate Compression/////////////////////////////////
$alignabs(237,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$font(7 segment,10,$get(font_options),250-250-250)
$get(active)[%bitrate%]
$alignabs(265,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$font(arial,7,$get(font_options),250-250-250)$get(active)Kb/s
$font(7 segment,10,$get(font_options),250-250-250)
$get(active)$char(32)[%samplerate%]
$alignabs(329,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,19#$char(32)$char(10)
$font(arial,7,$get(font_options),250-250-250)$get(active) Hz
$alignabs(354,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,2#$char(32)$char(10)
$font(7 segment,10,$get(font_options),250-250-250)
$puts(show,$num($muldiv(1000,$info(bitrate),1411),3))
$if(%isplaying%,$if($stricmp($get(show),1000),
$font(lcd2,9,bold,250-250-250)$repeat($char(10),8)$get(active)ucm$puts(flag2,1),
$get(active)$repeat($char(10),7)$substr($get(show),1,2)
'.'$substr($get(show),3,3)))
$alignabs(383,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,19#$char(32)$char(10)
$font(arial,7,$get(font_options),)$if($get(flag2),$get(back),$get(active))'%'
//////////////////////////////////Rating FP Play count//////////////////////////////////////////
$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(403,$div(%_height%,5),%_width%,%_height%,,)
$font(wingdings,12,$get(font_options),250-250-250)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$repeat($char(171),$get(rating))
$get(back)$repeat($char(171),$sub(5,$get(rating)))
#LINEHEIGHT,13#$char(32)$char(10)
$font(7 segment,10,$get(font_options),250-250-250)
$get(active)$if(%last_played%,$if($get(YY_MM_DD),
[$substr(%last_played%,1,4).$substr(%last_played%,6,7).$substr(%last_played%,9,10)],
[$substr(%last_played%,9,10).$substr(%last_played%,6,7).]
$substr(%last_played%,1,4)),..........)
$alignabs(469,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$font(7 segment,10,$get(font_options),250-250-250)$get(active)
$repeat($char(32),3)$num($add(%play_count%,%play_counter%),3)
$alignabs(479,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(arial,7,$get(font_options),250-250-250)$get(active)'('$repeat($char(32),10)')'
$font(7 segment,10,$get(font_options),250-250-250)
$alignabs(483,$add($div(%_height%,5),19),%_width%,%_height%,,)
$font(arial,7,$get(font_options),250-250-250)$get(active)'x'
//////////////////////////////////////////Codec///////////////////////////////////////////////////
$alignabs(237,$div(%_height%,5),%_width%,%_height%,,)
$font(lcd2,10,bold$get(font_options),250-250-250)
#LINEHEIGHT,5#$char(32)$char(10)
$get(active)$if($stricmp($substr(%codec%,1,7),windows),WMA,
$if($strstr($info(tool),LAME),lame mp3,$lower(%codec%)))
////////////////////////////////////////Track info///////////////////////////////////////////////
$alignabs(21,$div(%_height%,5),%_width%,%_height%,,)
$puts(title,
['"'%title%'"'][ - %artist%]['/'%album%] ['('%date%')'])
#LINEHEIGHT,1#$char(32)$char(10)
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),32),
$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)))
$font(lcdmono2,11,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(active)
$if($greater($len($get(title)),$get(window)),
$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(window)))
$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(window)),
$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(window),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(window),$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(window)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(window),$get(mod))))),
$alignabs(11,$add($div(%_height%,5),36),537,%_height%,
$if($get(center),center),top)
$get(active)$get(title))
$font(arial,8,$get(font_options),250-250-250)
$alignabs(520,$add($div(%_height%,5),20),%_width%,%_height%,,)
#LINEHEIGHT,34#$char(32)$char(10)
$if($greater($get(flag),0),$get(active),$get(back))$char(9668)$char(32)
$if($get(scrollback),
$if($or($greater($get(shift),$get(mod)),$greater($get(mod),$get(shift))),
$get(active),$get(back)),
$if($greater($get(shift),$add($get(mod),1)),$get(active),$get(back)))$char(9658)
//////////////////////////////////////Progress Bar/////////////////////////////////////////////
$font(lcd2,15,$get(font_options),250-250-250)
$puts(symbol,_)
$alignabs(522,$sub($div(%_height%,5),21),%_width%,%_height%,,)
#LINEHEIGHT,3#
$puts(percent,$num($muldiv(%_time_elapsed_seconds%,100,
%_time_total_seconds%),3))
$if($stricmp($substr($get(percent),1,1),0),$puts(back1,$get(back))
$puts(percent,$char(32)$substr($get(percent),2,3))
,$puts(back1,$get(active)))
$repeat($get(back1)$get(symbol)$char(10),$sub(9,$substr($get(percent),2,2)))
$get(active)$repeat($get(symbol)$char(10),$substr($get(percent),2,2))
$alignabs(532,$sub($div(%_height%,5),21),%_width%,%_height%,,)
#LINEHEIGHT,3#
$repeat($get(back1)$get(symbol)$char(10),$sub(9,$substr($get(percent),3,3)))
$get(active)$repeat($get(symbol)$char(10),$substr($get(percent),3,3))
$alignabs(519,$sub($div(%_height%,5),2),%_width%,%_height%,,)
#LINEHEIGHT,22#$char(32)$char(10)
$font(7 Segment,8,$get(font_options),250-250-250)
$if($and(%isplaying%,%_time_total%),
$get(active)$get(percent),$get(active)$char(32)0)
$alignabs(532,$sub($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,22#$char(32)$char(10)
$font(arial,6,$get(font_options),250-250-250)$get(active) '%'
/////////////////////////////////////Relative quality///////////////////////////////////////////////
$if($stricmp(%codec%,mp3),$puts(range,264)$puts(lb,56))
$if($stricmp(%codec%,musepack),$puts(range,320)$puts(lb,30))
$if($stricmp(%codec%,vorbis),$puts(range,455)$puts(lb,45))
$if($or($stricmp($substr(%codec%,1,7),windows),
$stricmp(%codec%,wma)),$puts(range,452)$puts(lb,48))
$if($stricmp(%codec%,aac),$puts(range,385)$puts(lb,15))
$puts(quality,$muldiv($sub($info(bitrate),$get(lb)),100,$get(range)))
$alignabs(353,$add($div(%_height%,5),7),%_width%,%_height%,,)
$font(franklin gothic medium,5,$get(font_options),250-250-250)$get(active)
$if($and($stricmp($info(encoding),lossy),$get(lb)),
$repeat($char(9612),$div($get(quality),10))
$get(back)$repeat($char(9612),$sub(10,$div($get(quality),10))),
$get(active)$repeat($char(9612),10))
///////////////////////////////////////////Playback order////////////////////////////////////////
$alignabs(61,$add($div(%_height%,5),6),%_width%,%_height%,,)
$font(wingdings 3,9,,250-250-250)
#LINEHEIGHT,9#
$if($strstr(%cwb_playback_order%,Repeat),$get(active),$get(back))$char(78)
$if($strstr(%cwb_playback_order%,Shuffle),$get(active),$get(back))$char(70)$char(10)
$alignabs(60,$add($div(%_height%,5),21),%_width%,%_height%,,)
$font(lcdmono2,7,bold,250-250-250)$get(active)
$if($strstr(%cwb_playback_order%,Default),CONT.)
$if($strstr(%cwb_playback_order%,playlist), ALL)
$if($strstr(%cwb_playback_order%,track),track)
$if($strstr(%cwb_playback_order%,albums),album)
$if($strstr(%cwb_playback_order%,directories), dir)
//////////////////////////////////////////Date Range///////////////////////////////////////////////
$if($get(first_played),
$alignabs(290,$add($div(%_height%,5),56),222,%_height%,
$if($get(center),center),top)
$font(lcd2,9,bold,)$get(active)$puts(ago,1)
$if(%first_played%,
$puts(dtr,$cwb_datediff(%cwb_systemdatetime%,%first_played%))
$puts(years,$div($get(dtr),365))
$puts(rest,$mod($get(dtr),365))
$puts(month,$div($get(rest),30))
$puts(days,$mod($get(rest),30))
$if($greater($get(years),0),$get(years) year)
$if($greater($get(years),1),s)
$if($and($greater($get(month),0),$stricmp($get(days),0)), and)
$if($greater($get(month),0), $get(month) month)
$if($and($greater($get(days),0),$greater($add($get(years),$get(month)),0)), and)
$if($greater($get(days),1), $get(days) days,
$if($and($stricmp($get(days),1),$stricmp($add($get(years),$get(month)),0)), yesterday
$puts(ago,),
$if($and($stricmp($get(days),0),%first_played%,
$stricmp($add($get(years),$get(month)),0)), today$puts(ago,),
$if($and($stricmp($get(days),1),$greater($add($get(years),$get(month)),0)), 1 day)
)))$if($get(ago), ago),never ))
//////////////////////////////////////////Image//////////////////////////////////////////////////////
$imageabs(0,$sub($get(glass_intensity),20),images\glass.png,)
Title: Home stereo display
Post by: Russell777 on 2006-09-08 18:15:10
 No i mean the file that had been played for the first time 2 days ago and shows up as 6
Title: Home stereo display
Post by: Pingwinho on 2006-09-08 18:35:48
The Screen and the file, but it is bad for almost every file: http://img380.imageshack.us/img380/5803/problemdy6.jpg (http://img380.imageshack.us/img380/5803/problemdy6.jpg)
http://www.sendspace.com/file/6079zi (http://www.sendspace.com/file/6079zi)
Title: Home stereo display
Post by: Russell777 on 2006-09-08 18:52:54
(http://img330.imageshack.us/img330/3481/leddq1.png)
As you can see this track is realy 6 days old,(it's a first played info that you get in the text box).
There cannot be any mistake i can assure you,the date range is calculated by cwbowron's plugin,and it's working
like a swiss made clock.
Title: Home stereo display
Post by: Pingwinho on 2006-09-08 19:06:44
Omg, i thought that it is last-played.... sorry
Title: Home stereo display
Post by: Russell777 on 2006-09-08 19:08:02
Omg, i thought that it is last-played.... sorry

In next version you'll be able to turn it to "last_played".
Title: Home stereo display
Post by: Pingwinho on 2006-09-08 19:17:58
Heh, I already do that.... but thanks.
Title: Home stereo display
Post by: Sw!ng on 2006-09-08 22:06:12
... .I promise not to release any updates in the nearest future.Enjoy     
FAILED ...!! 
(Eventhough I like to see my theme published  )

... But since I allways have to rewrite every single version to fit my suits (Resolution 1280x1024, smaler size,  arrange Code more clearly, etc.) its getting stressfull ...!! 

Now, all these guys here wanna hang me if I keep on crying ...  ... -So dont give sh*t on my words and keep on developing and working and releasing as you used to and as it fits YOUR SUITS !!
- I just wanted to get off some steam with this ...!! 

With love,
from Sw!ng.
Title: Home stereo display
Post by: Russell777 on 2006-09-08 22:23:12
Quote
... But since I allways have to rewrite every single version to fit my suits (Resolution 1280x1024, smaler size, arrange Code more clearly, etc.) its getting stressfull ...!! sweat.gif

Hey,whats the problem with bigger resolutions? Maybe something can be done so you won't have to work so hard
Title: Home stereo display
Post by: Sw!ng on 2006-09-09 01:55:55
Well,its best discribed by an image:
[a href=\"http://img355.imageshack.us/my.php?image=zwischenablage01pk5.jpg\" target=\"_blank\"])
$if($stricmp($get(1),7),$puts(f1,2),)
$if($stricmp($get(2),7),$puts(f2,2),)
$if($stricmp($get(5),7),$puts(f5,3),)
$if($stricmp($get(6),7),$puts(f6,3),)
$if($stricmp($get(7),7),$puts(f7,3),)
$if($stricmp($get(8),7),$puts(f8,3),)
$if($stricmp($get(9),7),$puts(f9,3),)
$if($stricmp($get(10),7),$puts(f10,3),)
$if($stricmp($get(11),7),$puts(f11,2),)
$alignabs(91,$div(%_height%,5),%_width%,%_height%,,)$get(back)
$if($get(display_back),$char(56)$char(56):$char(56)$char(56),)
$alignabs($add(91,$get(f1)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(1)
$alignabs($add(91,$get(f2),$mul($get(s),1)),$div(%_height%,5),
%_width%,%_height%,,)
$get(active)$get(2):
$alignabs($add(92,$get(f4),$mul($get(s),2),$get(s1)),$div(%_height%,5),
%_width%,%_height%,,)
$get(active)$get(4)
$alignabs($add(92,$get(f5),$mul($get(s),3),$get(s1)),$div(%_height%,5)
,%_width%,%_height%,,)
$get(active)$get(5)
// // //
//

///////////////////////////////////////////Playback order////////////////////////////////////////
$alignabs(61,$add($div(%_height%,5),6),%_width%,%_height%,,)
$font(wingdings 3,8,boldnocleartype,250-250-250)
#LINEHEIGHT,9#
$if($strstr(%cwb_playback_order%,Repeat),$get(active),$get(back))$char(78)
$if($strstr(%cwb_playback_order%,Shuffle),$get(active),$get(back))$char(70)$char(10)

$alignabs(60,$add($div(%_height%,5),21),%_width%,%_height%,,)
$font(lcdmono2,6,boldnocleartype,250-250-250)$get(active)
$if($strstr(%cwb_playback_order%,Default),CONT.)
$if($strstr(%cwb_playback_order%,playlist), ALL)
$if($strstr(%cwb_playback_order%,track),track)
$if($strstr(%cwb_playback_order%,albums),album)
$if($strstr(%cwb_playback_order%,directories), dir)
// // //
//

//////////////////////////////////////////Time total //////////////////////////////////////////////
$alignabs(188,$div(%_height%,5),%_width%,%_height%,,)
$font(7 segment,8,$get(font_options)bold,250-250-250)
$puts(s2,$calcwidth($get(8)))
$puts(s3,$calcwidth()
#LINEHEIGHT,3#$char(32)$char(10)
$if($get(display_back),$get(back)$char(56)$char(56):$char(56)$char(56),)
$alignabs($add(188,$get(f8)),$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(8)
$alignabs($add(188,$get(s2),$get(f9)),$div(%_height%,5),
%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(9):
$alignabs($add(188,$mul($get(s2),2),$get(s3)),$div(%_height%,5),
%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(10)
$alignabs($add(188,$get(s3),$mul($get(s2),3),$get(f11)),
$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$get(11)
// // //
//

////////////////////////////////Play pause tracknumber//////////////////////////////////////////
$alignabs(193,$add($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,16#$char(32)$char(10)
$font(webdings,8,$get(font_options),250-250-250)
$if(%ispaused%,$get(active),$get(back))$char(59)
$font(arial,7,$get(font_options),250-250-250)
$if($not(%ispaused%),$get(active),$get(back))$char(9658)

$alignabs(21,$div(%_height%,5),%_width%,%_height%,,)
$font(7 Segment,$get(size),$get(font_options),250-250-250)
$if($get(display_back),$get(back)$char(56)$char(56),)
$alignabs($add(21,$get(f6)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(6)
$alignabs($add(21,$get(f7),$get(s)),$div(%_height%,5),%_width%,%_height%,,)
$get(active)$get(7)
// // //
//

//////////////////////////////////////////Codec///////////////////////////////////////////////////
$alignabs(242,$div(%_height%,5),%_width%,%_height%,,)
$font(lcd2,8,bold$get(font_options),250-250-250)
#LINEHEIGHT,5#$char(32)$char(10)
$get(active)$if($stricmp($substr(%codec%,1,7),windows),WMA,[%codec%])
// // //
//

///////////////////////////////Bitrate Samplerate Compression/////////////////////////////////
$alignabs(240,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(7 segment,9,$get(font_options),250-250-250)
$get(active)[%bitrate%]

$alignabs(266,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,17#$char(32)$char(10)
$font(arial,5,$get(font_options),250-250-250)$get(active)Kb/s
$font(7 segment,9,$get(font_options),250-250-250)
$get(active)$char(32)[%samplerate%]

$alignabs(332,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,23#$char(32)$char(10)
$font(arial,5,$get(font_options),250-250-250)$get(active)Hz

$alignabs(354,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,2#$char(32)$char(10)
$font(7 segment,9,$get(font_options),250-250-250)
$puts(show,$num($muldiv(1000,$info(bitrate),1411),3))
$if(%isplaying%,$if($stricmp($get(show),1000),
$font(lcd2,9,bold,250-250-250)$repeat($char(10),8)$get(active)ucm$puts(flag2,1),
$get(active)$repeat($char(10),7)$substr($get(show),1,2)
'.'$substr($get(show),3,3)))

$alignabs(387,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,20#$char(32)$char(10)
$font(arial,6,$get(font_options),)$if($get(flag2),$get(back),$get(active))'%'
// // //
//

/////////////////////////////////////Relative quality///////////////////////////////////////////////
$if($stricmp(%codec%,mp3),$puts(range,264)$puts(lb,56))
$if($stricmp(%codec%,musepack),$puts(range,320)$puts(lb,30))
$if($stricmp(%codec%,vorbis),$puts(range,455)$puts(lb,45))
$if($or($stricmp($substr(%codec%,1,7),windows),
$stricmp(%codec%,wma)),$puts(range,452)$puts(lb,48))
$if($stricmp(%codec%,aac),$puts(range,385)$puts(lb,15))
$puts(quality,$muldiv($sub($info(bitrate),$get(lb)),100,$get(range)))

$alignabs(353,$add($div(%_height%,5),9),%_width%,%_height%,,)
$font(franklin gothic medium,4,$get(font_options),250-250-250)$get(active)
$if($and($stricmp($info(encoding),lossy),$get(lb)),
$repeat($char(9612),$div($get(quality),10))
$get(back)$repeat($char(9612),$sub(10,$div($get(quality),10))),
$get(active)$repeat($char(9612),10))
// // //
//

//////////////////////////////////Rating FP Play count//////////////////////////////////////////
$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(408,$div(%_height%,5),%_width%,%_height%,,)
$font(wingdings,11,$get(font_options),250-250-250)
#LINEHEIGHT,3#$char(32)$char(10)
$get(active)$repeat($char(171),$get(rating))
$get(back)$repeat($char(171),$sub(5,$get(rating)))
#LINEHEIGHT,15#$char(32)$char(10)
$font(7 segment,8,$get(font_options),250-250-250)
$get(active)$if(%last_played%,$if($get(YY_MM_DD),
[$substr(%last_played%,1,4).$substr(%last_played%,6,7).$substr(%last_played%,9,10)],
[$substr(%last_played%,9,10).$substr(%last_played%,6,7).]
$substr(%last_played%,1,4)),..........)

$alignabs(478,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,18#$char(32)$char(10)
$font(7 segment,8,$get(font_options),250-250-250)$get(active)
$repeat($char(32),3)$num($add(%play_count%,%play_counter%),3)

$alignabs(485,$div(%_height%,5),%_width%,%_height%,,)
#LINEHEIGHT,20#$char(32)$char(10)
$font(arial,5,$get(font_options),250-250-250)$get(active)'('$repeat($char(32),18)')'
$font(7 segment,10,$get(font_options),250-250-250)

$alignabs(490,$add($div(%_height%,5),20),%_width%,%_height%,,)
$font(arial,6,$get(font_options),250-250-250)$get(active)'x'
// // //
//

//////////////////////////////////////Progress Bar/////////////////////////////////////////////
$font(lcd2,14,$get(font_options),250-250-250)
$puts(symbol,_)

$alignabs(536,$sub($div(%_height%,5),22),%_width%,%_height%,,)
#LINEHEIGHT,3#
$puts(percent,$num($muldiv(%_time_elapsed_seconds%,100,
%_time_total_seconds%),3))
$if($stricmp($substr($get(percent),1,1),0),$puts(back1,$get(back))
$puts(percent,$char(32)$substr($get(percent),2,3))
,$puts(back1,$get(active)))
$repeat($get(back1)$get(symbol)$char(10),$sub(9,$substr($get(percent),2,2)))
$get(active)$repeat($get(symbol)$char(10),$substr($get(percent),2,2))

$alignabs(546,$sub($div(%_height%,5),22),%_width%,%_height%,,)
#LINEHEIGHT,3#
$repeat($get(back1)$get(symbol)$char(10),$sub(9,$substr($get(percent),3,3)))
$get(active)$repeat($get(symbol)$char(10),$substr($get(percent),3,3))

$alignabs(531,$sub($div(%_height%,5),2),%_width%,%_height%,,)
#LINEHEIGHT,23#$char(32)$char(10)
$font(7 Segment,7,$get(font_options),250-250-250)
$if($and(%isplaying%,%_time_total%),
$get(active)$get(percent),$get(active)$char(32)0)

$alignabs(547,$sub($div(%_height%,5),1),%_width%,%_height%,,)
#LINEHEIGHT,23#$char(32)$char(10)
$font(arial,5,bold$get(font_options),250-250-250)$get(active) '%'
// // //
//

////////////////////////////////////////Track info///////////////////////////////////////////////
$alignabs(21,$div(%_height%,5),%_width%,%_height%,,)
$puts(title,
['"'%title%'"'][ - %artist%]['/'%album%] ['('%date%')'])
#LINEHEIGHT,1#$char(32)$char(10)
$if($get(symbolinfo),
$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)$get(font_options)
,250-250-250)$repeat($char(10),32),
$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)))
$font(lcdmono2,9,bold$get(font_options),250-250-250)$repeat($char(10),35)),
$font($get(alt_font),$get(alt_font_size),$get(alt_font_options)
$get(font_options),250-250-250)$repeat($char(10),32))$get(active)
$if($greater($len($get(title)),$get(window)),
$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(window)))
$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(window)),
$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(window),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(window),$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(window)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(window),$get(mod))))),$get(title))
$font(arial,7,$get(font_options),250-250-250)
$alignabs(521,$add($div(%_height%,5),20),%_width%,%_height%,,)
#LINEHEIGHT,34#$char(32)$char(10)
$if($greater($get(flag),0),$get(active),$get(back))$char(9668)$char(32)
$if($get(scrollback),
$if($or($greater($get(shift),$get(mod)),$greater($get(mod),$get(shift))),
$get(active),$get(back)),
$if($greater($get(shift),$add($get(mod),1)),$get(active),$get(back)))$char(9658)
// // //
//

//////////////////////////////////////////Source////////////////////////////////////////////////////
$alignabs(21,$add($div(%_height%,5),55),%_width%,%_height%,,)
$font(arial,5,bolditalic$get(font_options),250-250-250)
#LINEHEIGHT,9#
$if($stricmp(ftp,$substr(%path%,1,3)),$get(active),$get(back))NET DRIVE
$repeat($char(32),5)
$if($stricmp(\,$substr(%path%,1,1)),$get(active),$get(back))REMOTE PC
$repeat($char(32),5)
$if($stricmp($substr(%path%,1,4),http),$get(active)STREAMING,
$get(back)STREAMING)$repeat($char(32),5)
$if($or($not($stricmp($strchr($get(removable),$substr(%path%,1,1)),0)),
$stricmp(%codec%,CDDA)),$get(active)REMOVABLE,
$get(back)REMOVABLE)$repeat($char(32),5)
$if($and($stricmp($strchr($get(removable),$substr(%path%,1,1)),0),
$stricmp($stricmp(\,$substr(%path%,1,1)),),$stricmp($stricmp(ftp,$substr(%path%,1,3)),),
$not($stricmp(%codec%,CDDA)),$not($stricmp($substr(%path%,1,4),http))),
$get(active)LOCAL DRIVE,$get(back)LOCAL DRIVE)
// // //
//

//////////////////////////////////////////Image//////////////////////////////////////////////////////
$imageabs(0,$sub($get(glass_intensity),20),images\glass.png,)You can try to compare, but since I "tidyed" it all up, it will be a little bit hard ...!!

- Eventhough you should do, coz inside I put a new version of my theme  ...!!
 (You can reverse the moving direction, or stop it by simply setting a variable)
Title: Home stereo display
Post by: Andreasvb on 2006-09-11 07:48:18
Does the 7 segment font numbers align correct for all of you?

Some are more to the left, so when it counts it looks weird.
I made a modification and sent to the author, hope he like it.

If you have the same problem and he sees that it's something wrong with it(if it's not just me), maybe he'll update it.

Thanks for your awesome stereo display, Russell777.
Title: Home stereo display
Post by: james.miller on 2006-09-11 10:07:08

i cant get my background to work. everythign else is fine, but i have no back grounds, only solid colour. I appologise if its been mentioned before, but does anybody know what my problem is?

cheers
Have you followed the instructions in the readme?

Do you have the images in the images directory that must be located in your foobar's profile directory (where's your foobar.cfg file is located) (....\foobar2000\images\ or ..application data\foobar2000\images\ -depends on user profile support).


i do yeah, but they arent showing up
Title: Home stereo display
Post by: Russell777 on 2006-09-11 10:16:52
First of all make sure that you have your images in PNG format,second,right click on foobars tray icon,
a pop up menu will appear.Select directories->browse profile directory.A folder will be opened,
create there a folder named "images" and put your image there.You can also check corectness of the image path,it should be $imageabs(x,y,images\IMAGE NAME.png)
Title: Home stereo display
Post by: Crissaegrim on 2006-09-11 14:43:26
I'd like to make a request.  Can we have total time played instead of last played?  (Or scrolling/alternating between the two)

I'm no programmer but I think it's possible to calculate because we have playcount and length in seconds:  (Playcount * Length in seconds).  I leave the rest to you. =p
Title: Home stereo display
Post by: lugi on 2006-09-13 17:13:50
Does the 7 segment font numbers align correct for all of you?

Some are more to the left, so when it counts it looks weird.
I made a modification and sent to the author, hope he like it.

If you have the same problem and he sees that it's something wrong with it(if it's not just me), maybe he'll update it.

Thanks for your awesome stereo display, Russell777.



I've been having problems as well, but it doesn't look like alignment so much as *size*.  [sigh] As usual, mine's just too big!!

I'm just getting started with this, so I will play around some more, but if anyone has any quick suggestiions I'd greatly appreciate them.

Thanks!
Title: Home stereo display
Post by: Russell777 on 2006-09-13 17:18:31

Does the 7 segment font numbers align correct for all of you?

Some are more to the left, so when it counts it looks weird.
I made a modification and sent to the author, hope he like it.

If you have the same problem and he sees that it's something wrong with it(if it's not just me), maybe he'll update it.

Thanks for your awesome stereo display, Russell777.



I've been having problems as well, but it doesn't look like alignment so much as *size*.  [sigh] As usual, mine's just too big!!

I'm just getting started with this, so I will play around some more, but if anyone has any quick suggestiions I'd greatly appreciate them.

Thanks!


There's a variable named "size" in the definitions section that is responsable for the 7 segment font size
Title: Home stereo display
Post by: Sw!ng on 2006-09-13 20:04:28
Uhm,
@ Lugi & Andreas :
I dont know your prob in details (since you didnt send screenshots) but I believ we are sharing the same prob ...
-Is your resolution bigger than 1024x748 ...??
Then it has to be mentioned, that the "Size"-Variable, Russell is speakin about, only affects the size of the BIG digits, not of things like from "TotalTime", etc. ...!!

@ Russel
I hope you didnt take my SteamOff-Post too serious ...!! (It's gettin quite quiet here with updates ... )   
- But its good, so I have a little more time for the theme-pack Im creating (2/4 [non-animated] are allready ready) 
Title: Home stereo display
Post by: Russell777 on 2006-09-13 20:38:25
Uhm,
@ Lugi & Andreas :
I dont know your prob in details (since you didnt send screenshots) but I believ we are sharing the same prob ...
-Is your resolution bigger than 1024x748 ...??
Then it has to be mentioned, that the "Size"-Variable, Russell is speakin about, only affects the size of the BIG digits, not of things like from "TotalTime", etc. ...!!

@ Russel
I hope you didnt take my SteamOff-Post too serious ...!! (It's gettin quite quiet here with updates ... )   
- But its good, so I have a little more time for the theme-pack Im creating (2/4 [non-animated] are allready ready) 

It's funny you've mentioned the updates,one is coming out today.
Title: Home stereo display
Post by: Andreasvb on 2006-09-13 21:09:35
Doubt that will solve it. Let say the time counts down, and the seconds are like this:

 9
8
7
 6
5

It's a slight shifting on some of the digits.

Anyone has all aligned correct?
Title: Home stereo display
Post by: Russell777 on 2006-09-13 21:32:59
VERSION 1.8 VIP is out (see the first post)
This version is designed especially for people that have a "big sized" configs or a fullscreen foobar.
This baby will take all the space you give it.It's intended  for people that have big configs and
wide monitors. If you've settled on a compact foobar's look,don't hurry to throw away your 1.7.x version,b\c the compact looking 1.7.x series will still be maintained and get upgrades
and new features along with the 1.8.x fullscreen series.

Now it's difficult to skin this baby as it needs very big background images for the themes,so i leave it to you,
the creative people of this forum.Enjoy       
Title: Home stereo display
Post by: djrandom on 2006-09-13 22:23:26
VERSION 1.8 VIP is out (see the first post)
This version is designed especially for people that have a "big sized" configs or a fullscreen foobar.
This baby will take all the space you give it.It's intended  for people that with big configs and
wide monitors. If you've settled on a compact foobar's look,don't hurry to throw away your 1.7.x version,b\c the compact looking 1.7.x series will still be maintained and get upgrades
and new features along with the 1.8.x fullscreen series.

Now it's difficult to skin this baby as it needs very big background images for the themes,so i leave it to you,
the creative people of this forum.Enjoy       



Awesome!  This looks great in my set up.  Thanks a ton!
Title: Home stereo display
Post by: Strictly4me on 2006-09-13 22:26:05
Cool work, man! 
Now i can make a fullscreen-foobar again! 

((((( Strictly4me )))))
Title: Home stereo display
Post by: Andreasvb on 2006-09-13 22:31:25
I made a video where I'm demonstrating how it looks, with and without my font mod

http://video.google.com/videoplay?docid=-4252492176662314917 (http://video.google.com/videoplay?docid=-4252492176662314917)
Title: Home stereo display
Post by: Russell777 on 2006-09-13 22:36:09
I made a video where I'm demonstrating how it looks, with and without my font mod

http://video.google.com/videoplay?docid=-4252492176662314917 (http://video.google.com/videoplay?docid=-4252492176662314917)

That looks perfect towards the end,i not quite followed,what did you do?
Title: Home stereo display
Post by: roentgen on 2006-09-13 22:41:11
Cool work, man! 
Now i can make a fullscreen-foobar again! 

((((( Strictly4me )))))

Same thoughts here when I saw v.1.8 . Thank you Russell777
Title: Home stereo display
Post by: Andreasvb on 2006-09-13 22:44:39
First I remove my mod, as you can see the standard font shows when it don't find the specified font.
Then I add the original 7 segment font and you can see that the digits 9, 6, 4 shifts to the left and then 3, 2, 1 and 0 starts to shift back to right.

After that, I replace it with my mod and you'll see it don't shifts anymore, like it's supposed to be.

Is it only me that have this problem?
Title: Home stereo display
Post by: Russell777 on 2006-09-13 22:48:05
First I remove my mod, as you can see the standard font shows when it don't find the specified font.
Then I add the original 7 segment font and you can see that the digits 9, 6, 4 shifts to the left and then 3, 2, 1 and 0 starts to shift back to right.

After that, I replace it with my mod and you'll see it don't shifts anymore, like it's supposed to be.

Is it only me that have this problem?

Cool,however i don't have the problem that you had,but could you post your mode?
I think a lot of people who do have this problem would realy appreciate it.
Title: Home stereo display
Post by: Andreasvb on 2006-09-13 22:49:21
Enjoy =)
Title: Home stereo display
Post by: Russell777 on 2006-09-13 22:51:14
Deleted
Title: Home stereo display
Post by: callisto on 2006-09-13 23:00:06
First I remove my mod, as you can see the standard font shows when it don't find the specified font.
Then I add the original 7 segment font and you can see that the digits 9, 6, 4 shifts to the left and then 3, 2, 1 and 0 starts to shift back to right.

After that, I replace it with my mod and you'll see it don't shifts anymore, like it's supposed to be.

Is it only me that have this problem?


No! Now that you said it I regognized it too that the digits are shifting...
So please upload your mod  it would be great!
greetz,
callisto
Title: Home stereo display
Post by: Russell777 on 2006-09-13 23:15:43
Thanks to Andresvb efforts it's all good again,no digit shifting no headache.I've updated the link to the 7 Segment font on the first topic,if you have any problems with font shifting,uninstall your old 7 Segment font
and get a new one from the first post.Thanks Andreas.
Title: Home stereo display
Post by: Sw!ng on 2006-09-13 23:19:30
VERSION 1.8 VIP Original design idea by Stuart60611


HOLY sh!t ... 
--> Looks fantastic ...!!
Title: Home stereo display
Post by: Russell777 on 2006-09-13 23:40:19
Today is the day of the updates! Check out the magnificent "Elementals" themes by Sw!ng for V 1.7.X
(see the first post)
Title: Home stereo display
Post by: Stuart60611 on 2006-09-14 04:55:45
For anyone who is interested, I use a slightly modified version (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43077&view=findpost&p=430747) of Russel777's code replacing the track number display with a display indicating whether follow the cursor during playback has been activated.
Title: Home stereo display
Post by: PonasX on 2006-09-14 16:31:21
http://img128.imageshack.us/img128/8613/help1xv8.jpg (http://img128.imageshack.us/img128/8613/help1xv8.jpg)
http://img153.imageshack.us/img153/6513/help2bw1.jpg (http://img153.imageshack.us/img153/6513/help2bw1.jpg)

I am newbie in modifying home stereo display .. I don't know how to remove problem "1" .. How to expant Track Artist - Title bar to fill "2" full (not nice "2" in right empty area for me ...). And how fix long Artist - Title writeing to full bar ... ?

Sorry 4 my English .. ;(
Title: Home stereo display
Post by: djrandom on 2006-09-14 16:56:45
http://img128.imageshack.us/img128/8613/help1xv8.jpg (http://img128.imageshack.us/img128/8613/help1xv8.jpg)
http://img153.imageshack.us/img153/6513/help2bw1.jpg (http://img153.imageshack.us/img153/6513/help2bw1.jpg)

I am newbie in modifying home stereo display .. I don't know how to remove problem "1" .. How to expant Track Artist - Title bar to fill "2" full (not nice "2" in right empty area for me ...). And how fix long Artist - Title writeing to full bar ... ?

Sorry 4 my English .. ;(


Thanks for posting that.  I noticed that I too have an issue with box "2" truncating Artist-Title information despite having plenty of space with which to work.  A fix would be great, as I'm just learning this scripting language.
Title: Home stereo display
Post by: Stuart60611 on 2006-09-14 17:08:20

http://img128.imageshack.us/img128/8613/help1xv8.jpg (http://img128.imageshack.us/img128/8613/help1xv8.jpg)
http://img153.imageshack.us/img153/6513/help2bw1.jpg (http://img153.imageshack.us/img153/6513/help2bw1.jpg)

I am newbie in modifying home stereo display .. I don't know how to remove problem "1" .. How to expant Track Artist - Title bar to fill "2" full (not nice "2" in right empty area for me ...). And how fix long Artist - Title writeing to full bar ... ?

Sorry 4 my English .. ;(


Thanks for posting that.  I noticed that I too have an issue with box "2" truncating Artist-Title information despite having plenty of space with which to work.  A fix would be great, as I'm just learning this scripting language.


The truncating of the artist - title display so as not to use all the available space can be easily fixed by the value you place for window in the definitons section in the beginning of the code.  The higher the value you place on window the longer the artist - title display will be.  Play around with the number until you get  it so that you use the desired amount of available display space for artist - title display.
Title: Home stereo display
Post by: djrandom on 2006-09-14 21:20:19
The truncating of the artist - title display so as not to use all the available space can be easily fixed by the value you place for window in the definitons section in the beginning of the code.  The higher the value you place on window the longer the artist - title display will be.  Play around with the number until you get  it so that you use the desired amount of available display space for artist - title display.


Perfect.  Thanks for your help.
Title: Home stereo display
Post by: BiNiaRiS on 2006-09-15 00:13:00
i'm having a few problems.

#1 the track title i cannot get to scroll.  if it's too long it just creates another line below and covers the progress bar.

#2 it doesn't seem to log any of the "played" info.  on every song no matter how many times i've played it, it always says never.

thanks in advance.
Title: Home stereo display
Post by: Russell777 on 2006-09-15 00:19:30
i'm having a few problems.

#1 the track title i cannot get to scroll.  if it's too long it just creates another line below and covers the progress bar.

#2 it doesn't seem to log any of the "played" info.  on every song no matter how many times i've played it, it always says never.

thanks in advance.


#1:In the "Definitions" section there's a variable named "window"-reduce it's value untill it's all good again
#2:It's because you don't have the "foo_playcount.dll" installed,check "Wanted v0.9 plugin ports" topic
on the "3rd party plugins" thread to get it.
Title: Home stereo display
Post by: Russell777 on 2006-09-15 00:30:18
VERSION 1.7.3 MICRO IS OUT (check the first post)
This one is a real space saver.It's small and smart,has all the features of V 1.7.2 but significantly smaller.
Definately my choice,as i have a compact config.

Added:
-Mood
-Horizontal progressbar and relative format quality indicator
-All the tech info now changing with 2 second delay as following:bitrate->samplerate->file size
->compression->source.
-The verbal section now shows Last played instead of First played info.
Title: Home stereo display
Post by: BiNiaRiS on 2006-09-15 00:54:29
thanks for the fast response.  window size worked nicely.  i was doing the opposite...incresing it, lol.

as for the playcount...it only works if you use the media library/database?

i use a file explorer because i have my mp3's very organized.
Title: Home stereo display
Post by: Russell777 on 2006-09-15 00:58:46
thanks for the fast response.  window size worked nicely.  i was doing the opposite...incresing it, lol.

as for the playcount...it only works if you use the media library/database?

i use a file explorer because i have my mp3's very organized.

As you probably have noticed there are two versions of this plugin:official and unofficial.
The first works only with files that are in your media library and the second gives you the choice
(if i remember correctly)
Title: Home stereo display
Post by: toology on 2006-09-15 01:22:30
Thanks for the great config Russell! I have a question: How to make the whole display bigger? I would like a bigger track info window but I cant get all of the displayed info to enlarge!
Title: Home stereo display
Post by: Russell777 on 2006-09-15 01:30:28
Thanks for the great config Russell! I have a question: How to make the whole display bigger? I would like a bigger track info window but I cant get all of the displayed info to enlarge!

Currently there is no possibility to change the size of all the info,b/c it would take a very complicated code to make it as it will cause all the elements to lose their allignment.But what info are you talking about:
tech info or the artist-title info?Also what version are you using?
PS:But maybe it's a good idea to make it anyway,but i'll need much more requests to do it.
Title: Home stereo display
Post by: BiNiaRiS on 2006-09-15 01:40:26
thanks again fro your prompt replies russell :]  i've got it running pretty close to how i'd like it.  still plenty of tweaking to go but it's 75% there.



ah, one question.  where in the code can i make the date MM_DD_YY as opposed to DD_MM_YY?
Title: Home stereo display
Post by: toology on 2006-09-15 01:41:01
Well I've sucseeded in enlarging the now playing time, but the rest stays the same. I'm using v 1.7.2
I'm trying to make the track info window bigger because its on the same splitter as lyrics and artwork.
Don't worry about it, if it's that complicated I'll think of another layout!
Title: Home stereo display
Post by: Russell777 on 2006-09-15 01:44:43
thanks again fro your prompt replies russell :]  i've got it running pretty close to how i'd like it.  still plenty of tweaking to go but it's 75% there.

Once again thanks

ah, one question.  where in the code can i make the date MM_DD_YY as opposed to DD_MM_YY?


In the definitions section:$puts(YY_MM_DD,1) will do the trick.Also when you are finished can you upload your
theme for v1.8 (as it's totaly lacking any themes by now)?
Title: Home stereo display
Post by: BiNiaRiS on 2006-09-15 01:57:55
well, i have that right now.  but i'd rather have Month/Day/Year.  that changes it to Year/Month/Day...if it's not to easy i won't worry about it.

and sure, i'll upload it.
Title: Home stereo display
Post by: unabatedshagie on 2006-09-15 02:16:16
Small question, how does the mood display work?

How do I rate the files with a mood, is it from 1-3

Whats the difference between mood and rating?
Title: Home stereo display
Post by: Stuart60611 on 2006-09-15 02:56:05
Small question, how does the mood display work?

How do I rate the files with a mood, is it from 1-3

Whats the difference between mood and rating?


You got it. The Mood tag consists of a number 1-3.  The 1-3 scale is based on one of the major music review website methodologies, but I forget which one (read about it in one of threads here).  1 represents low energy, 2 medium, and 3 high.  Simplicity in subjective criteria like this is, in my opinion, the key to whether such a system works as intended.  When there are a lot of mood categories there are going to be a lot of misclassifications and resulting heavy tracks playing when you selected a track wanting to hear something more mellow. You also need to consider the genre of the music when assigning a mood and not merely its tempo.  As such, a medium energy techno track may have a higher tempo than a high energy rock track.  Rating works with numbers 1 to 5 and works just as you would expect.  1 terrible, 2 below average, 3 average, 4 above average, 5 great.  Like mood, you also need to consider the genre.  If you have track in a genre that you particularly do not like, you should consider that when rating the track and ask youself even though I don't like this style of music, how good is this track in terms of the particular genre.  The use of mood and rating together opens the doors to some interesting things.  For example, you can create dynamic playlists consisting of high energy rated 5 tracks, etc.  Likewise, if you want to be mellow but not too mellow and want a wider variety of tracks and not just the great ones, create a playlist consisting of moods low to medium energy and rating of greater than 3.  The result will be a group of tracks that are not heavy and above average to great.  Plus, the use of both of them with artist via a  browser panels is a powerful way to manipulate one's library to quickly obtain desired results.    When you add genre into the mix you can create some really precise dynamic playlists like low energy rated 4-5 rock tracks.  You can see how I use these tags for library management in the appearance thread link  I posted several posts up.
Title: Home stereo display
Post by: vader897 on 2006-09-15 06:19:31
Heres My Profile for 1.8 VIP.

(http://img221.imageshack.us/img221/8278/slarvct0.png)

http://rapidshare.de/files/33392159/slarv.zip.html (http://rapidshare.de/files/33392159/slarv.zip.html)
Title: Home stereo display
Post by: musosticky on 2006-09-15 07:17:24
Thanks again russel for helping me shrink foobar some more. Loving this code and have been with it since day one and will be with it til the end (although I dont see how more perfect you can get it.

Currently looking for buttons that resemble a stereo setup if I find or design them I'll upload them. That being said there is a button set called Artless in the custom Buttons Thread that fit the bill quite well
Title: Home stereo display
Post by: musosticky on 2006-09-15 09:07:59
@Stuart60611

Thanks for the explanation of mood tagging. I fear I have a job on my hands tagging the mood of my 19,000+ music files *sigh* Thanks though I really like the idea
Title: Home stereo display
Post by: Russell777 on 2006-09-15 10:28:24
Finaly,there's a first theme for V 1.8 by BiNiaRiS see the first post under "Themes"
Title: Home stereo display
Post by: Lance Uppercut on 2006-09-15 11:49:44
I've been following this display from the beginning and thanks for the great work. 
The only thing I've missed are the little indicators between the track number and time.  there are three of them and I can't get them to turn on.  I can't even see the TRACK one?

Any help?

(http://img228.imageshack.us/img228/575/foouq4.th.png) (http://img228.imageshack.us/my.php?image=foouq4.png)
Title: Home stereo display
Post by: acedriver on 2006-09-15 12:49:59
I've been following this display from the beginning and thanks for the great work. 
The only thing I've missed are the little indicators between the track number and time.  there are three of them and I can't get them to turn on.  I can't even see the TRACK one?

Any help?

you need this, http://foobar.bowron.us/foo_cwb_hooks.zip (http://foobar.bowron.us/foo_cwb_hooks.zip)
Title: Home stereo display
Post by: PonasX on 2006-09-15 15:33:39
DELETED
Title: Home stereo display
Post by: Stuart60611 on 2006-09-15 16:33:59
@Stuart60611

Thanks for the explanation of mood tagging. I fear I have a job on my hands tagging the mood of my 19,000+ music files *sigh* Thanks though I really like the idea


I hear you on how onerous the task is to now go and assign mood to your whole collection.  However, you will be surprised how quickly you will compile this data as you listen to your collection.  I have several suggestions on how to make this job a little easier. 

First, I would create buttons for both rating and mood with separate buttons for each category assigned to a masstagger script to assign the values so that you can quickly do this for the now playing track.  You can see how I did this in the appearance thread (link on prior page of this thread). 

Second, I often operate foobar with a Streamzap remote control and girder.    I have my rating and mood masstagger scripts assigned to buttons on the remote (1-5 for rating and 7-9 for mood).  I also have the pretty pop-up display (bound to another another button on the remote) configured to show hudge text upon activation and so that line 1 is artist, line 2 is title, line 3 is rating, and line 4 is mood.  This way I can be siting on the couch listening to music, hit a key on the remote to see what is playing in big text via pretty pop up which is viewable from my couch showing the artist, title, rating, and mood of the now playing track;  then assign a rating and mood values for the now playing track via the remote; and see the data being correctly added to the track in real time via the big text pretty pop up display.  This takes a lot of the pain out of the process.


The Streamzap remote costs about $30 usd and girder about same.

(Note:  The explanation of the rating and mood tags can be found on the prior page of this thread.)
Title: Home stereo display
Post by: musosticky on 2006-09-15 19:26:21
First, I would create buttons for both rating and mood with separate buttons for each category assigned to a masstagger script to assign the values so that you can quickly do this for the now playing track.


already done, my pedigree chum, just looking for half decent button images. Thanks again for the explanation as Its gonna help me build a few playlists which Ive never been big on in the past
Title: Home stereo display
Post by: kockroach on 2006-09-15 22:43:39
Hey Russell,

Updates look great.  However, I noticed a couple of things that might need changing.  The "CBR" flag wasn't removed when "LOSSLESS" files like FLAC are played.  It still shows both "LOSSLESS" and "CBR".  Also, in the box with bitrate, filesize, etc., I noticed that the fonts don't display properly for the "UCM", plus it would make sense to not show the "%" when displaying "UCM".
Title: Home stereo display
Post by: Russell777 on 2006-09-15 23:16:47
Hey Russell,

Updates look great.  However, I noticed a couple of things that might need changing.  The "CBR" flag wasn't removed when "LOSSLESS" files like FLAC are played.  It still shows both "LOSSLESS" and "CBR".  Also, in the box with bitrate, filesize, etc., I noticed that the fonts don't display properly for the "UCM", plus it would make sense to not show the "%" when displaying "UCM".

Thanks for a reminder,i completely forgot about those issues,will be fixed soon.
Here's a little Hi Fi buttons fcb that look great with the home stereo panel as my way to say i'm sorry.

(http://img297.imageshack.us/img297/8454/hifidq6.png)
Hi Fi buttons (http://foobar.bowron.us/russell777/)

EDIT The issues mentioned by kockroach had been fixed,i uploaded a new archive please update.
Title: Home stereo display
Post by: kockroach on 2006-09-16 00:03:52
Thanks for the quick fix, Russell!  Looks great!
Title: Home stereo display
Post by: Russell777 on 2006-09-17 08:48:22
The themes section for V 1.8 moved to post #3.Now including amazing theme by vader897
Note:All themes for V 1.8 are compatible with V 1.7.X but not backwards.
I also uploaded a new archive of V 1.7.3 MICRO with few cosmetic fixes.Enjoy 
Title: Home stereo display
Post by: Sword on 2006-09-18 08:28:06
i was wondering if it is possible to center the micro panel based on the trackinfo panel's width

right now its current aligned absolutely according to the left side of the panel

id like to have it center the contents of the display as you adjust the panels width

so if its possible id appreciate it

thanks
Sword
Title: Home stereo display
Post by: vader897 on 2006-09-18 10:12:23
Gday, Russell
I was wondering how I would go about changing the fonts used.  I did a bit of poking around and could not work out how I could change the fonts in the themes section. 

If its not to much trouble could you please implement a way for the fonts to be changed in the themes section so that themes using different fonts can be distibuted with ease.

I noticed in the main settings 'alt font' etc but could now work out what these did.

Have a good day
Title: Home stereo display
Post by: Russell777 on 2006-09-18 11:20:55
i was wondering if it is possible to center the micro panel based on the trackinfo panel's width

right now its current aligned absolutely according to the left side of the panel

id like to have it center the contents of the display as you adjust the panels width

so if its possible id appreciate it

thanks
Sword

Already thought about it,it will be implemented over the next few days.

Quote
Gday, Russell
I was wondering how I would go about changing the fonts used. I did a bit of poking around and could not work out how I could change the fonts in the themes section.

If its not to much trouble could you please implement a way for the fonts to be changed in the themes section so that themes using different fonts can be distibuted with ease.

I noticed in the main settings 'alt font' etc but could now work out what these did.

Have a good day


Like you said there's a variable named "alt_font" that sets costum font for title-artist-album section,you can copy it from the "definitions0" section into your theme definitions,for complete explanation about the variables see the "Instructions.txt" (included in the archive)
Title: Home stereo display
Post by: Stuart60611 on 2006-09-25 04:45:11
For anyone interested, I created a new (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43077&view=findpost&p=434694) panel to go along with the home stereo display to display playlist information.
Title: Home stereo display
Post by: unabatedshagie on 2006-09-25 10:20:45
Could you post the code for the panel??
Title: Home stereo display
Post by: Stuart60611 on 2006-09-25 16:15:01
Could you post the code for the panel??



i could, but I thought it was easier just to create an archive for both panels b/c you also need the new images.  The link I posted on this thread provides a download location.  Let me know if that does not work for you, and I can post or send you the code and images.
Title: Home stereo display
Post by: unabatedshagie on 2006-09-25 18:22:33

Could you post the code for the panel??



i could, but I thought it was easier just to create an archive for both panels b/c you also need the new images.  The link I posted on this thread provides a download location.  Let me know if that does not work for you, and I can post or send you the code and images.
Sorry, I didn't notice the download link.
Title: Home stereo display
Post by: blaxima on 2006-09-27 06:12:29
Now that I've updated to foobar .9.4 the home stereo code displays VBR files as CBR





EDIT. It seems to have this problem when it detects if the MP3 was encoded by Lame. It first displays as a VBR MP3 but when it changes to LAME MP3 it also changes the VBR display to CBR
Title: Home stereo display
Post by: kockroach on 2006-09-27 06:44:19
Anyone else have the text on the panel get shifted outside of the boxes with the newest foo_uie_trackinfo_mod?
Title: Home stereo display
Post by: spex04 on 2006-09-27 06:48:40
Anyone else have the text on the panel get shifted outside of the boxes with the newest foo_uie_trackinfo_mod?


It's because the horizontal/vertical padding options have been removed from the panel.

A workaround might be to add $padding(10,10) to the top of the code, but that probably won't work.

A guaranteed way to get it to work is to modify each $drawrect function in the code, adding 10 onto each x/y value.
Title: Home stereo display
Post by: kockroach on 2006-09-27 06:56:28
It's because the horizontal/vertical padding options have been removed from the panel.

A workaround might be to add $padding(10,10) to the top of the code, but that probably won't work.

Thanks!

Did even notice that, but I see it now.  Adding a single $padding(12,10) line worked okay, but alignment isn't perfect everywhere.  Going with (10,10) was too far off horizontally.
Title: Home stereo display
Post by: Russell777 on 2006-09-27 08:22:33
Due to intensive development of foobar and trackinfo mod panel,major updates of home stereo display are expected to land over the next days for all three branches of it.
On to do list:fixing the constantly changing vbr recognition under new versions of foobar (what will be the end of it?),fixing alignment with new version of trackinfo mod panel,adding some features such as volume indictor,
time played total etc.Also on the further development list an improvements and additional features to the
playlist info panel by Stuart60611.Please post your requests,and for now i'm not suggesting you to upgrade your trackinfo mod panel as it will get you into trouble with alignment.
Title: Home stereo display
Post by: xchaser on 2006-09-27 23:36:48
Is there a how to get this running instructions. I can't understand the one thats in the file. I have all the components and I don't know where to go now to get the themes working.
Title: Home stereo display
Post by: Stuart60611 on 2006-09-27 23:43:20
Is there a how to get this running instructions. I can't understand the one thats in the file. I have all the components and I don't know where to go now to get the themes working.



You paste the code from the component download into your trackinfo mod panel (note you need the old trackinfo mod panel b/c the new one will not work yet with this code, and you can download the old trackinfo mod panel in the trackinfo mod thread under the link on the last page).  Then you paste the desired theme code under the themes section of the component download code. You put the image for the theme in a folder under your foobar root directory called images.  You then go to the definitons section of the component download code and tweak the settings to your liking according to the instructions.  As far as selecting the theme, the first definition is for theme where put the theme name if you want to use a theme or otherwise leave blank.
Title: Home stereo display
Post by: xchaser on 2006-09-28 01:00:58

Is there a how to get this running instructions. I can't understand the one thats in the file. I have all the components and I don't know where to go now to get the themes working.



You paste the code from the component download into your trackinfo mod panel (note you need the old trackinfo mod panel b/c the new one will not work yet with this code, and you can download the old trackinfo mod panel in the trackinfo mod thread under the link on the last page).  Then you paste the desired theme code under the themes section of the component download code. You put the image for the theme in a folder under your foobar root directory called images.  You then go to the definitons section of the component download code and tweak the settings to your liking according to the instructions.  As far as selecting the theme, the first definition is for theme where put the theme name if you want to use a theme or otherwise leave blank.


thanks for the help but I am still confused. Oh well Thanks again.
Title: Home stereo display
Post by: MrEnergizer on 2006-09-28 12:01:58
Russell777, excellent plugin. It has got me messing with my Foobar cfg agen after a long break. 
Keep up the good work.
Title: Home stereo display
Post by: wolfsong on 2006-09-29 03:38:47
What are the heart icons?
Title: Home stereo display
Post by: ...Just Elliott on 2006-09-29 10:04:45
Mood.
Title: Home stereo display
Post by: Russell777 on 2006-09-29 21:39:44
VERSION 1.9 MICRO IS OUT (see the first post)
This version main purpose is to provide compatibility with the latest trackinfo mod component version and
to use it's and latest cwb hooks features.Now the mood and rating editing is one mouse click away from you!
(Just click on the desired rating\mood symbol).I've also changed the playback statistics info alignment
and it now changes every 4 sec in single given rectangle.Also added volume indication and made many
code improvements,Enjoy 

P.S. Updates for other branches are coming soon together with add on panel by Stuart60611 .
Title: Home stereo display
Post by: kockroach on 2006-09-29 23:28:23
Hey Russell, the new mod looks great!  Thanks!

I noticed a couple of things though.  First, I have MP3 and FLAC files, which have the %track% tag in the XX/YY format.  foobar2000 reads the MP3 files as having %tracknumber% and %totaltracks% tags, but the FLAC files are still read as a single %track% tag with the XX/YY format.  It might be best to change
Code: [Select]
$get(active)[%tracknumber%]
to
Code: [Select]
$get(active)[$substr(%tracknumber%,1,2)]
which will compensate for either format.

Also, I noticed in the last played/first played section of the panel that it is saying a song of mine first played yesterday (which should be Sept 28th), but the first played tag actually shows Sept 27th.  It is saying that two days ago is actually yesterday.  Also, does the code truly account for leap years and different numbers of days in certain months?  It seems that months are based on 30 days only.  Then again, I could just be getting confused by all of the code in there. 

Thanks again for the awesome work.
Title: Home stereo display
Post by: Russell777 on 2006-09-30 00:04:45
Hey Russell, the new mod looks great!  Thanks!

I noticed a couple of things though.  First, I have MP3 and FLAC files, which have the %track% tag in the XX/YY format.  foobar2000 reads the MP3 files as having %tracknumber% and %totaltracks% tags, but the FLAC files are still read as a single %track% tag with the XX/YY format.  It might be best to change
Code: [Select]
$get(active)[%tracknumber%]
to
Code: [Select]
$get(active)[$substr(%tracknumber%,1,2)]
which will compensate for either format.

Also, I noticed in the last played/first played section of the panel that it is saying a song of mine first played yesterday (which should be Sept 28th), but the first played tag actually shows Sept 27th.  It is saying that two days ago is actually yesterday.  Also, does the code truly account for leap years and different numbers of days in certain months?  It seems that months are based on 30 days only.  Then again, I could just be getting confused by all of the code in there. 

Thanks again for the awesome work.

Yes you're right about the 30 days part,it could be easily converted to specify exactly how long every specific month is,but i thought that it will add a lot of code lines and hurt the preformance.As for yesterday issue:
the date range is calculated by cwb hooks function,that will tell you that it's two days old only if 48 hours
has passed from the last playback time (it considers not only the date but also the time),i used to use
home made code for that part in the past (without time consideration),but have switched to cwbowron's
function as i find it much more accurate.As for flac files can you provide me with an example file,so i'll
understand what the problem is?
Title: Home stereo display
Post by: kockroach on 2006-09-30 00:58:58
Yes you're right about the 30 days part,it could be easily converted to specify exactly how long every specific month is,but i thought that it will add a lot of code lines and hurt the preformance.As for yesterday issue:
the date range is calculated by cwb hooks function,that will tell you that it's two days old only if 48 hours
has passed from the last playback time (it considers not only the date but also the time),i used to use
home made code for that part in the past (without time consideration),but have switched to cwbowron's
function as i find it much more accurate.As for flac files can you provide me with an example file,so i'll
understand what the problem is?

I understand what you mean about why it might show yesterday, but it still doesn't seem right.  cwbowron has an example code on his wiki page for cwb_hooks, which is the following:
Code: [Select]
$if(%last_played%, $puts(diff,$cwb_datediff(%last_played%,%cwb_systemdate%)) Played $ifgreater(1,$get(diff),Today, $ifgreater(2,$get(diff),Yesterday, $get(diff) days ago)), No last played info)

If I change %last_played% to %first_played%, and throw this code into a blank track_info_mod panel, it properly shows "2 days ago" for the song that shows "Yesterday" in your Home Stereo mod.

If I can, where would I send you an example FLAC file?
Title: Home stereo display
Post by: Russell777 on 2006-09-30 01:05:33
If I change %last_played% to %first_played%, and throw this code into a blank track_info_mod panel, it properly shows "2 days ago" for the song that shows "Yesterday" in your Home Stereo mod.

If I can, where would I send you an example FLAC file?

Ok i'll see what can be done,you know it's pretty hard to navigate at this code as it has some sort of complexity
in it,in fact if you ask me today how do things work in sections that i wrote a week ago the answer will be:
"I dunno...  ",but sure i'll fix it.Send me the file to Russel777@gmail.com.
Title: Home stereo display
Post by: kockroach on 2006-09-30 03:02:47
Hey Russell,

I made some changes to your "Date Range" section.  Instead of Showing the number of years, months, etc., and today or yesterday, I have it showing the date in a format like "September 29th, at 8:55:07 PM".  Thought you might like to use it as a base for your mod.  It does the same swap of "First Played", "Last Played", and "Times Played".  It took a bit to figure out how you had yours set up, but once I did it was easy to modify my old Track Info Panel code.

Here it is
Code: [Select]
//////////////////////////////////////////Date Range///////////////////////////////////////////////
$alignabs(189,$add($div(%_height%,5),38),%_width%,%_height%,,top)
$font(lcdmono2,8,bold$get(font_options),)$get(active)$ifequal($put(yoo,$div($mod(%_time_elapsed_seconds%,12),4)),0,
$if(%last_played%,$puts(timestamp,%last_played%),),
$select($get(yoo),
$if(%first_played%,$puts(timestamp,%first_played%),),
$puts(timestamp,$add(%play_count%,%play_counter%))))


// Day Conversion
$puts(day,$substr($get(timestamp),9,10))
$if($get(timestamp),
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr($get(timestamp),6,7))
$puts(month_name,$select($get(month),
Jan.,Feb.,Mar.,Apr.,May,Jun.,Jul.,Aug.,Sep.,Oct.,Nov.,Dec.))

// Year Conversion
$puts(year,$substr($get(timestamp),1,4))

// Time Conversion
$puts(hour,$substr($get(timestamp),12,13))
$puts(min,$substr($get(timestamp),14,16))
$puts(sec,$substr($get(timestamp),17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))


$ifequal($put(yoo,$div($mod(%_time_elapsed_seconds%,12),4)),0,
Last played: $if(%last_played%,$get(time_of_year) at $get(time_of_day),'Never'),
$select($get(yoo),
First played: $if(%first_played%,$get(time_of_year) at $get(time_of_day),'Never'),
Number of times played: $if($or(%play_count%,%play_counter%),%play_count%,0)
))


I still need to figure out how to add it in correctly to the panel. 

Figured it out.

I hope you like it.
Title: Home stereo display
Post by: Sw!ng on 2006-09-30 09:32:56
Whats Up with the font thing ...??
-Can you rename your "R.segment" so that it can coexist with the "old" one ??

Or what did you change (/improve) ...??


P.s.:
GREAT WORK !!
Title: Home stereo display
Post by: Russell777 on 2006-09-30 11:04:08
Whats Up with the font thing ...??
-Can you rename your "R.segment" so that it can coexist with the "old" one ??

Or what did you change (/improve) ...??


P.s.:
GREAT WORK !!
No they cannot coexist,if you want to use the latest version of the code,you'll need to uninstall the 7 segment font your machine (close foobar and delete it from from "Windows\Fonts" directory) and to install Rsegment instead of it.Sorry i didn't mention it in the first place.Also from now on all the new versions will use Rsegment
instead of 7 Segment font.

Hey Russell,

I made some changes to your "Date Range" section.  Instead of Showing the number of years, months, etc., and today or yesterday, I have it showing the date in a format like "September 29th, at 8:55:07 PM".  Thought you might like to use it as a base for your mod.  It does the same swap of "First Played", "Last Played", and "Times Played".  It took a bit to figure out how you had yours set up, but once I did it was easy to modify my old Track Info Panel code.

Here it is
Code: [Select]
//////////////////////////////////////////Date Range///////////////////////////////////////////////
$alignabs(189,$add($div(%_height%,5),38),%_width%,%_height%,,top)
$font(lcdmono2,8,bold$get(font_options),)$get(active)$ifequal($put(yoo,$div($mod(%_time_elapsed_seconds%,12),4)),0,
$if(%last_played%,$puts(timestamp,%last_played%),),
$select($get(yoo),
$if(%first_played%,$puts(timestamp,%first_played%),),
$puts(timestamp,$add(%play_count%,%play_counter%))))


// Day Conversion
$puts(day,$substr($get(timestamp),9,10))
$if($get(timestamp),
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr($get(timestamp),6,7))
$puts(month_name,$select($get(month),
Jan.,Feb.,Mar.,Apr.,May,Jun.,Jul.,Aug.,Sep.,Oct.,Nov.,Dec.))

// Year Conversion
$puts(year,$substr($get(timestamp),1,4))

// Time Conversion
$puts(hour,$substr($get(timestamp),12,13))
$puts(min,$substr($get(timestamp),14,16))
$puts(sec,$substr($get(timestamp),17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))


$ifequal($put(yoo,$div($mod(%_time_elapsed_seconds%,12),4)),0,
Last played: $if(%last_played%,$get(time_of_year) at $get(time_of_day),'Never'),
$select($get(yoo),
First played: $if(%first_played%,$get(time_of_year) at $get(time_of_day),'Never'),
Number of times played: $if($or(%play_count%,%play_counter%),%play_count%,0)
))


I still need to figure out how to add it in correctly to the panel. 

Figured it out.

I hope you like it.
That's nice,but it's doing different thing from my code:yours is making the verbal translation of date info
and mine is making verbal translation of how long ago the file was played.Now i don't mind using yours,
or mine i'll let the users to say what they think.Thanks for the code.
Title: Home stereo display
Post by: Infernus on 2006-09-30 13:28:47
using 1.9micro and cwb_hooks 0.1.12 I have now 100% cpu on volume change !!! downgrade to cwb 0.1.10 fixed it again
Title: Home stereo display
Post by: Pingwinho on 2006-09-30 13:56:02
My volume indicator is not working good, what's the matter?


Nevermind, it was the cwb_hooks.
Title: Home stereo display
Post by: springsonata on 2006-09-30 15:00:37
sounds pretty cool. I'll get one.
Title: Home stereo display
Post by: kockroach on 2006-09-30 15:32:02
That's nice,but it's doing different thing from my code:yours is making the verbal translation of date info
and mine is making verbal translation of how long ago the file was played.Now i don't mind using yours,
or mine i'll let the users to say what they think.Thanks for the code.

No problem.  Just wanted to offer up an alterative to displaying the dates.

I have a suggestion.  Perhaps you could make the symbol to the left of the volume indicator a mute/unmute button.  I think that might be a cool thing to have....unless it causes to big of a resource drain.
Title: Home stereo display
Post by: Russell777 on 2006-09-30 15:49:55
Quote
I have a suggestion. Perhaps you could make the symbol to the left of the volume indicator a mute/unmute button. I think that might be a cool thing to have....unless it causes to big of a resource drain.
Heh,we are thinking in the same direction,I've tried to do it,but unfortunately i wasn't able to implement it,the button assigned to command "Volume mute" just doesn't responce,i believe it's happening b/c "Volume mute" isn't foobar's recognised command.But if you success in doing it let me know.
Title: Home stereo display
Post by: kockroach on 2006-09-30 15:55:02
Quote
I have a suggestion. Perhaps you could make the symbol to the left of the volume indicator a mute/unmute button. I think that might be a cool thing to have....unless it causes to big of a resource drain.
Heh,we are thinking in the same direction,I've tried to do it,but unfortunately i wasn't able to implement it,the button assigned to command "Volume mute" just doesn't responce,i believe it's happening b/c "Volume mute" isn't foobar's recognised command.But if you success in doing it let me know.

In the actual button toolbar, the "Main Menu Item" option of "Playback/Volume Mute" button is functional.  Is that what you were trying?
Title: Home stereo display
Post by: Russell777 on 2006-09-30 15:56:57
Quote
In the actual button toolbar, the "Main Menu Item" option of "Playback/Volume Mute" button is functional. Is that what you were trying?

Exactly,and it didn't work,maybe i did something wrong,maybe you can try it out and let me now if it's working for you?
Title: Home stereo display
Post by: kockroach on 2006-09-30 16:07:05
Could you give me an example of the code you are using?  I'm afraid I don't really know how the $button command works, yet.

Thanks.
Title: Home stereo display
Post by: Russell777 on 2006-09-30 16:34:36
Could you give me an example of the code you are using?  I'm afraid I don't really know how the $button command works, yet.

Thanks.

Example:$button(10,10,0,0,20,20,Image path1,Image path2,COMMAND,)
Where 10,10 - X1,Y1 on panel where the top left corner of button is located
          0,0- X2,Y2 starting position of an active (clackable) part of button relative to X1,Y1
          20,20 - X3,Y3 width,height of active part of the button
          image path1,image path2-paths of inactive and active images (you can leave it blank)
          command-the executable command name (ex:play)
See "Buttons" section of my code for examples
Title: Home stereo display
Post by: Infernus on 2006-09-30 16:37:14
Russell777 you don't have problems with high-cpu usage on volume change?
Title: Home stereo display
Post by: Russell777 on 2006-09-30 16:43:45
Russell777 you don't have problems with high-cpu usage on volume change?

Yes in fact i do.The problem doesn't come from my code,but from latest version of cwb hooks combined
with latest version of trackinfo mod panel (it's because of callback notifications).I PMed CWBowron
and he said that he and Terrestrial are working on solution.So for now that's what we get.if you feel that it's too much for you,you can switch to prev version of cwb hooks,but it doesn't provide the volume value.
So for now i'm just sitting and waiting for the updates of those components.
Title: Home stereo display
Post by: kockroach on 2006-09-30 17:51:58
Hey Russell,

No luck here getting a "Mute" button to work, either.  It wasn't that I couldn't get a button in place, it's that I don't think there is a command that can be currently called to mute the volume in the button options.  Not sure if terrestrial would need to add the "context menu" to the options, or if perhaps a function in cwb_hooks would be better.

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.  Wish it were faster.  It probably would work best if there were a "Mute" option in the right-click context menu.  Wish there was a way to add it.
Title: Home stereo display
Post by: cwbowron on 2006-10-02 19:26:17
I'm using 1.9 micro and when the tracknumber is >= 10 its displaying 0xx so that last digit is out of its box.
Title: Home stereo display
Post by: musosticky on 2006-10-02 20:36:10
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
Title: Home stereo display
Post by: Russell777 on 2006-10-02 21:38:57
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.
Title: Home stereo display
Post by: kockroach on 2006-10-02 21:50:18
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.
Title: Home stereo display
Post by: Russell777 on 2006-10-02 22:34:27
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.
Title: Home stereo display
Post by: musosticky on 2006-10-03 02:22:32
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
Title: Home stereo display
Post by: Russell777 on 2006-10-03 02:25:32
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 
Title: Home stereo display
Post by: musosticky on 2006-10-03 02:47:30
lol the warning was intended for the uneducated such as myself russell. Thanks a lot for the continued support man. Its very much appreciated
Title: Home stereo display
Post by: Russell777 on 2006-10-03 03:53:15
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 
Title: Home stereo display
Post by: kockroach on 2006-10-03 04:47:14
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.
Title: Home stereo display
Post by: Russell777 on 2006-10-03 12:49:42
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.
Title: Home stereo display
Post by: kockroach on 2006-10-03 12:57:08
Man was that stupid.  I thought I did already...I thought that they were different names.  Thx man!
Title: Home stereo display
Post by: Warchief on 2006-10-03 17:17:21
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.(http://img95.imageshack.us/img95/4786/error2ps6.jpg) (http://imageshack.us)

By changing track it’s looks like on this picture. (http://img95.imageshack.us/img95/4216/error1gj7.jpg) (http://imageshack.us)

In both cases this error goes away after several seconds of playback.
Thanks!!!
Title: Home stereo display
Post by: Warchief on 2006-10-03 17:34:46
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.
Title: Home stereo display
Post by: Russell777 on 2006-10-03 18:21:31
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.
Title: Home stereo display
Post by: Russell777 on 2006-10-03 18:38:08
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.
Title: Home stereo display
Post by: hifish on 2006-10-04 07:40:39
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
Title: Home stereo display
Post by: blaxima on 2006-10-04 08:03:06
my home stereo (the hifi thing you remember) has no mute button, but it has a pause button which perfectly mutes the sound ... instantly


My thoughts exactly. Why would you want to mute it as opposed to pause, this ain't TV
Title: Home stereo display
Post by: Russell777 on 2006-10-04 11:15:39

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


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)     
Title: Home stereo display
Post by: blaxima on 2006-10-04 11:18:15


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


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)     


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?
Title: Home stereo display
Post by: Russell777 on 2006-10-04 12:17:24
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.
Title: Home stereo display
Post by: kockroach on 2006-10-04 15:32:45


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


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)     

Strange, bacuae my brand new home stereo also has a mute button.  Should I return it?!  Just kidding.    But I do agree with what Russell says about radio broadcasts.
Title: Home stereo display
Post by: blaxima on 2006-10-04 18:22:44

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

Strange, bacuae my brand new home stereo also has a mute button.  Should I return it?!  Just kidding.    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
Title: Home stereo display
Post by: Russell777 on 2006-10-04 18:29:35
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

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.
Title: Home stereo display
Post by: blaxima on 2006-10-04 18:46:44

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

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
Title: Home stereo display
Post by: Stuart60611 on 2006-10-04 18:57:50


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

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.
Title: Home stereo display
Post by: Russell777 on 2006-10-04 19:47:19
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).
Title: Home stereo display
Post by: blaxima on 2006-10-04 21:09:18
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
Title: Home stereo display
Post by: Stuart60611 on 2006-10-04 21:43:13
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).
Title: Home stereo display
Post by: 12zmcnvow1277 on 2006-10-04 23:55:16
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?
Title: Home stereo display
Post by: Russell777 on 2006-10-05 00:08:46
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.
Title: Home stereo display
Post by: Paul Cage on 2006-10-06 01:37:34
(http://img180.imageshack.us/img180/6651/aspectohl4.png)
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?
Title: Home stereo display
Post by: Russell777 on 2006-10-06 01:59:35
(http://img180.imageshack.us/img180/6651/aspectohl4.png)
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.
Title: Home stereo display
Post by: Paul Cage on 2006-10-06 14:33:37
For some reason, I didn't have the LCD fonts installed. I've installed the LCD fonts and that did it! Thx Russell777 
Title: Home stereo display
Post by: Zetto on 2006-10-06 17:10:59
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.


(http://img473.imageshack.us/img473/5086/zettofoovisualckv8.th.jpg) (http://img473.imageshack.us/my.php?image=zettofoovisualckv8.jpg)

(accidentally posted in 3rd Party Plugins - (fb2k) forum so im posting this here again... thx again Russell777)
Title: Home stereo display
Post by: Russell777 on 2006-10-06 17:23:57
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.


(http://img473.imageshack.us/img473/5086/zettofoovisualckv8.th.jpg) (http://img473.imageshack.us/my.php?image=zettofoovisualckv8.jpg)

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

Amazing!Mind sharing it?
Title: Home stereo display
Post by: Stuart60611 on 2006-10-06 18:23:20

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.


(http://img473.imageshack.us/img473/5086/zettofoovisualckv8.th.jpg) (http://img473.imageshack.us/my.php?image=zettofoovisualckv8.jpg)

(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.
Title: Home stereo display
Post by: LNCPapa on 2006-10-06 20:09:57
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.


(http://img473.imageshack.us/img473/5086/zettofoovisualckv8.th.jpg) (http://img473.imageshack.us/my.php?image=zettofoovisualckv8.jpg)

(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.
Title: Home stereo display
Post by: Stuart60611 on 2006-10-06 21:36:45
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.

(http://img426.imageshack.us/img426/654/10062006161149tw4.th.png) (http://img426.imageshack.us/my.php?image=10062006161149tw4.png)

Download (http://www.sendspace.com/file/joh0ou)

(Edit: Labeled relative quality indicator)
Title: Home stereo display
Post by: Russell777 on 2006-10-06 23:57:39
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.
Title: Home stereo display
Post by: Zetto on 2006-10-07 01:19:27
that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

(http://img166.imageshack.us/img166/2206/zettofooplayinghi2.th.jpg) (http://img166.imageshack.us/my.php?image=zettofooplayinghi2.jpg)

(http://img207.imageshack.us/img207/1509/zettofoostoppedmi2.th.jpg) (http://img207.imageshack.us/my.php?image=zettofoostoppedmi2.jpg)
Title: Home stereo display
Post by: Russell777 on 2006-10-07 01:39:28
that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

(http://img166.imageshack.us/img166/2206/zettofooplayinghi2.th.jpg) (http://img166.imageshack.us/my.php?image=zettofooplayinghi2.jpg)

(http://img207.imageshack.us/img207/1509/zettofoostoppedmi2.th.jpg) (http://img207.imageshack.us/my.php?image=zettofoostoppedmi2.jpg)

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?
Title: Home stereo display
Post by: Zetto on 2006-10-07 01:59:58
re... ok here are the necessary files (images) for the setup:

http://www.szemke.de/TEMP/Zetto-Foo!.pics.7z (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:

[codebox]
Code: [Select]
///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 

Quote
PS:Did you create the image yourself?


Yes i did. maybe u want to visit MY PAGE (http://www.szemke.de) for more stuff 
Title: Home stereo display
Post by: Russell777 on 2006-10-07 02:13:50
re... ok here are the necessary files (images) for the setup:

http://www.szemke.de/TEMP/Zetto-Foo!.pics.7z (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: [Select]
///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 

Quote
PS:Did you create the image yourself?

Yes i did. maybe u want to visit MY PAGE (http://www.szemke.de) for more stuff 

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: [Select]
 section ( ex: codebox) so it will be easier for ppl to copy your code?
			
Title: Home stereo display
Post by: Zetto on 2006-10-07 02:19:39
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: [Select]
 section ( ex: codebox) so it will be easier for ppl to copy your code?

done... sry first time posting code in a forum
Title: Home stereo display
Post by: ...Just Elliott on 2006-10-07 16:28:11
that would be awesome for sure, Russell777. i highly appreciate your effort. respect !!

updated my version a little bit:

(http://img166.imageshack.us/img166/2206/zettofooplayinghi2.th.jpg) (http://img166.imageshack.us/my.php?image=zettofooplayinghi2.jpg)

(http://img207.imageshack.us/img207/1509/zettofoostoppedmi2.th.jpg) (http://img207.imageshack.us/my.php?image=zettofoostoppedmi2.jpg)

BEYOND AWESOME!

An idea would be making more colour schemes, but heck, I want to redesign my fooby for that now.
Title: Home stereo display
Post by: unabatedshagie on 2006-10-08 10:07:15
Whats the second progress bar underneath the time progress bar for??

(http://img216.imageshack.us/img216/1506/061008100342gq0.th.png) (http://img216.imageshack.us/my.php?image=061008100342gq0.png)
Title: Home stereo display
Post by: Russell777 on 2006-10-08 10:39:11
Whats the second progress bar underneath the time progress bar for??

(http://img216.imageshack.us/img216/1506/061008100342gq0.th.png) (http://img216.imageshack.us/my.php?image=061008100342gq0.png)

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.
Title: Home stereo display
Post by: Russell777 on 2006-10-08 15:25:25
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.
Title: Home stereo display
Post by: Russell777 on 2006-10-08 19:28:41
I forgot to include this info in the SDK:in the end of "Globals" section insert this line:
Code: [Select]
$if(%isplaying%,,$puts(active,$get(back)))
Title: Home stereo display
Post by: ...Just Elliott on 2006-10-08 22:24:42
oh my. I may have to redesign my track info mod.
Title: Home stereo display
Post by: Russell777 on 2006-10-08 22:32:17
oh my. I may have to redesign my track info mod.

That's the idea 
Title: Home stereo display
Post by: MrEnergizer on 2006-10-09 23:41:19
Firstly Zetto thx a lot for a nice design.  Small request .... as my image shows I have modded your code a bit because I like to see extra info in my T.I. panel.  In the album box it scrolls if the name is too long.  Which part of the code can i copy and paste to make this happen in my "Riddim" and "Label" box.
TIA
Mr E

[a href="http://imageshack.us" target="_blank"]
Title: Home stereo display
Post by: Russell777 on 2006-10-10 00:16:56
I know the question wasn't addressed to me,but so happened to be that i have the solution.
It's the part of unreleased SDK v1.1.Scrolling info (http://rapidshare.de/files/36153475/Scrolling_info.rar.html).Just enter the info you want to be scrolled and place it where you need it.
Title: Home stereo display
Post by: MrEnergizer on 2006-10-10 00:54:57
thax russell777 for quick reply..... its nearly 1am here and Iv tried for nearly an hour to get this right and its driving me mad. I am no good at coding plus Im very tired so please show me where to put it ( I will post my code)
TIA
Mr E

///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']

///Riddim///

$alignabs(310,92,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[Riddim * %riddim%]


///Label///

$alignabs(310,112,%_width%,%_height%,left,top)
$font(lcdmono2,10,,)
$get(fontColorAI)[Label * %label%]

///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,11,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,)
Title: Home stereo display
Post by: Russell777 on 2006-10-10 01:11:06
Go get some sleep,you'll get it first thing in the morning.It needs some serious tweaking.
Title: Home stereo display
Post by: Russell777 on 2006-10-10 02:40:03
Well i've changed quite a lot,but i like the result,special thanks goes to Zetto for creating the mod.Download (http://rapidshare.de/files/36163808/Zetto_s_config_mod_by_Russell777.rar.html)
Title: Home stereo display
Post by: MrMuffin on 2006-10-10 05:37:57
One quick question - in 1.8.1 VIP, what exactly does the second progress bar  represent (under the track title display)?  And what piece of code creates it?  It seems to always be stuck around halfway, but does change from track to track.
Title: Home stereo display
Post by: Stuart60611 on 2006-10-10 05:47:32
One quick question - in 1.8.1 VIP, what exactly does the second progress bar  represent (under the track title display)?  And what piece of code creates it?  It seems to always be stuck around halfway, but does change from track to track.


It is not a progress bar, but a relative quality indicator bar representing the relative quality of the track.
Title: Home stereo display
Post by: Stuart60611 on 2006-10-10 06:02:22
Supersized!  Created with the SDK 1.0

Playing:

(http://img140.imageshack.us/img140/2296/10112006192759oy0.th.png) (http://img140.imageshack.us/my.php?image=10112006192759oy0.png)

Stopped:

(http://img140.imageshack.us/img140/6376/10112006192933ey1.th.png) (http://img140.imageshack.us/my.php?image=10112006192933ey1.png)

(Edit 10/11/06 re: Minor line-up adjustments so as to accomodate bold text)
Title: Home stereo display
Post by: MrEnergizer on 2006-10-10 22:31:49
Well i've changed quite a lot,but i like the result,special thanks goes to Zetto for creating the mod.Download (http://rapidshare.de/files/36163808/Zetto_s_config_mod_by_Russell777.rar.html)



Russell777.  You're a star!  Thanks a lot.  It works perfectly. 
Title: Home stereo display
Post by: vader897 on 2006-10-13 11:33:03
Hello,

I have just had an idea... Its just to help me make home stereo display fit better with my foobar config but i am sure other people would like it... Its just been an idea so i havent had a look at trying to edit the code to do what I want it... I just thought I would post it so i dont forget about it, and incase someone else allready knows how to do it with out ease.

Below is just a photshopped image of what it my idea is... Just to have the tech info right underneith the track info... Should be simple enough and I will have a go at it later.

(http://img219.imageshack.us/img219/2451/layoutideavj1.jpg)
Title: Home stereo display
Post by: Russell777 on 2006-10-13 11:53:08
VERSION 1.9.1 NANO IS OUT (see the first post)
I can't believe it,but i shrinked it even more!Also now you can throw away your playback order toolbar,
just click on the wanted mode till you get the desired one.Hope you like it,enjoy 

DON'T FORGET TO GET THE LATEST TRACKINFO MOD PANEL!
Title: Home stereo display
Post by: musosticky on 2006-10-13 13:07:08
Using it, love it, love you

*worships*

The updates get better and better
Title: Home stereo display
Post by: Russell777 on 2006-10-13 13:08:14
Using it, love it, love you

*worships*

The updates get better and better

Thanks 
Title: Home stereo display
Post by: LXtreme on 2006-10-22 00:23:29
first thanx for your FANTASTIC work, Russell777
me was very happy bout the sdk, espacially!
and your latest screens are really awesome...

just a suggestion:
i personally do not like the "scrolling" in the track-info, so i mixed your idea of "swapping" Bitrate, Samplerate & Compression with your TI-Code. As i just need %artist% and %title% in the TI, it is not as complex as your code. but maybe you like the idea.:
instead of scrolling the text when it is longer than the needed space it alternates between %artist% and %title%. this "swapping" can be turned on and of in the global options.

another idea is to use "swapping" and "scrolling" together: if a "swapped" part of the TI is too long it will be scrolled.... (but as i do nit like scrolling i just $cut the part wich is too long):

in order to visualize what i mean you have to find tracks with long tags or you just reduce "window" and windowsize" in the globals:

Code: [Select]
/////////////////////////////////////////Globals///////////////////////////////////////////////////
$puts(active,$rgb(0,0,147))
$puts(back,$rgb(225,225,225))
$puts(font_options,)

$puts(display_back,)
$puts(full,250-250-250)
$puts(frame,150-150-150)

$puts(symbolinfo,1)
$puts(Trackinfo_font_size,20)
$puts(alt_font,Arial)
$puts(alt_font_size,10)
$puts(alt_font_options,)
$puts(alt_font_fix,)

$puts(window,42)
$puts(windowsize,648)
$puts(scrollback,1)
$puts(swapping,1)

// Track-Info Allignment//
$puts(TI-x-allign,52)
$puts(TI-y-allign,9)

//////////////////////////////////////Boxes//////////////////////////////////////////
//1-Track-Info
$drawrect($sub($get(TI-x-allign),8),$sub($get(TI-y-allign),3),$add($get(windowsize),5),$add($get(Trackinfo_font_size),10),brushcolor-$get(full) pencolor-$get(frame))
////////////////////////////////////////1 Track info (swapping & scrolling))///////////////////////////////////////////////
$alignabs($get(TI-x-allign),$get(TI-y-allign),%_width%,%_height%,,)
$puts(title,[%artist% - ]['"'%title%'"'])
$puts(title_a,%artist%)
$puts(title_b,%title%)
$if($get(symbolinfo),$if($or($stricmp($substr($ascii($get(title)),2,2),?),
$stricmp($substr($ascii($get(title)),6,6),?)),$char(10)
$alignabs($get(TI-x-allign),$add(10,$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,#,No.)))
$puts(title_a,$lower($replace($upper($get(title_a)),-,$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,#,No.)))
$puts(title_b,$lower($replace($upper($get(title_b)),-,$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,#,No.)))
$puts(alt_font_fix,0)
$font(lcdmono2,$get(Trackinfo_font_size),bold$get(font_options),250-250-250)$repeat($char(10),35)),
$alignabs($get(TI-x-allign),$add($get(TI-y-allign),$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(active)

$if($greater($len($get(title)),$get(window))
,
$ifequal($get(swapping),1,
$ifgreater($mod(%_time_elapsed_seconds%,6),2,
$alignabs($get(TI-x-allign),$add($get(TI-y-allign),$get(alt_font_fix)),$get(windowsize),%_height%,center,top)$get(active)
$if($greater($len($get(title_b)),$get(window)),
'"'$cut($get(title_b),$sub($get(window),5))...'"',
'"'$get(title_b)'"')
,
$alignabs($get(TI-x-allign),$add($get(TI-y-allign),$get(alt_font_fix)),$get(windowsize),%_height%,center,top)$get(active)
$if($greater($len($get(title_a)),$get(window)),
'"'$cut($get(title_a),$sub($get(window),5))...'"',
'"'$get(title_a)'"'))
,
$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(window)))
$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(window)),
$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(window),$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add($get(window),$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(window)),
$puts(mod,$sub($get(mod),2))$puts(flag,$get(mod))
$substr($get(title),$add(1,$get(mod)),$add($get(window),$get(mod)))))
)
,
$alignabs($get(TI-x-allign),$add($get(TI-y-allign),$get(alt_font_fix)),$get(windowsize),%_height%,center,top)$get(active)$get(title))

EDIT: not willing to edit all those typos 

EDIT (2006-10-23):
[blockquote]fixed - code did not support symbolinfo-casefixes in swapping mode
fixed - swapping did not work with symbolinfo off
boxed the code  [/blockquote]
Title: Home stereo display
Post by: Russell777 on 2006-10-22 00:49:56
first thanx for your FANTASTIC work, Russell777
me was very happy bout the sdk, espacially!
and your latest screens are really awesome...

just a suggestion:
i personally do not like the "scrolling" in the track-info, so i mixed your idea of "swapping" Bitrate, Samplerate & Compression with your TI-Code. As i just need %artist% and %title% in the TI, it is not as complex as your code. but maybe you like the idea.:
instead of scrolling the text when it is longer than the needed space it alternates between %artist% and %title%. this "swapping" can be turned on and of in the global options.

another idea is to use "swapping" and "scrolling" together: if a "swapped" part of the TI is too long it will be scrolled.... (but as i do nit like scrolling i just $cut the part wich is too long):

in order to visualize what i mean you have to find tracks with long tags or you just reduce "window" and windowsize" in the globals:


Nice one really,i'm sure many ppl will use it.As for swapping and scrolling all together:i gave it a thought before,but found that it requires too complicated and massive coding so i dropped the idea/
Title: Home stereo display
Post by: LXtreme on 2006-10-22 01:07:00
Nice one really,i'm sure many ppl will use it.As for swapping and scrolling all together:i gave it a thought before,but found that it requires too complicated and massive coding so i dropped the idea/

thanks, but i am still regarding myself as a newbie who just want's to learn.
"massive coding" is the right word to describe f2k's visual potential:
(nearly) everything i possible, just enough time is needed 
Title: Home stereo display
Post by: LXtreme on 2006-10-23 16:02:22
Just in case somebody will really use this code (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=443045):
it was edited to perform the symbolinfo-casefix in swapping mode, too.

(question concerning posting in general: how do i make the code-box smaller, so it can be scrolled in a post?!)
Title: Home stereo display
Post by: Russell777 on 2006-10-23 16:45:24
Just in case somebody will really use this code (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=47714&view=findpost&p=443045):
it was edited to perform the symbolinfo-casefix in swapping mode, too.

(question concerning posting in general: how do i make the code-box smaller, so it can be scrolled in a post?!)


Just add "box" to [/code]  and [code] statements
Title: Home stereo display
Post by: vader897 on 2006-10-24 16:10:44
Please update the link to the slarv theme.  It timed out and this is the new one..  I am pretty sure this is the exact same files as the last one but its possible its a bit different.

http://rapidshare.com/files/498949/slarv.zip.html (http://rapidshare.com/files/498949/slarv.zip.html)
Title: Home stereo display
Post by: Russell777 on 2006-10-24 17:28:52
Please update the link to the slarv theme.  It timed out and this is the new one..  I am pretty sure this is the exact same files as the last one but its possible its a bit different.

http://rapidshare.com/files/498949/slarv.zip.html (http://rapidshare.com/files/498949/slarv.zip.html)

I've uploaded it to FTP.
Title: Home stereo display
Post by: Mr. Happy on 2006-10-31 13:07:10
How can I add the clickable portions to the 1.8.1. VIP???
(The buttons are defined, but I think changing the positions should do it. But can I find out what the grid positions should be???)
Title: Home stereo display
Post by: Russell777 on 2006-10-31 15:47:34
How can I add the clickable portions to the 1.8.1. VIP???
(The buttons are defined, but I think changing the positions should do it. But can I find out what the grid positions should be???)

There are buttons in 1.8.1,you just need custominfo component to get them working.Anyway i'll post an update to 1.8.x brunch soon.
Title: Home stereo display
Post by: Mr. Happy on 2006-10-31 15:51:41

How can I add the clickable portions to the 1.8.1. VIP???
(The buttons are defined, but I think changing the positions should do it. But can I find out what the grid positions should be???)

There are buttons in 1.8.1,you just need custominfo component to get them working.Anyway i'll post an update to 1.8.x brunch soon.


I know there are buttons and they're configured (and I have the custominfo component installed), however I think the grid-locations of the buttons are not corresponding with the locations where I have got them. 
Or is there another explanation why they're not working?? 
Title: Home stereo display
Post by: Russell777 on 2006-10-31 16:15:25
I'll check it,just give me some time 
Title: Home stereo display
Post by: Mr. Happy on 2006-11-08 13:55:08
I'll check it,just give me some time 

Found something already??
Title: Home stereo display
Post by: Special.O on 2006-11-08 14:13:33
The rating feature of 1.91 Nano doesn't work for me.

I installed the newest version of track info mod and cwb_hook. Then I followed the instructions and added the masstagger scripts in the correct order. After that I pasted the code from code/V_1_9_1.txt .

Even after a restart didn't help.

Any ideas how to get the rating working?

Thanks in advance
Title: Home stereo display
Post by: Russell777 on 2006-11-08 22:25:43
By default the rating option is set to work with custominfo component,if you want to use masstager instead,set
$puts(write_tags,1)
Title: Home stereo display
Post by: .misiek on 2006-11-29 01:38:41
Hi

I have problems with style version 1.7.2. It doesn't work for me with the lastest track info mod... [all background frames are displaced]...
I can't find horizontal/vertical padding settings... :/

my actual components:
Quote
Active components (29):
Core.dll v0.9.4.2 beta 2 [] - foobar2000 core
foo_AdvancedControls.dll v0.5.9.0 [17 September 2006] - FooBar2000 Advanced Controls
foo_albumlist.dll v3.2.0 [20 November 2006] - Album List
foo_audioscrobbler.dll v1.3.4 [15 June 2006] - Audioscrobbler
foo_cdda.dll v2.1.1 [20 November 2006] - CD Audio Decoder
foo_cwb_hooks.dll v1.0.14 [Nov  1 2006 - 10:20:44] [01 November 2006] - cwbowron's title format hooks
foo_dsp_dolbyhp.dll v1.1 [30 April 2006] - Dolby Headphone Wrapper
foo_dsp_std.dll v1.0 [20 November 2006] - Standard DSP array
foo_freedb2.dll v0.5.2a [29 August 2006] - freedb Tagger
foo_input_mslive.dll v0.1.6.3 [28 October 2006] - mslive streaming support
foo_input_std.dll v1.0 [20 November 2006] - Standard Input Array
foo_input_std.dll v1.1.0 [20 November 2006] - FLAC Decoder
foo_input_std.dll v1.1 [20 November 2006] - WMA Decoder
foo_kPilotInfo.dll v0.2.1 [11 July 2006] - FookPilotInfo
foo_masstag.dll v1.6 [20 November 2006] - Masstagger
foo_oddcastv3.dll v3.x [06 October 2006] - OddcastV3
foo_playcount.dll v1.3.2 [16 September 2006] - Playback Statistics
foo_rgscan.dll v2.0.2 [20 November 2006] - ReplayGain Scanner
foo_ui_columns.dll v0.1.3 beta 1v7 [22 November 2006] - Columns UI
foo_ui_std.dll v0.9acc [20 November 2006] - Default User Interface
foo_uie_albumart.dll v0.1763 [11 June 2006] - Album Art Panel feat. Matroska
foo_uie_albumlist.dll v0.2.1 [22 November 2006] - Album list panel
foo_uie_console.dll v0.2 [28 April 2006] - Console panel
foo_uie_lyrics.dll v0.3.0.0 [02 June 2006] - Lyric Show Panels
foo_uie_quicksearch.dll v2.8j [15 October 2006] - Quick Search Toolbar
foo_uie_trackinfo_mod.dll v0.7.1 beta [Nov 22 2006 - 03:51:45] [22 November 2006] - Track info panel mod
foo_unpack.dll v1.0 [20 November 2006] - ZIP/GZIP reader
foo_unpack.dll v1.1 [20 November 2006] - RAR reader
foo_version.dll v0.3 [18 July 2006] - Components versions viewer


and image where the problem was depicted
(http://img215.imageshack.us/img215/6597/11292006023216sy4.th.jpg) (http://img215.imageshack.us/img215/6597/11292006023216sy4.jpg)

and yes, I want to use this "old" one style :]
Title: Home stereo display
Post by: Russell777 on 2006-11-29 05:17:15
Sorry to tell you,that this version of HSD is designed for an old version of trackinfo mod panel and won't
work correctly with any of the recent versions.Maybe if i have some extra hour or two i'll rewrite this one for you.
P.S.:Nice music taste
Title: Home stereo display
Post by: eNforcer on 2006-12-09 08:06:59
I'm not sure why, but none of the info in the trackinfo is updating.  The artist - title area doesn't scroll, the track position numbers don't change from 00:00 etc.  It's just neutral.

And no, it's not on pause
Title: Home stereo display
Post by: Russell777 on 2006-12-09 13:30:07
I'm not sure why, but none of the info in the trackinfo is updating.  The artist - title area doesn't scroll, the track position numbers don't change from 00:00 etc.  It's just neutral.

And no, it's not on pause

It's because the code structure needs to be adjusted for the latest trackinfo mod panel version,I'll do it as soon as i can.
Title: Home stereo display
Post by: kockroach on 2006-12-16 21:45:41
Hey Russell777,

I noticed on my FLAC files that the size was not being calculated properlywhen they were larger than 10 MB.  I thought I would share my changes with you.  This is what I am using to get proper file sizes (in MB).

Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3))MB
Title: Home stereo display
Post by: Russell777 on 2006-12-16 23:41:50
Thanks,i'll include it when i'll rewrite the ode for the new trackinfo mod
Title: Home stereo display
Post by: flexo3105 on 2006-12-18 19:50:04
hi just a little problem , had to back up my system , and now the symbol for standby is missing ... am i missing a font ? everything ok except the standby icon.. thanks in advance
Title: Home stereo display
Post by: Russell777 on 2006-12-18 21:12:26
Yep,you need to reinstall this font (http://www.dafont.com/symbolix.font)
Title: Home stereo display
Post by: flexo3105 on 2006-12-19 15:53:17
oh ok  thanks Russel777

hmm , now theres another problem .. everything is up to date , tried repasting the code several times..

[img=http://img442.imageshack.us/img442/3406/1pp6.th.jpg] (http://img442.imageshack.us/my.php?image=1pp6.jpg)

happens everytime on trackchange and when foobar is not playing, any idea ?
Title: Home stereo display
Post by: martinuxs on 2006-12-23 20:04:04
Home stereo display SDK v 1.0
Download (rapidshare) (http://rapidshare.de/files/35962977/Home_stereo_display_SDK.rar.html)
Download (badongo) (http://www.badongo.com/file/1514845)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
VERSION 1.9.1 NANO
Changelog:
-Mouse click editing of:Rating\Mood,playback order,follow cursor mode,volume mute
-Track\album gain indicator
-Compact size
-New glass overlay image

IMPORTANT:
Take a moment to read the "instructions.txt" as it contains all the definitions of variables you may want to change.Also note that the fonts list now includes "Rsegment" instead of "7 Segment"

i sit at this maybe 4 hours and try but it come nothing
it would be nice...
Title: Home stereo display
Post by: cooperpwc on 2007-01-13 20:43:00

I'm not sure why, but none of the info in the trackinfo is updating.  The artist - title area doesn't scroll, the track position numbers don't change from 00:00 etc.  It's just neutral.

And no, it's not on pause

It's because the code structure needs to be adjusted for the latest trackinfo mod panel version,I'll do it as soon as i can.


Hello,

Add me to the list of people that love this display but have it "frozen in time" (i.e. not refreshing). If I adjust volume everything updates to that moment but freezes again in time. I'm using 1.8.1.

(In the meantime I'm going to look for an old version of track info mod.)

Thanks.
Title: Home stereo display
Post by: kockroach on 2007-01-13 21:29:09
The reason why it is "frozen" is because the code hasn't been updated to use the "PerSecond" and "PerTrack" options in the newest track_info_mod panel.  Russell mentioned this previously (see post 433)
Title: Home stereo display
Post by: Yotsuya on 2007-01-13 22:14:31
Has anyone tried simply adding the line:
Code: [Select]
// PerSecond

To the top of the code?
Title: Home stereo display
Post by: cooperpwc on 2007-01-14 19:17:19
The reason why it is "frozen" is because the code hasn't been updated to use the "PerSecond" and "PerTrack" options in the newest track_info_mod panel.  Russell mentioned this previously (see post 433)


Oh I know. That's why i said I was looking for an old Track Info Mod - which I have found. V1.8 VIP is now working great. I will look forward to the updated code when it comes out.
Title: Home stereo display
Post by: cooperpwc on 2007-01-15 04:00:03
Hey Russell777,

I noticed on my FLAC files that the size was not being calculated properlywhen they were larger than 10 MB.  I thought I would share my changes with you.  This is what I am using to get proper file sizes (in MB).

Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3))MB


Here is something interesting (or rather that I don't understand). I rip whole CD flac files.  The original code in 1.8.1 for the Home Stereo Display is showing a file as 432.3 MB. In Windows XP Explorer, the folder it is in also reads at 432 MB total as does the actual file in Icon view. But when I go to Detail view in the folder it then says 442,992 KB. Which is right in Explorer? That would answer the question as to whether the Home Stereo display is correct.
Title: Home stereo display
Post by: Russell777 on 2007-01-15 06:41:17

Hey Russell777,

I noticed on my FLAC files that the size was not being calculated properlywhen they were larger than 10 MB.  I thought I would share my changes with you.  This is what I am using to get proper file sizes (in MB).

Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3))MB


Here is something interesting (or rather that I don't understand). I rip whole CD flac files.  The original code in 1.8.1 for the Home Stereo Display is showing a file as 432.3 MB. In Windows XP Explorer, the folder it is in also reads at 432 MB total as does the actual file in Icon view. But when I go to Detail view in the folder it then says 442,992 KB. Which is right in Explorer? That would answer the question as to whether the Home Stereo display is correct.

 

1MB=2^10 KB (1024KB)
442992KB/1024=432.6MB
Just take the filesize provided by foobar (in bytes) and divide it by 1024 to get the size in KB's and then by additional 1024 to get it in MB's and tell me if i'm wrong.
Title: Home stereo display
Post by: cooperpwc on 2007-01-16 02:45:15


Hey Russell777,

I noticed on my FLAC files that the size was not being calculated properlywhen they were larger than 10 MB.  I thought I would share my changes with you.  This is what I am using to get proper file sizes (in MB).

Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3))MB


Here is something interesting (or rather that I don't understand). I rip whole CD flac files.  The original code in 1.8.1 for the Home Stereo Display is showing a file as 432.3 MB. In Windows XP Explorer, the folder it is in also reads at 432 MB total as does the actual file in Icon view. But when I go to Detail view in the folder it then says 442,992 KB. Which is right in Explorer? That would answer the question as to whether the Home Stereo display is correct.

 

1MB=2^10 KB (1024KB)
442992KB/1024=432.6MB
Just take the filesize provided by foobar (in bytes) and divide it by 1024 to get the size in KB's and then by additional 1024 to get it in MB's and tell me if i'm wrong.

Thanks for explaining. So there is no problem with your display which was what I was trying to figure out - a previous post suggested that the FLAC files were not accurately reported but they are. (I'm not a programer; did you figure that out? I did however get your display working very nicely.)
Title: Home stereo display
Post by: kockroach on 2007-01-16 09:17:02
Thanks for explaining. So there is no problem with your display which was what I was trying to figure out - a previous post suggested that the FLAC files were not accurately reported but they are. (I'm not a programer; did you figure that out? I did however get your display working very nicely.)

Actually, the size for FLAC files were not showing correctly, if they are larger than 10MB.  The code that originally comes with the HSD doesn't look for the proper numbers, so what I was seeing was the same number being repeated on each side of the decimal.  The code I posted will not change how the size is calculated, but it actually looks for the proper numbers, if the resulting filesize is over 10MB.
Title: Home stereo display
Post by: cooperpwc on 2007-01-17 22:24:15
Actually, the size for FLAC files were not showing correctly, if they are larger than 10MB.  The code that originally comes with the HSD doesn't look for the proper numbers, so what I was seeing was the same number being repeated on each side of the decimal.  The code I posted will not change how the size is calculated, but it actually looks for the proper numbers, if the resulting filesize is over 10MB.

Fair enough. It's probably a difference in version. Version 1.8.1 VIP does seem to be displaying correctly.
Title: Home stereo display
Post by: kockroach on 2007-01-17 22:57:41
Fair enough. It's probably a difference in version. Version 1.8.1 VIP does seem to be displaying correctly.

Actually, I just tried it, and it doesn't.  The size is displayed as "xy_z", where the "_" is the decimal.  With the old code, when the fileszie is 10 MB or more, the "xy" is correct in front of the decimal, however the "z" ends up being the same number as the "y".  If you have the file_info component, you can see the correct size in MB displayed after the "File size" which is listed in Bytes.

I changed the code to pull out the correct numbers that should be to the right of the decimal when the filesize is 10 MB or more.
Title: Home stereo display
Post by: cooperpwc on 2007-01-18 01:13:22
Actually, I just tried it, and it doesn't.  The size is displayed as "xy_z", where the "_" is the decimal.  With the old code, when the fileszie is 10 MB or more, the "xy" is correct in front of the decimal, however the "z" ends up being the same number as the "y".  If you have the file_info component, you can see the correct size in MB displayed after the "File size" which is listed in Bytes.

I changed the code to pull out the correct numbers that should be to the right of the decimal when the filesize is 10 MB or more.

Okay, you are absolutley right. A Cowboy Junkies FLAC image is reading at 280.8MB but File Info shows 280.31MB. Unfortunately with my limited skills I can't get your change to work. I am trying to replace:
Code: [Select]
$div(%filesize%,1048576)'.'$substr($muldiv(%filesize%,100,1048576),2,2))

(That is later sourced with a "$get(active)MB" string.) Every attempt so far has shut down my display. I'll keep tinkering...
Title: Home stereo display
Post by: kockroach on 2007-01-18 01:27:02
Okay, you are absolutley right. A Cowboy Junkies FLAC image is reading at 280.8MB but File Info shows 280.31MB. Unfortunately with my limited skills I can't get your change to work. I am trying to replace:
Code: [Select]
$div(%filesize%,1048576)'.'$substr($muldiv(%filesize%,100,1048576),2,2))

(That is later sourced with a "$get(active)MB" string.) Every attempt so far has shut down my display. I'll keep tinkering...

Try this out:
Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),99,$substr($muldiv(%filesize%,1000,1048576),4,5),
$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3)))MB

I believe that should give you what you want.  If not, let me know.  I can't say that I have a FLAC file larger than 100 MB.
Title: Home stereo display
Post by: cooperpwc on 2007-01-18 01:51:27
Thanks. i don't normally play my FLAC images either. They're for archiving on DVD. Unfortunately my problem is more basic: This is the code that I am working with:
Code: [Select]
$if(%isplaying%,
$div(%filesize%,1048576)'.'$substr($muldiv(%filesize%,100,1048576),2,2))
$alignabs($sub(%_width%,38),$add($div(%_height%,5),19),%_width%,%_height%,,)
$font(arial,7,$get(font_options),)$get(active)MB

I can't integrate your code into this without turning off my entire display. (Yet anyway... I'll keep trying.)
Title: Home stereo display
Post by: kockroach on 2007-01-18 02:25:21
I can't integrate your code into this without turning off my entire display. (Yet anyway... I'll keep trying.)

Code: [Select]
$if(%isplaying%,
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),99,$substr($muldiv(%filesize%,1000,1048576),4,5),
$ifgreater($div(%filesize%,1048576),9,$substr($muldiv(%filesize%,100,1048576),3,4),$substr($muldiv(%filesize%,100,1048576),2,3))))
$alignabs($sub(%_width%,38),$add($div(%_height%,5),19),%_width%,%_height%,,)
$font(arial,7,$get(font_options),)$get(active)MB

That should work, except based on what you have, the "MB" is outside of the %isplaying% variable, which means it will always be displayed.  It would need to be changed to get it to show only when playing.
Title: Home stereo display
Post by: cooperpwc on 2007-01-18 02:56:57
That was silly. I was leaving out one ")" which prevented it from working. 
I have now tried both your original code that you posted on the last page which was intended for files over 10MB as well as the new one that you kindly fully formatted for me that should deal with files of 100+MB. They both do exactly the same thing: FLAC files from 1-99MB are now accurately rendered which is great. However, even your new code is not working for 100+; it just displays blank (i.e. black) where the number should be. Not a big issue. I'm going to stick with your code. (Like I said, one doesnt actually listen to FLAC images on a regular basis... I'm also going to tinker with it. We must be close)
As for the MB always being on, that is intentional. It appears as a greyed out LCD when not in use like many other parts of the display.
Thanks!
Title: Home stereo display
Post by: kockroach on 2007-01-18 03:31:43
Not sure why it is showing blank on the files over 100MB.  Could you post all of your code (use the "codebox" and "/codebox" enclosed in "[]") functions instead so it doesn't crowd the page.
Title: Home stereo display
Post by: cooperpwc on 2007-01-18 04:03:49
I found out the problem. There just isn't enough space to show the 100+MB files to 2 decimal places. So it doesn't display. What is working now is to show just one decimal place for 100+MB as follows:
Code: [Select]
$div(%filesize%,1048576)'.'$ifgreater($div(%filesize%,1048576),99,$substr($muldiv(%filesize%,1000,1048576),4,4),

It doesn't seem to average up the second decimal place if greater than 5 but otherwise works perfectly. Is my methodology right? Thanks again!
Title: Home stereo display
Post by: kockroach on 2007-01-18 04:30:07
That was one thing I was going to suggest, changing it to "4,4" so it only shows one decimal.  I forgot that the display only shows 1 decimal place, while my Single Column Playlist shows two.
Title: Home stereo display
Post by: cooperpwc on 2007-01-18 04:37:52
That was one thing I was going to suggest, changing it to "4,4" so it only shows one decimal.  I forgot that the display only shows 1 decimal place, while my Single Column Playlist shows two.

And actually the display looks great now to two decimal places for everything but 100+ which is now one. A successful upgrade and a keeper.
Title: Home stereo display
Post by: BGonz808 on 2007-01-29 04:39:15
I love the Stereo Display trackinfo, but I hated the title not being resizable, and I would see it protruding into other info when I resized foobar or used it on a different resolution. I don't know how important this is, but here is a dynamic answer to the 'window' variable (its the one that chooses how many characters appear at once in the title) replace your normal $puts(window,23) with this  :P :
Code: [Select]
$puts(window,$muldiv($sub(%_width%,551),100,1018))
Title: Home stereo display
Post by: LeBakalite on 2007-02-18 09:24:43
Has anyone tried simply adding the line:
Code: [Select]
// PerSecond

To the top of the code?



Exactly. Actually you just need to place each section of the code in one of the following four, (cf. Wiki Help (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components_0.9/Track_Info_Panel_Mod_%28foo_uie_trackinfo_mod%29)) :

// Globals
// Background
// PerTrack
// PerSecond

It worked perfectly for me.
Thanks for the code, it's great !
Title: Home stereo display
Post by: ashepler on 2007-02-20 17:50:03
Quote
Exactly. Actually you just need to place each section of the code in one of the following four, (cf. Wiki Help) :

// Globals
// Background
// PerTrack
// PerSecond


Could you please elaborate on this?  Or give an example?
Title: Home stereo display
Post by: LeBakalite on 2007-02-21 15:01:17
Unfortunately I'm not a good coder, but you can check example below. It's working with my config.

In // Globals, general variables
In // Background, the images
In // PerTrack, the trackinfo itself
In // PerSecond, the time display

Knowing that you can add the other functions of the code in each section, depending on its refreshing frequency.

Code: [Select]
// Globals
$puts(write_tags,)
$puts(removable,FGH)
$puts(glass_intensity,5)
$puts(back,$rgb(100,100,100))
$puts(active,$rgb(250,250,250))
$puts(alt_font_fix,-2)

// Background
$imageabs(-6,-25,images\FOOBOTTOM2.png,)
$imageabs(1,2,images\template1.png,)


// PerTrack
////////////////////////////////////////Track info///////////////////////////////////////////////
$alignabs(21,72,%_width%,%_height%,,)
$puts(title,['"'%title%'"'][ - %artist%]['/'%album%] ['('%date%')'])
$if($strchr($ascii($replace($get(title),?,@)),?),
$alignabs(21,$add(72,$get(alt_font_fix)),%_width%,%_height%,,)
$font(courier new,9,italic,250-250-250),
$puts(title,
$lower($replace($upper($get(title)),-,$char(8208),&,and,À,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,250-250-250))$get(active)
$if($greater($len($get(title)),57),
$if($stricmp($mod($len($get(title)),2),1),
$puts(title,$pad($get(title),$add($len($get(title)),1))),)
$puts(shift,$sub($len($get(title)),57))
$puts(mod,$mod(%_time_elapsed_seconds%,$add($mul($get(shift),2),2)))
$if($greater(3,$get(mod)),$substr($get(title),1,57),
$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(57,$get(mod))),
$substr($get(title),$sub($mul($get(shift),2),$get(mod),-1),
$add(57,$sub($mul($get(shift),2),$get(mod),0))))),
$alignabs(17,$add(72,$get(alt_font_fix)),404,%_height%,center,top)
$get(active)$get(title))$font(arial,8,,250-250-250)
$alignabs(425,70,%_width%,%_height%,,)
$if($greater($get(flag),0),$get(active),$get(back))$char(9668)$char(32)
$if($or($greater($get(shift),$get(mod)),$greater($get(mod),$get(shift))),
$get(active),$get(back))$char(9658)

// PerSecond
///////////////////////////////////////////Time Sequence///////////////////////////////////////////
$font(7 Segment,24,,)$alignabs(93,17,%_width%,%_height%,,)$get(back)
$char(56)$char(56):$char(56)$char(56)
$alignabs(93,17,%_width%,%_height%,,)$get(active)
$num($div(%playback_time_seconds%,60),2):$num($mod( %playback_time_seconds%,60),2)
////////////////////////////////Play pause tracknumber//////////////////////////////////////////
$alignabs(193,34,%_width%,%_height%,,)
$font(webdings,10,,250-250-250)
$if(%ispaused%,$get(active),$get(back))$char(59)$font(arial,9,,)
$if($not(%ispaused%),$get(active),$get(back))$char(9658)
$alignabs(20,17,%_width%,%_height%,,)$font(7 Segment,24,,)
$get(back)$char(56)$char(56)
$alignabs(20,17,%_width%,%_height%,,)
$get(active)$substr([%tracknumber%],1,2)
Title: Home stereo display
Post by: BiNiaRiS on 2008-07-01 01:41:10
is anyone still using this?  it seems to be perfectly compatible with the newest version of foobar even though foo_cwb_hooks is broken.

Here's a pic of mine:
My Foobar (http://post-metal.com/random_files/Pics/foobar.jpg)
Title: Home stereo display
Post by: Sounds Blast on 2008-07-01 02:03:26
I haven't tried it, yet this home stereo display looks pretty nice.
Title: Home stereo display
Post by: stupidWinampUser on 2009-03-08 16:24:13
Where could I download the Home Stereo Display and the Home Stereo Display SDK? The links of the first post are all broken :/
Title: Home stereo display
Post by: Mr. Happy on 2010-01-15 10:02:27
Sorry to be kicking this old topic, but....

I've been using your 'Home Stereo' design for quite some time now.
Now I want to upgrade my foobar version from 0.9.5.1 to a newer version (installed as portable), everything seems to be working except some functionality in the 'Home Stereo'.
The playing time is not updated for one.
After some searching I found that it depends heavily on foo_cwb_hooks, which is no longer being updated.

Do you know some way to get the 'Home Stereo' working again (or is there a similar layout that works fine with a newer version of Foobar)??