mherger wrote:
>
> The problem you're having is that this kind of small change triggers a
> bigger action. I do understand the problem, and it's the reason why 7.9
>
> currently doesn't update the fulltext index after a BMF "rescan".
>
> I've been thinking about ways how to improve this, but haven't found the
>
> answer yet. It's good to know that there are other plugins which could
> profit from it though. I'd need to find a generic solution.
>
Shouldn't post scan actions be implemented using the scanner hooks
instead of subscribing for rescan done ?
If you use the scanner hooks you should get events for every
scanned/removed track and can update your index and other stuff based on
this.
The only reason I'm not doing that is because I haven't had the time to
implement it yet. I've started in the Custom Scan alpha version but it's
not finished and fully working yet. I still hope to finish it but due to
all the work needed for ickStream I don't expect it to happen during
next couple of months.
I guess an alternative could be to delay the "rescan done" a bit so it's
not generated for each BMF folder you enter but generated once a bit
later when the user seems to have finished browsing via BMF. This would
of course still only solve the scenario where the user use BMF to
navigate multiple folders immediately after each other so I'm not sure
it would improve the situation much.
mherger wrote:
>
> Until this happens (and it would probably only happen in 7.9) you should
> ask Erland whether there's anything he or you can do to prevent this
> from happening.
>
I don't think I can see if a "rescan done" is triggered due to BMF scan
or a normal scan when subscribing on the rescan done event ?
It is already today possible to deactivate the automatic trigger in all
my plugins and instead run the scanning/refresh operations manually. In
Custom Scan this is configured by the "Automatic rescan" option under
Custom Scan settings page in its "Various settings" section. Similar
options also exists for Multi Library and TrackStat plugins which also
runs operations after a rescan.
Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland).
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
*Interested in the future of music streaming ? 'ickStream - A world of
music at your fingertips'
(http://forums.slimdevices.com/showthread.php?98467-Pre-Announcement-ickStream&p=743516)*.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=102712
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins