Help - Search - Members - Calendar
Full Version: [BRAINDEAD] Quoting spree
Hydrogenaudio Forums > Misc. > Recycle Bin
ZeeJay
QUOTE(ZeeJay @ Mar 2 2008, 04:00) *

It's a great plugin!
I intended to display some "playing" icon on the cover for the current playing album.
But, it did not work:

CODE
$if(%isplaying%,
$draw_image($eval({%gb_width%/2}-25),$eval({%gb_height%/2}-25),50,50,
D:\Imagens\Capas de Discos\play.png,
200,)
)

Does %isplaying% really work here or I'm doing something wrong?


Anyone able to help?
Falstaff
QUOTE(ZeeJay @ Mar 4 2008, 11:59) *

QUOTE(ZeeJay @ Mar 2 2008, 04:00) *

It's a great plugin!
I intended to display some "playing" icon on the cover for the current playing album.
But, it did not work:

CODE
$if(%isplaying%,
$draw_image($eval({%gb_width%/2}-25),$eval({%gb_height%/2}-25),50,50,
D:\Imagens\Capas de Discos\play.png,
200,)
)

Does %isplaying% really work here or I'm doing something wrong?


Anyone able to help?


%isplaying% doesn't work.
insnowflakes
QUOTE(ZeeJay @ Mar 4 2008, 04:59) *

QUOTE(ZeeJay @ Mar 2 2008, 04:00) *

It's a great plugin!
I intended to display some "playing" icon on the cover for the current playing album.
But, it did not work:

CODE
$if(%isplaying%,
$draw_image($eval({%gb_width%/2}-25),$eval({%gb_height%/2}-25),50,50,
D:\Imagens\Capas de Discos\play.png,
200,)
)

Does %isplaying% really work here or I'm doing something wrong?


Anyone able to help?


Maybe %cwb_playback_state% (via foo_cwb_hooks) is what you're looking for?
Falstaff
QUOTE(insnowflakes @ Mar 4 2008, 21:52) *

QUOTE(ZeeJay @ Mar 4 2008, 04:59) *

QUOTE(ZeeJay @ Mar 2 2008, 04:00) *

It's a great plugin!
I intended to display some "playing" icon on the cover for the current playing album.
But, it did not work:

CODE
$if(%isplaying%,
$draw_image($eval({%gb_width%/2}-25),$eval({%gb_height%/2}-25),50,50,
D:\Imagens\Capas de Discos\play.png,
200,)
)

Does %isplaying% really work here or I'm doing something wrong?


Anyone able to help?


Maybe %cwb_playback_state% (via foo_cwb_hooks) is what you're looking for?


yep, %cwb_playback_state% works but how do you test it ?? i've tried $if($stricmp(%cwb_playback_state%,'play'),then,else) but it seems that $stricmp or $strcmp are not recognize in this component sad.gif
ZeeJay
QUOTE(Falstaff @ Mar 4 2008, 18:50) *

QUOTE(insnowflakes @ Mar 4 2008, 21:52) *

QUOTE(ZeeJay @ Mar 4 2008, 04:59) *

QUOTE(ZeeJay @ Mar 2 2008, 04:00) *

It's a great plugin!
I intended to display some "playing" icon on the cover for the current playing album.
But, it did not work:

CODE
$if(%isplaying%,
$draw_image($eval({%gb_width%/2}-25),$eval({%gb_height%/2}-25),50,50,
D:\Imagens\Capas de Discos\play.png,
200,)
)

Does %isplaying% really work here or I'm doing something wrong?


Anyone able to help?


Maybe %cwb_playback_state% (via foo_cwb_hooks) is what you're looking for?


yep, %cwb_playback_state% works but how do you test it ?? i've tried $if($stricmp(%cwb_playback_state%,'play'),then,else) but it seems that $stricmp or $strcmp are not recognize in this component sad.gif


It didn't work here. I mean it works, but not for its true intention. The 'playing icon' is correctly displayed, but over all the covers...
Maybe, we can sugest this as a request tongue.gif
pIv
QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"
Kiteroa
QUOTE(pIv @ Mar 5 2008, 16:29) *

QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"


That gives an image for each track and where I have the same album in the active playlist in 2 different places using file info on the graphical-browser display for a track shows the track listed twice under the display).

pIv
QUOTE(Kiteroa @ Mar 4 2008, 19:36) *

QUOTE(pIv @ Mar 5 2008, 16:29) *

QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"


That gives an image for each track and where I have the same album in the active playlist in 2 different places using file info on the graphical-browser display for a track shows the track listed twice under the display).


I don't understand you.
I use next scripn in main window
QUOTE
$if(%gb_focused%,
$set_pen(808080,1)
$set_brush(49-106-199)
$round_rect(0,0,%gb_width%,%gb_height%,5,5)
,)


