foo_custominfo, New component for "database-only tags". |
foo_custominfo, New component for "database-only tags". |
Jun 26 2006, 16:59
Post
#1
|
|
|
Group: Members Posts: 55 Joined: 26-November 04 Member No.: 18351 |
Introduction
It is basically a 0.9 successor for Quicktag SQL, that allows you to set info fields for files without modifying them. Fields can be set using context menu commands that can be customized in the component preferences. Fields can be accessed in title formatting scripts by using simple variables like %RATING% etc (or functions, which are explained below). I've also been working on a mini-sdk that allows other components to set their own fields using foo_custominfo. And I hope that components like foo_playcount would some day add an option for this. The sdk also has an interface for implementing other methods for storing the information, in case someone wants to export the info to MySQL or something. Download here Installation & Configuration Just copy the dll file to fb2k\components as usual. Open "Preferences\Tools\Custom info". Select a method for storing custominfo data and press "Switch" button. - Foobar2k config file: saves all info fields in foobar's configuration file. Reasonable loading time, fast reading of info, fast writing of info. This is also insecure, you will lose all changes since the last config file saving if foobar crashes or something. - Text file (foobar2kdir\custominfo.txt): Utf-8 encoded text file (which shouldn't be modified though). Slow loading, fast reading of info, fast writing of info. This is also insecure, changes are not written to disk until you exit foobar. - SQLite database (foobar2kdir\custominfo_sqlite.db): Slow loading, fast reading of info, slow writing of info. Changes are immediately written to disk which is why I personally recommend this option. Available functions in titleformatting scripts - $cinfo(X,Y). Returns value with field name X and index Y. Similar to $meta(X,Y). - $cinfo_num(X). Number of values in field X. Similar to $meta_num(X). - $cinfo_sep(X,Y,Z). Returns all values in field X separated with strings Y & Z as in $meta_sep(X,Y,Z). - $cinfo_list(X,Y). Returns all custominfo values for current track using Y as a separator between field name and value, and X as separator between field/value-pairs. Some advanced features in context menu commands - You can set several fields at a time by separating field names and values with "|". For example "MYFIELD1|MYFIELD2|MYFIELD3" with corresponding value string "value1|value2|value3". - Use # in front of field name to add new value, instead of replacing existing values. This can also be combined with the separators, for example: "MYFIELD|#MYFIELD|#MYFIELD". - You can access system date and time in context menu commands using following variables: %_system_year%, %_system_month%, %_system_day%, %_system_dayofweek%, %_system_hour%, %_system_minute%, %_system_second%, %_system_millisecond% Limitations - Custom info cannot be accessed in track info panel "now playing" mode when playback is stopped. Also, masstagger doesn't seem to recognize custom info fields. - Branching of multivalued custom info fields in Playlist Tree/Browser using %<tag>%-syntax is not possible. This post has been edited by Fermion: Jul 22 2006, 20:03 |
|
|
|
![]() |
Jul 17 2006, 20:19
Post
#2
|
|
|
Group: Members Posts: 24 Joined: 30-April 06 Member No.: 30206 |
hello. great pluggin, thanks for releasing it.
is there a way that I can use this pluggin with the foo_playcount so it saves first_player, last_played, and play_count to the database and not to a real tag withing the file? thanks! |
|
|
|
Jul 17 2006, 20:31
Post
#3
|
|
![]() Group: Members Posts: 472 Joined: 16-February 05 Member No.: 19881 |
hello. great pluggin, thanks for releasing it. is there a way that I can use this pluggin with the foo_playcount so it saves first_player, last_played, and play_count to the database and not to a real tag withing the file? thanks! The brand new official playcount plugin already lets you do something similar. |
|
|
|
Fermion foo_custominfo Jun 26 2006, 16:59
fabiospark A thousand thanks!
After the quickest and sim... Jun 26 2006, 18:38
Fermion QUOTE (fabiospark @ Jun 26 2006, 20:38) A... Jun 26 2006, 19:01
fabiospark QUOTE (Fermion @ Jun 26 2006, 20:01) QUOT... Jun 26 2006, 19:28
jkwarras Oh! Thanks a lot for this Fermion Jun 26 2006, 19:37
perpleXa Sounds really nice.
I'll try it as soon as you... Jun 26 2006, 19:58
bytemastr Very-very-very nice.
I, too, would like to see th... Jun 27 2006, 03:26
mazy big hurray for this!
i can only hope that wit... Jun 27 2006, 12:35
Fermion 0.1 beta 2
- file moving/deleting within foobar sh... Jun 29 2006, 16:59
fabiospark QUOTE - some fancy functions: $ciget(MYFIELD,... Jun 29 2006, 17:48
Fermion QUOTE (fabiospark @ Jun 29 2006, 19:48) Q... Jun 29 2006, 18:07
fabiospark I did a quick test. This is what I saw, please tel... Jun 29 2006, 18:27
Fermion QUOTE (fabiospark @ Jun 29 2006, 20:27) I... Jun 29 2006, 18:48
foosion QUOTE (Fermion @ Jun 29 2006, 19:48) conf... Jun 29 2006, 19:09
Fermion 0.1 beta 3
- context submenus working.. whee
- con... Jul 1 2006, 19:18
fabiospark QUOTE QUOTE (Fermion @ Jun 29 2006, 20:48... Jul 2 2006, 18:56
fabiospark Can you confirm that I can't masstag from, say... Jun 29 2006, 21:26
Tomacco_Boy Is there any chance of tagging rar's and zippe... Jun 30 2006, 23:48
foosion Some comments about the custominfo SDK:
CODE- For... Jul 1 2006, 01:39
Fermion QUOTE (foosion @ Jul 1 2006, 03:39) This ... Jul 1 2006, 21:06
foosion QUOTE (Fermion @ Jul 1 2006, 22:06) Yes, ... Jul 1 2006, 22:09
Peter QUOTE (Fermion @ Jul 1 2006, 22:06) But s... Jul 2 2006, 14:57
Teukka i have a weird problem. I'm trying to rate son... Jul 2 2006, 16:55
fabiospark QUOTE (Teukka @ Jul 2 2006, 17:55) i have... Jul 2 2006, 17:57
Teukka QUOTE (fabiospark @ Jul 2 2006, 19:57) QU... Jul 3 2006, 11:49
fabiospark QUOTE (Teukka @ Jul 3 2006, 12:49) QUOTE ... Jul 5 2006, 21:12
fabiospark How can we get the separate values of a multi valu... Jul 2 2006, 20:23
Fermion QUOTE (fabiospark @ Jul 2 2006, 22:23) Ho... Jul 11 2006, 17:42
fabiospark 1) For multi values fields, in regular tagz the ... Jul 12 2006, 20:09
donnie Sorry if I'm being really stupid here but is i... Jul 10 2006, 15:10
Fermion Sry about lack of updates, my access to internet i... Jul 11 2006, 17:29
fabiospark QUOTE (Fermion @ Jul 11 2006, 18:29) Sry ... Jul 11 2006, 20:59
Fermion QUOTE (fabiospark @ Jul 11 2006, 22:59) I... Jul 12 2006, 11:50
BenniP Great plugin, thank you! Jul 11 2006, 20:08
unabatedshagie I have some tags called style and featuring which ... Jul 12 2006, 13:20
Fermion QUOTE (unabatedshagie @ Jul 12 2006, 15:2... Jul 13 2006, 11:35
fabiospark QUOTE (Fermion @ Jul 13 2006, 12:35) I ce... Jul 15 2006, 20:08
Fermion 0.1.0
- some minor optimizations/fixes.
- I think ... Jul 16 2006, 16:32
fabiospark QUOTE (Fermion @ Jul 16 2006, 17:32) I do... Jul 16 2006, 16:55
Fermion 0.1.1
- bugfix: config saving caused disabling of ... Jul 22 2006, 19:29
foosion foo_custominfo labelled as known potential trouble... Jul 19 2006, 15:35
Fermion QUOTE (foosion @ Jul 19 2006, 17:35) foo_... Jul 20 2006, 15:31
Fermion Ok, now I read that topic about foosic. If you are... Jul 20 2006, 17:15
foosion Thanks for the clarification. I missed that there ... Jul 20 2006, 20:36
Infernus have some troubles with custominfo 1.0 and fb0.93b... Jul 21 2006, 22:31
unabatedshagie A couple of questions:
1. Is there no way of edit... Jul 24 2006, 05:04
Fermion QUOTE (unabatedshagie @ Jul 24 2006, 07:0... Jul 24 2006, 12:19
Der_Iltis Does this plugin work with the freedb tagger so th... Jul 25 2006, 18:21
Russell777 Sorry if i'm asking something stupid ,but can ... Jul 25 2006, 22:19
mazy no, that's not possible atm, though i think th... Jul 25 2006, 23:15
Mystiq QUOTE (mazy @ Jul 26 2006, 00:15) no, tha... Oct 13 2006, 19:44
unabatedshagie Any updates to this excellent plugin? Aug 7 2006, 17:44
q-stankovic A little bug:
I created a command that places a s... Aug 8 2006, 13:05
mazy QUOTE (q-stankovic @ Aug 8 2006, 14... Aug 8 2006, 15:21
Infernus works fine here with these settings:
Display Name... Aug 8 2006, 14:37
foxyshadis Any chance of adding the custominfo menu items to ... Aug 9 2006, 12:33
unabatedshagie QUOTE (foxyshadis @ Aug 9 2006, 12:33) An... Aug 9 2006, 13:21
unabatedshagie Im trying to create an autoplaylist which only sho... Aug 12 2006, 09:15
foosion Use the following to check for the absence of the ... Aug 12 2006, 19:56
unabatedshagie QUOTE (foosion @ Aug 12 2006, 19:56) Use ... Aug 12 2006, 20:59
foosion QUOTE (unabatedshagie @ Aug 12 2006, 21:5... Aug 12 2006, 22:26
unabatedshagie QUOTE (foosion @ Aug 12 2006, 22:26) QUOT... Aug 13 2006, 04:45
Fermion 0.1.2
- bugfix: commands in context menu root were... Aug 25 2006, 02:40
q-stankovic QUOTE (Fermion @ Aug 25 2006, 02:40) 0.1.... Aug 30 2006, 17:56
Fermion QUOTE (q-stankovic @ Aug 30 2006, 19... Aug 31 2006, 12:36
bytemastr Can you write in a hook that will cause foo_custom... Sep 25 2006, 16:47
bytemastr Let me correct myself ... If one stores the custo... Sep 25 2006, 20:26
FofR I am wondering if a custominfo for ARTISTS not TRA... Sep 14 2006, 21:34
FofR *bump as no one replied* Sep 19 2006, 14:35
thuan Somehow when I click on the remove dead entries I ... Sep 27 2006, 14:08
Infernus QUOTE (thuan @ Sep 27 2006, 15:08) Someho... Sep 27 2006, 14:51
PokéParadox Any plans on adding a custom tag editor?
This woul... Sep 29 2006, 12:42
mazy QUOTE (PokéParadox @ Sep 29 2006, 13:42) ... Sep 29 2006, 15:58
neothe0ne QUOTE (PokéParadox @ Sep 29 2006, 07:42) ... Oct 6 2006, 23:17
mercury i'm frequently sort out my music (changing pat... Oct 7 2006, 20:13
Chris Norman Hi,
Just a short question:
Will this plugin supp... Oct 20 2006, 21:00
azazel100 Featrue request:
Assign values globally, not to... Oct 30 2006, 22:05
Birk very great idea, I'm waiting of something like... Oct 30 2006, 22:10
mazy well thought, azazel100. i didn't realize that... Oct 31 2006, 18:26
FofR I second this, I move my files around a lot and lo... Nov 29 2006, 14:08
Imperecedero i want to add the PERFORMER tag to my database but... Dec 16 2006, 03:01
plum I'm getting a new computer and want to copy my... Jan 3 2007, 13:17
neothe0ne QUOTE (plum @ Jan 3 2007, 08:17) I'm ... Jan 23 2007, 05:09
mazy we really need someone to implement variation of t... Jan 23 2007, 11:13
panfist QUOTE (mazy @ Jan 23 2007, 05:13) we real... Jan 24 2007, 11:44
crazymad I would like to have a value saved automatically w... Jan 30 2007, 00:49
matturius Hi,
will there be a further developement of this ... Feb 6 2007, 10:34
Infernus if there is further development...this question wo... Feb 6 2007, 11:21
matturius Hi,
I assigned Plus and Minus on my keyboard as s... Feb 6 2007, 12:09
wibbly I'm confused.
What exactly do I have to do to... Feb 9 2007, 18:03
mazy that's not possible, wibbly :/ Feb 10 2007, 16:29
wibbly QUOTE (mazy @ Feb 10 2007, 15:29) that... Feb 10 2007, 20:38
jmorrell probably quite easy to do but i'm very new to ... Feb 12 2007, 07:21
Slotos 1. For increasing use $ifequal(%rating%,5,5,... Feb 12 2007, 13:39
jmorrell Oh no! i just clicked reset ALL and lost eve... Feb 15 2007, 21:58
wolfsong I know masstagger doesn't but can autoplaylist... Feb 20 2007, 23:29
Slotos Yes.
Wolfsong, yes. Feb 21 2007, 11:28
wolfsong QUOTE (Slotos @ Feb 21 2007, 04:28) Yes.
... Feb 21 2007, 15:05![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 11:59 |