Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

Invelos Forums->Posts by hydr0x Page: 1  Previous   Next
Message Details
Quoting mediadogg:
Quote:

Another thing that came to mind while testing is that you could possibly use copy / paste (or Ctrl-C / Ctrl-V) to blast past the GUI updates from typing into the search box. I think it works. So, instead of typing character by character, somehow copy your search string into the clipboard, then paste it into the search box. What happens for you? I perceived it to be faster.


Yes, that should be a workaround to avoid the multiplied effect of the delay during typing. Unfortunately, even a single search takes about 30 seconds on my machine due to the total amount of profiles, so I will still look into workarounds ... if I ever get access to the forum
Posted:
Topic Replies: 26, Topic Views: 7662
Ok, I see. Pretty silly that the API does call this for every title and not only the ones already filtered

Anyways, I'll wait for my access to the subforum, maybe there's some way to solve this. At worst, I'll try the "copy existing title fields into plug-in and filter on that" approach.
Posted:
Topic Replies: 26, Topic Views: 7662
Quoting mediadogg:
Quote:

But wouldn't he already be using those?


Not from what I'm seeing from a user perspective. It doesn't matter if the current filtering (through other filters and/or the collection tab) filters only 1 profile or all 12000 of them, the time it takes the plug-in to respond to a character typed into the search field is always the same.
Posted:
Topic Replies: 26, Topic Views: 7662
Quote:

There are a few events to which you can register your plugin to, but that's never been my area of expertise.


Thanks for the API. I did in fact register for the plug-in forum, so far the account hasn't been activated. I wasn't even thinking about listening to events for filling these fields, but rather of a manual action that needs to be called by the user. E.g. "Update Invelos titles". Would be good enough for me I guess, especially if that was possible for flagged titles.

At first glance, it looks like it should be possible for your search to use one of these functions and only search within the returned IDs or maybe extend the existing filter set:

ICollectionFilter GetCollectionFilter();
object GetFilteredProfileIDs(ICollectionFilter CollectionFilter);
object GetDisplayedProfileIDs(int SortOrder);

Quote:

Yes you can. You need my plugin-API-key and the names of the fields, both are publicly available.


Great, then I will check if that's an option
Posted:
Topic Replies: 26, Topic Views: 7662
Quoting DJ Doena:
Quote:

Unfortunately the API gives you the profile you are to inspect, I cannot pre-select the number of profiles which I will inspect.


That is unfortunate. I wonder if the API has some kind of other function that might help. Is the documentation available somewhere outside the plug-in developer forum?

Quote:

That seems like a bit of an overkill to enhance the performance of an additional search.


Mhhh, ok, that's understandable. From the outside, it doesn't sound like an excessive amount of work. Add three fields to a data structure that's already being persisted somewhere, and of course write the algorithm to copy the data to them. But, I can understand of course that investing any time into a feature not relevant to you isn't too tempting I would do it myself if that's an option, either by adding it to your plug-inor maybe writing my own extension plug-in? Is it possible to access the fields from your plug-in from inside a different plug-in?
Posted:
Topic Replies: 26, Topic Views: 7662
Awesome. You quoted the wrong post, so I didn't even realize at first that you added the search feature I requested! Thanks, it works as suggested

As you say though, it is indeed quite slow. Here are some suggestions to make it faster. I'm not sure if and how these are possible in terms of profiler plug-ins, they come from my perspective as a developer.

1) Don't start searching for the first two entered characters, it's unlikely that someone actually wants to filter that way. You can still actually run that search if, after a wait of, let's say, 2 seconds, no further character is entered

2) Only search within the current filtered dataset. This is especially true if I just add a character to the existing search term, but it also applies to other filters already applied.

3) Only search within the current collection category. From usage tests, it feels like there is no speed difference depending on my selected category, so it seems you always load and search all profiles. In my case, with thousands of wishlisted titles, this means wasting a lot of time.

4) This is actually a workaround, but would probably solve all performance problems and be easier to develop too?! Find a way to duplicate/store the profiler title fields in your own plug-in data structure. That way, you search within that and it's lightning fast again
Posted:
Topic Replies: 26, Topic Views: 7662
Another feature request Please add the Production Year as a column to the (Excel) export, it's quite useful to distinguish films.
Posted:
Topic Replies: 26, Topic Views: 7662
Quoting DJ Doena:
Quote:
Done


Thanks a lot! Unfortunately didn't notice your reply earlier I just gave the latest version a spin, and the CSV export seems to be fixed and contains the original title now However, the filtering seems unchanged. Just to be clear, what I'm trying is: If I enter a title in your plugin filter, it should show all dvds which match that title either a) in one of the fields of your plugin or b) in one of the title fields of dvd profiler itself (title, original title, sort title). The latter still does not seem to work, unfortunately.
Posted:
Topic Replies: 26, Topic Views: 7662
Invelos Forums->Posts by hydr0x Page: 1  Previous   Next