2 * Copyright (C) 2012 Toni Gundogdu <legatvs@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 /* media/academicearth.lua uses the "goto_url", this means that the media
21 * is hosted elsewhere, in this case: YouTube. */
31 static const gchar URL
[] =
32 "http://www.academicearth.org/lectures/darwin-and-science";
34 static const gchar TITLE
[] =
35 "History 2D: Science, Magic, and Religion, Lecture 12, UCLA";
37 static const gchar ID
[] =
40 static void test_media_academicearth()
42 struct qm_test_exact_s e
;
43 struct qm_test_opts_s o
;
45 memset(&e
, 0, sizeof(e
));
46 memset(&o
, 0, sizeof(o
));
51 qm_test(__func__
, URL
, &e
, &o
);
54 gint
main(gint argc
, gchar
**argv
)
56 g_test_init(&argc
, &argv
, NULL
);
57 g_test_add_func("/media/academicearth", test_media_academicearth
);
58 return (g_test_run());
61 /* vim: set ts=2 sw=2 tw=72 expandtab: */