douglashowe / as3flickrlib

Automatically exported from code.google.com/p/as3flickrlib
0 stars 0 forks source link

Media filter missing from photo requests #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

+ Media type is inaccessible through several methods.  If you have a site,
say that does not allow movies, only photos, it is difficult today to
restrict the type.

What is the expected output? What do you see instead?

+ API calls return movies though I would like to restrict to just "photos".

What version of the product are you using? On what operating system?

+ Version 0.87 with photo farm and error handling mods.

Please provide any additional information below.

+ I though maybe by specifying extras="media" I could get around some
issues, but it turns out the Photo does not store the "media" field, anyhow
if I did request it.

+ So I modified the PhotoSets.getPhotos and Photos.getPhotosNotInSet
methods to allow you to pre-filter the media.  For photos just set to "photos".

+ This is good enough for my needs, if someone wants I could write up the
changes that would be necesssary to the MethodGroupHElper and base objects
to store the response media fields as well (say if you said "all" and
wanted to show both but indicate movie versus a photo differently).

Original issue reported on code.google.com by ledlo...@gmail.com on 11 Mar 2009 at 6:09

Attachments: