Searching only videos

Topics: User Forum
May 4, 2010 at 12:31 AM

Is there a way to get just videos returned through a photoSearch? I can't seem to find one...

At the moment, I'm thinking, do search as usual, and check if Media is MediaType.Videos for each result.  Apart from the fact that this is highly inefficient, I could think of at least 3 reasons why this is bad and will fail.

Coordinator
May 4, 2010 at 7:23 AM

You can set PhotoSearchOptions.MediaType to either photo, or video.

Sam

May 4, 2010 at 10:15 PM
samjudson wrote:

You can set PhotoSearchOptions.MediaType to either photo, or video.

Hmm.. how do I go about doing that though? There is no MediaType property for PhotoSearchOptions. I'm using the 3.0 release.

Coordinator
May 6, 2010 at 8:38 AM
It should be there - I did update the beta a while back, so if you
downloaded it a while back you might have an older version.

I really should release a new version.

Sam
May 10, 2010 at 2:12 AM
Edited May 10, 2010 at 2:22 AM

Whoops.. and so it is. Didn't think of using the latest version as it didn't seem like ther were any changes made to SearchOptions after 3.0 release when I looked. Obviously didn't look hard enough. Thanks Sam.