foobar2000 auf Deutsch

foobar2000 => Allgemein => Thema gestartet von: dRsrb in 28. Juli 2007, 19:36:04

Titel: Panels UI (0.13.8 beta): Verständnisproblem
Beitrag von: dRsrb in 28. Juli 2007, 19:36:04
Hallo!

Ich verwende Panels UI (0.13.8 beta) und auf einmal ist mir aufgefallen, dass folgender Code nicht mehr wie gedacht funktioniert wenn man das '// PerSecond' aus dem Code löscht:


// PerSecond

$if(%isplaying%,
$select($eval($mod(%_time_elapsed_seconds%,6)+1),
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '[%title%]
,
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '[%title%]
,
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '$upper($if(%album%,[%album%],'Single'))
,
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '$upper($if(%album%,[%album%],'Single'))
,
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '$if(%date%,' '[%date%],$if(%genre%,[%genre%],'Other'))
,
$font(tahoma,10,bold glow-110-110-110 glowexpand-1 glowblur-5,255-255-255)'  '$if(%date%,' '[%date%],$if(%genre%,[%genre%],'Other'))
)
,
)


Warum?
Oder liegt es ganz einfach daran, dass es ein fb2k mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=54503) ist und mit dem Rest verbunden ist?
Titel: Re: Panels UI (0.13.8 beta): Verständnisproblem
Beitrag von: Spirit_of_the_ocean in 29. Juli 2007, 22:54:35
Anscheinend hast du dir überhaupt nicht das Tutorial hier durchgelesen. Bitte hole das nach.
%_time_elapsed_seconds% muss jede Sekunde aktualisiert werden, da es sich jede Sekunde ändert.
Eben dies bewirkt // PerSecond.
Ohne // PerSecond funktioniert das nicht.
Titel: Re: Panels UI (0.13.8 beta): Verständnisproblem
Beitrag von: dRsrb in 30. Juli 2007, 02:21:31
Alles klar!  :top:

Hatte das Tutorial bisher nicht gelesen gehabt (habs schon nachgeholt) ;)