Skip to main content

Topic: TagBox Tag Editing Plugin (Read 87190 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
TagBox Tag Editing Plugin
Reply #50
I'm looking for a convenient way to fill up my multi value performer tag in my collection of classical music. TagBox's feature of successively appending values to a multi value field could be very useful in such cases. So I agree with q-stankovic's and muzack's requests:

q-stankovic
Quote
Could we have as an alternative to manually entered predefined values the option to have an automatically updating list in dropdown box with all values of a certain field present in library?


Doesn't the auto-complete feature added in version 0.170 do exactly that?

We are not talking about the field which requires at least one letter to open the popupmenu but the content of dropdown box.

Any chance to see 2E7AH's idea implemented. Not only that we could get rid of ugly dropdown boxes but such a menu would offer a great improved usability as long as a check doesn't close the menu: many tags could be checked in short time without opening dropdown box again and again. Sure makes only sense if tagging behaviour is not sent to "replace".
german support forum: www.foobar-users.de / user: qwert73

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #51
Why did you add a submenu "Edit Tags" to the context menu?

That launches the standalone window.


Why not launch window directly from "TagBox" entry? No need for a submenu.

Seems to be down:
http://arash.dejkam/software/tagbox

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #52
Any chance to see 2E7AH's idea implemented. Not only that we could get rid of ugly dropdown boxes [...]


Ooops, 2E7AH suggests a dropdown box as well. 

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #53
We are not talking about the field which requires at least one letter to open the popupmenu but the content of dropdown box.
Any chance to see 2E7AH's idea implemented.

Now I see what you're talking about. I like the idea myself as I told 2E7AH but making such thing is not easy I need to have a lot of free time to code something like that. Hope I can find it soon.

Why not launch window directly from "TagBox" entry? No need for a submenu.

Because of my laziness  There used to be some other submenus which I moved to TagBox window's right-click menu. I'll make it a single item eventually.
Seems to be down:
http://arash.dejkam/software/tagbox

ooops thats my local address, this is the correct url: http://arash.dejkam.com/software/tagbox/
  • Last Edit: 10 August, 2010, 03:07:25 PM by autumn

TagBox Tag Editing Plugin
Reply #54
Autumn, i hope you don't feel annoyed to hear all the time the same stuff about GUI and aesthetical points but i can't help myself: these controlboxes are really ugly. Somehow they won't fit in the window/ui-element in a nice way. They are obtrusive, have different lenths, ...

I don't know how difficult it could be to use another control. In facets component i found following unobtrusive triangle at the end of line which opens a menu. Maybe there are other possibilities too.




german support forum: www.foobar-users.de / user: qwert73

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #55
Autumn, i hope you don't feel annoyed to hear all the time the same stuff about GUI and aesthetical points but i can't help myself: these controlboxes are really ugly. Somehow they won't fit in the window/ui-element in a nice way. They are obtrusive, have different lenths, ...

I don't know how difficult it could be to use another control. In facets component i found following unobtrusive triangle at the end of line which opens a menu. Maybe there are other possibilities too.


[a href="http://img339.imageshack.us/i/windowclipping4.jpg/" target="_blank"]
Although I have done quite a bit of UI programming I'm not a specialist in this area so any fancy thing I want to do I have to do a lot of reading and research first.
Also UI programming is not as easy as it seems. There is no "Gallery of Controls" like you think there is. There are a few controls like edit boxes or labels or comboboxes but anything more fancy you have to do it yourself, and believe me it's not easy. Actually I'd say serious UI programming is one of the difficult fields in computer programming.
So if I find more free time I'll gladly try to improve TagBox visually but functionality has priority for me.
  • Last Edit: 10 August, 2010, 04:19:17 PM by autumn

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #56
Can't find version 1.71.
Check box "active" doesn't work.
Captions in configuration window are truncated on my system. Probably a DPI setting issue. (I have 115 instead of default 96 DPI.)

We are not talking about the field which requires at least one letter to open the popupmenu but the content of dropdown box.
Any chance to see 2E7AH's idea implemented.

Now I see what you're talking about. I like the idea myself as I told 2E7AH but making such thing is not easy [...]

What about this, no redesign of dropdown box needed, just a behaviour change of fields which are multivalue and autocomplete:
1. Type first letters of desired value in tag field
2. Select value from popping up autocomplete list
3. Type semicolon (or click a button)
4. Again type first letters of additional value
5. Again autocomplete list is launched
6. Select another value
I miss something like that in foobar core.

Some remarks on the documentation:
Quote
• Pressing Enter applies the changes.

When selecting item from autocomplete list no Enter needed.

Quote
• Pressing Ctrl+Enter or Ctrl+Down when only one track is selected applies the change and moves the selection to next track in play list.

Ctrl+Down doesn't work with autocomplete fields. Ctrl+Enter should be recommended.

Quote
• There is a context menu (tracks' right click menu) option to set track number to track's index in current selection.

The phrase "tracks' right click menu" is misleading.

Quote
• Right-Click any tag's label to access more options like "Auto Track Number", "Correct Capitalization" or "Filename -> Tag" functions.

Should be merged with previous instruction.

Quote
• You can enter an alternative tag for auto-complete to for example have a custom "guitar player" tag but get the list of suggestions from the "artist" tag.

I wouldn't use it, cause it's a core feature ("+"-seperated fields in Preferences › Advanced › Display › Autocomplete fields)
___________________

Maybe it is a good idea to let it look like selection properties. Means: no grid view but alternate colors and column headers - that seems more friendly to me.

Agreed.
  • Last Edit: 11 August, 2010, 06:54:59 AM by stefle

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #57
Can't find version 1.71.

here: http://arash.dejkam.com/software/tagbox/
Check box "active" doesn't work.

Are you sure? Note that this feature is supposed to work only when you use a predefined value. (doesn't work when using auto-complete).
Quote
• There is a context menu (tracks' right click menu) option to set track number to track's index in current selection.

The phrase "tracks' right click menu" is misleading.

Actually there is no such menu item anymore, removed it from documentation.
Quote
• You can enter an alternative tag for auto-complete to for example have a custom "guitar player" tag but get the list of suggestions from the "artist" tag.

I wouldn't use it, cause it's a core feature ("+"-seperated fields in Preferences › Advanced › Display › Autocomplete fields)

I was not aware of that advanced setting at all before Yirkha's last post in this topic. I'll remove this feature later.

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #58
Check box "active" doesn't work.

Are you sure? Note that this feature is supposed to work only when you use a predefined value. (doesn't work when using auto-complete).

Definitely doesn't work.
I select a file in the playlist ->  go to TagBox -> click on Rating dropdown box -> click on "5" -> "5" appears in field (which turns white) and "Apply Changes" button becomes activated (not grey) -> nothing happens

Same with version 1.71. Even restarted foobar after config.

Element Configuration:
Name: Rating
Tag: rating
Predefined: 5; 4.5; 4; 3.5; 3; 2.5; 2; 1.5; 1; 0.5; 0
Behaviour: Replace
immediately apply: on
Auto Complete: off
alternative value: [no entry]

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #59
Definitely doesn't work.
I select a file in the playlist ->  go to TagBox -> click on Rating dropdown box -> click on "5" -> "5" appears in field (which turns white) and "Apply Changes" button becomes activated (not grey) -> nothing happens

Yes you're right this looks like a bug the reason why I missed it because it happens only when using the rating tag! I'll fix it in next release.

Same with version 1.71.

it's 0.171 BTW not 1.71

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #60
Yes you're right this looks like a bug the reason why I missed it because it happens only when using the rating tag! I'll fix it in next release.


Ah ... that's it! Immediately apply doesn't work with Replace option.

  • wolfsong
  • [*][*][*][*]
TagBox Tag Editing Plugin
Reply #61
Yes you're right this looks like a bug the reason why I missed it because it happens only when using the rating tag! I'll fix it in next release.

I'm glad someone else saw a problem since the rating tag was exactly what I was having problems with. Oddly the problem I saw was only in the UI Element. If I opened the dialog from the context menu, the values I entered in the preferences were there.

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #62
version 0.172: Fixed the "immediately apply" bug.
Download Page

  • stefle
  • [*]
TagBox Tag Editing Plugin
Reply #63
Thanks.

Tried to prefdefine my 1217 %performer% values. Doesn't work, dropdown box just shows first 1150 items (max. 30,000 characters saved?). I guess TagBox wasn't assigned for that ... but I still place my hopes in that Append/Insert feature. Combining with autocomplete would be great ... (push)
  • Last Edit: 12 August, 2010, 12:45:19 PM by stefle

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #64
Tried to prefdefine my 1217 %performer% values. Doesn't work, dropdown box just shows first 1150 items (max. 30,000 characters saved?). I guess TagBox wasn't assigned for that

Of course the predefined values feature was not designed to be used like that.

Combining with autocomplete would be great ...

I'll eventually do that, it's just a matter of finding free time. it's not easy though as I mentioned and is gonna take me quite a bit of time.

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #65
Here comes a major upgrade, a lot of things have changed so take a good look around and let me know what you think

Version 0.200:
Download page

Changes:
    *  Complete redesign of the interface.
    * Auto suggestion and drop-down list values are now combined.
    * You can now select "values currently in database" as well as "predefined values" for the drop-down list.
    * "CheckBox" behavior which adds checkboxes to drop-down list values.
    * A lock button to lock the selection whenever needed.
    * The down arrow key opens the drop-down menu instead of moving the selection down.
    * PgUp/PgDown move the selection up and down to compensate for the above change.
    * Auto suggestion now works properly when entering multiple values.
    * TagBox group in context-menu becomes a single item.
    * There is no right click menu any more, tag specific options move to the drop-down list and global options move to the tools.

TagBox Tag Editing Plugin
Reply #66
So much thanks! 

german support forum: www.foobar-users.de / user: qwert73

TagBox Tag Editing Plugin
Reply #67
I did some testing and here are some smaller issues:

1. "Values currently in database" seems only to work if the field is added in advanced preferences as an autocomplete field - a bug or by design?

2. The status of "lock selection" in stand alone window is not remembered

3. If multiple items are selected and dropdown list for a field with behaviour "checkbox" is opened then you will see the already present tags of the selection checked only if each    track has the identical tags. Would be great to see in every case the present tags - it is self-evident that a special sign apart from check-sign is needed to show a tag that is only present in a part of selection. Usually a filled rectangle is used for such a purpose.
  • Last Edit: 18 September, 2010, 02:51:04 PM by q-stankovic
german support forum: www.foobar-users.de / user: qwert73

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #68
1. "Values currently in database" seems only to work if the field is added in advanced preferences as an autocomplete field - a bug or by design?

neither, I simply couldn't find any better way to retrieve the values in the public SDK.

2. The status of "lock selection" in stand alone window is not remembered

It is not supposed to "remember" the state. But I'll add an option in the preferences page later to let you always start the standalone window in locked mode (which is what you want I think).

3. If multiple items are selected and dropdown list for a field with behaviour "checkbox" is opened then you will see the already present tags of the selection checked only if each    track has the identical tags. Would be great to see in every case the present tags - it is self-evident that a special sign apart from check-sign is needed to show a tag that is only present in a part of selection. Usually a filled rectangle is used for such a purpose.

Yes, the "Append" and "Insert Front" operations should also work on each track individually. This is already on to-do list.

TagBox Tag Editing Plugin
Reply #69
I just discovered this component and wanted to express my appreciation.



Thank you for developing this!

  • watercolor
  • [*][*][*]
TagBox Tag Editing Plugin
Reply #70
"Values Currently in Databse"

typo?

And I think Database values auto suggest is not work.


Sorry, auto suggest require Advanced Setting on Preferences.
  • Last Edit: 24 September, 2010, 06:13:28 AM by watercolor

  • Yirkha
  • [*][*][*][*][*]
  • Moderator
TagBox Tag Editing Plugin
Reply #71
1. "Values currently in database" seems only to work if the field is added in advanced preferences as an autocomplete field - a bug or by design?
neither, I simply couldn't find any better way to retrieve the values in the public SDK.
What about [font= "Courier New"]library_manager::get_all_items()[/font] or [font= "Courier New"]enum_items()[/font] and collect the values yourself? I bet [font= "Courier New"]library_meta_autocomplete[/font] doesn't do much else.
Full-quoting makes you scroll past the same junk over and over.

  • Zelphar
  • [*]
TagBox Tag Editing Plugin
Reply #72
it seems that the rating can not recognize by playback statistics?
and value of %rating% comes from playback statistics but not the tagbox.

TagBox Tag Editing Plugin
Reply #73
Zelphar, that's how it should work. TagBox writes the rating to the file whereas playback statistics stores the values in a database. To retreive the rating from file use $meta(rating) instead of %rating% wich fetches the rating from database.
german support forum: www.foobar-users.de / user: qwert73

  • Arash
  • [*][*]
TagBox Tag Editing Plugin
Reply #74
"Values Currently in Databse" typo?

Yes, will be fixed, thanks for pointing out.

What about library_manager::get_all_items() or enum_items() and collect the values yourself? I bet library_meta_autocomplete doesn't do much else.

Are you sure about this? library_meta_autocomplete gets the data almost instantaneously out of my relatively large db so it seemed very unlikely to me that it go through all the entries each time and not use some kind of stored index or something. I am also very curious to know how facets retrieves the data. Maybe because I come from server-side programming I'm a little paranoid about such performance issues which is not necessary here.