$if2($draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),$replace(%path%,%filename_ext%,)*.jpg,255,nokeepaspect),
$draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),u:\default.png,255,nokeepaspect)
)

$if(%gb_mouse_over%,

$set_pen(808080,1)
$set_brush(235-235-235)
$round_rect($eval(%gb_width%/12),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5),$eval(%gb_height%/6+8),20,20)

$gp_set_font(Tahoma,8,$if(%last_played%,$ifgreater(2,$cwb_datediff(%last_played%,%cwb_systemdate%),s,),))
$gp_set_string_format(center,center)
$gp_set_brush(ff000000)
$gp_draw_string(%artist% - %album%,$eval(%gb_width%/12+5),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5-10),$eval(%gb_height%/6+8))
,)


and also I use popup window with next script (popup opacity - 128)
QUOTE
$gp_set_brush(255-247-255-223,$div(%gb_width%,2),0,255-211-241-255,$div(%gb_width%,2),%gb_height%)
$gp_fill_rectangle(0,0,%gb_width%,%gb_height%)
$gp_set_pen(255-0-80-255,2)
$gp_draw_rectangle(0,0,%gb_width%,%gb_height%)

$set_font(Tahoma,16)
$draw_text(%gb_group%,0,0,%gb_width%,%gb_height%,wordbreak,center)


For any song I see it coverart with artist-album and I see also it title in popup window.

For example: I place in current playlist 10 songs from any album - I see 10 coverarts and 10 popup windows with titles.
Kiteroa
QUOTE(pIv @ Mar 5 2008, 18:17) *

QUOTE(Kiteroa @ Mar 4 2008, 19:36) *

QUOTE(pIv @ Mar 5 2008, 16:29) *

QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"


That gives an image for each track and where I have the same album in the active playlist in 2 different places using file info on the graphical-browser display for a track shows the track listed twice under the display).


I don't understand you.
I use next scripn in main window
QUOTE
$if(%gb_focused%,
$set_pen(808080,1)
$set_brush(49-106-199)
$round_rect(0,0,%gb_width%,%gb_height%,5,5)
,)


$if2($draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),$replace(%path%,%filename_ext%,)*.jpg,255,nokeepaspect),
$draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),u:\default.png,255,nokeepaspect)
)

$if(%gb_mouse_over%,

$set_pen(808080,1)
$set_brush(235-235-235)
$round_rect($eval(%gb_width%/12),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5),$eval(%gb_height%/6+8),20,20)

$gp_set_font(Tahoma,8,$if(%last_played%,$ifgreater(2,$cwb_datediff(%last_played%,%cwb_systemdate%),s,),))
$gp_set_string_format(center,center)
$gp_set_brush(ff000000)
$gp_draw_string(%artist% - %album%,$eval(%gb_width%/12+5),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5-10),$eval(%gb_height%/6+8))
,)


and also I use popup window with next script (popup opacity - 128)
QUOTE
$gp_set_brush(255-247-255-223,$div(%gb_width%,2),0,255-211-241-255,$div(%gb_width%,2),%gb_height%)
$gp_fill_rectangle(0,0,%gb_width%,%gb_height%)
$gp_set_pen(255-0-80-255,2)
$gp_draw_rectangle(0,0,%gb_width%,%gb_height%)

$set_font(Tahoma,16)
$draw_text(%gb_group%,0,0,%gb_width%,%gb_height%,wordbreak,center)


For any song I see it coverart with artist-album and I see also it title in popup window.

For example: I place in current playlist 10 songs from any album - I see 10 coverarts and 10 popup windows with titles.


I'm just trying to get one cover-art per album but where I have the album more than once in a playlist I want to see the album cover-art in each place .

I'm not trying to see one cover-art per track.
Falstaff
QUOTE(Kiteroa @ Mar 5 2008, 06:34) *

QUOTE(pIv @ Mar 5 2008, 18:17) *

QUOTE(Kiteroa @ Mar 4 2008, 19:36) *

QUOTE(pIv @ Mar 5 2008, 16:29) *

QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"


That gives an image for each track and where I have the same album in the active playlist in 2 different places using file info on the graphical-browser display for a track shows the track listed twice under the display).


I don't understand you.
I use next scripn in main window
QUOTE
$if(%gb_focused%,
$set_pen(808080,1)
$set_brush(49-106-199)
$round_rect(0,0,%gb_width%,%gb_height%,5,5)
,)


$if2($draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),$replace(%path%,%filename_ext%,)*.jpg,255,nokeepaspect),
$draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),u:\default.png,255,nokeepaspect)
)

$if(%gb_mouse_over%,

$set_pen(808080,1)
$set_brush(235-235-235)
$round_rect($eval(%gb_width%/12),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5),$eval(%gb_height%/6+8),20,20)

