View Single Post
Old 03-06-2011, 06:06 AM   #49
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
I started looking at tying in the title/author cleanup functions we discussed earlier - I don't see how to import those functions while metadata.sources.base isn't actually integrated into the codebase. Tried creating a separate class just to call the generic functions in the plugin, but it wants a variable set of arguments to initialize the Source() class that have nothing to do with just passing title/author over for cleanup, and seem to only be setup to be passed from metadata.sources.test at the present time...

Is there a quick and dirty way to just get those functions imported to my plugin, or do I need to duplicate the code until the new framework is ready? ( I suppose another option might be to move them outside of the class definition in metadata.sources.base)
ldolse is offline   Reply With Quote