Windows > Third Party Plug-ins, Programs, and Skins

ZELDA v1.0 released (Expression Language editor)

<< < (16/45) > >>

zybex:
That's not really possible. Zelda does 2 things:
A. get the NAMES of all playlists available - this is fast
B. get the FILE COUNT (not the file list) in each playlist to display on the dropdown - this can get very slow, especially with many/complex Smartlists, and even worse if they have calls to IsMissing(). The delay is purely on MC side, since it recalculates each playlist content.

The "Quick Start" option skips B, but I can't really skip A unless you want to type the name of the playlist each time you want to load it.
The "Filter" option still needs to do A in order to get the names and ignore the ones that don't match the filter. So it doesn't really speed up anything. The 10 second timeout also only applies to B, since Zelda still needs to get all Playlist names. The actual playlist content (file list) is only loaded when you select one of the lists from the dropdown (at startup it auto-loads the same as last time).

I think A is very fast, but I'm not sure because I don't have many playlists. Can you tell me how long it takes for Zelda to start on your PC with the Fast Start enabled and a small playlist selected?

glynor:
Ahh. Yes, A is fast enough. B is what is slow (getting the count of a playlist is the same as getting the contents). I'd assumed you were getting the file listing and caching it at startup, mostly based on the slowness. And I meant just pull the listing of files when the list is selected in the combobox. That's how all of my list-based applications work.

But you're actually already doing that, you're just also pulling Playlist.Count() at application launch. It is worth noting that for many of my lists then, the count displayed is often wrong anyway, because when I then select the list it'll be recalculated which may result in a different count (depending on the list in question).

Hopefully you don't use that initial count for anything other than display (or it might get horribly confused when the count doesn't match what it found initially).

zybex:
Yep, the count is just for display on the playlist dropdown, and to hide playlists with zero files.
When a list is selected it gets the actual list of files from MC.

zybex:
Published Zelda v1.2.1: [source code changes]:
- Don't exit when PlaylistFilter excludes all playlists (show warning)
- Reload playlists after changing Filter
- Show full playlist paths

To upgrade, you can just start Zelda and click on the "new version available" label on the status bar. Alternatively, get it here.

timwtheov:
Hey Zybex,

Love Zelda and was using version 1.2.1 last night in trying to learn how to do pretty tooltips and a better Theater View, but after a Windows update last night (including .Net Framework), I'm getting a "Microsoft .Net Framework" error when trying to open the program. And if I hit "Continue," no playlist will load when I'm in the program. Not sure what's going on, but I attached the "Details" on a txt doc.

I should also note I tried uninstalling and reinstalling MC, but that didn't help (and because I stupidly forgot to do a library backup, lost all my tooltip/Theater View work--not my day today).

Edit: Sorry, should have included a pic of error.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version