Help - Search - Members - Calendar
Full Version: about %_ispaused%
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
kayexalate
hello,

when i type the code : $if(%_ispaused%,bla,plop), the ispaused fonction don't work, (i don't test the fontion in other way.. smile.gif ) "plop" is always tack up... and when i paused, "bla" don't expose.

is this a bug ?

regard.

/greg
Peter
no, read the fucking manual
QUOTE
- special fields (status bar, window title and copy command): %_time_elapsed%, %_time_remaining%, %_time_total%, %_time_elapsed_seconds%, %_time_remaining_seconds%, %_time_total_seconds%, %_ispaused%
kayexalate
well i forgot to say "in status bar" sad.gif

i reinstal foobar 3 times and don't work.....

don't closed a post that fast! tongue.gif
Peter
then post full title formatting string you are trying to use (and RTFM anyway because you must be doing something wrong, %_ispaused% works perfectly here)
TurinsRevenge
QUOTE
- special fields (playlist and copy command only): %_isplaying%, %_ispaused%, %_playlist_number%
- special fields (status bar, window title and copy command): %_time_elapsed%, %_time_remaining%, %_time_total%, %_time_elapsed_seconds%, %_time_remaining_seconds%, %_time_total_seconds%, %_ispaused%


Actually, the Help file says you can put it in the playlist as well, which of course you can't. (.6 final)

That being said, it works fine for me in the status bar. $if(%_ispaused%,Paused,Playing)
Peter
now that would be a bug (a typo in help file)
kayexalate
i try to put this:
CODE

$puts(PAUSED,$if(%_ispaused%,$get(RED)'#paused#',' '))


thx in advance...

/greg
Peter
QUOTE
then post full title formatting string you are trying to use

you are not being informative
kayexalate
sorry.....
QUOTE
$puts(GREY,$rgb(128,128,128))
$puts(RED,$rgb(128,0,0))
$puts(BR_COLOR,
$ifgreater(%__bitrate%,0,$rgb(255,0,0),)
$ifgreater(%__bitrate%,96,$rgb(255,128,0),)
$ifgreater(%__bitrate%,128,$rgb(255,255,0),)
$ifgreater(%__bitrate%,160,$rgb(0,128,0),)
$ifgreater(%__bitrate%,192,$rgb(0,128,255),))
$puts(BR,$get(BR_COLOR)$if($strcmp(%__extrainfo%,VBR),'~')%__bitrate%$get(GREY)kbps)

$puts(SR_COLOR,
$ifgreater(%__samplerate%,0,$rgb(255,0,0),)
$ifgreater(%__samplerate%,22049,$rgb(255,128,0),)
$ifgreater(%__samplerate%,44099,$rgb(0,128,0),)
$ifgreater(%__samplerate%,47999,$rgb(0,128,255),))
$puts(SR,$get(SR_COLOR)$div(%__samplerate%,1000)$get(GREY).$get(SR_COLOR)$substr(%__samplerate%,3,3)$get(GREY)kHz)

$puts(CH_COLOR,
$ifgreater(%__channels%,0,$rgb(255,0,0),)
$ifgreater(%__channels%,1,$rgb(0,128,0),)
$ifgreater(%__channels%,2,$rgb(0,128,255),))
$puts(CH,$get(CH_COLOR)$if(%__channels%,$ifgreater(%__channels%,2,%__channels%,$ifgreater(%__channels%,1,stereo,mono)),))

$puts(TITRE,$get(GREY)$if(%title%,%title%,%_filename_ext%))
$puts(PAUSED,$if(%_ispaused%,$get(RED)'#paused#',' '))
$puts(TIME,$get(GREY)-%_time_remaining%/%_time_total%)

$get(TITRE) $get(PAUSED)¥ $get(BR) ¥ $get(SR) ¥ $get(CH) ¥ $get(TIME) ¥ $char(9)'|'$progress(%_time_elapsed_seconds%,%_time_total_seconds%,40,'['$num($div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%),3)'%'']','-')'|'
Peter
and your problem is ?
(red #paused# shows here)
kayexalate
red #paused# don't show here and i don't know why....but it's not important smile.gif
Peter
then make sure you are using "pause" not "stop" command
kayexalate
when i push the buton => [II] it is paused ?
when i push the buton => [Playlist] => [pause] it is paused ?
when i push "X" it is paused ?

so i thing yes...

like i say it's not important ... just a visual thing
Peter
QUOTE
when i push the buton => [II] it is paused ?
yes
QUOTE
when i push the buton => [Playlist] => [pause] it is paused ?
in playback menu not in playlist, yes
QUOTE
when i push "X" it is paused ?
with default keyboard mapping, yes

i suggest that you get someone else to reproduce this problem on a different machine, what you report is not making any sense
Peter
i think you are simply running one of betas (IIRC ispaused wasnt working in one of them), not final 0.6, thats what your problem is and why noone else can reproduce it.
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-2009 Invision Power Services, Inc.