View Single Post
Old 07-19-2011, 12:20 PM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Khan-Dam View Post
for the seconf point i don't undersatand what you mean. I thik the bulk metadata is to change the meta data in thes point i just want to make a list with the title sort differ fro the rule not to change them.
The quality check plugin already does this. I thought you wanted to set all the title sorts to the value your new function would return.
Quote:
just for the fun it's possible to make dialog form to activate or not the change i made in the sort title function ? in this case i bypass my write to call the original fubction ?
You can do this with some work. You would use something like function variables in C, something python makes very easy. Change title_sort from a function to a variable. Then add a dialog box (somewhere) that lets you assign a function to that variable. The users of title_sort (and there are many) would use the function that you assign. You would of course need to have a default, probably the current (original) title sort function.
chaley is offline   Reply With Quote