After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615721 - Support listing video categories
Support listing video categories
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: YouTube service
git master
Other All
: Normal enhancement
: ---
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2010-04-14 07:55 UTC by Philip Withnall
Modified: 2010-06-14 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2010-04-14 07:55:57 UTC
We can get a list of the current categories supported for videos on YouTube[1]. This will need support for the Accept-Language header, since the returned category names depend on the user's language.

[1]: http://code.google.com/apis/youtube/2.0/reference.html#YouTube_Category_List
Comment 1 Philip Withnall 2010-04-14 07:59:25 UTC
Also see the APP specification: http://www.atomenabled.org/developers/protocol/#appCategories2
Comment 2 Philip Withnall 2010-06-14 15:43:35 UTC
commit 649ab36963e57d839a845bdf0dd823a1f4f14485
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Mon Jun 14 16:36:15 2010 +0100

    Bug 615721 — Support listing video categories
    
    Add support for listing the categories currently available on YouTube, along
    with whether they're assignable, browsable or deprecated. Coupled with locale
    support, this provides for localised category listings, too.
    Closes: bgo#615721

 Makefile.am                                     |   21 ++-
 docs/reference/gdata-docs.xml                   |    6 +
 docs/reference/gdata-sections.txt               |   42 ++++
 gdata/app/gdata-app-categories.c                |  230 ++++++++++++++++++++++
 gdata/app/gdata-app-categories.h                |   71 +++++++
 gdata/gdata.h                                   |    4 +
 gdata/gdata.symbols                             |   10 +
 gdata/services/youtube/gdata-youtube-category.c |  239 +++++++++++++++++++++++
 gdata/services/youtube/gdata-youtube-category.h |   72 +++++++
 gdata/services/youtube/gdata-youtube-service.c  |  150 ++++++++++++++
 gdata/services/youtube/gdata-youtube-service.h  |    8 +
 gdata/tests/general.c                           |   50 +++++
 gdata/tests/youtube.c                           |  134 +++++++++++++
 13 files changed, 1031 insertions(+), 6 deletions(-)

commit 39c4bdd6ed202fdef6bd41259a63d86209f095ba
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Sun Jun 13 23:27:39 2010 +0100

    [core] Add service locale support
    
    Add support for setting the locale for network requests on a per-service
    basis, using the Accept-Language header. Helps: bgo#615721

 docs/reference/gdata-sections.txt |    2 +
 gdata/gdata-service.c             |   73 ++++++++++++++++++++++++++++++++++++-
 gdata/gdata-service.h             |    3 ++
 gdata/gdata.symbols               |    2 +
 gdata/tests/general.c             |   22 +++++++++++
 5 files changed, 101 insertions(+), 1 deletions(-)