Help - Search - Members - Calendar
Full Version: foo_cwb_hooks functions not working
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Squeller
Hi,

I updated my fb2k on my notebook which is working in a fullscreen mode and displayed useful information. I know some would get lost. Do you know if there are alternatives already? For the %cwb_

- System Date/Time functions?
- Next track functions?
- Playlist name functions?

Thanks
gob
sad.gif foo_cwb_hooks was incredible.. i dont think i'll find anything that will replicate:

$cwb_ltrim
$cwb_datediff(d1,d2)
$cwb_splitnum(n)
%cwb_systemdatetime%
%cwb_activelist_count%
%cwb_activelist_duration%
%cwb_selection_count%
%cwb_selection_duration%
%cwb_queueindex%
%cwb_playback_state%
%cwb_queuelength%
q-stankovic
Are you sure?
A part of the functions/fields are not necessary anymore. IF you use 0.9.5.3 or higher!
Chipicui
Please don't be so cryptic.
Would you mind to explain what new functions/title formatting to use to replace cwb_hooks?
I'm with Squeller on this... I have a LOT of functions made with cwb and don't necessarily want/have the time to go through all the learning curve again to replace it.
On the other hand I could stay with foobar 9.5.2 forever but don't want to be left without updates/new functions.
So if it's so easy... please would someone enlighten us? smile.gif
Squeller
Not what I was talking about. What I see is only the new date/time formatting functions, but not one which retrieves date/time. I reckon Peter won't add a system date retrieval thing because, there was the concept "no data from outside". Not sure though.
About the playlist info, I only see listindex and listcount and playback state functions - nothing about the playlists name.
I'm referring to http://wiki.hydrogenaudio.org/index.php?ti...ormat_Reference
q-stankovic
QUOTE(Chipicui @ Jul 7 2008, 16:44) *

Please don't be so cryptic.


The changelog for 0.9.5.3 informs you about the introduction of special functions and the addition of new keywords in the search syntax. Please take a look inside the two html-help files wich come with the new foobar versions.
Canar
If you would detail the use cases where these functions are needed, Peter might be more amenable to implementing something like them.

I give you no guarantees, but if the use case is sufficiently interesting, who knows?
Squeller
QUOTE(Canar @ Jul 7 2008, 18:36) *
If you would detail the use cases where these functions are needed, Peter might be more amenable to implementing something like them.

I give you no guarantees, but if the use case is sufficiently interesting, who knows?
Of course you can't smile.gif

Stuff like this is all interesting for htpc full display solutions as I use it, simply as a welcome information for anybody who looks on the screen. I displayed all stuff in track display panel, now in trackinfo_mod, because it needs to be visible in some meters distance. I can control fb2k with a remote control.

- Current playlist name needed cause I browse through them, need to know where I currently am.
- System Date/Time (I displayed it in the top right)
- Next track: I displayed it 10 seconds before the end of the current track.
2E7AH
no way man, even the playlist!?
we all miss the funcs
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.