hoijui wrote:this adds unitsync dependency to the OS
eg, your OS will die if you have an invlid map, or unitsync has a problem, or the OS plugin is written for an other unitsync version then you have installed, or cant find unitsync, ...
in short, your OS would get as bugged as before + spring bugs.
Hmm, why not to use external plugin and:
Code: Select all
// check unitsynch interface version
if (unitsynch supported) get proper data
if (unitsynch doesn't return error / throws exception) return data to system
// unsupported unitsynch or error during operations:
return predefined image/ don't return anything*
And btw, if it would be distributed with Spring, there shouldn't be any problems with unitsynch - except it's internal errors - interface changes should block compiling.
By the way, about most of errors - can't find library, library doesn't return thumbnail etc - system tolerates it pretty well... Took me some time to register (and debug it when failed couple of times) FLV, MKV, RMVB, HTML extensions family, URL and MHT.
*No image returned = default application icon as in registry.