Skip to main content

Topic: Home stereo display (Read 203214 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
Home stereo display
Reply #400
oh my. I may have to redesign my track info mod.
err... i'm not using windows any more ;)

Home stereo display
Reply #401
oh my. I may have to redesign my track info mod.

That's the idea 
Favourite artist:CD-R
Favourite album:700MB

Home stereo display
Reply #402
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"]

Home stereo display
Reply #403
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.Just enter the info you want to be scrolled and place it where you need it.
  • Last Edit: 09 October, 2006, 07:18:31 PM by Russell777
Favourite artist:CD-R
Favourite album:700MB

Home stereo display
Reply #404
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,)

Home stereo display
Reply #405
Go get some sleep,you'll get it first thing in the morning.It needs some serious tweaking.
Favourite artist:CD-R
Favourite album:700MB

Home stereo display
Reply #406
Well i've changed quite a lot,but i like the result,special thanks goes to Zetto for creating the mod.Download
  • Last Edit: 09 October, 2006, 09:45:25 PM by Russell777
Favourite artist:CD-R
Favourite album:700MB

  • MrMuffin
  • [*]
Home stereo display
Reply #407
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.

Home stereo display
Reply #408
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.

Home stereo display
Reply #409
Supersized!  Created with the SDK 1.0

Playing:



Stopped:



(Edit 10/11/06 re: Minor line-up adjustments so as to accomodate bold text)
  • Last Edit: 11 October, 2006, 08:37:06 PM by Stuart60611

Home stereo display
Reply #410
Well i've changed quite a lot,but i like the result,special thanks goes to Zetto for creating the mod.Download



Russell777.  You're a star!  Thanks a lot.  It works perfectly. 

  • vader897
  • [*][*]
Home stereo display
Reply #411
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.


Home stereo display
Reply #412
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!
  • Last Edit: 13 October, 2006, 06:54:43 AM by Russell777
Favourite artist:CD-R
Favourite album:700MB

Home stereo display
Reply #413
Using it, love it, love you

*worships*

The updates get better and better
My Name is Sean and I'm here to leech off your genius.

Home stereo display
Reply #414
Using it, love it, love you

*worships*

The updates get better and better

Thanks 
Favourite artist:CD-R
Favourite album:700MB

  • LXtreme
  • [*]
Home stereo display
Reply #415
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]
  • Last Edit: 23 October, 2006, 11:59:35 AM by LXtreme

Home stereo display
Reply #416
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/
Favourite artist:CD-R
Favourite album:700MB

  • LXtreme
  • [*]
Home stereo display
Reply #417
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 

  • LXtreme
  • [*]
Home stereo display
Reply #418
Just in case somebody will really use this code:
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?!)

Home stereo display
Reply #419
Just in case somebody will really use this code:
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
  • Last Edit: 23 October, 2006, 11:47:48 AM by Russell777
Favourite artist:CD-R
Favourite album:700MB

  • vader897
  • [*][*]
Home stereo display
Reply #420
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

Home stereo display
Reply #421
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

I've uploaded it to FTP.
Favourite artist:CD-R
Favourite album:700MB

  • Mr. Happy
  • [*]
Home stereo display
Reply #422
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???)

Home stereo display
Reply #423
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.
Favourite artist:CD-R
Favourite album:700MB

  • Mr. Happy
  • [*]
Home stereo display
Reply #424

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??