summaryrefslogtreecommitdiff
path: root/README
blob: 1f534df88c57d4623b4e5d471d50d299f08ebe8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Thanks for using Grilo!

=== What is Grilo? ===

Grilo is a framework for browsing and searching media content from various
sources using a single API.

=== Where can I find more? ===

We have a wiki page at
https://wiki.gnome.org/Projects/Grilo

You can subscribe to our mailing list:
http://mail.gnome.org/mailman/listinfo/grilo-list

You can join us on the IRC:
#grilo on GIMPNet

=== How do I start? ===

If you are using Ubuntu you can install binary packages by configuring
our PPA, check the wiki page above for details. Otherwise you  have
to download Grilo's source code from GNOME's repository and build it
-don't worry, it takes only a few seconds-, see the section below
if you want to do that.

Once you have Grilo installed, you may want to play around with the
examples (See section "Examples") or check its documentation 
and tutorials (See section "Documentation").

=== Building from git ===

$ git clone git://git.gnome.org/grilo
$ cd grilo
$ ./autogen.sh
$ make

=== Examples ===

If you are looking for some example to play with you can try grilo-test-ui,
a simple GTK+ based test application for testing purposes. You can find it
under tools/grilo-test-ui. It allows users to:

1) Browse predefined content categories from browseable sources (like
"Youtube", "Jamendo" or "UPnP").
2) Search content by text on searchable sources (like "Youtube", "Jamanedo"
or "Flickr").
3) Query sources using source-specific syntax (for sources implementing
this feature).
4) Organize and define the source's content hierarchy (for sources
implementing this feature like "bookmarks" or
"podcasts").
5) Check available metadata for the media. 

For this application to work you need some Grilo plugins that act as media
sources, that is, plugins that provide the actual content that you will
browse and search using the application. You can get a bunch of plugins for
Grilo from the grilo-plugins package here:

http://git.gnome.org/browse/grilo-plugins

If you are looking for a step-by-step guide from beginning to end, here it is:

# Building Grilo

$ git clone git://git.gnome.org/grilo
$ cd grilo
$ ./autogen.sh
$ make

# Building Grilo Plugins and setting GRL_PLUGIN_PATH

$ export PKG_CONFIG_PATH=$PWD:$PKG_CONFIG_PATH
$ cd ..
$ git clone git://git.gnome.org/grilo-plugins
$ cd grilo-plugins
$ ./autogen.sh
$ make
$ make install

# Running grilo-test-ui

$ cd ../grilo
$ tools/grilo-test-ui/grilo-test-ui

=== Documentation ===

If you are looking for documentation you should add the --enable-gtk-doc
option to the autogen.sh execution:

$ ./autogen.sh --enable-gtk-doc
$ make

Then point your browser to open the file doc/reference/html/index.html

Enjoy!