IPB

Welcome Guest ( Log In | Register )

18 Pages V  < 1 2 3 4 5 > »   
Closed TopicStart new topic
foo_cwb_hooks, No longer compatible/developed.
cwbowron
post Aug 22 2006, 21:39
Post #51





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



QUOTE (Russell777 @ Aug 22 2006, 16:30) *
Is it possible to get system time even when no track is playing?


Yes.


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
Squeller
post Aug 23 2006, 20:36
Post #52





Group: Members
Posts: 2351
Joined: 28-August 02
Member No.: 3218



So you made it possible for us to access the active/playing playlist: many thanks for that! But what I'm hoping for is having the total number of playlist entries accessible, just like foo_uie_playlistdropdown does. At the moment I'm abusing the playlist dropdown just for displaying the active playlist and number of entries...
Go to the top of the page
+Quote Post
cwbowron
post Aug 23 2006, 21:01
Post #53





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



Release 1.0.6

* fixed incorrect way of getting active playlist
* added %cwb_activelist_count% and %cwb_playinglist_count%


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
Russell777
post Aug 23 2006, 22:03
Post #54





Group: Members
Posts: 559
Joined: 13-April 06
Member No.: 29483



Thank you for this component and for updating it! Is it possible to implement a command that gets
the volume value?


--------------------
Favourite artist:CD-R
Favourite album:700MB
Go to the top of the page
+Quote Post
lhaymehr
post Aug 24 2006, 01:27
Post #55





Group: Members
Posts: 16
Joined: 28-March 06
Member No.: 28921



Could you add system colors to this plugin?
Go to the top of the page
+Quote Post
Stuart60611
post Aug 24 2006, 02:19
Post #56





Group: Members
Posts: 384
Joined: 12-June 05
Member No.: 22685



I think it would awesome if you could add hotness and hot_color. A lot of people use the hotness code, and it is now as far as I know not possible to display such data in the track info. panel. With this addition, one would be able to do so.
Go to the top of the page
+Quote Post
cwbowron
post Aug 24 2006, 03:23
Post #57





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



QUOTE (Stuart60611 @ Aug 23 2006, 21:19) *
I think it would awesome if you could add hotness and hot_color. A lot of people use the hotness code, and it is now as far as I know not possible to display such data in the track info. panel. With this addition, one would be able to do so.


If someone posts the formula for hotness I will look into it.


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
Stuart60611
post Aug 24 2006, 04:16
Post #58





Group: Members
Posts: 384
Joined: 12-June 05
Member No.: 22685



QUOTE (cwbowron @ Aug 23 2006, 21:23) *
QUOTE (Stuart60611 @ Aug 23 2006, 21:19) *

I think it would awesome if you could add hotness and hot_color. A lot of people use the hotness code, and it is now as far as I know not possible to display such data in the track info. panel. With this addition, one would be able to do so.


If someone posts the formula for hotness I will look into it.



