I see you have changed the way the folder security list is populated. Have you tested this with a large library? I deliberately designed it the way it was so that you didn't get a huge pause when you first select that tab without knowing what was going on (a large library can take a few seconds to traverse). If you want to change this, I suggest you async it and display a message while the list is refreshing.
Hi Eric,
I’d hadn’t considered large libraries. What constitutes a large library? Is it predominantly number of files/folders or does network location come into it. I’ll see if I can create a sufficiently large library to test against and look into the async behaviour.
Cheers
Ben
--
You received this message because you are subscribed to the Google Groups
"VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to
videobrowser-d...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/videobrowser-devs?hl=en.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4975 (20100325) __________
The message was checked by ESET NOD32 Antivirus.
> We probably have a few user with 3K movies 8k tv shows and tons of music.
>
> So 40-50k items would be considered large
>
> On Fri, Mar 26, 2010 at 8:47 AM, Ben Warham <b...@rabidfrog.co.uk> wrote:
>
>> Hi Eric,
>>
>>
>>
>> I’d hadn’t considered large libraries. What constitutes a large library? Is
>> it predominantly number of files/folders or does network location come into
>> it. I’ll see if I can create a sufficiently large library to test against
>> and look into the async behaviour.
>>
>>
>>
>> Cheers
>>
>> Ben
>>
>>
>>
>> *From:* videobro...@googlegroups.com [mailto:
>> videobro...@googlegroups.com] *On Behalf Of *Eric Reed
>> *Sent:* 25 March 2010 19:36
>> *To:* videobro...@googlegroups.com
>> *Subject:* Folder security change
>>
>>
>>
>> Ben, re:
>> http://code.google.com/r/benwarham-mediabrowser/source/detail?r=8fd943e49969ed6e0ee7364f1f53b13f9eb9b759
>>
>>
>>
>> I see you have changed the way the folder security list is populated. Have
>> you tested this with a large library? I deliberately designed it the way it
>> was so that you didn't get a huge pause when you first select that tab
>> without knowing what was going on (a large library can take a few seconds to
>> traverse). If you want to change this, I suggest you async it and display a
>> message while the list is refreshing.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "VideoBrowser Devs" group.
>> To post to this group, send email to videobro...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/videobrowser-devs?hl=en.
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4975 (20100325) __________
>>
>>
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>>
>>
>> http://www.eset.com
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4975 (20100325) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "VideoBrowser Devs" group.
>> To post to this group, send email to videobro...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsu...@googlegroups.com>
Quoting Sam Saffron <sam.s...@gmail.com>:
> We probably have a few user with 3K movies 8k tv shows and tons of music.
>
> So 40-50k items would be considered large
>
> On Fri, Mar 26, 2010 at 8:47 AM, Ben Warham <b...@rabidfrog.co.uk> wrote:
>
>> Hi Eric,
>>
>>
>>
>> I’d hadn’t considered large libraries. What constitutes a large library? Is
>> it predominantly number of files/folders or does network location come into
>> it. I’ll see if I can create a sufficiently large library to test against
>> and look into the async behaviour.
>>
>>
>>
>> Cheers
>>
>> Ben
>>
>>
>>
>> *From:* videobro...@googlegroups.com [mailto:
>> videobro...@googlegroups.com] *On Behalf Of *Eric Reed
>> *Sent:* 25 March 2010 19:36
>> *To:* videobro...@googlegroups.com
>> *Subject:* Folder security change
>>
>>
>>
>> Ben, re:
>> http://code.google.com/r/benwarham-mediabrowser/source/detail?r=8fd943e49969ed6e0ee7364f1f53b13f9eb9b759
>>
>>
>>
>> I see you have changed the way the folder security list is populated. Have
>> you tested this with a large library? I deliberately designed it the way it
>> was so that you didn't get a huge pause when you first select that tab
>> without knowing what was going on (a large library can take a few seconds to
>> traverse). If you want to change this, I suggest you async it and display a
>> message while the list is refreshing.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "VideoBrowser Devs" group.
>> To post to this group, send email to videobro...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/videobrowser-devs?hl=en.
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4975 (20100325) __________
>>
>>
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>>
>>
>> http://www.eset.com
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4975 (20100325) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "VideoBrowser Devs" group.
>> To post to this group, send email to videobro...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> videobrowser-d...@googlegroups.com<videobrowser-devs%2Bunsu...@googlegroups.com>
Hi Eric,
Been having a play around with this idea over the weekend, creating large media libraries both on a local drive and on the network and I can understand why it needs to be a conscious decision to populate the whole list. The 40,000 item library on the local drive wasn't so bad at a mere 5 seconds to populate, but a 3,000 item library on a network drive was over a minute.
(I have a power shell script to create such dummy libraries if that is of any use to anyone)
However I think I have an idea that gives us the best of both worlds, the list isn’t empty when the tab is selected but the user still has to make a conscious decision to initiate the potentially expensive operation of walking the directory trees.
So;
· On selecting the tab the top level elements are loaded and added to the tree, by reading the .vf files from the program files directory.
· All these items are expandable.
· If the user then expands one of these items we read the directory locations from the .vf file and traverse the directories to populate the expanded node.
· In some cases this means that the expand option will simply vanish (there were no subdirectories which didn’t contain movies)
· We could incorporate a progress bar (based on the number of directories at the top level) to indicate that things are happening. (Would need to count directories in multiple locations if the .vf maps multiple locations)
Let me know what you think of this idea, it does have the advantage that if a user wanted to set a rating on a virtual folder that mapped to a network drive they would not have to endure the process of that folder structure being indexed. That would only be necessary if they wanted to set a rating on one of the sub folders.
I have some rough and ready code that implements this behaviour (minus the progress indications) if that would help anyone understand the above.
Cheers
Ben
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4978 (20100326) __________
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4983 (20100329) __________
That sounds like a reasonable approach if you want to do it. It's a fairly little-used option so I don't think it's worth a ton of effort - but, if you've already got it mostly done... I would just hourglass the cursor on the expand instead of going to the trouble of a progress bar (since you don't know how long it will take it would be fake anyway).