$gp_set_font(Tahoma,8,$if(%last_played%,$ifgreater(2,$cwb_datediff(%last_played%,%cwb_systemdate%),s,),))
$gp_set_string_format(center,center)
$gp_set_brush(ff000000)
$gp_draw_string(%artist% - %album%,$eval(%gb_width%/12+5),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5-10),$eval(%gb_height%/6+8))
,)


and also I use popup window with next script (popup opacity - 128)
QUOTE
$gp_set_brush(255-247-255-223,$div(%gb_width%,2),0,255-211-241-255,$div(%gb_width%,2),%gb_height%)
$gp_fill_rectangle(0,0,%gb_width%,%gb_height%)
$gp_set_pen(255-0-80-255,2)
$gp_draw_rectangle(0,0,%gb_width%,%gb_height%)

$set_font(Tahoma,16)
$draw_text(%gb_group%,0,0,%gb_width%,%gb_height%,wordbreak,center)


For any song I see it coverart with artist-album and I see also it title in popup window.

For example: I place in current playlist 10 songs from any album - I see 10 coverarts and 10 popup windows with titles.


I'm just trying to get one cover-art per album but where I have the album more than once in a playlist I want to see the album cover-art in each place .

I'm not trying to see one cover-art per track.


same pb here already remarked with $num(%gb_playlist_number%,10) which is the only way to have GB sorted like his playlists !

if n albums the same name (i.e : "Greatest Hits"), Graphical Browser only display le cover of the 1st album with this name, other are not displayed !

Solution : rename albums doubles with artist name in it ...
Kiteroa
QUOTE(Falstaff @ Mar 5 2008, 20:17) *

QUOTE(Kiteroa @ Mar 5 2008, 06:34) *

QUOTE(pIv @ Mar 5 2008, 18:17) *

QUOTE(Kiteroa @ Mar 4 2008, 19:36) *

QUOTE(pIv @ Mar 5 2008, 16:29) *

QUOTE
I've been using

$num(%gb_playlist_number%,10)

to try to keep the graphical_browser display in the same order as the active playlist.

This works well except where I have the same album in the active playlist in 2 different places. In those cases graphical-browser just displays the album once in the first location! (Using file info on the graphical-browser display shows that each track appears twice under that display!)

Strange....


Try use next group string "$if2(%title%,@skip)"


That gives an image for each track and where I have the same album in the active playlist in 2 different places using file info on the graphical-browser display for a track shows the track listed twice under the display).


I don't understand you.
I use next scripn in main window
QUOTE
$if(%gb_focused%,
$set_pen(808080,1)
$set_brush(49-106-199)
$round_rect(0,0,%gb_width%,%gb_height%,5,5)
,)


$if2($draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),$replace(%path%,%filename_ext%,)*.jpg,255,nokeepaspect),
$draw_image(8,8,$eval(%gb_width%-16),$eval(%gb_width%-16),u:\default.png,255,nokeepaspect)
)

$if(%gb_mouse_over%,

$set_pen(808080,1)
$set_brush(235-235-235)
$round_rect($eval(%gb_width%/12),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5),$eval(%gb_height%/6+8),20,20)

$gp_set_font(Tahoma,8,$if(%last_played%,$ifgreater(2,$cwb_datediff(%last_played%,%cwb_systemdate%),s,),))
$gp_set_string_format(center,center)
$gp_set_brush(ff000000)
$gp_draw_string(%artist% - %album%,$eval(%gb_width%/12+5),$eval(%gb_height%/6*5-8),$eval(%gb_width%/6*5-10),$eval(%gb_height%/6+8))
,)


and also I use popup window with next script (popup opacity - 128)
QUOTE
$gp_set_brush(255-247-255-223,$div(%gb_width%,2),0,255-211-241-255,$div(%gb_width%,2),%gb_height%)
$gp_fill_rectangle(0,0,%gb_width%,%gb_height%)
$gp_set_pen(255-0-80-255,2)
$gp_draw_rectangle(0,0,%gb_width%,%gb_height%)

$set_font(Tahoma,16)
$draw_text(%gb_group%,0,0,%gb_width%,%gb_height%,wordbreak,center)


For any song I see it coverart with artist-album and I see also it title in popup window.

For example: I place in current playlist 10 songs from any album - I see 10 coverarts and 10 popup windows with titles.


I'm just trying to get one cover-art per album but where I have the album more than once in a playlist I want to see the album cover-art in each place .

I'm not trying to see one cover-art per track.


same pb here already remarked with $num(%gb_playlist_number%,10) which is the only way to have GB sorted like his playlists !

if n albums the same name (i.e : "Greatest Hits"), Graphical Browser only display le cover of the 1st album with this name, other are not displayed !

Solution : rename albums doubles with artist name in it ...



That's it exactly. Good idea re renaming but I have same album (i.e. with same artists) more than once in some playlists!

I guess $num(%gb_playlist_number%,10) is not working properly!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.