Hotness Code (topdownjimmy's original code and modified by others).
Note: change %play_counter% if using official statistics component to %play_count%.

Code for global variables tab:
CODE

// hourly decay version (hotness)
/////////////////////////////////////////

// baselines: define baseline frequency and decay periods
//
// baselinefrequency: decrease if songs stay hot too long
// baselinedecay: decrease if too many songs are hot
//
$puts(baselinefrequency,14)
$puts(baselinedecay,7)

// convert baselines to hours
$puts(baselinefrequency,$mul($get(baselinefrequency),24))
$puts(baselinedecay,$mul($get(baselinedecay),24))

// calculate "age": the number of hours the song has been in the library
// actually it's just hardcoded ^^
$puts(age,$mul(%play_counter%,$get(baselinefrequency)))

// calculate "recentness": number of hours since song was last played
$puts(recentness,
$sub(
$add(
$mul(
$add(
$mul($right(%_system_year%,2),365),
$select(%_system_month%,0,31,59,90,120,151,181,212,243,273,304,334),
$add($div($right(%_system_year%,2),4),$if($or($greater(%_system_month%,2),$greater($mod(%_system_year%,4),0)),1,0)),
%_system_day%
),
24
),
%_system_hour%
)
,
$add(
$mul(
$add(
$mul($substr(%last_played%,3,4),365),
$select($substr(%last_played%,6,7),0,31,59,90,120,151,181,212,243,273,304,334),
$add($div($substr(%last_played%,3,4),4),$if($or($greater($substr(%last_played%,6,7),2),$greater($mod($substr(%last_played%,1,4),4),0)),1,0)),
$substr(%last_played%,9,10)
),
24
),
$substr(%last_played%,12,13)
)
)
)

// calculate "decay": the specific decay period
$puts(decay,$div($mul(%play_counter%,$get(baselinefrequency),$get(baselinedecay),$if2(%rating%,$get(avgrating))),$mul($max($get(age),$get(baselinefrequency)),3)))

// calculate "hotness"
$puts(hotness,$div($mul($max($sub($get(decay),$get(recentness)),0),100),$get(decay)))

$set_global(hotness,$get(hotness))
$set_global(hot_color,$blend(000000|000000,0000FF|0000FF,$get(hotness),100))

/////////////////////////////////////////


Display hotness with $get_global(hotness). This will diplay a hotness value of 0-100. I use a character to display my hotness (along with the hotness color) and no number, such as $char(9650). You access hotness color with the hot_color variable and can set column custom style with $set_style(text,$get_global(hot_color),$get_global(hot_color)). You custom sort the column with $num($get_global(hotness),3). You have to have all three boxes checked under global variables tab, except legacy support and obviously all three boxes checked on the hotness column.

This post has been edited by Stuart60611: Aug 24 2006, 05:56
Go to the top of the page
+Quote Post
Squeller
post Aug 24 2006, 04:55
Post #59





Group: Members
Posts: 2351
Joined: 28-August 02
Member No.: 3218



cwbowron you are fast, thank you. I am ashamed to ask again, but could you maybe add a function with a value for the total play time of a playlist (similar to %length% in the playlist dropdown plugin).

This post has been edited by Squeller: Aug 24 2006, 05:27
Go to the top of the page
+Quote Post
q-stankovic
post Aug 24 2006, 10:41
Post #60





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



QUOTE (Stuart60611 @ Aug 23 2006, 21:19) *
I think it would awesome if you could add hotness and hot_color. A lot of people use the hotness code, and it is now as far as I know not possible to display such data in the track info. panel. With this addition, one would be able to do so.


The most amazing thing is that you can use %cwb_hotness% in any media library viewer to organize your database! smile.gif


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
cwbowron
post Aug 24 2006, 13:19
Post #61





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



QUOTE (Stuart60611 @ Aug 23 2006, 23:16) *
QUOTE
If someone posts the formula for hotness I will look into it.



Hotness Code (topdownjimmy's original code and modified by others).
Note: change %play_counter% if using official statistics component to %play_count%.

Code for global variables tab:

<SNIP>

Display hotness with $get_global(hotness). This will diplay a hotness value of 0-100. I use a character to display my hotness (along with the hotness color) and no number, such as $char(9650). You access hotness color with the hot_color variable and can set column custom style with $set_style(text,$get_global(hot_color),$get_global(hot_color)). You custom sort the column with $num($get_global(hotness),3). You have to have all three boxes checked under global variables tab, except legacy support and obviously all three boxes checked on the hotness column.


I want a formula. I dont want the whole complicated tagz mess.

This post has been edited by cwbowron: Aug 24 2006, 13:22


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
FofR
post Aug 24 2006, 15:53
Post #62





Group: Members
Posts: 348
Joined: 6-August 05
From: UK
Member No.: 23747



I updated the wiki page with the info on the official site, just to help out:
Wiki
Feel free to edit it and include useful tags etc.


--------------------
http://fofr.trivialbeing.net | http://fooblog2000.com
Go to the top of the page
+Quote Post
Stuart60611
post Aug 24 2006, 15:58
Post #63





Group: Members
Posts: 384
Joined: 12-June 05
Member No.: 22685



QUOTE (cwbowron @ Aug 24 2006, 07:19) *
QUOTE (Stuart60611 @ Aug 23 2006, 23:16) *

QUOTE
If someone posts the formula for hotness I will look into it.



Hotness Code (topdownjimmy's original code and modified by others).
Note: change %play_counter% if using official statistics component to %play_count%.

Code for global variables tab:

<SNIP>

Display hotness with $get_global(hotness). This will diplay a hotness value of 0-100. I use a character to display my hotness (along with the hotness color) and no number, such as $char(9650). You access hotness color with the hot_color variable and can set column custom style with $set_style(text,$get_global(hot_color),$get_global(hot_color)). You custom sort the column with $num($get_global(hotness),3). You have to have all three boxes checked under global variables tab, except legacy support and obviously all three boxes checked on the hotness column.


I want a formula. I dont want the whole complicated tagz mess.



Sorry, I don't know the formula, but I only can provide you the code. Perhaps, pm topdownjimmy, and he can provide you with what you need.
Go to the top of the page
+Quote Post
q-stankovic
post Aug 24 2006, 16:03
Post #64





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



I had some ideas for special functions but don't like to post them now because i don't know if they are realizable at all.
Is it possible that a function calculates a value for a file wich is not builded by other Tags/values of the file but from other files wich have one common tag with the source file. That would happen by looking into database.

Because my english is too bad to express correctly what i mean here two examples.

$avg(%rating%,%album% %discnumber%) would give back the average rating of the album the file belongs to

$sum(%_length%,%album% %discnumber%) would give back the length of whole album

Or more common:

$statistic_function(Value,Of_same)

This post has been edited by q-stankovic: Aug 24 2006, 16:06


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
Chronial
post Aug 24 2006, 17:01
Post #65





Group: Members
Posts: 386
Joined: 2-May 05
Member No.: 21825



No, this is not possible.

It would be way to slow to collect this data every time titelformating is done.
Go to the top of the page
+Quote Post
cwbowron
post Sep 1 2006, 17:32
Post #66





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



Release 1.0.7

* %cwb_next_title% - title of the next song in the playlist of the playing item or the next item in the queue
* %cwb_next_artist% - artist of the next song in the playlist of the playing item or the next item in queue
* %cwb_playback_order%


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
TheTravis
post Sep 1 2006, 17:35
Post #67





Group: Members
Posts: 71
Joined: 10-May 06
Member No.: 30639



QUOTE (cwbowron @ Sep 1 2006, 19:32) *
Release 1.0.7

* %cwb_next_title% - title of the next song in the playlist of the playing item or the next item in the queue
* %cwb_next_artist% - artist of the next song in the playlist of the playing item or the next item in queue
* %cwb_playback_order%


cwbowron, thank you!

This post has been edited by TheTravis: Sep 1 2006, 17:36
Go to the top of the page
+Quote Post
mazy
post Sep 1 2006, 19:44
Post #68





Group: Members
Posts: 680
Joined: 11-July 03
From: Brno, Czech Rep.
Member No.: 7705



nice additions, cwbowron!

could you add something like %cwb_next_path%?


--------------------
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987
Go to the top of the page
+Quote Post
cwbowron
post Sep 1 2006, 19:50
Post #69





Group: Members
Posts: 863
Joined: 15-November 04
From: East Lansing,MI
Member No.: 18153



QUOTE (mazy @ Sep 1 2006, 14:44) *
could you add something like %cwb_next_path%?


I'm planning to add an option that would let you define a string or two, and then retrieve the 'next' version of it like.

So you'd define the variable as %path% and then you'd be able to retrieve its value for the next track such as %cwb_next_userdef%.


--------------------
There used to be a link to my website here.
Go to the top of the page
+Quote Post
ktr
post Sep 1 2006, 21:24
Post #70





Group: Members
Posts: 57
Joined: 31-July 06
From: Germany
Member No.: 33495



QUOTE (Russell777 @ Aug 23 2006, 15:03) *
Thank you for this component and for updating it! Is it possible to implement a command that gets
the volume value?


i would appreciate that, too.
Go to the top of the page
+Quote Post
thuan
post Sep 2 2006, 01:45
Post #71





Group: Members
Posts: 964
Joined: 10-June 06
Member No.: 31716



Thanks for your handy plugin. Could you do something about the late update of %cwb_next_title%, when a new song start the next song still the old one in the balloon tooltip. I use latest ColumnUI BTW.
Go to the top of the page
+Quote Post
mazy
post Sep 2 2006, 10:50
Post #72





Group: Members
Posts: 680
Joined: 11-July 03
From: Brno, Czech Rep.
Member No.: 7705



QUOTE (cwbowron @ Sep 1 2006, 20:50) *
I'm planning to add an option that would let you define a string or two, and then retrieve the 'next' version of it like.

So you'd define the variable as %path% and then you'd be able to retrieve its value for the next track such as %cwb_next_userdef%.

that would be nice! but what about something like $cwb_next(tag) then?


--------------------
info about my tag guesser script for foo_lua (preview version available):
http://www.hydrogenaudio.org/index.php?showtopic=16987
Go to the top of the page
+Quote Post
q-stankovic
post Sep 2 2006, 21:40
Post #73





Group: Members
Posts: 1743
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



I tried following things without succes:
In PT i created a query with source "@playlist<%cwb_playinglist%>" or "@playlist<%cwb_activelist%>".

Is it an issue with PT or with this component?


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
Sw!ng
post Sep 3 2006, 10:46
Post #74





Group: Members
Posts: 61
Joined: 28-July 06
Member No.: 33367



Handy, very handy Component ... THNX !!

I wonder that noone asks for a variable, to get the "Stop After Current" - Value ...!! rolleyes.gif
Go to the top of the page
+Quote Post
Chronial
post Sep 3 2006, 16:10
Post #75





Group: Members
Posts: 386
Joined: 2-May 05
Member No.: 21825



About the %_replaygain_mode% request:
This can be done rather easily - just check on every playback start (this is the only time the mode can realy change). So you'll have a %_used_replaygain_mode%. The only problem left it that you'd have to refresh all title formatting as this affects all tracks.
If you do so, this would require a config dialog to switch it off.
But even without refreshing it would be useful - as it could be used in track info pannel, prettypop and similar displays.
Go to the top of the page
+Quote Post

18 Pages V  < 1 2 3 4 5 > » 
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd December 2014 - 07:36