View Issue Details

IDProjectCategoryView StatusLast Update
0003253MMW v4Otherpublic2007-07-29 04:53
Reporterrusty Assigned To 
PriorityimmediateSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version3.0 
Summary0003253: Search for Podcasts (Memory leak & should search child nodes)
DescriptionBrowsing OPML directories is very inefficient when trying to find a particular podcast. In fact it's a major pain.

One way of doing this would be to have the Search bar search the OPML subdirectories when they are highlighted. This may require caching of the directories though.
Additional InformationRaised to immediate. There's a severe memory leak in this code. To reproduce just switch between directories and perform context searches.
TagsNo tags attached.
Fixed in build1054

Activities

jiri

2007-07-11 12:14

administrator   ~0009681

Assigning to Ludek. However, I'd give this a little lower priority, it probably can wait past 3.0 release.

Ludek

2007-07-20 09:29

developer   ~0009864

Implemented in build 1051.

rusty

2007-07-23 20:10

administrator   ~0009902

Tested 1051 and although it functions, it doesn't quite meet the need.

i.e. the current implementation only searches the contents of the current node, but not the children of the current node, and that is really what is needed (e.g. if I'm trying to find a podcast called 'The Onion' I may not know which node it is contained within.

What I'd like to see is for MM to search the current node along with child nodes, when searching the OPML tree. (note: if this means that search results would be found one at a time, then that's fine).

Ludek

2007-07-26 09:28

developer   ~0009930

Last edited: 2007-07-26 10:17

I must disagree, it search the children of the current node.
e.g. if you search for "Hauz29" in Digital Podcast -> Art it is found althoug it is contained within the Digital Podcast -> Art -> Architecture child node.

The problem is that "The onion" is included in Digital Podcast -> Comedy and humor and searching Digital Podcast node takes too long because there are many feeds included in the whole OPML file which is cached on HDD and has to be parsed once (anytime) is needed. Caching the OMPL content to DB would solve this problem (it would be parsed only before inserting to the DB). The searching would be much faster.

Ludek

2007-07-26 20:22

developer   ~0009937

Fortunately I've got an idea and I significantly reduced the time of parsing by using a batching trick. Previously it taken 3 minutes, but now it takes 3 seconds ;-) (for whole Digital Podcast).

rusty

2007-07-27 19:10

administrator   ~0009948

Much better.

There's still one problem, though.

When I run MM and then click 'Digital Podcast' _without expanding it_, and then try to search for a podcast, it doesn't seem to find it. It only finds it if I first Expand the node and then search for the podcast.

It seems that this is because expanding the node is what triggers the OPML file to be downloaded/cached. What should happen is that as soon as the user clicks the node, the OPML directory should be downloaded so that it can be searched (even better, download the OPML as soon as the user clicks the Podcast Directories node).

Ludek

2007-07-28 20:23

developer   ~0009964

All the memory leaks and requirements fixed in build 1054.

rusty

2007-07-29 04:53

administrator   ~0009965

Verified 1054.