Merge lp:~mblayman/entertainer/group-copyright into lp:entertainer
- group-copyright
- Merge into trunk
Proposed by
Matt Layman
Status: | Merged |
---|---|
Approved by: | Matt Layman |
Approved revision: | 378 |
Merged at revision: | not available |
Proposed branch: | lp:~mblayman/entertainer/group-copyright |
Merge into: | lp:entertainer |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~mblayman/entertainer/group-copyright |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Samuel Buffet (community) | Approve | ||
Review via email: mp+6376@code.launchpad.net |
Commit message
All individual copyrights have been transferred to Entertainer Developers.
Description of the change
To post a comment you must log in.
Revision history for this message
Matt Layman (mblayman) wrote : | # |
Revision history for this message
Samuel Buffet (samuel-buffet) wrote : | # |
I have seen that everyone has agreed with the copyright change and I'm totally okay with this change.
I've read all the diff and found nothing special to say."make test" and "make lint" are okay.
So no problem with this branch.
Thanks Matt,
Samuel-
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Makefile' | |||
2 | --- Makefile 2009-02-10 01:40:00 +0000 | |||
3 | +++ Makefile 2009-05-06 03:40:22 +0000 | |||
4 | @@ -1,3 +1,4 @@ | |||
5 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
6 | 1 | PYTHON=`which python` | 2 | PYTHON=`which python` |
7 | 2 | VERBOSITY=-vv | 3 | VERBOSITY=-vv |
8 | 3 | 4 | ||
9 | 4 | 5 | ||
10 | === modified file 'cfg/content.conf' | |||
11 | --- cfg/content.conf 2009-01-09 01:24:49 +0000 | |||
12 | +++ cfg/content.conf 2009-05-06 03:40:22 +0000 | |||
13 | @@ -1,3 +1,4 @@ | |||
14 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
15 | 1 | [Images] | 2 | [Images] |
16 | 2 | folders = | 3 | folders = |
17 | 3 | display_hidden_folders = false | 4 | display_hidden_folders = false |
18 | 4 | 5 | ||
19 | === modified file 'cfg/preferences.conf' | |||
20 | --- cfg/preferences.conf 2009-03-08 21:29:32 +0000 | |||
21 | +++ cfg/preferences.conf 2009-05-06 03:40:22 +0000 | |||
22 | @@ -1,3 +1,4 @@ | |||
23 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
24 | 1 | [Photographs] | 2 | [Photographs] |
25 | 2 | slideshow_step = 5 | 3 | slideshow_step = 5 |
26 | 3 | 4 | ||
27 | 4 | 5 | ||
28 | === modified file 'cfg/themes/Black/theme.conf' | |||
29 | --- cfg/themes/Black/theme.conf 2008-12-14 19:58:40 +0000 | |||
30 | +++ cfg/themes/Black/theme.conf 2009-05-09 15:56:49 +0000 | |||
31 | @@ -1,9 +1,10 @@ | |||
32 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
33 | 1 | [Theme] | 2 | [Theme] |
34 | 2 | name = Black | 3 | name = Black |
35 | 3 | comment = Black and Blue theme. | 4 | comment = Black and Blue theme. |
37 | 4 | author = Lauri Taimila | 5 | author = Entertainer Developers |
38 | 5 | licence = GPL | 6 | licence = GPL |
40 | 6 | copyright = Lauri Taimila, 2007 | 7 | copyright = Entertainer Developers, 2009 |
41 | 7 | font = Trebuchet MS | 8 | font = Trebuchet MS |
42 | 8 | 9 | ||
43 | 9 | [Colors] | 10 | [Colors] |
44 | 10 | 11 | ||
45 | === modified file 'cfg/themes/Default/theme.conf' | |||
46 | --- cfg/themes/Default/theme.conf 2008-12-14 19:58:40 +0000 | |||
47 | +++ cfg/themes/Default/theme.conf 2009-05-09 15:56:49 +0000 | |||
48 | @@ -1,9 +1,10 @@ | |||
49 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
50 | 1 | [Theme] | 2 | [Theme] |
51 | 2 | name = Default | 3 | name = Default |
52 | 3 | comment = Dark and clear theme | 4 | comment = Dark and clear theme |
54 | 4 | author = Lauri Taimila | 5 | author = Entertainer Developers |
55 | 5 | licence = GPL | 6 | licence = GPL |
57 | 6 | copyright = Lauri Taimila, 2008 | 7 | copyright = Entertainer Developers, 2009 |
58 | 7 | font = Lucida Grande | 8 | font = Lucida Grande |
59 | 8 | 9 | ||
60 | 9 | [Colors] | 10 | [Colors] |
61 | 10 | 11 | ||
62 | === modified file 'docs/COPYING' | |||
63 | --- docs/COPYING 2009-02-01 05:26:57 +0000 | |||
64 | +++ docs/COPYING 2009-05-09 15:45:18 +0000 | |||
65 | @@ -345,7 +345,7 @@ | |||
66 | 345 | the Free Software Foundation; either version 2 of the License, or | 345 | the Free Software Foundation; either version 2 of the License, or |
67 | 346 | (at your option) any later version. | 346 | (at your option) any later version. |
68 | 347 | 347 | ||
70 | 348 | The Entertainer authors hereby grant permission for non-GPL compatible | 348 | The Entertainer Developers hereby grant permission for non-GPL compatible |
71 | 349 | GStreamer plugins to be used and distributed together with GStreamer | 349 | GStreamer plugins to be used and distributed together with GStreamer |
72 | 350 | and Entertainer. This permission is above and beyond the permissions granted | 350 | and Entertainer. This permission is above and beyond the permissions granted |
73 | 351 | by the GPL license by which Entertainer is covered. If you modify this code | 351 | by the GPL license by which Entertainer is covered. If you modify this code |
74 | @@ -358,4 +358,13 @@ | |||
75 | 358 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 358 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
76 | 359 | GNU General Public License for more details. | 359 | GNU General Public License for more details. |
77 | 360 | 360 | ||
78 | 361 | Entertainer Developers, as referenced in each file's copyright, refers to: | ||
79 | 362 | * Jamie Bennett <jamie@linuxuk.org> | ||
80 | 363 | * Joshua Scotton <josh@joshuascotton.com> | ||
81 | 364 | * Lauri Taimila <lauri@taimila.com> | ||
82 | 365 | * Matt Layman <laymansterms.dev@gmail.com> | ||
83 | 366 | * Michael Charclo <charclo.michael@gmail.com> | ||
84 | 367 | * Paul Hummer <paul.hummer@canonical.com> | ||
85 | 368 | * Samuel Buffet <samuel.buffet@gmail.com> | ||
86 | 369 | * Teje Rodgers <contact@tejerodgers.com> | ||
87 | 361 | 370 | ||
88 | 362 | 371 | ||
89 | === modified file 'docs/HACKING' | |||
90 | --- docs/HACKING 2009-02-10 01:40:00 +0000 | |||
91 | +++ docs/HACKING 2009-05-09 16:20:52 +0000 | |||
92 | @@ -1,3 +1,5 @@ | |||
93 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
94 | 2 | |||
95 | 1 | Introduction | 3 | Introduction |
96 | 2 | ============ | 4 | ============ |
97 | 3 | 5 | ||
98 | @@ -110,6 +112,17 @@ | |||
99 | 110 | available, a member of the Release Team will mark all the Fix Committed bugs | 112 | available, a member of the Release Team will mark all the Fix Committed bugs |
100 | 111 | that were in that release as Fix Released. | 113 | that were in that release as Fix Released. |
101 | 112 | 114 | ||
102 | 115 | Copyright Assignment | ||
103 | 116 | ==================== | ||
104 | 117 | |||
105 | 118 | The Entertainer project has collectively decided that copyright assignment to | ||
106 | 119 | source files shall be given to the Entertainer Developers as a group. This | ||
107 | 120 | greatly simplifies some problems with having individual assignment (e.g., any | ||
108 | 121 | changes to the license). If contributing to Entertainer for the first time, a | ||
109 | 122 | developer can add their name to the list of authors in the docs/COPYING file. | ||
110 | 123 | All copyrights in source files have a standard format. Please look other source | ||
111 | 124 | files for examples if adding new files. | ||
112 | 125 | |||
113 | 113 | Coding Styles | 126 | Coding Styles |
114 | 114 | ============= | 127 | ============= |
115 | 115 | 128 | ||
116 | @@ -121,7 +134,7 @@ | |||
117 | 121 | * Maximum line length of 80 characters, unless your code gets more | 134 | * Maximum line length of 80 characters, unless your code gets more |
118 | 122 | confusing by breaking the line (be prepared to justify this). | 135 | confusing by breaking the line (be prepared to justify this). |
119 | 123 | * No trailing whitespace at the end of a line. | 136 | * No trailing whitespace at the end of a line. |
121 | 124 | * Make sure copyright notices are found in EVERY source file | 137 | * Make sure copyright notices are found in EVERY source file. |
122 | 125 | * If code is "borrowed" from another source, please annotate that. It's | 138 | * If code is "borrowed" from another source, please annotate that. It's |
123 | 126 | just good practice. | 139 | just good practice. |
124 | 127 | * Strings that will be displayed to the end-user must be wrapped like this | 140 | * Strings that will be displayed to the end-user must be wrapped like this |
125 | 128 | 141 | ||
126 | === modified file 'entertainer' | |||
127 | --- entertainer 2008-10-25 16:41:22 +0000 | |||
128 | +++ entertainer 2009-05-06 02:58:08 +0000 | |||
129 | @@ -1,11 +1,7 @@ | |||
130 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
131 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
132 | 2 | '''Main frontend executable''' | 3 | '''Main frontend executable''' |
133 | 3 | 4 | ||
134 | 4 | __licence__ = "GPLv2" | ||
135 | 5 | __copyright__ = "2007, Lauri Taimila" | ||
136 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
137 | 7 | __version__ = "0.2" | ||
138 | 8 | |||
139 | 9 | from entertainerlib.frontend import main | 5 | from entertainerlib.frontend import main |
140 | 10 | 6 | ||
141 | 11 | if __name__ == '__main__': | 7 | if __name__ == '__main__': |
142 | 12 | 8 | ||
143 | === modified file 'entertainer-backend' | |||
144 | --- entertainer-backend 2008-10-25 16:41:22 +0000 | |||
145 | +++ entertainer-backend 2009-05-06 02:58:08 +0000 | |||
146 | @@ -1,11 +1,7 @@ | |||
147 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
148 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
149 | 2 | '''Main backend executable''' | 3 | '''Main backend executable''' |
150 | 3 | 4 | ||
151 | 4 | __licence__ = "GPLv2" | ||
152 | 5 | __copyright__ = "2007, Lauri Taimila" | ||
153 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
154 | 7 | __version__ = "0.1" | ||
155 | 8 | |||
156 | 9 | import ctypes | 5 | import ctypes |
157 | 10 | import os | 6 | import os |
158 | 11 | import sys | 7 | import sys |
159 | @@ -49,10 +45,7 @@ | |||
160 | 49 | 45 | ||
161 | 50 | if __name__ == "__main__": | 46 | if __name__ == "__main__": |
162 | 51 | if len(sys.argv) > 1 and (sys.argv[1] == "--help" or sys.argv[1] == "-h"): | 47 | if len(sys.argv) > 1 and (sys.argv[1] == "--help" or sys.argv[1] == "-h"): |
167 | 52 | print 'Entertainer backend %s, Copyright (c) %s' % \ | 48 | print 'Entertainer backend usage:' |
164 | 53 | (__version__, __copyright__) | ||
165 | 54 | print "" | ||
166 | 55 | print "Usage:" | ||
168 | 56 | print " --help - This help listing" | 49 | print " --help - This help listing" |
169 | 57 | print " --foreground - Run backend as foreground process" | 50 | print " --foreground - Run backend as foreground process" |
170 | 58 | sys.exit(0) | 51 | sys.exit(0) |
171 | 59 | 52 | ||
172 | === modified file 'entertainer-content-manager' | |||
173 | --- entertainer-content-manager 2008-12-19 04:06:18 +0000 | |||
174 | +++ entertainer-content-manager 2009-04-28 23:54:49 +0000 | |||
175 | @@ -1,4 +1,5 @@ | |||
176 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
177 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
178 | 2 | '''Content Management executable''' | 3 | '''Content Management executable''' |
179 | 3 | 4 | ||
180 | 4 | import gtk | 5 | import gtk |
181 | 5 | 6 | ||
182 | === modified file 'entertainer-preferences' | |||
183 | --- entertainer-preferences 2008-12-19 04:06:18 +0000 | |||
184 | +++ entertainer-preferences 2009-04-28 23:54:49 +0000 | |||
185 | @@ -1,4 +1,5 @@ | |||
186 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
187 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
188 | 2 | '''A preferences editing tool''' | 3 | '''A preferences editing tool''' |
189 | 3 | 4 | ||
190 | 4 | import gtk | 5 | import gtk |
191 | 5 | 6 | ||
192 | === modified file 'entertainerlib/__init__.py' | |||
193 | --- entertainerlib/__init__.py 2008-06-22 05:08:20 +0000 | |||
194 | +++ entertainerlib/__init__.py 2009-05-06 03:40:22 +0000 | |||
195 | @@ -1,1 +1,2 @@ | |||
196 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
197 | 1 | '''Entertainer libraries''' | 2 | '''Entertainer libraries''' |
198 | 2 | 3 | ||
199 | === modified file 'entertainerlib/backend/__init__.py' | |||
200 | --- entertainerlib/backend/__init__.py 2008-09-19 19:30:07 +0000 | |||
201 | +++ entertainerlib/backend/__init__.py 2009-05-06 03:40:22 +0000 | |||
202 | @@ -1,6 +1,3 @@ | |||
203 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
204 | 1 | '''Entertainer Backend Libraries''' | 2 | '''Entertainer Backend Libraries''' |
205 | 2 | 3 | ||
206 | 3 | |||
207 | 4 | def main(): | ||
208 | 5 | '''The backend 'main' function.''' | ||
209 | 6 | pass | ||
210 | 7 | 4 | ||
211 | === modified file 'entertainerlib/backend/backend_server.py' | |||
212 | --- entertainerlib/backend/backend_server.py 2009-02-08 07:01:25 +0000 | |||
213 | +++ entertainerlib/backend/backend_server.py 2009-05-06 02:58:08 +0000 | |||
214 | @@ -1,11 +1,6 @@ | |||
216 | 1 | #!/usr/bin/env python | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
217 | 2 | '''Main backend server object''' | 2 | '''Main backend server object''' |
218 | 3 | 3 | ||
219 | 4 | __licence__ = "GPLv2" | ||
220 | 5 | __copyright__ = "2007, Lauri Taimila" | ||
221 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
222 | 7 | __version__ = "0.1" | ||
223 | 8 | |||
224 | 9 | import gobject | 4 | import gobject |
225 | 10 | 5 | ||
226 | 11 | from entertainerlib.utils.configuration import Configuration | 6 | from entertainerlib.utils.configuration import Configuration |
227 | 12 | 7 | ||
228 | === modified file 'entertainerlib/backend/components/__init__.py' | |||
229 | --- entertainerlib/backend/components/__init__.py 2008-08-16 04:28:47 +0000 | |||
230 | +++ entertainerlib/backend/components/__init__.py 2009-05-06 03:40:22 +0000 | |||
231 | @@ -1,1 +1,2 @@ | |||
232 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
233 | 1 | '''Extra backend components''' | 2 | '''Extra backend components''' |
234 | 2 | 3 | ||
235 | === modified file 'entertainerlib/backend/components/feeds/__init__.py' | |||
236 | --- entertainerlib/backend/components/feeds/__init__.py 2008-08-16 04:28:47 +0000 | |||
237 | +++ entertainerlib/backend/components/feeds/__init__.py 2009-05-06 03:40:22 +0000 | |||
238 | @@ -1,1 +1,2 @@ | |||
239 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
240 | 1 | '''Feed component''' | 2 | '''Feed component''' |
241 | 2 | 3 | ||
242 | === modified file 'entertainerlib/backend/components/feeds/feed_fetcher.py' | |||
243 | --- entertainerlib/backend/components/feeds/feed_fetcher.py 2009-02-07 21:43:35 +0000 | |||
244 | +++ entertainerlib/backend/components/feeds/feed_fetcher.py 2009-05-06 02:58:08 +0000 | |||
245 | @@ -1,9 +1,6 @@ | |||
246 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
247 | 1 | '''Update all feeds to local cache''' | 2 | '''Update all feeds to local cache''' |
248 | 2 | 3 | ||
249 | 3 | __licence__ = "GPLv2" | ||
250 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
251 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
252 | 6 | |||
253 | 7 | import threading | 4 | import threading |
254 | 8 | import feedparser | 5 | import feedparser |
255 | 9 | from time import strptime | 6 | from time import strptime |
256 | 10 | 7 | ||
257 | === modified file 'entertainerlib/backend/components/feeds/feed_manager.py' | |||
258 | --- entertainerlib/backend/components/feeds/feed_manager.py 2008-08-15 23:52:30 +0000 | |||
259 | +++ entertainerlib/backend/components/feeds/feed_manager.py 2009-05-06 02:58:08 +0000 | |||
260 | @@ -1,9 +1,6 @@ | |||
261 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
262 | 1 | '''FeedManager - Manage feeds''' | 2 | '''FeedManager - Manage feeds''' |
263 | 2 | 3 | ||
264 | 3 | __licence__ = "GPLv2" | ||
265 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
266 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
267 | 6 | |||
268 | 7 | import os | 4 | import os |
269 | 8 | from pysqlite2 import dbapi2 as sqlite | 5 | from pysqlite2 import dbapi2 as sqlite |
270 | 9 | from entertainerlib.backend.components.feeds.feed_fetcher import FeedFetcher | 6 | from entertainerlib.backend.components.feeds.feed_fetcher import FeedFetcher |
271 | 10 | 7 | ||
272 | === modified file 'entertainerlib/backend/components/mediacache/__init__.py' | |||
273 | --- entertainerlib/backend/components/mediacache/__init__.py 2008-08-16 04:28:47 +0000 | |||
274 | +++ entertainerlib/backend/components/mediacache/__init__.py 2009-05-06 03:40:22 +0000 | |||
275 | @@ -1,1 +1,2 @@ | |||
276 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
277 | 1 | '''Mediacache component''' | 2 | '''Mediacache component''' |
278 | 2 | 3 | ||
279 | === modified file 'entertainerlib/backend/components/mediacache/cache.py' | |||
280 | --- entertainerlib/backend/components/mediacache/cache.py 2008-08-02 21:33:38 +0000 | |||
281 | +++ entertainerlib/backend/components/mediacache/cache.py 2009-05-06 02:58:08 +0000 | |||
282 | @@ -1,9 +1,6 @@ | |||
283 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
284 | 1 | '''Interface for media caches''' | 2 | '''Interface for media caches''' |
285 | 2 | 3 | ||
286 | 3 | __licence__ = "GPLv2" | ||
287 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
288 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
289 | 6 | |||
290 | 7 | class Cache: | 4 | class Cache: |
291 | 8 | """ | 5 | """ |
292 | 9 | Cache interface. Defines interface for cache handling. This | 6 | Cache interface. Defines interface for cache handling. This |
293 | 10 | 7 | ||
294 | === modified file 'entertainerlib/backend/components/mediacache/image_cache.py' | |||
295 | --- entertainerlib/backend/components/mediacache/image_cache.py 2009-02-19 14:30:24 +0000 | |||
296 | +++ entertainerlib/backend/components/mediacache/image_cache.py 2009-05-06 02:58:08 +0000 | |||
297 | @@ -1,9 +1,6 @@ | |||
298 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
299 | 1 | '''ImageCache - Handles image file caching.''' | 2 | '''ImageCache - Handles image file caching.''' |
300 | 2 | 3 | ||
301 | 3 | __licence__ = "GPLv2" | ||
302 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
303 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
304 | 6 | |||
305 | 7 | import os | 4 | import os |
306 | 8 | import time | 5 | import time |
307 | 9 | import Image | 6 | import Image |
308 | 10 | 7 | ||
309 | === modified file 'entertainerlib/backend/components/mediacache/indexer_thread.py' | |||
310 | --- entertainerlib/backend/components/mediacache/indexer_thread.py 2008-08-02 21:33:38 +0000 | |||
311 | +++ entertainerlib/backend/components/mediacache/indexer_thread.py 2009-05-06 02:58:08 +0000 | |||
312 | @@ -1,9 +1,6 @@ | |||
313 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
314 | 1 | '''IndexerThread - Walks directories recursively and adds files to cache.''' | 2 | '''IndexerThread - Walks directories recursively and adds files to cache.''' |
315 | 2 | 3 | ||
316 | 3 | __licence__ = "GPLv2" | ||
317 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
318 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
319 | 6 | |||
320 | 7 | import threading | 4 | import threading |
321 | 8 | 5 | ||
322 | 9 | from entertainerlib.backend.components.mediacache.image_cache import ImageCache | 6 | from entertainerlib.backend.components.mediacache.image_cache import ImageCache |
323 | 10 | 7 | ||
324 | === modified file 'entertainerlib/backend/components/mediacache/media_cache_manager.py' | |||
325 | --- entertainerlib/backend/components/mediacache/media_cache_manager.py 2009-01-06 23:51:38 +0000 | |||
326 | +++ entertainerlib/backend/components/mediacache/media_cache_manager.py 2009-05-06 02:58:08 +0000 | |||
327 | @@ -1,9 +1,6 @@ | |||
328 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
329 | 1 | '''MediaCacheManager - Downloads metadata and keeps media cache up-to-date''' | 2 | '''MediaCacheManager - Downloads metadata and keeps media cache up-to-date''' |
330 | 2 | 3 | ||
331 | 3 | __licence__ = "GPLv2" | ||
332 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
333 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
334 | 6 | |||
335 | 7 | from entertainerlib.utils.configuration import Configuration | 4 | from entertainerlib.utils.configuration import Configuration |
336 | 8 | from entertainerlib.utils.logger import Logger | 5 | from entertainerlib.utils.logger import Logger |
337 | 9 | 6 | ||
338 | 10 | 7 | ||
339 | === modified file 'entertainerlib/backend/components/mediacache/music_cache.py' | |||
340 | --- entertainerlib/backend/components/mediacache/music_cache.py 2009-05-06 06:57:07 +0000 | |||
341 | +++ entertainerlib/backend/components/mediacache/music_cache.py 2009-05-09 17:03:51 +0000 | |||
342 | @@ -1,9 +1,6 @@ | |||
343 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
344 | 1 | '''MusicCache - Audio file cache.''' | 2 | '''MusicCache - Audio file cache.''' |
345 | 2 | 3 | ||
346 | 3 | __licence__ = "GPLv2" | ||
347 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
348 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
349 | 6 | |||
350 | 7 | import os | 4 | import os |
351 | 8 | import time | 5 | import time |
352 | 9 | import shutil | 6 | import shutil |
353 | @@ -250,7 +247,6 @@ | |||
354 | 250 | - Get tags | 247 | - Get tags |
355 | 251 | - Insert data to the music cache database | 248 | - Insert data to the music cache database |
356 | 252 | """ | 249 | """ |
357 | 253 | # pylint: disable-msg=W0702 | ||
358 | 254 | try: | 250 | try: |
359 | 255 | mp3_file = eyeD3.Mp3AudioFile(filename, eyeD3.ID3_ANY_VERSION) | 251 | mp3_file = eyeD3.Mp3AudioFile(filename, eyeD3.ID3_ANY_VERSION) |
360 | 256 | tags = mp3_file.getTag() | 252 | tags = mp3_file.getTag() |
361 | 257 | 253 | ||
362 | === modified file 'entertainerlib/backend/components/mediacache/video_cache.py' | |||
363 | --- entertainerlib/backend/components/mediacache/video_cache.py 2009-02-19 14:30:24 +0000 | |||
364 | +++ entertainerlib/backend/components/mediacache/video_cache.py 2009-05-06 02:58:08 +0000 | |||
365 | @@ -1,9 +1,6 @@ | |||
366 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
367 | 1 | '''VideoCache - Handles video file cache.''' | 2 | '''VideoCache - Handles video file cache.''' |
368 | 2 | 3 | ||
369 | 3 | __licence__ = "GPLv2" | ||
370 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
371 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
372 | 6 | |||
373 | 7 | import os | 4 | import os |
374 | 8 | import time | 5 | import time |
375 | 9 | from pysqlite2 import dbapi2 as sqlite | 6 | from pysqlite2 import dbapi2 as sqlite |
376 | 10 | 7 | ||
377 | === modified file 'entertainerlib/backend/components/mediacache/video_metadata_search.py' | |||
378 | --- entertainerlib/backend/components/mediacache/video_metadata_search.py 2009-02-07 22:12:25 +0000 | |||
379 | +++ entertainerlib/backend/components/mediacache/video_metadata_search.py 2009-05-06 02:58:08 +0000 | |||
380 | @@ -1,10 +1,7 @@ | |||
381 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
382 | 1 | '''VideoMetadataSearch - Search video file metadata from IMDB database''' | 2 | '''VideoMetadataSearch - Search video file metadata from IMDB database''' |
383 | 2 | # pylint: disable-msg=C0301 | 3 | # pylint: disable-msg=C0301 |
384 | 3 | 4 | ||
385 | 4 | __licence__ = "GPLv2" | ||
386 | 5 | __copyright__ = "2008, Lauri Taimila" | ||
387 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
388 | 7 | |||
389 | 8 | import os | 5 | import os |
390 | 9 | import imdb | 6 | import imdb |
391 | 10 | import re | 7 | import re |
392 | 11 | 8 | ||
393 | === modified file 'entertainerlib/backend/core/__init__.py' | |||
394 | --- entertainerlib/backend/core/__init__.py 2008-08-16 04:28:47 +0000 | |||
395 | +++ entertainerlib/backend/core/__init__.py 2009-05-06 03:40:22 +0000 | |||
396 | @@ -1,1 +1,2 @@ | |||
397 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
398 | 1 | '''Entertainer Backend Core Libraries''' | 2 | '''Entertainer Backend Core Libraries''' |
399 | 2 | 3 | ||
400 | === modified file 'entertainerlib/backend/core/client_connection.py' | |||
401 | --- entertainerlib/backend/core/client_connection.py 2009-02-07 21:43:35 +0000 | |||
402 | +++ entertainerlib/backend/core/client_connection.py 2009-05-06 02:58:08 +0000 | |||
403 | @@ -1,9 +1,6 @@ | |||
404 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
405 | 1 | '''Connects socket client to backend's message bug''' | 2 | '''Connects socket client to backend's message bug''' |
406 | 2 | 3 | ||
407 | 3 | __licence__ = "GPLv2" | ||
408 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
409 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
410 | 6 | |||
411 | 7 | import cPickle | 4 | import cPickle |
412 | 8 | from cStringIO import StringIO | 5 | from cStringIO import StringIO |
413 | 9 | import threading | 6 | import threading |
414 | 10 | 7 | ||
415 | === modified file 'entertainerlib/backend/core/connection_server.py' | |||
416 | --- entertainerlib/backend/core/connection_server.py 2009-02-06 08:13:48 +0000 | |||
417 | +++ entertainerlib/backend/core/connection_server.py 2009-05-06 02:58:08 +0000 | |||
418 | @@ -1,9 +1,6 @@ | |||
419 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
420 | 1 | '''Socket server that listens for incoming connections''' | 2 | '''Socket server that listens for incoming connections''' |
421 | 2 | 3 | ||
422 | 3 | __licence__ = "GPLv2" | ||
423 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
424 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
425 | 6 | |||
426 | 7 | import sys | 4 | import sys |
427 | 8 | import socket | 5 | import socket |
428 | 9 | import threading | 6 | import threading |
429 | 10 | 7 | ||
430 | === modified file 'entertainerlib/backend/core/db/__init__.py' | |||
431 | --- entertainerlib/backend/core/db/__init__.py 2008-08-02 02:56:31 +0000 | |||
432 | +++ entertainerlib/backend/core/db/__init__.py 2009-05-06 03:40:22 +0000 | |||
433 | @@ -1,3 +1,4 @@ | |||
434 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
435 | 1 | '''This module contains the storm database functionality needed for the backend | 2 | '''This module contains the storm database functionality needed for the backend |
436 | 2 | to index and store media''' | 3 | to index and store media''' |
437 | 3 | 4 | ||
438 | 4 | 5 | ||
439 | === modified file 'entertainerlib/backend/core/db/connection.py' | |||
440 | --- entertainerlib/backend/core/db/connection.py 2009-04-30 02:07:27 +0000 | |||
441 | +++ entertainerlib/backend/core/db/connection.py 2009-05-06 01:35:19 +0000 | |||
442 | @@ -1,3 +1,4 @@ | |||
443 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
444 | 1 | '''Contains database connection wrappers''' | 2 | '''Contains database connection wrappers''' |
445 | 2 | 3 | ||
446 | 3 | import os | 4 | import os |
447 | 4 | 5 | ||
448 | === modified file 'entertainerlib/backend/core/db/models.py' | |||
449 | --- entertainerlib/backend/core/db/models.py 2009-01-31 21:47:47 +0000 | |||
450 | +++ entertainerlib/backend/core/db/models.py 2009-04-28 23:54:49 +0000 | |||
451 | @@ -1,3 +1,4 @@ | |||
452 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
453 | 1 | '''Contains all storm ORM models''' | 2 | '''Contains all storm ORM models''' |
454 | 2 | # pylint: disable-msg=W0621,W0223 | 3 | # pylint: disable-msg=W0621,W0223 |
455 | 3 | 4 | ||
456 | 4 | 5 | ||
457 | === modified file 'entertainerlib/backend/core/message.py' | |||
458 | --- entertainerlib/backend/core/message.py 2008-08-02 21:33:38 +0000 | |||
459 | +++ entertainerlib/backend/core/message.py 2009-05-06 02:58:08 +0000 | |||
460 | @@ -1,9 +1,6 @@ | |||
461 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
462 | 1 | '''Backend component protocol for communicating''' | 2 | '''Backend component protocol for communicating''' |
463 | 2 | 3 | ||
464 | 3 | __licence__ = "GPLv2" | ||
465 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
466 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
467 | 6 | |||
468 | 7 | class Message: | 4 | class Message: |
469 | 8 | """ | 5 | """ |
470 | 9 | Backend components uses Messages to communicate with each other. | 6 | Backend components uses Messages to communicate with each other. |
471 | 10 | 7 | ||
472 | === modified file 'entertainerlib/backend/core/message_bus.py' | |||
473 | --- entertainerlib/backend/core/message_bus.py 2009-02-06 08:13:48 +0000 | |||
474 | +++ entertainerlib/backend/core/message_bus.py 2009-05-06 02:58:08 +0000 | |||
475 | @@ -1,3 +1,4 @@ | |||
476 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
477 | 1 | '''MessageBus - Heart of the backend messaging system''' | 2 | '''MessageBus - Heart of the backend messaging system''' |
478 | 2 | 3 | ||
479 | 3 | import threading | 4 | import threading |
480 | @@ -7,10 +8,6 @@ | |||
481 | 7 | from entertainerlib.backend.core.message_type_priority import MessageType | 8 | from entertainerlib.backend.core.message_type_priority import MessageType |
482 | 8 | from entertainerlib.utils.logger import Logger | 9 | from entertainerlib.utils.logger import Logger |
483 | 9 | 10 | ||
484 | 10 | __licence__ = "GPLv2" | ||
485 | 11 | __copyright__ = "2007, Lauri Taimila" | ||
486 | 12 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
487 | 13 | |||
488 | 14 | class MessageBus: | 11 | class MessageBus: |
489 | 15 | """ | 12 | """ |
490 | 16 | MessageBus is the heart of the backend messaging system. | 13 | MessageBus is the heart of the backend messaging system. |
491 | 17 | 14 | ||
492 | === modified file 'entertainerlib/backend/core/message_bus_proxy.py' | |||
493 | --- entertainerlib/backend/core/message_bus_proxy.py 2009-01-05 03:25:03 +0000 | |||
494 | +++ entertainerlib/backend/core/message_bus_proxy.py 2009-05-06 02:58:08 +0000 | |||
495 | @@ -1,9 +1,6 @@ | |||
496 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
497 | 1 | '''Used to connect client processes to backend MessageBus''' | 2 | '''Used to connect client processes to backend MessageBus''' |
498 | 2 | 3 | ||
499 | 3 | __licence__ = "GPLv2" | ||
500 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
501 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
502 | 6 | |||
503 | 7 | import socket | 4 | import socket |
504 | 8 | import cPickle | 5 | import cPickle |
505 | 9 | import threading | 6 | import threading |
506 | 10 | 7 | ||
507 | === modified file 'entertainerlib/backend/core/message_generator.py' | |||
508 | --- entertainerlib/backend/core/message_generator.py 2008-08-02 21:33:38 +0000 | |||
509 | +++ entertainerlib/backend/core/message_generator.py 2009-05-06 02:58:08 +0000 | |||
510 | @@ -1,10 +1,6 @@ | |||
511 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
512 | 1 | '''Generates messages to the message bus''' | 2 | '''Generates messages to the message bus''' |
513 | 2 | 3 | ||
514 | 3 | __licence__ = "GPLv2" | ||
515 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
516 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
517 | 6 | |||
518 | 7 | |||
519 | 8 | import threading | 4 | import threading |
520 | 9 | import time | 5 | import time |
521 | 10 | 6 | ||
522 | 11 | 7 | ||
523 | === modified file 'entertainerlib/backend/core/message_handler.py' | |||
524 | --- entertainerlib/backend/core/message_handler.py 2008-08-13 10:04:18 +0000 | |||
525 | +++ entertainerlib/backend/core/message_handler.py 2009-05-06 02:58:08 +0000 | |||
526 | @@ -1,9 +1,6 @@ | |||
527 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
528 | 1 | '''MessageHandlers are registered to the MessageBus''' | 2 | '''MessageHandlers are registered to the MessageBus''' |
529 | 2 | 3 | ||
530 | 3 | __licence__ = "GPLv2" | ||
531 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
532 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
533 | 6 | |||
534 | 7 | class MessageHandler(object): | 4 | class MessageHandler(object): |
535 | 8 | """ | 5 | """ |
536 | 9 | MessageHandler interface determines MessageBus clients. | 6 | MessageHandler interface determines MessageBus clients. |
537 | 10 | 7 | ||
538 | === modified file 'entertainerlib/backend/core/message_scheduler.py' | |||
539 | --- entertainerlib/backend/core/message_scheduler.py 2008-08-02 21:33:38 +0000 | |||
540 | +++ entertainerlib/backend/core/message_scheduler.py 2009-05-06 02:58:08 +0000 | |||
541 | @@ -1,9 +1,6 @@ | |||
542 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
543 | 1 | '''Manage generating messages to the message bus''' | 2 | '''Manage generating messages to the message bus''' |
544 | 2 | 3 | ||
545 | 3 | __licence__ = "GPLv2" | ||
546 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
547 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
548 | 6 | |||
549 | 7 | import random | 4 | import random |
550 | 8 | 5 | ||
551 | 9 | from entertainerlib.backend.core.message_generator import MessageGenerator | 6 | from entertainerlib.backend.core.message_generator import MessageGenerator |
552 | 10 | 7 | ||
553 | === modified file 'entertainerlib/backend/core/message_type_priority.py' | |||
554 | --- entertainerlib/backend/core/message_type_priority.py 2009-01-31 15:46:36 +0000 | |||
555 | +++ entertainerlib/backend/core/message_type_priority.py 2009-05-06 02:58:08 +0000 | |||
556 | @@ -1,9 +1,6 @@ | |||
557 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
558 | 1 | '''Determines message types and priorities''' | 2 | '''Determines message types and priorities''' |
559 | 2 | 3 | ||
560 | 3 | __licence__ = "GPLv2" | ||
561 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
562 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
563 | 6 | |||
564 | 7 | class MessagePriority: | 4 | class MessagePriority: |
565 | 8 | """ | 5 | """ |
566 | 9 | Simply determines Message priority constants. | 6 | Simply determines Message priority constants. |
567 | 10 | 7 | ||
568 | === modified file 'entertainerlib/decorators.py' | |||
569 | --- entertainerlib/decorators.py 2008-12-15 20:59:31 +0000 | |||
570 | +++ entertainerlib/decorators.py 2009-04-28 23:54:49 +0000 | |||
571 | @@ -1,3 +1,4 @@ | |||
572 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
573 | 1 | '''Various function and method decorators.''' | 2 | '''Various function and method decorators.''' |
574 | 2 | 3 | ||
575 | 3 | import warnings | 4 | import warnings |
576 | 4 | 5 | ||
577 | === modified file 'entertainerlib/exceptions.py' | |||
578 | --- entertainerlib/exceptions.py 2009-02-27 02:23:35 +0000 | |||
579 | +++ entertainerlib/exceptions.py 2009-04-28 23:54:49 +0000 | |||
580 | @@ -1,3 +1,4 @@ | |||
581 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
582 | 1 | '''Various Exceptions for Entertainer.''' | 2 | '''Various Exceptions for Entertainer.''' |
583 | 2 | 3 | ||
584 | 3 | 4 | ||
585 | 4 | 5 | ||
586 | === modified file 'entertainerlib/frontend/__init__.py' | |||
587 | --- entertainerlib/frontend/__init__.py 2009-03-08 03:16:25 +0000 | |||
588 | +++ entertainerlib/frontend/__init__.py 2009-05-06 03:40:22 +0000 | |||
589 | @@ -1,3 +1,4 @@ | |||
590 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
591 | 1 | '''Frontend gui to entertainer''' | 2 | '''Frontend gui to entertainer''' |
592 | 2 | # pylint: disable-msg=W0612 | 3 | # pylint: disable-msg=W0612 |
593 | 3 | 4 | ||
594 | 4 | 5 | ||
595 | === modified file 'entertainerlib/frontend/backend_connection.py' | |||
596 | --- entertainerlib/frontend/backend_connection.py 2009-01-31 15:46:36 +0000 | |||
597 | +++ entertainerlib/frontend/backend_connection.py 2009-05-06 02:58:08 +0000 | |||
598 | @@ -1,9 +1,6 @@ | |||
599 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
600 | 1 | '''Connection to the Entertainer backend''' | 2 | '''Connection to the Entertainer backend''' |
601 | 2 | 3 | ||
602 | 3 | __licence__ = "GPLv2" | ||
603 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
604 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
605 | 6 | |||
606 | 7 | from entertainerlib.backend.core.message import Message | 4 | from entertainerlib.backend.core.message import Message |
607 | 8 | from entertainerlib.backend.core.message_bus_proxy import MessageBusProxy | 5 | from entertainerlib.backend.core.message_bus_proxy import MessageBusProxy |
608 | 9 | from entertainerlib.backend.core.message_type_priority import MessageType | 6 | from entertainerlib.backend.core.message_type_priority import MessageType |
609 | 10 | 7 | ||
610 | === modified file 'entertainerlib/frontend/frontend_client.py' | |||
611 | --- entertainerlib/frontend/frontend_client.py 2009-02-10 00:59:03 +0000 | |||
612 | +++ entertainerlib/frontend/frontend_client.py 2009-05-06 02:58:08 +0000 | |||
613 | @@ -1,10 +1,6 @@ | |||
614 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
615 | 1 | '''Entertainer Frontend - This is a client side of Entertainer.''' | 2 | '''Entertainer Frontend - This is a client side of Entertainer.''' |
616 | 2 | 3 | ||
617 | 3 | __licence__ = 'GPLv2' | ||
618 | 4 | __copyright__ = ('2007, Lauri Taimila', '2009, Matt Layman') | ||
619 | 5 | __author__ = ('Lauri Taimila <lauri@taimila.com>', | ||
620 | 6 | 'Matt Layman <laymansterms.dev@gmail.com>') | ||
621 | 7 | |||
622 | 8 | import sys | 4 | import sys |
623 | 9 | 5 | ||
624 | 10 | import gtk | 6 | import gtk |
625 | 11 | 7 | ||
626 | === modified file 'entertainerlib/frontend/gui/__init__.py' | |||
627 | --- entertainerlib/frontend/gui/__init__.py 2008-08-16 04:28:47 +0000 | |||
628 | +++ entertainerlib/frontend/gui/__init__.py 2009-05-06 03:40:22 +0000 | |||
629 | @@ -1,1 +1,2 @@ | |||
631 | 1 | '''Frontend gui module''' | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
632 | 2 | '''Frontend GUI module''' | ||
633 | 2 | 3 | ||
634 | === modified file 'entertainerlib/frontend/gui/screen_history.py' | |||
635 | --- entertainerlib/frontend/gui/screen_history.py 2008-10-07 22:59:41 +0000 | |||
636 | +++ entertainerlib/frontend/gui/screen_history.py 2009-05-06 03:40:22 +0000 | |||
637 | @@ -1,9 +1,6 @@ | |||
638 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
639 | 1 | '''Stack container for screen objects''' | 2 | '''Stack container for screen objects''' |
640 | 2 | 3 | ||
641 | 3 | __licence__ = "GPLv2" | ||
642 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
643 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
644 | 6 | |||
645 | 7 | class ScreenHistory: | 4 | class ScreenHistory: |
646 | 8 | """ | 5 | """ |
647 | 9 | ScreenHistory contains latest screens. History is a stack container. | 6 | ScreenHistory contains latest screens. History is a stack container. |
648 | 10 | 7 | ||
649 | === modified file 'entertainerlib/frontend/gui/screens/__init__.py' | |||
650 | --- entertainerlib/frontend/gui/screens/__init__.py 2008-08-16 04:28:47 +0000 | |||
651 | +++ entertainerlib/frontend/gui/screens/__init__.py 2009-05-06 03:40:22 +0000 | |||
652 | @@ -1,1 +1,2 @@ | |||
653 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
654 | 1 | '''Various GUI screens''' | 2 | '''Various GUI screens''' |
655 | 2 | 3 | ||
656 | === modified file 'entertainerlib/frontend/gui/screens/album.py' | |||
657 | --- entertainerlib/frontend/gui/screens/album.py 2009-04-27 03:32:30 +0000 | |||
658 | +++ entertainerlib/frontend/gui/screens/album.py 2009-05-06 03:40:22 +0000 | |||
659 | @@ -1,9 +1,6 @@ | |||
660 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
661 | 1 | '''Album - Screen allows user to browse and play tracks of the album''' | 2 | '''Album - Screen allows user to browse and play tracks of the album''' |
662 | 2 | 3 | ||
663 | 3 | __licence__ = "GPLv2" | ||
664 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
665 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
666 | 6 | |||
667 | 7 | import gtk | 4 | import gtk |
668 | 8 | import clutter | 5 | import clutter |
669 | 9 | import pango | 6 | import pango |
670 | 10 | 7 | ||
671 | === modified file 'entertainerlib/frontend/gui/screens/artist.py' | |||
672 | --- entertainerlib/frontend/gui/screens/artist.py 2009-04-27 03:32:30 +0000 | |||
673 | +++ entertainerlib/frontend/gui/screens/artist.py 2009-05-06 03:40:22 +0000 | |||
674 | @@ -1,9 +1,6 @@ | |||
675 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
676 | 1 | '''Artist - Screen allows user to browse music of one specific artist''' | 2 | '''Artist - Screen allows user to browse music of one specific artist''' |
677 | 2 | 3 | ||
678 | 3 | __licence__ = "GPLv2" | ||
679 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
680 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
681 | 6 | |||
682 | 7 | import pango | 4 | import pango |
683 | 8 | 5 | ||
684 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
685 | 10 | 7 | ||
686 | === modified file 'entertainerlib/frontend/gui/screens/audio_play.py' | |||
687 | --- entertainerlib/frontend/gui/screens/audio_play.py 2009-04-27 03:32:30 +0000 | |||
688 | +++ entertainerlib/frontend/gui/screens/audio_play.py 2009-05-06 03:40:22 +0000 | |||
689 | @@ -1,10 +1,7 @@ | |||
690 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
691 | 1 | '''AudioPlay - Screen displays information of currently playing audio''' | 2 | '''AudioPlay - Screen displays information of currently playing audio''' |
692 | 2 | # pylint: disable-msg=W0221 | 3 | # pylint: disable-msg=W0221 |
693 | 3 | 4 | ||
694 | 4 | __licence__ = "GPLv2" | ||
695 | 5 | __copyright__ = "2007, Lauri Taimila" | ||
696 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
697 | 7 | |||
698 | 8 | import gtk | 5 | import gtk |
699 | 9 | import gobject | 6 | import gobject |
700 | 10 | import clutter | 7 | import clutter |
701 | 11 | 8 | ||
702 | === modified file 'entertainerlib/frontend/gui/screens/disc.py' | |||
703 | --- entertainerlib/frontend/gui/screens/disc.py 2009-04-27 03:32:30 +0000 | |||
704 | +++ entertainerlib/frontend/gui/screens/disc.py 2009-05-06 03:40:22 +0000 | |||
705 | @@ -1,9 +1,6 @@ | |||
706 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
707 | 1 | '''Disc - Screen allows user to browse and play tracks from CD album.''' | 2 | '''Disc - Screen allows user to browse and play tracks from CD album.''' |
708 | 2 | 3 | ||
709 | 3 | __licence__ = "GPLv2" | ||
710 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
711 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
712 | 6 | |||
713 | 7 | import os | 4 | import os |
714 | 8 | 5 | ||
715 | 9 | import cdrom | 6 | import cdrom |
716 | 10 | 7 | ||
717 | === modified file 'entertainerlib/frontend/gui/screens/factory.py' | |||
718 | --- entertainerlib/frontend/gui/screens/factory.py 2009-02-07 17:12:21 +0000 | |||
719 | +++ entertainerlib/frontend/gui/screens/factory.py 2009-04-28 22:30:06 +0000 | |||
720 | @@ -1,9 +1,6 @@ | |||
721 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
722 | 1 | '''ScreenFactory - Create correct screen based on the type provided.''' | 2 | '''ScreenFactory - Create correct screen based on the type provided.''' |
723 | 2 | 3 | ||
724 | 3 | __licence__ = 'GPLv2' | ||
725 | 4 | __copyright__ = '2009, Matt Layman' | ||
726 | 5 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
727 | 6 | |||
728 | 7 | from entertainerlib.frontend.gui.screens.artist import Artist | 4 | from entertainerlib.frontend.gui.screens.artist import Artist |
729 | 8 | from entertainerlib.frontend.gui.screens.album import Album | 5 | from entertainerlib.frontend.gui.screens.album import Album |
730 | 9 | from entertainerlib.frontend.gui.screens.audio_play import AudioPlay | 6 | from entertainerlib.frontend.gui.screens.audio_play import AudioPlay |
731 | 10 | 7 | ||
732 | === modified file 'entertainerlib/frontend/gui/screens/feed.py' | |||
733 | --- entertainerlib/frontend/gui/screens/feed.py 2009-04-27 03:32:30 +0000 | |||
734 | +++ entertainerlib/frontend/gui/screens/feed.py 2009-05-06 03:40:22 +0000 | |||
735 | @@ -1,9 +1,6 @@ | |||
736 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
737 | 1 | '''Feed - Screen that contains a list of entries in one feed''' | 2 | '''Feed - Screen that contains a list of entries in one feed''' |
738 | 2 | 3 | ||
739 | 3 | __licence__ = "GPLv2" | ||
740 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
741 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
742 | 6 | |||
743 | 7 | import pango | 4 | import pango |
744 | 8 | 5 | ||
745 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
746 | 10 | 7 | ||
747 | === modified file 'entertainerlib/frontend/gui/screens/feed_entry.py' | |||
748 | --- entertainerlib/frontend/gui/screens/feed_entry.py 2009-04-27 03:32:30 +0000 | |||
749 | +++ entertainerlib/frontend/gui/screens/feed_entry.py 2009-05-06 03:40:22 +0000 | |||
750 | @@ -1,9 +1,6 @@ | |||
751 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
752 | 1 | '''FeedEntry - Screen displays one entry of some RSS feed''' | 2 | '''FeedEntry - Screen displays one entry of some RSS feed''' |
753 | 2 | 3 | ||
754 | 3 | __licence__ = "GPLv2" | ||
755 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
756 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
757 | 6 | |||
758 | 7 | import pango | 4 | import pango |
759 | 8 | 5 | ||
760 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
761 | 10 | 7 | ||
762 | === modified file 'entertainerlib/frontend/gui/screens/main.py' | |||
763 | --- entertainerlib/frontend/gui/screens/main.py 2009-05-05 10:44:08 +0000 | |||
764 | +++ entertainerlib/frontend/gui/screens/main.py 2009-05-09 17:03:51 +0000 | |||
765 | @@ -1,9 +1,6 @@ | |||
766 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
767 | 1 | '''Main - Screen has a main menu''' | 2 | '''Main - Screen has a main menu''' |
768 | 2 | 3 | ||
769 | 3 | __licence__ = "GPLv2" | ||
770 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
771 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
772 | 6 | |||
773 | 7 | import clutter | 4 | import clutter |
774 | 8 | 5 | ||
775 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
776 | 10 | 7 | ||
777 | === modified file 'entertainerlib/frontend/gui/screens/movie.py' | |||
778 | --- entertainerlib/frontend/gui/screens/movie.py 2009-04-27 03:32:30 +0000 | |||
779 | +++ entertainerlib/frontend/gui/screens/movie.py 2009-05-06 03:40:22 +0000 | |||
780 | @@ -1,9 +1,6 @@ | |||
781 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
782 | 1 | '''Movie - Screen allows user to view movie information''' | 2 | '''Movie - Screen allows user to view movie information''' |
783 | 2 | 3 | ||
784 | 3 | __licence__ = "GPLv2" | ||
785 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
786 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
787 | 6 | |||
788 | 7 | import clutter | 4 | import clutter |
789 | 8 | import gtk | 5 | import gtk |
790 | 9 | import pango | 6 | import pango |
791 | 10 | 7 | ||
792 | === modified file 'entertainerlib/frontend/gui/screens/music.py' | |||
793 | --- entertainerlib/frontend/gui/screens/music.py 2009-04-27 03:32:30 +0000 | |||
794 | +++ entertainerlib/frontend/gui/screens/music.py 2009-05-06 03:40:22 +0000 | |||
795 | @@ -1,9 +1,6 @@ | |||
796 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
797 | 1 | '''Music - Screen allows user to select music he/she wants to listen''' | 2 | '''Music - Screen allows user to select music he/she wants to listen''' |
798 | 2 | 3 | ||
799 | 3 | __licence__ = "GPLv2" | ||
800 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
801 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
802 | 6 | |||
803 | 7 | from entertainerlib.frontend.gui.screens.screen import Screen | 4 | from entertainerlib.frontend.gui.screens.screen import Screen |
804 | 8 | from entertainerlib.frontend.gui.tabs.albums_tab import AlbumsTab | 5 | from entertainerlib.frontend.gui.tabs.albums_tab import AlbumsTab |
805 | 9 | from entertainerlib.frontend.gui.tabs.artists_tab import ArtistsTab | 6 | from entertainerlib.frontend.gui.tabs.artists_tab import ArtistsTab |
806 | 10 | 7 | ||
807 | === modified file 'entertainerlib/frontend/gui/screens/photo.py' | |||
808 | --- entertainerlib/frontend/gui/screens/photo.py 2009-04-27 03:32:30 +0000 | |||
809 | +++ entertainerlib/frontend/gui/screens/photo.py 2009-05-06 03:40:22 +0000 | |||
810 | @@ -1,9 +1,6 @@ | |||
811 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
812 | 1 | '''Photo - Screen displays photograph in fullscreen''' | 2 | '''Photo - Screen displays photograph in fullscreen''' |
813 | 2 | 3 | ||
814 | 3 | __licence__ = "GPLv2" | ||
815 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
816 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
817 | 6 | |||
818 | 7 | import clutter | 4 | import clutter |
819 | 8 | import gobject | 5 | import gobject |
820 | 9 | 6 | ||
821 | 10 | 7 | ||
822 | === modified file 'entertainerlib/frontend/gui/screens/photo_albums.py' | |||
823 | --- entertainerlib/frontend/gui/screens/photo_albums.py 2009-04-27 03:32:30 +0000 | |||
824 | +++ entertainerlib/frontend/gui/screens/photo_albums.py 2009-05-06 03:40:22 +0000 | |||
825 | @@ -1,9 +1,6 @@ | |||
826 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
827 | 1 | '''PhotoAlbums - Screen contains a list of photograph albums''' | 2 | '''PhotoAlbums - Screen contains a list of photograph albums''' |
828 | 2 | 3 | ||
829 | 3 | __licence__ = "GPLv2" | ||
830 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
831 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
832 | 6 | |||
833 | 7 | import gtk | 4 | import gtk |
834 | 8 | import pango | 5 | import pango |
835 | 9 | import gobject | 6 | import gobject |
836 | 10 | 7 | ||
837 | === modified file 'entertainerlib/frontend/gui/screens/photographs.py' | |||
838 | --- entertainerlib/frontend/gui/screens/photographs.py 2009-04-27 03:32:30 +0000 | |||
839 | +++ entertainerlib/frontend/gui/screens/photographs.py 2009-05-06 03:40:22 +0000 | |||
840 | @@ -1,9 +1,6 @@ | |||
841 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
842 | 1 | '''Photographs - Screen contains a list/grid of photographs''' | 2 | '''Photographs - Screen contains a list/grid of photographs''' |
843 | 2 | 3 | ||
844 | 3 | __licence__ = "GPLv2" | ||
845 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
846 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
847 | 6 | |||
848 | 7 | import pango | 4 | import pango |
849 | 8 | import clutter | 5 | import clutter |
850 | 9 | import gobject | 6 | import gobject |
851 | 10 | 7 | ||
852 | === modified file 'entertainerlib/frontend/gui/screens/question.py' | |||
853 | --- entertainerlib/frontend/gui/screens/question.py 2009-04-27 03:32:30 +0000 | |||
854 | +++ entertainerlib/frontend/gui/screens/question.py 2009-05-06 01:35:19 +0000 | |||
855 | @@ -1,9 +1,6 @@ | |||
856 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
857 | 1 | '''Question - Screen displays a question label and specified buttons.''' | 2 | '''Question - Screen displays a question label and specified buttons.''' |
858 | 2 | 3 | ||
859 | 3 | __licence__ = "GPLv2" | ||
860 | 4 | __copyright__ = "2008, Teje Rodgers" | ||
861 | 5 | __author__ = "Teje Rodgers <contact@tejerodgers.com>" | ||
862 | 6 | |||
863 | 7 | from entertainerlib.frontend.gui.screens.screen import Screen | 4 | from entertainerlib.frontend.gui.screens.screen import Screen |
864 | 8 | from entertainerlib.frontend.gui.transitions.transition import Transition | 5 | from entertainerlib.frontend.gui.transitions.transition import Transition |
865 | 9 | from entertainerlib.frontend.gui.widgets.label import Label | 6 | from entertainerlib.frontend.gui.widgets.label import Label |
866 | 10 | 7 | ||
867 | === modified file 'entertainerlib/frontend/gui/screens/rss.py' | |||
868 | --- entertainerlib/frontend/gui/screens/rss.py 2009-04-27 03:32:30 +0000 | |||
869 | +++ entertainerlib/frontend/gui/screens/rss.py 2009-05-06 03:40:22 +0000 | |||
870 | @@ -1,9 +1,6 @@ | |||
871 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
872 | 1 | '''Rss - Screen displays RSS feeds''' | 2 | '''Rss - Screen displays RSS feeds''' |
873 | 2 | 3 | ||
874 | 3 | __licence__ = "GPLv2" | ||
875 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
876 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
877 | 6 | |||
878 | 7 | import pango | 4 | import pango |
879 | 8 | 5 | ||
880 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
881 | 10 | 7 | ||
882 | === modified file 'entertainerlib/frontend/gui/screens/screen.py' | |||
883 | --- entertainerlib/frontend/gui/screens/screen.py 2009-04-30 01:16:33 +0000 | |||
884 | +++ entertainerlib/frontend/gui/screens/screen.py 2009-05-06 03:40:22 +0000 | |||
885 | @@ -1,8 +1,5 @@ | |||
891 | 1 | '''Screen - Screen interface. All screens has to implement this interface!''' | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
892 | 2 | 2 | '''Screen - Screen interface. All screens have to implement this interface!''' | |
888 | 3 | __licence__ = "GPLv2" | ||
889 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
890 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
893 | 6 | 3 | ||
894 | 7 | from collections import defaultdict | 4 | from collections import defaultdict |
895 | 8 | 5 | ||
896 | 9 | 6 | ||
897 | === modified file 'entertainerlib/frontend/gui/screens/tv_episodes.py' | |||
898 | --- entertainerlib/frontend/gui/screens/tv_episodes.py 2009-04-27 03:32:30 +0000 | |||
899 | +++ entertainerlib/frontend/gui/screens/tv_episodes.py 2009-05-06 03:40:22 +0000 | |||
900 | @@ -1,9 +1,6 @@ | |||
901 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
902 | 1 | '''TvEpisodes - Screen allows user to browse episodes of a season''' | 2 | '''TvEpisodes - Screen allows user to browse episodes of a season''' |
903 | 2 | 3 | ||
904 | 3 | __licence__ = "GPLv2" | ||
905 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
906 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
907 | 6 | |||
908 | 7 | import gtk | 4 | import gtk |
909 | 8 | import pango | 5 | import pango |
910 | 9 | 6 | ||
911 | 10 | 7 | ||
912 | === modified file 'entertainerlib/frontend/gui/screens/tv_series.py' | |||
913 | --- entertainerlib/frontend/gui/screens/tv_series.py 2009-04-27 03:32:30 +0000 | |||
914 | +++ entertainerlib/frontend/gui/screens/tv_series.py 2009-05-06 03:40:22 +0000 | |||
915 | @@ -1,9 +1,6 @@ | |||
916 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
917 | 1 | '''TvSeries - Screen allows user to browse seasons of one TV series''' | 2 | '''TvSeries - Screen allows user to browse seasons of one TV series''' |
918 | 2 | 3 | ||
919 | 3 | __licence__ = "GPLv2" | ||
920 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
921 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
922 | 6 | |||
923 | 7 | import gtk | 4 | import gtk |
924 | 8 | 5 | ||
925 | 9 | from entertainerlib.frontend.gui.screens.screen import Screen | 6 | from entertainerlib.frontend.gui.screens.screen import Screen |
926 | 10 | 7 | ||
927 | === modified file 'entertainerlib/frontend/gui/screens/video.py' | |||
928 | --- entertainerlib/frontend/gui/screens/video.py 2009-04-27 03:32:30 +0000 | |||
929 | +++ entertainerlib/frontend/gui/screens/video.py 2009-05-06 03:40:22 +0000 | |||
930 | @@ -1,9 +1,6 @@ | |||
931 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
932 | 1 | '''Video - Screen allows user to browse video library content''' | 2 | '''Video - Screen allows user to browse video library content''' |
933 | 2 | 3 | ||
934 | 3 | __licence__ = "GPLv2" | ||
935 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
936 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
937 | 6 | |||
938 | 7 | from entertainerlib.frontend.gui.screens.screen import Screen | 4 | from entertainerlib.frontend.gui.screens.screen import Screen |
939 | 8 | from entertainerlib.frontend.gui.tabs.movies_tab import MoviesTab | 5 | from entertainerlib.frontend.gui.tabs.movies_tab import MoviesTab |
940 | 9 | from entertainerlib.frontend.gui.tabs.series_tab import SeriesTab | 6 | from entertainerlib.frontend.gui.tabs.series_tab import SeriesTab |
941 | 10 | 7 | ||
942 | === modified file 'entertainerlib/frontend/gui/screens/video_osd.py' | |||
943 | --- entertainerlib/frontend/gui/screens/video_osd.py 2009-04-27 03:32:30 +0000 | |||
944 | +++ entertainerlib/frontend/gui/screens/video_osd.py 2009-05-06 02:58:08 +0000 | |||
945 | @@ -1,9 +1,6 @@ | |||
946 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
947 | 1 | '''VideoOSD - Screen is used for video playback On Screen Display''' | 2 | '''VideoOSD - Screen is used for video playback On Screen Display''' |
948 | 2 | 3 | ||
949 | 3 | __licence__ = "GPLv2" | ||
950 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
951 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
952 | 6 | |||
953 | 7 | import gobject | 4 | import gobject |
954 | 8 | import clutter | 5 | import clutter |
955 | 9 | 6 | ||
956 | @@ -105,10 +102,7 @@ | |||
957 | 105 | self.seekforward_opacity.apply(self.seekforward_texture) | 102 | self.seekforward_opacity.apply(self.seekforward_texture) |
958 | 106 | 103 | ||
959 | 107 | def _create_progress_bar(self): | 104 | def _create_progress_bar(self): |
964 | 108 | """ | 105 | '''Create the progress bar.''' |
961 | 109 | Create the progress bar | ||
962 | 110 | @author Joshua Scotton | ||
963 | 111 | """ | ||
965 | 112 | # Current position as time stamp | 106 | # Current position as time stamp |
966 | 113 | self.current_pos = Label(0.0365, "title", 0.6, 0.9, "00:00") | 107 | self.current_pos = Label(0.0365, "title", 0.6, 0.9, "00:00") |
967 | 114 | self.add(self.current_pos) | 108 | self.add(self.current_pos) |
968 | @@ -122,19 +116,13 @@ | |||
969 | 122 | self.display_progress_bar() | 116 | self.display_progress_bar() |
970 | 123 | 117 | ||
971 | 124 | def _update_progress_bar(self): | 118 | def _update_progress_bar(self): |
976 | 125 | """ | 119 | '''Update the progress bar.''' |
973 | 126 | Update progress bar | ||
974 | 127 | @author Joshua Scotton | ||
975 | 128 | """ | ||
977 | 129 | self.progress_bar.set_progress(self.media_player.get_media_position()) | 120 | self.progress_bar.set_progress(self.media_player.get_media_position()) |
978 | 130 | self.current_pos.set_text(self.media_player.get_media_position_string()) | 121 | self.current_pos.set_text(self.media_player.get_media_position_string()) |
979 | 131 | return True | 122 | return True |
980 | 132 | 123 | ||
981 | 133 | def display_progress_bar(self, hide_after_delay=True): | 124 | def display_progress_bar(self, hide_after_delay=True): |
986 | 134 | """ | 125 | '''Display the progress bar for three seconds.''' |
983 | 135 | This displays the progress bar for three seconds | ||
984 | 136 | @author Joshua Scotton | ||
985 | 137 | """ | ||
987 | 138 | self.progress_bar.show() | 126 | self.progress_bar.show() |
988 | 139 | self.current_pos.show() | 127 | self.current_pos.show() |
989 | 140 | if self.progress_bar_timeout_key is not None: | 128 | if self.progress_bar_timeout_key is not None: |
990 | @@ -144,10 +132,7 @@ | |||
991 | 144 | self.hide_progress_bar) | 132 | self.hide_progress_bar) |
992 | 145 | 133 | ||
993 | 146 | def hide_progress_bar(self): | 134 | def hide_progress_bar(self): |
998 | 147 | """ | 135 | '''Hide the progress bar.''' |
995 | 148 | This hides the progress bar | ||
996 | 149 | @author Joshua Scotton | ||
997 | 150 | """ | ||
999 | 151 | self.progress_bar.hide() | 136 | self.progress_bar.hide() |
1000 | 152 | self.current_pos.hide() | 137 | self.current_pos.hide() |
1001 | 153 | 138 | ||
1002 | 154 | 139 | ||
1003 | === modified file 'entertainerlib/frontend/gui/screens/weather.py' | |||
1004 | --- entertainerlib/frontend/gui/screens/weather.py 2009-05-06 06:16:24 +0000 | |||
1005 | +++ entertainerlib/frontend/gui/screens/weather.py 2009-05-09 17:03:51 +0000 | |||
1006 | @@ -1,9 +1,6 @@ | |||
1007 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1008 | 1 | '''WeatherScreen - Screen allows user to view current weather conditions''' | 2 | '''WeatherScreen - Screen allows user to view current weather conditions''' |
1009 | 2 | 3 | ||
1010 | 3 | __licence__ = "GPLv2" | ||
1011 | 4 | __copyright__ = "2008, Jamie Bennett" | ||
1012 | 5 | __author__ = "Jamie Bennett <jamie@linuxuk.org>" | ||
1013 | 6 | |||
1014 | 7 | from entertainerlib.frontend.gui.screens.screen import Screen | 4 | from entertainerlib.frontend.gui.screens.screen import Screen |
1015 | 8 | from entertainerlib.frontend.gui.widgets.label import Label | 5 | from entertainerlib.frontend.gui.widgets.label import Label |
1016 | 9 | from entertainerlib.frontend.gui.widgets.texture import Texture | 6 | from entertainerlib.frontend.gui.widgets.texture import Texture |
1017 | 10 | 7 | ||
1018 | === modified file 'entertainerlib/frontend/gui/tabs/__init__.py' | |||
1019 | --- entertainerlib/frontend/gui/tabs/__init__.py 2008-06-08 02:53:33 +0000 | |||
1020 | +++ entertainerlib/frontend/gui/tabs/__init__.py 2009-05-06 03:40:22 +0000 | |||
1021 | @@ -1,1 +1,2 @@ | |||
1022 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1023 | 1 | '''Frontend GUI tabs module''' | 2 | '''Frontend GUI tabs module''' |
1024 | 2 | 3 | ||
1025 | === modified file 'entertainerlib/frontend/gui/tabs/albums_tab.py' | |||
1026 | --- entertainerlib/frontend/gui/tabs/albums_tab.py 2009-02-03 23:37:57 +0000 | |||
1027 | +++ entertainerlib/frontend/gui/tabs/albums_tab.py 2009-04-28 22:30:06 +0000 | |||
1028 | @@ -1,10 +1,7 @@ | |||
1029 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1030 | 1 | '''Albums tab which displays albums and allows users to select them''' | 2 | '''Albums tab which displays albums and allows users to select them''' |
1031 | 2 | # pylint: disable-msg=W1001 | 3 | # pylint: disable-msg=W1001 |
1032 | 3 | 4 | ||
1033 | 4 | __licence__ = "GPLv2" | ||
1034 | 5 | __copyright__ = "2008, Matt Layman" | ||
1035 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1036 | 7 | |||
1037 | 8 | import clutter | 5 | import clutter |
1038 | 9 | import gobject | 6 | import gobject |
1039 | 10 | import pango | 7 | import pango |
1040 | 11 | 8 | ||
1041 | === modified file 'entertainerlib/frontend/gui/tabs/artists_tab.py' | |||
1042 | --- entertainerlib/frontend/gui/tabs/artists_tab.py 2009-02-03 23:37:57 +0000 | |||
1043 | +++ entertainerlib/frontend/gui/tabs/artists_tab.py 2009-04-28 22:30:06 +0000 | |||
1044 | @@ -1,10 +1,7 @@ | |||
1045 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1046 | 1 | '''Artists tab for the music screen''' | 2 | '''Artists tab for the music screen''' |
1047 | 2 | # pylint: disable-msg=W1001 | 3 | # pylint: disable-msg=W1001 |
1048 | 3 | 4 | ||
1049 | 4 | __licence__ = "GPLv2" | ||
1050 | 5 | __copyright__ = "2008, Matt Layman" | ||
1051 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1052 | 7 | |||
1053 | 8 | import clutter | 5 | import clutter |
1054 | 9 | import gobject | 6 | import gobject |
1055 | 10 | import pango | 7 | import pango |
1056 | 11 | 8 | ||
1057 | === modified file 'entertainerlib/frontend/gui/tabs/lyrics_tab.py' | |||
1058 | --- entertainerlib/frontend/gui/tabs/lyrics_tab.py 2009-04-21 21:04:56 +0000 | |||
1059 | +++ entertainerlib/frontend/gui/tabs/lyrics_tab.py 2009-05-09 17:03:51 +0000 | |||
1060 | @@ -1,9 +1,6 @@ | |||
1061 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1062 | 1 | '''Lyrics tab for the audio play screen''' | 2 | '''Lyrics tab for the audio play screen''' |
1063 | 2 | 3 | ||
1064 | 3 | __licence__ = "GPLv2" | ||
1065 | 4 | __copyright__ = "2008, Matt Layman" | ||
1066 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1067 | 6 | |||
1068 | 7 | import pango | 4 | import pango |
1069 | 8 | import clutter | 5 | import clutter |
1070 | 9 | 6 | ||
1071 | 10 | 7 | ||
1072 | === modified file 'entertainerlib/frontend/gui/tabs/movies_tab.py' | |||
1073 | --- entertainerlib/frontend/gui/tabs/movies_tab.py 2009-02-03 23:37:57 +0000 | |||
1074 | +++ entertainerlib/frontend/gui/tabs/movies_tab.py 2009-05-06 03:40:22 +0000 | |||
1075 | @@ -1,9 +1,6 @@ | |||
1076 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1077 | 1 | '''MoviesTab - MoviesTab is group of objects that are displayed on movie tab''' | 2 | '''MoviesTab - MoviesTab is group of objects that are displayed on movie tab''' |
1078 | 2 | 3 | ||
1079 | 3 | __licence__ = "GPLv2" | ||
1080 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1081 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1082 | 6 | |||
1083 | 7 | import clutter | 4 | import clutter |
1084 | 8 | import gtk | 5 | import gtk |
1085 | 9 | import pango | 6 | import pango |
1086 | 10 | 7 | ||
1087 | === modified file 'entertainerlib/frontend/gui/tabs/playing_tab.py' | |||
1088 | --- entertainerlib/frontend/gui/tabs/playing_tab.py 2009-02-06 08:33:50 +0000 | |||
1089 | +++ entertainerlib/frontend/gui/tabs/playing_tab.py 2009-04-28 22:30:06 +0000 | |||
1090 | @@ -1,9 +1,6 @@ | |||
1091 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1092 | 1 | '''Currently playing tab for the audio screen''' | 2 | '''Currently playing tab for the audio screen''' |
1093 | 2 | 3 | ||
1094 | 3 | __licence__ = "GPLv2" | ||
1095 | 4 | __copyright__ = "2008, Matt Layman" | ||
1096 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1097 | 6 | |||
1098 | 7 | import pango | 4 | import pango |
1099 | 8 | 5 | ||
1100 | 9 | from entertainerlib.frontend.gui.tabs.tab import Tab | 6 | from entertainerlib.frontend.gui.tabs.tab import Tab |
1101 | 10 | 7 | ||
1102 | === modified file 'entertainerlib/frontend/gui/tabs/series_tab.py' | |||
1103 | --- entertainerlib/frontend/gui/tabs/series_tab.py 2009-02-03 23:37:57 +0000 | |||
1104 | +++ entertainerlib/frontend/gui/tabs/series_tab.py 2009-05-06 03:40:22 +0000 | |||
1105 | @@ -1,9 +1,6 @@ | |||
1106 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1107 | 1 | '''SeriesTab - Group of objects that are displayed on tv-series tab''' | 2 | '''SeriesTab - Group of objects that are displayed on tv-series tab''' |
1108 | 2 | 3 | ||
1109 | 3 | __licence__ = "GPLv2" | ||
1110 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1111 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1112 | 6 | |||
1113 | 7 | import clutter | 4 | import clutter |
1114 | 8 | import gtk | 5 | import gtk |
1115 | 9 | import pango | 6 | import pango |
1116 | 10 | 7 | ||
1117 | === modified file 'entertainerlib/frontend/gui/tabs/tab.py' | |||
1118 | --- entertainerlib/frontend/gui/tabs/tab.py 2009-02-28 17:22:46 +0000 | |||
1119 | +++ entertainerlib/frontend/gui/tabs/tab.py 2009-05-06 03:40:22 +0000 | |||
1120 | @@ -1,9 +1,6 @@ | |||
1121 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1122 | 1 | '''Tab - Tab is group of objects that are displayed on one tab''' | 2 | '''Tab - Tab is group of objects that are displayed on one tab''' |
1123 | 2 | 3 | ||
1124 | 3 | __licence__ = "GPLv2" | ||
1125 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1126 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1127 | 6 | |||
1128 | 7 | import clutter | 4 | import clutter |
1129 | 8 | 5 | ||
1130 | 9 | from entertainerlib.frontend.gui.user_event import UserEvent | 6 | from entertainerlib.frontend.gui.user_event import UserEvent |
1131 | 10 | 7 | ||
1132 | === modified file 'entertainerlib/frontend/gui/tabs/tracks_tab.py' | |||
1133 | --- entertainerlib/frontend/gui/tabs/tracks_tab.py 2009-02-03 23:37:57 +0000 | |||
1134 | +++ entertainerlib/frontend/gui/tabs/tracks_tab.py 2009-04-28 22:30:06 +0000 | |||
1135 | @@ -1,9 +1,6 @@ | |||
1136 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1137 | 1 | '''Tracks tab for the artist screen''' | 2 | '''Tracks tab for the artist screen''' |
1138 | 2 | 3 | ||
1139 | 3 | __licence__ = "GPLv2" | ||
1140 | 4 | __copyright__ = "2008, Matt Layman" | ||
1141 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1142 | 6 | |||
1143 | 7 | import clutter | 4 | import clutter |
1144 | 8 | import pango | 5 | import pango |
1145 | 9 | 6 | ||
1146 | 10 | 7 | ||
1147 | === modified file 'entertainerlib/frontend/gui/tabs/video_clips_tab.py' | |||
1148 | --- entertainerlib/frontend/gui/tabs/video_clips_tab.py 2009-02-03 23:37:57 +0000 | |||
1149 | +++ entertainerlib/frontend/gui/tabs/video_clips_tab.py 2009-05-06 03:40:22 +0000 | |||
1150 | @@ -1,9 +1,6 @@ | |||
1151 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1152 | 1 | '''VideoClipsTab - Group of objects that are displayed on video clips tab''' | 2 | '''VideoClipsTab - Group of objects that are displayed on video clips tab''' |
1153 | 2 | 3 | ||
1154 | 3 | __licence__ = "GPLv2" | ||
1155 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1156 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1157 | 6 | |||
1158 | 7 | import os | 4 | import os |
1159 | 8 | 5 | ||
1160 | 9 | import gtk | 6 | import gtk |
1161 | 10 | 7 | ||
1162 | === modified file 'entertainerlib/frontend/gui/transitions/__init__.py' | |||
1163 | --- entertainerlib/frontend/gui/transitions/__init__.py 2008-08-02 21:33:38 +0000 | |||
1164 | +++ entertainerlib/frontend/gui/transitions/__init__.py 2009-05-06 03:40:22 +0000 | |||
1165 | @@ -1,1 +1,2 @@ | |||
1166 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1167 | 1 | '''Frontend GUI transitions module''' | 2 | '''Frontend GUI transitions module''' |
1168 | 2 | 3 | ||
1169 | === modified file 'entertainerlib/frontend/gui/transitions/factory.py' | |||
1170 | --- entertainerlib/frontend/gui/transitions/factory.py 2009-02-07 17:12:21 +0000 | |||
1171 | +++ entertainerlib/frontend/gui/transitions/factory.py 2009-04-28 22:30:06 +0000 | |||
1172 | @@ -1,10 +1,7 @@ | |||
1173 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1174 | 1 | '''TransitionFactory - create a transition object based on the configuration | 2 | '''TransitionFactory - create a transition object based on the configuration |
1175 | 2 | that is in the user's preferences''' | 3 | that is in the user's preferences''' |
1176 | 3 | 4 | ||
1177 | 4 | __licence__ = 'GPLv2' | ||
1178 | 5 | __copyright__ = '2009, Matt Layman' | ||
1179 | 6 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
1180 | 7 | |||
1181 | 8 | from entertainerlib.frontend.gui.transitions.fade import Fade | 5 | from entertainerlib.frontend.gui.transitions.fade import Fade |
1182 | 9 | from entertainerlib.frontend.gui.transitions.no_effect import NoEffect | 6 | from entertainerlib.frontend.gui.transitions.no_effect import NoEffect |
1183 | 10 | from entertainerlib.frontend.gui.transitions.slide import Slide | 7 | from entertainerlib.frontend.gui.transitions.slide import Slide |
1184 | 11 | 8 | ||
1185 | === modified file 'entertainerlib/frontend/gui/transitions/fade.py' | |||
1186 | --- entertainerlib/frontend/gui/transitions/fade.py 2009-01-26 23:11:40 +0000 | |||
1187 | +++ entertainerlib/frontend/gui/transitions/fade.py 2009-05-06 03:40:22 +0000 | |||
1188 | @@ -1,10 +1,8 @@ | |||
1189 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1190 | 1 | '''Fade - Transition to fade out old screen and fade in the new screen''' | 2 | '''Fade - Transition to fade out old screen and fade in the new screen''' |
1191 | 2 | 3 | ||
1192 | 3 | __licence__ = "GPLv2" | ||
1193 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1194 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1195 | 6 | |||
1196 | 7 | import clutter | 4 | import clutter |
1197 | 5 | |||
1198 | 8 | from entertainerlib.frontend.gui.transitions.transition import Transition | 6 | from entertainerlib.frontend.gui.transitions.transition import Transition |
1199 | 9 | 7 | ||
1200 | 10 | class Fade(Transition): | 8 | class Fade(Transition): |
1201 | 11 | 9 | ||
1202 | === modified file 'entertainerlib/frontend/gui/transitions/no_effect.py' | |||
1203 | --- entertainerlib/frontend/gui/transitions/no_effect.py 2009-01-26 23:11:40 +0000 | |||
1204 | +++ entertainerlib/frontend/gui/transitions/no_effect.py 2009-05-06 03:40:22 +0000 | |||
1205 | @@ -1,9 +1,6 @@ | |||
1206 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1207 | 1 | '''NoEffect - Simple change transition from screen 1 to screen 2''' | 2 | '''NoEffect - Simple change transition from screen 1 to screen 2''' |
1208 | 2 | 3 | ||
1209 | 3 | __licence__ = "GPLv2" | ||
1210 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1211 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1212 | 6 | |||
1213 | 7 | from entertainerlib.frontend.gui.transitions.transition import Transition | 4 | from entertainerlib.frontend.gui.transitions.transition import Transition |
1214 | 8 | 5 | ||
1215 | 9 | class NoEffect(Transition): | 6 | class NoEffect(Transition): |
1216 | 10 | 7 | ||
1217 | === modified file 'entertainerlib/frontend/gui/transitions/slide.py' | |||
1218 | --- entertainerlib/frontend/gui/transitions/slide.py 2009-04-27 02:33:38 +0000 | |||
1219 | +++ entertainerlib/frontend/gui/transitions/slide.py 2009-05-06 03:40:22 +0000 | |||
1220 | @@ -1,9 +1,6 @@ | |||
1221 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1222 | 1 | '''Slide - Transition to slide out old screen and slide in the new screen''' | 2 | '''Slide - Transition to slide out old screen and slide in the new screen''' |
1223 | 2 | 3 | ||
1224 | 3 | __licence__ = "GPLv2" | ||
1225 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1226 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1227 | 6 | |||
1228 | 7 | import clutter | 4 | import clutter |
1229 | 8 | 5 | ||
1230 | 9 | from entertainerlib.frontend.gui.transitions.transition import Transition | 6 | from entertainerlib.frontend.gui.transitions.transition import Transition |
1231 | 10 | 7 | ||
1232 | === modified file 'entertainerlib/frontend/gui/transitions/transition.py' | |||
1233 | --- entertainerlib/frontend/gui/transitions/transition.py 2009-01-23 22:44:19 +0000 | |||
1234 | +++ entertainerlib/frontend/gui/transitions/transition.py 2009-05-06 03:40:22 +0000 | |||
1235 | @@ -1,9 +1,6 @@ | |||
1236 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1237 | 1 | '''Transition - All transition effects has to implement this interface!''' | 2 | '''Transition - All transition effects has to implement this interface!''' |
1238 | 2 | 3 | ||
1239 | 3 | __licence__ = "GPLv2" | ||
1240 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1241 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1242 | 6 | |||
1243 | 7 | class Transition: | 4 | class Transition: |
1244 | 8 | """ | 5 | """ |
1245 | 9 | Transition interface | 6 | Transition interface |
1246 | 10 | 7 | ||
1247 | === modified file 'entertainerlib/frontend/gui/transitions/zoom_and_fade.py' | |||
1248 | --- entertainerlib/frontend/gui/transitions/zoom_and_fade.py 2009-01-26 23:11:40 +0000 | |||
1249 | +++ entertainerlib/frontend/gui/transitions/zoom_and_fade.py 2009-05-06 03:40:22 +0000 | |||
1250 | @@ -1,10 +1,8 @@ | |||
1251 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1252 | 1 | '''ZoomAndFade - Transition to zoom and fade between screens''' | 2 | '''ZoomAndFade - Transition to zoom and fade between screens''' |
1253 | 2 | 3 | ||
1254 | 3 | __licence__ = "GPLv2" | ||
1255 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1256 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1257 | 6 | |||
1258 | 7 | import clutter | 4 | import clutter |
1259 | 5 | |||
1260 | 8 | from entertainerlib.frontend.gui.transitions.transition import Transition | 6 | from entertainerlib.frontend.gui.transitions.transition import Transition |
1261 | 9 | 7 | ||
1262 | 10 | class ZoomAndFade(Transition): | 8 | class ZoomAndFade(Transition): |
1263 | 11 | 9 | ||
1264 | === modified file 'entertainerlib/frontend/gui/user_event.py' | |||
1265 | --- entertainerlib/frontend/gui/user_event.py 2009-02-19 23:47:06 +0000 | |||
1266 | +++ entertainerlib/frontend/gui/user_event.py 2009-05-06 03:40:22 +0000 | |||
1267 | @@ -1,9 +1,6 @@ | |||
1268 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1269 | 1 | '''UserEvent - Event generated by user action.''' | 2 | '''UserEvent - Event generated by user action.''' |
1270 | 2 | 3 | ||
1271 | 3 | __licence__ = "GPLv2" | ||
1272 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1273 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1274 | 6 | |||
1275 | 7 | class UserEvent: | 4 | class UserEvent: |
1276 | 8 | """ | 5 | """ |
1277 | 9 | UserEvent object wraps one event. | 6 | UserEvent object wraps one event. |
1278 | 10 | 7 | ||
1279 | === modified file 'entertainerlib/frontend/gui/user_interface.py' | |||
1280 | --- entertainerlib/frontend/gui/user_interface.py 2009-05-05 10:44:08 +0000 | |||
1281 | +++ entertainerlib/frontend/gui/user_interface.py 2009-05-09 17:03:51 +0000 | |||
1282 | @@ -1,13 +1,9 @@ | |||
1283 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1284 | 1 | '''UserInterface - Main window of the Entertainer frontend''' | 2 | '''UserInterface - Main window of the Entertainer frontend''' |
1285 | 2 | 3 | ||
1286 | 3 | # Clutter uses _1 to represent the 1 key and pylint complains about it | 4 | # Clutter uses _1 to represent the 1 key and pylint complains about it |
1287 | 4 | # pylint: disable-msg=W0212 | 5 | # pylint: disable-msg=W0212 |
1288 | 5 | 6 | ||
1289 | 6 | __licence__ = "GPLv2" | ||
1290 | 7 | __copyright__ = "2007, Lauri Taimila, 2009, Matt Layman" | ||
1291 | 8 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
1292 | 9 | 'Matt Layman <laymansterms.dev@gmail.com>') | ||
1293 | 10 | |||
1294 | 11 | from collections import defaultdict | 7 | from collections import defaultdict |
1295 | 12 | import os | 8 | import os |
1296 | 13 | 9 | ||
1297 | 14 | 10 | ||
1298 | === modified file 'entertainerlib/frontend/gui/widgets/__init__.py' | |||
1299 | --- entertainerlib/frontend/gui/widgets/__init__.py 2008-08-02 21:33:38 +0000 | |||
1300 | +++ entertainerlib/frontend/gui/widgets/__init__.py 2009-05-06 03:40:22 +0000 | |||
1301 | @@ -1,1 +1,2 @@ | |||
1302 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1303 | 1 | '''Fronted GUI Widgets''' | 2 | '''Fronted GUI Widgets''' |
1304 | 2 | 3 | ||
1305 | === modified file 'entertainerlib/frontend/gui/widgets/arrow_texture.py' | |||
1306 | --- entertainerlib/frontend/gui/widgets/arrow_texture.py 2008-11-13 19:56:10 +0000 | |||
1307 | +++ entertainerlib/frontend/gui/widgets/arrow_texture.py 2009-05-06 03:40:22 +0000 | |||
1308 | @@ -1,9 +1,6 @@ | |||
1309 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1310 | 1 | '''Displays text in rounded rectangle box''' | 2 | '''Displays text in rounded rectangle box''' |
1311 | 2 | 3 | ||
1312 | 3 | __licence__ = "GPLv2" | ||
1313 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1314 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1315 | 6 | |||
1316 | 7 | import clutter | 4 | import clutter |
1317 | 8 | from cluttercairo import CairoTexture | 5 | from cluttercairo import CairoTexture |
1318 | 9 | 6 | ||
1319 | 10 | 7 | ||
1320 | === modified file 'entertainerlib/frontend/gui/widgets/base.py' | |||
1321 | --- entertainerlib/frontend/gui/widgets/base.py 2009-03-08 03:16:25 +0000 | |||
1322 | +++ entertainerlib/frontend/gui/widgets/base.py 2009-04-28 22:30:06 +0000 | |||
1323 | @@ -1,9 +1,6 @@ | |||
1324 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1325 | 1 | """Base for widgets""" | 2 | """Base for widgets""" |
1326 | 2 | 3 | ||
1327 | 3 | __licence__ = "GPLv2" | ||
1328 | 4 | __copyright__ = "2008, Matt Layman" | ||
1329 | 5 | __author__ = "Matt Layman <laymansterm.dev@gmail.com>" | ||
1330 | 6 | |||
1331 | 7 | from entertainerlib.utils.configuration import Configuration | 4 | from entertainerlib.utils.configuration import Configuration |
1332 | 8 | 5 | ||
1333 | 9 | class Base(object): | 6 | class Base(object): |
1334 | 10 | 7 | ||
1335 | === modified file 'entertainerlib/frontend/gui/widgets/clock_label.py' | |||
1336 | --- entertainerlib/frontend/gui/widgets/clock_label.py 2008-11-29 22:44:32 +0000 | |||
1337 | +++ entertainerlib/frontend/gui/widgets/clock_label.py 2009-05-06 02:58:08 +0000 | |||
1338 | @@ -1,10 +1,6 @@ | |||
1339 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1340 | 1 | '''ClockLabel widget''' | 2 | '''ClockLabel widget''' |
1341 | 2 | 3 | ||
1342 | 3 | __licence__ = "GPLv2" | ||
1343 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1344 | 5 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
1345 | 6 | "Matt Layman <laymansterms.dev@gmail.com>") | ||
1346 | 7 | |||
1347 | 8 | import time | 4 | import time |
1348 | 9 | import gobject | 5 | import gobject |
1349 | 10 | 6 | ||
1350 | 11 | 7 | ||
1351 | === modified file 'entertainerlib/frontend/gui/widgets/eyecandy_texture.py' | |||
1352 | --- entertainerlib/frontend/gui/widgets/eyecandy_texture.py 2008-11-17 21:54:45 +0000 | |||
1353 | +++ entertainerlib/frontend/gui/widgets/eyecandy_texture.py 2009-05-06 03:40:22 +0000 | |||
1354 | @@ -1,10 +1,8 @@ | |||
1355 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1356 | 1 | '''Texture with rounded corners and reflection below''' | 2 | '''Texture with rounded corners and reflection below''' |
1357 | 2 | 3 | ||
1358 | 3 | __licence__ = "GPLv2" | ||
1359 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1360 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1361 | 6 | |||
1362 | 7 | import clutter | 4 | import clutter |
1363 | 5 | |||
1364 | 8 | from entertainerlib.frontend.gui.widgets.rounded_texture import RoundedTexture | 6 | from entertainerlib.frontend.gui.widgets.rounded_texture import RoundedTexture |
1365 | 9 | from entertainerlib.frontend.gui.widgets.reflection_texture import ( | 7 | from entertainerlib.frontend.gui.widgets.reflection_texture import ( |
1366 | 10 | ReflectionTexture) | 8 | ReflectionTexture) |
1367 | 11 | 9 | ||
1368 | === modified file 'entertainerlib/frontend/gui/widgets/grid_menu.py' | |||
1369 | --- entertainerlib/frontend/gui/widgets/grid_menu.py 2009-02-08 08:44:46 +0000 | |||
1370 | +++ entertainerlib/frontend/gui/widgets/grid_menu.py 2009-05-06 02:58:08 +0000 | |||
1371 | @@ -1,9 +1,6 @@ | |||
1372 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1373 | 1 | '''GridMenu contains a grid of textures and allows user to select one''' | 2 | '''GridMenu contains a grid of textures and allows user to select one''' |
1374 | 2 | 3 | ||
1375 | 3 | __licence__ = "GPLv2" | ||
1376 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1377 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1378 | 6 | |||
1379 | 7 | import clutter | 4 | import clutter |
1380 | 8 | 5 | ||
1381 | 9 | class GridMenu(clutter.Group): | 6 | class GridMenu(clutter.Group): |
1382 | @@ -171,10 +168,7 @@ | |||
1383 | 171 | self.itemgroup.remove_all() | 168 | self.itemgroup.remove_all() |
1384 | 172 | 169 | ||
1385 | 173 | def select(self, logical_position): | 170 | def select(self, logical_position): |
1390 | 174 | """ | 171 | '''Selects the item at the passed logical_position.''' |
1387 | 175 | Selects the item at the passed logical_position | ||
1388 | 176 | @author Joshua Scotton | ||
1389 | 177 | """ | ||
1391 | 178 | # pylint: disable-msg=W0612 | 172 | # pylint: disable-msg=W0612 |
1392 | 179 | target = ( int(logical_position / self.row_count), | 173 | target = ( int(logical_position / self.row_count), |
1393 | 180 | int(logical_position % self.row_count)) | 174 | int(logical_position % self.row_count)) |
1394 | 181 | 175 | ||
1395 | === modified file 'entertainerlib/frontend/gui/widgets/image_menu.py' | |||
1396 | --- entertainerlib/frontend/gui/widgets/image_menu.py 2009-02-08 07:43:25 +0000 | |||
1397 | +++ entertainerlib/frontend/gui/widgets/image_menu.py 2009-05-06 03:40:22 +0000 | |||
1398 | @@ -1,9 +1,6 @@ | |||
1399 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1400 | 1 | '''Implements a grid menu that contains images''' | 2 | '''Implements a grid menu that contains images''' |
1401 | 2 | 3 | ||
1402 | 3 | __licence__ = "GPLv2" | ||
1403 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1404 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1405 | 6 | |||
1406 | 7 | import clutter | 4 | import clutter |
1407 | 8 | 5 | ||
1408 | 9 | from entertainerlib.frontend.gui.widgets.grid_menu import GridMenu | 6 | from entertainerlib.frontend.gui.widgets.grid_menu import GridMenu |
1409 | 10 | 7 | ||
1410 | === modified file 'entertainerlib/frontend/gui/widgets/image_menu_item.py' | |||
1411 | --- entertainerlib/frontend/gui/widgets/image_menu_item.py 2009-01-11 00:25:55 +0000 | |||
1412 | +++ entertainerlib/frontend/gui/widgets/image_menu_item.py 2009-05-06 02:58:08 +0000 | |||
1413 | @@ -1,10 +1,6 @@ | |||
1414 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1415 | 1 | '''Menuitem that contains an image''' | 2 | '''Menuitem that contains an image''' |
1416 | 2 | 3 | ||
1417 | 3 | __licence__ = "GPLv2" | ||
1418 | 4 | __copyright__ = "2007, Lauri Taimila, 2008, Matt Layman" | ||
1419 | 5 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
1420 | 6 | "Matt Layman <laymansterms.dev@gmail.com>") | ||
1421 | 7 | |||
1422 | 8 | from entertainerlib.frontend.gui.widgets.menu_item import MenuItem | 4 | from entertainerlib.frontend.gui.widgets.menu_item import MenuItem |
1423 | 9 | 5 | ||
1424 | 10 | class ImageMenuItem(MenuItem): | 6 | class ImageMenuItem(MenuItem): |
1425 | 11 | 7 | ||
1426 | === modified file 'entertainerlib/frontend/gui/widgets/label.py' | |||
1427 | --- entertainerlib/frontend/gui/widgets/label.py 2009-03-08 03:16:25 +0000 | |||
1428 | +++ entertainerlib/frontend/gui/widgets/label.py 2009-04-28 22:30:06 +0000 | |||
1429 | @@ -1,9 +1,6 @@ | |||
1430 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1431 | 1 | """Label for widget""" | 2 | """Label for widget""" |
1432 | 2 | 3 | ||
1433 | 3 | __licence__ = "GPLv2" | ||
1434 | 4 | __copyright__ = "2008, Matt Layman" | ||
1435 | 5 | __author__ = "Matt Layman <laymansterm.dev@gmail.com>" | ||
1436 | 6 | |||
1437 | 7 | import clutter | 4 | import clutter |
1438 | 8 | 5 | ||
1439 | 9 | from entertainerlib.frontend.gui.widgets.base import Base | 6 | from entertainerlib.frontend.gui.widgets.base import Base |
1440 | 10 | 7 | ||
1441 | === modified file 'entertainerlib/frontend/gui/widgets/list_indicator.py' | |||
1442 | --- entertainerlib/frontend/gui/widgets/list_indicator.py 2008-11-17 21:53:05 +0000 | |||
1443 | +++ entertainerlib/frontend/gui/widgets/list_indicator.py 2009-05-06 03:40:22 +0000 | |||
1444 | @@ -1,9 +1,6 @@ | |||
1445 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1446 | 1 | '''Displays currently selected item and length of the list''' | 2 | '''Displays currently selected item and length of the list''' |
1447 | 2 | 3 | ||
1448 | 3 | __licence__ = "GPLv2" | ||
1449 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1450 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1451 | 6 | |||
1452 | 7 | import clutter | 4 | import clutter |
1453 | 8 | 5 | ||
1454 | 9 | from entertainerlib.frontend.gui.widgets.arrow_texture import ArrowTexture | 6 | from entertainerlib.frontend.gui.widgets.arrow_texture import ArrowTexture |
1455 | 10 | 7 | ||
1456 | === modified file 'entertainerlib/frontend/gui/widgets/loading_animation.py' | |||
1457 | --- entertainerlib/frontend/gui/widgets/loading_animation.py 2009-01-08 19:54:33 +0000 | |||
1458 | +++ entertainerlib/frontend/gui/widgets/loading_animation.py 2009-05-06 03:40:22 +0000 | |||
1459 | @@ -1,9 +1,6 @@ | |||
1460 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1461 | 1 | '''Animation widget indicates that Entertainer is loading''' | 2 | '''Animation widget indicates that Entertainer is loading''' |
1462 | 2 | 3 | ||
1463 | 3 | __licence__ = "GPLv2" | ||
1464 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1465 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1466 | 6 | |||
1467 | 7 | import math | 4 | import math |
1468 | 8 | import cairo | 5 | import cairo |
1469 | 9 | import clutter | 6 | import clutter |
1470 | 10 | 7 | ||
1471 | === modified file 'entertainerlib/frontend/gui/widgets/menu.py' | |||
1472 | --- entertainerlib/frontend/gui/widgets/menu.py 2009-02-08 08:44:46 +0000 | |||
1473 | +++ entertainerlib/frontend/gui/widgets/menu.py 2009-05-06 03:40:22 +0000 | |||
1474 | @@ -1,9 +1,6 @@ | |||
1475 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1476 | 1 | '''Menu has a list of menuitems and it allows user to select one of them''' | 2 | '''Menu has a list of menuitems and it allows user to select one of them''' |
1477 | 2 | 3 | ||
1478 | 3 | __licence__ = "GPLv2" | ||
1479 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1480 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1481 | 6 | |||
1482 | 7 | import clutter | 4 | import clutter |
1483 | 8 | 5 | ||
1484 | 9 | class Menu(clutter.Group): | 6 | class Menu(clutter.Group): |
1485 | 10 | 7 | ||
1486 | === modified file 'entertainerlib/frontend/gui/widgets/menu_item.py' | |||
1487 | --- entertainerlib/frontend/gui/widgets/menu_item.py 2009-01-11 00:25:55 +0000 | |||
1488 | +++ entertainerlib/frontend/gui/widgets/menu_item.py 2009-05-06 03:40:22 +0000 | |||
1489 | @@ -1,9 +1,6 @@ | |||
1490 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1491 | 1 | '''Simple Menuitem''' | 2 | '''Simple Menuitem''' |
1492 | 2 | 3 | ||
1493 | 3 | __licence__ = "GPLv2" | ||
1494 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1495 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1496 | 6 | |||
1497 | 7 | import clutter | 4 | import clutter |
1498 | 8 | 5 | ||
1499 | 9 | from entertainerlib.frontend.gui.widgets.base import Base | 6 | from entertainerlib.frontend.gui.widgets.base import Base |
1500 | 10 | 7 | ||
1501 | === modified file 'entertainerlib/frontend/gui/widgets/menu_overlay.py' | |||
1502 | --- entertainerlib/frontend/gui/widgets/menu_overlay.py 2008-11-17 11:20:47 +0000 | |||
1503 | +++ entertainerlib/frontend/gui/widgets/menu_overlay.py 2009-05-06 03:40:22 +0000 | |||
1504 | @@ -1,9 +1,6 @@ | |||
1505 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1506 | 1 | '''Texture that is displayed over video when menu is active''' | 2 | '''Texture that is displayed over video when menu is active''' |
1507 | 2 | 3 | ||
1508 | 3 | __licence__ = "GPLv2" | ||
1509 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1510 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1511 | 6 | |||
1512 | 7 | import clutter | 4 | import clutter |
1513 | 8 | 5 | ||
1514 | 9 | from entertainerlib.frontend.gui.widgets.texture import Texture | 6 | from entertainerlib.frontend.gui.widgets.texture import Texture |
1515 | 10 | 7 | ||
1516 | === modified file 'entertainerlib/frontend/gui/widgets/motion_buffer.py' | |||
1517 | --- entertainerlib/frontend/gui/widgets/motion_buffer.py 2009-04-28 09:49:40 +0000 | |||
1518 | +++ entertainerlib/frontend/gui/widgets/motion_buffer.py 2009-05-09 17:03:51 +0000 | |||
1519 | @@ -1,9 +1,6 @@ | |||
1520 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1521 | 1 | """Tools for pointer motion calculations""" | 2 | """Tools for pointer motion calculations""" |
1522 | 2 | 3 | ||
1523 | 3 | __licence__ = "GPLv2" | ||
1524 | 4 | __copyright__ = "2009, Samuel Buffet" | ||
1525 | 5 | __author__ = "Samuel Buffet <samuel.buffet@gmail.com>" | ||
1526 | 6 | |||
1527 | 7 | import math | 4 | import math |
1528 | 8 | 5 | ||
1529 | 9 | class MotionBuffer(object): | 6 | class MotionBuffer(object): |
1530 | 10 | 7 | ||
1531 | === modified file 'entertainerlib/frontend/gui/widgets/progress_bar.py' | |||
1532 | --- entertainerlib/frontend/gui/widgets/progress_bar.py 2008-11-18 07:19:27 +0000 | |||
1533 | +++ entertainerlib/frontend/gui/widgets/progress_bar.py 2009-05-06 03:40:22 +0000 | |||
1534 | @@ -1,9 +1,6 @@ | |||
1535 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1536 | 1 | '''Implements progress bar widget''' | 2 | '''Implements progress bar widget''' |
1537 | 2 | 3 | ||
1538 | 3 | __licence__ = "GPLv2" | ||
1539 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1540 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1541 | 6 | |||
1542 | 7 | import math | 4 | import math |
1543 | 8 | import clutter | 5 | import clutter |
1544 | 9 | from cluttercairo import CairoTexture | 6 | from cluttercairo import CairoTexture |
1545 | 10 | 7 | ||
1546 | === modified file 'entertainerlib/frontend/gui/widgets/reflection_texture.py' | |||
1547 | --- entertainerlib/frontend/gui/widgets/reflection_texture.py 2008-10-21 19:31:48 +0000 | |||
1548 | +++ entertainerlib/frontend/gui/widgets/reflection_texture.py 2009-05-06 03:40:22 +0000 | |||
1549 | @@ -1,9 +1,6 @@ | |||
1550 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1551 | 1 | '''Cairo based texture that can be used as reflection''' | 2 | '''Cairo based texture that can be used as reflection''' |
1552 | 2 | 3 | ||
1553 | 3 | __licence__ = "GPLv2" | ||
1554 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1555 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1556 | 6 | |||
1557 | 7 | import gtk | 4 | import gtk |
1558 | 8 | import cairo | 5 | import cairo |
1559 | 9 | import clutter | 6 | import clutter |
1560 | 10 | 7 | ||
1561 | === modified file 'entertainerlib/frontend/gui/widgets/rounded_texture.py' | |||
1562 | --- entertainerlib/frontend/gui/widgets/rounded_texture.py 2008-11-13 19:56:10 +0000 | |||
1563 | +++ entertainerlib/frontend/gui/widgets/rounded_texture.py 2009-05-06 03:40:22 +0000 | |||
1564 | @@ -1,9 +1,6 @@ | |||
1565 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1566 | 1 | '''Cairo based texture that rounds corners''' | 2 | '''Cairo based texture that rounds corners''' |
1567 | 2 | 3 | ||
1568 | 3 | __licence__ = "GPLv2" | ||
1569 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1570 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1571 | 6 | |||
1572 | 7 | from cluttercairo import CairoTexture | 4 | from cluttercairo import CairoTexture |
1573 | 8 | import gtk | 5 | import gtk |
1574 | 9 | 6 | ||
1575 | 10 | 7 | ||
1576 | === modified file 'entertainerlib/frontend/gui/widgets/scroll_area.py' | |||
1577 | --- entertainerlib/frontend/gui/widgets/scroll_area.py 2009-03-08 03:16:25 +0000 | |||
1578 | +++ entertainerlib/frontend/gui/widgets/scroll_area.py 2009-05-06 03:40:22 +0000 | |||
1579 | @@ -1,9 +1,6 @@ | |||
1580 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1581 | 1 | '''Container that has scrollbars and allows content to be scrolled''' | 2 | '''Container that has scrollbars and allows content to be scrolled''' |
1582 | 2 | 3 | ||
1583 | 3 | __licence__ = "GPLv2" | ||
1584 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1585 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1586 | 6 | |||
1587 | 7 | import clutter | 4 | import clutter |
1588 | 8 | 5 | ||
1589 | 9 | from entertainerlib.frontend.gui.widgets.base import Base | 6 | from entertainerlib.frontend.gui.widgets.base import Base |
1590 | 10 | 7 | ||
1591 | === modified file 'entertainerlib/frontend/gui/widgets/scroll_menu.py' | |||
1592 | --- entertainerlib/frontend/gui/widgets/scroll_menu.py 2009-04-28 12:18:16 +0000 | |||
1593 | +++ entertainerlib/frontend/gui/widgets/scroll_menu.py 2009-05-09 17:03:51 +0000 | |||
1594 | @@ -1,11 +1,6 @@ | |||
1595 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1596 | 1 | '''Menu widget that contains text items''' | 2 | '''Menu widget that contains text items''' |
1597 | 2 | 3 | ||
1598 | 3 | __licence__ = "GPLv2" | ||
1599 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1600 | 5 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
1601 | 6 | "Samuel Buffet <Samuel.Buffet@gmail.com>", | ||
1602 | 7 | "Joshua Scotton <josh@joshuascotton.com>") | ||
1603 | 8 | |||
1604 | 9 | import math | 4 | import math |
1605 | 10 | 5 | ||
1606 | 11 | import clutter | 6 | import clutter |
1607 | 12 | 7 | ||
1608 | === modified file 'entertainerlib/frontend/gui/widgets/selector.py' | |||
1609 | --- entertainerlib/frontend/gui/widgets/selector.py 2008-11-26 11:20:54 +0000 | |||
1610 | +++ entertainerlib/frontend/gui/widgets/selector.py 2009-05-06 03:40:22 +0000 | |||
1611 | @@ -1,9 +1,6 @@ | |||
1612 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1613 | 1 | '''Simple selector texture to show current position in menu''' | 2 | '''Simple selector texture to show current position in menu''' |
1614 | 2 | 3 | ||
1615 | 3 | __licence__ = "GPLv2" | ||
1616 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1617 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1618 | 6 | |||
1619 | 7 | import clutter | 4 | import clutter |
1620 | 8 | 5 | ||
1621 | 9 | from entertainerlib.frontend.gui.widgets.texture import Texture | 6 | from entertainerlib.frontend.gui.widgets.texture import Texture |
1622 | 10 | 7 | ||
1623 | === modified file 'entertainerlib/frontend/gui/widgets/special_behaviours.py' | |||
1624 | --- entertainerlib/frontend/gui/widgets/special_behaviours.py 2009-04-22 14:29:58 +0000 | |||
1625 | +++ entertainerlib/frontend/gui/widgets/special_behaviours.py 2009-05-09 17:03:51 +0000 | |||
1626 | @@ -1,9 +1,6 @@ | |||
1627 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1628 | 1 | '''Implementation of special clutter behaviours''' | 2 | '''Implementation of special clutter behaviours''' |
1629 | 2 | 3 | ||
1630 | 3 | __licence__ = "GPLv2" | ||
1631 | 4 | __copyright__ = "2009, Samuel Buffet" | ||
1632 | 5 | __author__ = "Samuel Buffet <Samuel.Buffet@gmail.com>" | ||
1633 | 6 | |||
1634 | 7 | import math | 4 | import math |
1635 | 8 | 5 | ||
1636 | 9 | import clutter | 6 | import clutter |
1637 | 10 | 7 | ||
1638 | === modified file 'entertainerlib/frontend/gui/widgets/tab_group.py' | |||
1639 | --- entertainerlib/frontend/gui/widgets/tab_group.py 2009-02-27 00:01:53 +0000 | |||
1640 | +++ entertainerlib/frontend/gui/widgets/tab_group.py 2009-05-06 03:40:22 +0000 | |||
1641 | @@ -1,9 +1,6 @@ | |||
1642 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1643 | 1 | '''TabGroup is a group of tabs. It draws the tab bar.''' | 2 | '''TabGroup is a group of tabs. It draws the tab bar.''' |
1644 | 2 | 3 | ||
1645 | 3 | __licence__ = "GPLv2" | ||
1646 | 4 | __copyright__ = "2008, Lauri Taimila" | ||
1647 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1648 | 6 | |||
1649 | 7 | import clutter | 4 | import clutter |
1650 | 8 | import pango | 5 | import pango |
1651 | 9 | 6 | ||
1652 | 10 | 7 | ||
1653 | === modified file 'entertainerlib/frontend/gui/widgets/text_menu.py' | |||
1654 | --- entertainerlib/frontend/gui/widgets/text_menu.py 2009-02-08 07:43:25 +0000 | |||
1655 | +++ entertainerlib/frontend/gui/widgets/text_menu.py 2009-05-06 02:58:08 +0000 | |||
1656 | @@ -1,9 +1,6 @@ | |||
1657 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1658 | 1 | '''Implements basic menu that contains text labels as menuitems''' | 2 | '''Implements basic menu that contains text labels as menuitems''' |
1659 | 2 | 3 | ||
1660 | 3 | __licence__ = "GPLv2" | ||
1661 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1662 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1663 | 6 | |||
1664 | 7 | from entertainerlib.frontend.gui.widgets.selector import Selector | 4 | from entertainerlib.frontend.gui.widgets.selector import Selector |
1665 | 8 | from entertainerlib.frontend.gui.widgets.grid_menu import GridMenu | 5 | from entertainerlib.frontend.gui.widgets.grid_menu import GridMenu |
1666 | 9 | 6 | ||
1667 | @@ -60,7 +57,6 @@ | |||
1668 | 60 | def get_index(self, text): | 57 | def get_index(self, text): |
1669 | 61 | """ | 58 | """ |
1670 | 62 | Returns index of label with the text as passed, returns -1 if not found | 59 | Returns index of label with the text as passed, returns -1 if not found |
1671 | 63 | @author Joshua Scotton | ||
1672 | 64 | """ | 60 | """ |
1673 | 65 | for item in self.items: | 61 | for item in self.items: |
1674 | 66 | if item.label.get_text() == text: | 62 | if item.label.get_text() == text: |
1675 | 67 | 63 | ||
1676 | === modified file 'entertainerlib/frontend/gui/widgets/text_menu_item.py' | |||
1677 | --- entertainerlib/frontend/gui/widgets/text_menu_item.py 2008-11-25 23:20:28 +0000 | |||
1678 | +++ entertainerlib/frontend/gui/widgets/text_menu_item.py 2009-05-06 03:40:22 +0000 | |||
1679 | @@ -1,9 +1,6 @@ | |||
1680 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1681 | 1 | '''Simple menuitem that contains a text self.label (and optionl extras)''' | 2 | '''Simple menuitem that contains a text self.label (and optionl extras)''' |
1682 | 2 | 3 | ||
1683 | 3 | __licence__ = "GPLv2" | ||
1684 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1685 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1686 | 6 | |||
1687 | 7 | import pango | 4 | import pango |
1688 | 8 | import clutter | 5 | import clutter |
1689 | 9 | 6 | ||
1690 | 10 | 7 | ||
1691 | === modified file 'entertainerlib/frontend/gui/widgets/texture.py' | |||
1692 | --- entertainerlib/frontend/gui/widgets/texture.py 2009-03-08 03:16:25 +0000 | |||
1693 | +++ entertainerlib/frontend/gui/widgets/texture.py 2009-04-28 22:30:06 +0000 | |||
1694 | @@ -1,9 +1,6 @@ | |||
1695 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1696 | 1 | """Texture widget""" | 2 | """Texture widget""" |
1697 | 2 | 3 | ||
1698 | 3 | __licence__ = "GPLv2" | ||
1699 | 4 | __copyright__ = "2008, Matt Layman" | ||
1700 | 5 | __author__ = "Matt Layman <laymansterm.dev@gmail.com>" | ||
1701 | 6 | |||
1702 | 7 | import clutter | 4 | import clutter |
1703 | 8 | 5 | ||
1704 | 9 | from entertainerlib.frontend.gui.widgets.base import Base | 6 | from entertainerlib.frontend.gui.widgets.base import Base |
1705 | 10 | 7 | ||
1706 | === modified file 'entertainerlib/frontend/media_player.py' | |||
1707 | --- entertainerlib/frontend/media_player.py 2009-04-21 16:34:34 +0000 | |||
1708 | +++ entertainerlib/frontend/media_player.py 2009-05-09 17:03:51 +0000 | |||
1709 | @@ -1,9 +1,6 @@ | |||
1710 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1711 | 1 | '''MediaPlayer - MediaPlayer that plays audio and video streams''' | 2 | '''MediaPlayer - MediaPlayer that plays audio and video streams''' |
1712 | 2 | 3 | ||
1713 | 3 | __licence__ = "GPLv2" | ||
1714 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1715 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1716 | 6 | |||
1717 | 7 | # import order is important here since Clutter 0.8, | 4 | # import order is important here since Clutter 0.8, |
1718 | 8 | # see the pyclutter README for details | 5 | # see the pyclutter README for details |
1719 | 9 | 6 | ||
1720 | @@ -322,7 +319,6 @@ | |||
1721 | 322 | """ | 319 | """ |
1722 | 323 | Returns the title of the playing media. | 320 | Returns the title of the playing media. |
1723 | 324 | @return: String | 321 | @return: String |
1724 | 325 | @author: Joshua Scotton | ||
1725 | 326 | """ | 322 | """ |
1726 | 327 | return self.media.get_title() | 323 | return self.media.get_title() |
1727 | 328 | 324 | ||
1728 | 329 | 325 | ||
1729 | === modified file 'entertainerlib/frontend/medialibrary/__init__.py' | |||
1730 | --- entertainerlib/frontend/medialibrary/__init__.py 2008-08-02 21:33:38 +0000 | |||
1731 | +++ entertainerlib/frontend/medialibrary/__init__.py 2009-05-06 03:40:22 +0000 | |||
1732 | @@ -1,2 +1,3 @@ | |||
1733 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1734 | 1 | '''Media library handlers''' | 2 | '''Media library handlers''' |
1735 | 2 | 3 | ||
1736 | 3 | 4 | ||
1737 | === modified file 'entertainerlib/frontend/medialibrary/feeds.py' | |||
1738 | --- entertainerlib/frontend/medialibrary/feeds.py 2009-01-26 18:28:26 +0000 | |||
1739 | +++ entertainerlib/frontend/medialibrary/feeds.py 2009-05-06 02:58:08 +0000 | |||
1740 | @@ -1,10 +1,6 @@ | |||
1741 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1742 | 1 | '''FeedLibrary - Library for RSS-feeds''' | 2 | '''FeedLibrary - Library for RSS-feeds''' |
1743 | 2 | 3 | ||
1744 | 3 | __licence__ = "GPLv2" | ||
1745 | 4 | __copyright__ = "2007, Lauri Taimila, 2008, Joshua Scotton" | ||
1746 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>, " | ||
1747 | 6 | __author__ += "Joshua Scotton <josh@joshuascotton.com>" | ||
1748 | 7 | |||
1749 | 8 | from pysqlite2 import dbapi2 as sqlite | 4 | from pysqlite2 import dbapi2 as sqlite |
1750 | 9 | 5 | ||
1751 | 10 | from entertainerlib.utils.configuration import Configuration | 6 | from entertainerlib.utils.configuration import Configuration |
1752 | 11 | 7 | ||
1753 | === modified file 'entertainerlib/frontend/medialibrary/images.py' | |||
1754 | --- entertainerlib/frontend/medialibrary/images.py 2009-01-31 17:57:51 +0000 | |||
1755 | +++ entertainerlib/frontend/medialibrary/images.py 2009-05-06 03:40:22 +0000 | |||
1756 | @@ -1,9 +1,6 @@ | |||
1757 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1758 | 1 | '''Image Library - Interface for Entertainer image library cache''' | 2 | '''Image Library - Interface for Entertainer image library cache''' |
1759 | 2 | 3 | ||
1760 | 3 | __licence__ = "GPLv2" | ||
1761 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1762 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1763 | 6 | |||
1764 | 7 | import os | 4 | import os |
1765 | 8 | from pysqlite2 import dbapi2 as sqlite | 5 | from pysqlite2 import dbapi2 as sqlite |
1766 | 9 | 6 | ||
1767 | 10 | 7 | ||
1768 | === modified file 'entertainerlib/frontend/medialibrary/music.py' | |||
1769 | --- entertainerlib/frontend/medialibrary/music.py 2009-03-15 16:01:39 +0000 | |||
1770 | +++ entertainerlib/frontend/medialibrary/music.py 2009-05-06 03:40:22 +0000 | |||
1771 | @@ -1,9 +1,6 @@ | |||
1772 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1773 | 1 | '''Music Library - Interface for Entertainer music library cache''' | 2 | '''Music Library - Interface for Entertainer music library cache''' |
1774 | 2 | 3 | ||
1775 | 3 | __licence__ = "GPLv2" | ||
1776 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1777 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1778 | 6 | |||
1779 | 7 | import os | 4 | import os |
1780 | 8 | import CDDB, DiscID | 5 | import CDDB, DiscID |
1781 | 9 | from pysqlite2 import dbapi2 as sqlite | 6 | from pysqlite2 import dbapi2 as sqlite |
1782 | 10 | 7 | ||
1783 | === modified file 'entertainerlib/frontend/medialibrary/playable.py' | |||
1784 | --- entertainerlib/frontend/medialibrary/playable.py 2008-12-14 20:08:09 +0000 | |||
1785 | +++ entertainerlib/frontend/medialibrary/playable.py 2009-05-06 02:58:08 +0000 | |||
1786 | @@ -1,9 +1,6 @@ | |||
1787 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1788 | 1 | '''Playable - Interface for playable streams. MediaPlayer plays Playables''' | 2 | '''Playable - Interface for playable streams. MediaPlayer plays Playables''' |
1789 | 2 | 3 | ||
1790 | 3 | __licence__ = "GPLv2" | ||
1791 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1792 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1793 | 6 | |||
1794 | 7 | class Playable: | 4 | class Playable: |
1795 | 8 | """ | 5 | """ |
1796 | 9 | Interface for playable media. | 6 | Interface for playable media. |
1797 | @@ -39,7 +36,6 @@ | |||
1798 | 39 | """ | 36 | """ |
1799 | 40 | Gets the title of the stream. | 37 | Gets the title of the stream. |
1800 | 41 | @return: String | 38 | @return: String |
1801 | 42 | @author: Joshua Scotton | ||
1802 | 43 | """ | 39 | """ |
1803 | 44 | return None | 40 | return None |
1804 | 45 | 41 | ||
1805 | 46 | 42 | ||
1806 | === modified file 'entertainerlib/frontend/medialibrary/playlist.py' | |||
1807 | --- entertainerlib/frontend/medialibrary/playlist.py 2008-08-02 21:33:38 +0000 | |||
1808 | +++ entertainerlib/frontend/medialibrary/playlist.py 2009-05-06 03:40:22 +0000 | |||
1809 | @@ -1,9 +1,6 @@ | |||
1810 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1811 | 1 | '''Playlist - Playlist class is a simple container for Playable objects''' | 2 | '''Playlist - Playlist class is a simple container for Playable objects''' |
1812 | 2 | 3 | ||
1813 | 3 | __licence__ = "GPLv2" | ||
1814 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
1815 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
1816 | 6 | |||
1817 | 7 | import random | 4 | import random |
1818 | 8 | 5 | ||
1819 | 9 | class Playlist(object): | 6 | class Playlist(object): |
1820 | 10 | 7 | ||
1821 | === modified file 'entertainerlib/frontend/medialibrary/videos.py' | |||
1822 | --- entertainerlib/frontend/medialibrary/videos.py 2009-02-01 19:15:02 +0000 | |||
1823 | +++ entertainerlib/frontend/medialibrary/videos.py 2009-05-06 02:58:08 +0000 | |||
1824 | @@ -1,10 +1,6 @@ | |||
1825 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1826 | 1 | '''Video Library - Interface for Entertainer video library cache''' | 2 | '''Video Library - Interface for Entertainer video library cache''' |
1827 | 2 | 3 | ||
1828 | 3 | __licence__ = "GPLv2" | ||
1829 | 4 | __copyright__ = "2007-08, Lauri Taimila, Joshua Scotton" | ||
1830 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>, " | ||
1831 | 6 | __author__ += "Joshua Scotton <josh@joshuascotton.com>" | ||
1832 | 7 | |||
1833 | 8 | import os | 4 | import os |
1834 | 9 | from pysqlite2 import dbapi2 as sqlite | 5 | from pysqlite2 import dbapi2 as sqlite |
1835 | 10 | 6 | ||
1836 | 11 | 7 | ||
1837 | === modified file 'entertainerlib/frontend/translation_setup.py' | |||
1838 | --- entertainerlib/frontend/translation_setup.py 2009-01-08 19:54:33 +0000 | |||
1839 | +++ entertainerlib/frontend/translation_setup.py 2009-05-06 02:02:20 +0000 | |||
1840 | @@ -1,11 +1,6 @@ | |||
1841 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
1849 | 2 | """Translation Setup Code""" | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
1850 | 3 | 3 | '''Translation Setup Code''' | |
1844 | 4 | __licence__ = "GPLv2" | ||
1845 | 5 | __copyright__ = "2008, Joshua Scotton, 2008, Matt Layman" | ||
1846 | 6 | __author__ = ("Joshua Scotton <josh@joshuascotton.com>", | ||
1847 | 7 | "Matt Layman <laymansterms.dev@gmail.com>") | ||
1848 | 8 | __version__ = "0.2" | ||
1851 | 9 | 4 | ||
1852 | 10 | import os | 5 | import os |
1853 | 11 | 6 | ||
1854 | 12 | 7 | ||
1855 | === modified file 'entertainerlib/storage/__init__.py' | |||
1856 | --- entertainerlib/storage/__init__.py 2009-02-06 06:52:14 +0000 | |||
1857 | +++ entertainerlib/storage/__init__.py 2009-05-06 03:40:22 +0000 | |||
1858 | @@ -1,3 +1,4 @@ | |||
1859 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1860 | 1 | '''Storage facilities for Entertainer (used by the client/frontend).''' | 2 | '''Storage facilities for Entertainer (used by the client/frontend).''' |
1861 | 2 | # pylint: disable-msg=W0611 | 3 | # pylint: disable-msg=W0611 |
1862 | 3 | from entertainerlib.storage.base import Storage | 4 | from entertainerlib.storage.base import Storage |
1863 | 4 | 5 | ||
1864 | === modified file 'entertainerlib/storage/base.py' | |||
1865 | --- entertainerlib/storage/base.py 2009-02-06 06:34:20 +0000 | |||
1866 | +++ entertainerlib/storage/base.py 2009-05-06 03:40:22 +0000 | |||
1867 | @@ -1,3 +1,4 @@ | |||
1868 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1869 | 1 | '''Base classes for Entertainer Storages.''' | 2 | '''Base classes for Entertainer Storages.''' |
1870 | 2 | 3 | ||
1871 | 3 | 4 | ||
1872 | 4 | 5 | ||
1873 | === modified file 'entertainerlib/tests/__init__.py' | |||
1874 | --- entertainerlib/tests/__init__.py 2009-02-06 07:23:29 +0000 | |||
1875 | +++ entertainerlib/tests/__init__.py 2009-05-06 03:40:22 +0000 | |||
1876 | @@ -1,3 +1,4 @@ | |||
1877 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1878 | 1 | '''The Entertainer test suite''' | 2 | '''The Entertainer test suite''' |
1879 | 2 | 3 | ||
1880 | 3 | import os | 4 | import os |
1881 | 4 | 5 | ||
1882 | === modified file 'entertainerlib/tests/mock.py' | |||
1883 | --- entertainerlib/tests/mock.py 2009-04-28 11:49:43 +0000 | |||
1884 | +++ entertainerlib/tests/mock.py 2009-05-09 17:03:51 +0000 | |||
1885 | @@ -1,3 +1,4 @@ | |||
1886 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1887 | 1 | '''Test mock objects''' | 2 | '''Test mock objects''' |
1888 | 2 | # pylint: disable-msg=W0231 | 3 | # pylint: disable-msg=W0231 |
1889 | 3 | 4 | ||
1890 | 4 | 5 | ||
1891 | === removed file 'entertainerlib/tests/test_backendserver.py' | |||
1892 | --- entertainerlib/tests/test_backendserver.py 2009-01-31 21:36:56 +0000 | |||
1893 | +++ entertainerlib/tests/test_backendserver.py 1970-01-01 00:00:00 +0000 | |||
1894 | @@ -1,37 +0,0 @@ | |||
1895 | 1 | '''Test backend server''' | ||
1896 | 2 | |||
1897 | 3 | __licence__ = "GPLv2" | ||
1898 | 4 | __copyright__ = "2008, Matt Layman" | ||
1899 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1900 | 6 | |||
1901 | 7 | #import unittest | ||
1902 | 8 | #import os | ||
1903 | 9 | #import shutil | ||
1904 | 10 | |||
1905 | 11 | #from entertainerlib.backend.backend_server import BackendServer | ||
1906 | 12 | |||
1907 | 13 | #class TestBackendServer(unittest.TestCase): | ||
1908 | 14 | # """This test class tests functions of the backend server""" | ||
1909 | 15 | # | ||
1910 | 16 | # def setUp(self): | ||
1911 | 17 | # self.backend = BackendServer() | ||
1912 | 18 | # | ||
1913 | 19 | # def tearDown(self): | ||
1914 | 20 | # self.backend.quitBackend() | ||
1915 | 21 | # | ||
1916 | 22 | # def testBackendServerCreateConfiguration(self): | ||
1917 | 23 | # """testBackendServerCreateConfiguration - Ensures that the | ||
1918 | 24 | # configuration directory is setup properly""" | ||
1919 | 25 | # # Rename the real config directory to backup | ||
1920 | 26 | # self.backup_path = self.backend.config_path + "_test" | ||
1921 | 27 | # if os.path.exists(self.backend.config_path): | ||
1922 | 28 | # os.rename(self.backend.config_path, self.backup_path) | ||
1923 | 29 | # | ||
1924 | 30 | # self.backend.create_configuration() | ||
1925 | 31 | # self.assertTrue(os.path.exists(self.backend.config_path)) | ||
1926 | 32 | # | ||
1927 | 33 | # # Restore the existing config directory | ||
1928 | 34 | # if os.path.exists(self.backend.config_path): | ||
1929 | 35 | # shutil.rmtree(self.backend.config_path) | ||
1930 | 36 | # os.rename(self.backup_path, self.backend.config_path) | ||
1931 | 37 | |||
1932 | 38 | 0 | ||
1933 | === modified file 'entertainerlib/tests/test_base.py' | |||
1934 | --- entertainerlib/tests/test_base.py 2009-03-08 03:16:25 +0000 | |||
1935 | +++ entertainerlib/tests/test_base.py 2009-04-28 22:30:06 +0000 | |||
1936 | @@ -1,9 +1,6 @@ | |||
1937 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1938 | 1 | """Tests Base""" | 2 | """Tests Base""" |
1939 | 2 | 3 | ||
1940 | 3 | __license__ = "GPLv2" | ||
1941 | 4 | __copyright__ = "2008, Matt Layman" | ||
1942 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1943 | 6 | |||
1944 | 7 | from entertainerlib.frontend.gui.widgets.base import Base | 4 | from entertainerlib.frontend.gui.widgets.base import Base |
1945 | 8 | from entertainerlib.tests import EntertainerTest | 5 | from entertainerlib.tests import EntertainerTest |
1946 | 9 | 6 | ||
1947 | 10 | 7 | ||
1948 | === modified file 'entertainerlib/tests/test_configuration.py' | |||
1949 | --- entertainerlib/tests/test_configuration.py 2009-03-08 03:16:25 +0000 | |||
1950 | +++ entertainerlib/tests/test_configuration.py 2009-04-28 22:30:06 +0000 | |||
1951 | @@ -1,10 +1,7 @@ | |||
1952 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1953 | 1 | '''Tests Configuration''' | 2 | '''Tests Configuration''' |
1954 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
1955 | 3 | 4 | ||
1956 | 4 | __license__ = "GPLv2" | ||
1957 | 5 | __copyright__ = "2008, Matt Layman" | ||
1958 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1959 | 7 | |||
1960 | 8 | import os | 5 | import os |
1961 | 9 | 6 | ||
1962 | 10 | from entertainerlib.tests import EntertainerTest | 7 | from entertainerlib.tests import EntertainerTest |
1963 | 11 | 8 | ||
1964 | === modified file 'entertainerlib/tests/test_connection.py' | |||
1965 | --- entertainerlib/tests/test_connection.py 2009-01-31 21:36:56 +0000 | |||
1966 | +++ entertainerlib/tests/test_connection.py 2009-04-28 22:30:06 +0000 | |||
1967 | @@ -1,9 +1,6 @@ | |||
1968 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1969 | 1 | "Tests ConnectionServer" | 2 | "Tests ConnectionServer" |
1970 | 2 | 3 | ||
1971 | 3 | __license__ = "GPLv2" | ||
1972 | 4 | __copyright__ = "2008, Matt Layman" | ||
1973 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
1974 | 6 | |||
1975 | 7 | import socket | 4 | import socket |
1976 | 8 | 5 | ||
1977 | 9 | from entertainerlib.backend.core.connection_server import ConnectionServer | 6 | from entertainerlib.backend.core.connection_server import ConnectionServer |
1978 | 10 | 7 | ||
1979 | === modified file 'entertainerlib/tests/test_database.py' | |||
1980 | --- entertainerlib/tests/test_database.py 2009-01-31 21:36:56 +0000 | |||
1981 | +++ entertainerlib/tests/test_database.py 2009-04-28 22:36:38 +0000 | |||
1982 | @@ -1,9 +1,6 @@ | |||
1983 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1984 | 1 | '''Test for backend.core.db.connection''' | 2 | '''Test for backend.core.db.connection''' |
1985 | 2 | 3 | ||
1986 | 3 | __license__ = 'GPLv2' | ||
1987 | 4 | __copyright__ = 'Paul Hummer' | ||
1988 | 5 | __author__ = 'Paul Hummer <paul.hummer@canonical.com>' | ||
1989 | 6 | |||
1990 | 7 | import os | 4 | import os |
1991 | 8 | 5 | ||
1992 | 9 | from storm.locals import Store | 6 | from storm.locals import Store |
1993 | 10 | 7 | ||
1994 | === modified file 'entertainerlib/tests/test_feedconfigtools.py' | |||
1995 | --- entertainerlib/tests/test_feedconfigtools.py 2009-02-08 07:01:25 +0000 | |||
1996 | +++ entertainerlib/tests/test_feedconfigtools.py 2009-05-06 02:02:20 +0000 | |||
1997 | @@ -1,9 +1,6 @@ | |||
1998 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
1999 | 1 | '''Test FeedConfigTools''' | 2 | '''Test FeedConfigTools''' |
2000 | 2 | 3 | ||
2001 | 3 | __licence__ = "GPLv2" | ||
2002 | 4 | __copyright__ = "2008, Joshua Scotton" | ||
2003 | 5 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2004 | 6 | |||
2005 | 7 | import os | 4 | import os |
2006 | 8 | 5 | ||
2007 | 9 | import gtk | 6 | import gtk |
2008 | 10 | 7 | ||
2009 | === modified file 'entertainerlib/tests/test_feedentryparser.py' | |||
2010 | --- entertainerlib/tests/test_feedentryparser.py 2009-02-08 07:01:25 +0000 | |||
2011 | +++ entertainerlib/tests/test_feedentryparser.py 2009-05-06 02:02:20 +0000 | |||
2012 | @@ -1,20 +1,17 @@ | |||
2013 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2014 | 1 | '''Test feed entry parser''' | 2 | '''Test feed entry parser''' |
2015 | 2 | # pylint: disable-msg=C0301 | 3 | # pylint: disable-msg=C0301 |
2016 | 3 | 4 | ||
2023 | 4 | __licence__ = "GPLv2" | 5 | from entertainerlib.tests import EntertainerTest |
2018 | 5 | __copyright__ = "2008, Joshua Scotton" | ||
2019 | 6 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2020 | 7 | |||
2021 | 8 | import unittest | ||
2022 | 9 | |||
2024 | 10 | from entertainerlib.utils.feed_utils import FeedEntryParser | 6 | from entertainerlib.utils.feed_utils import FeedEntryParser |
2025 | 11 | 7 | ||
2026 | 12 | 8 | ||
2028 | 13 | class FeedEntryParserTest(unittest.TestCase): | 9 | class FeedEntryParserTest(EntertainerTest): |
2029 | 14 | '''Test the FeedEntryParser''' | 10 | '''Test the FeedEntryParser''' |
2030 | 15 | 11 | ||
2031 | 16 | def setUp(self): | 12 | def setUp(self): |
2032 | 17 | """Sets up everything for the test""" | 13 | """Sets up everything for the test""" |
2033 | 14 | EntertainerTest.setUp(self) | ||
2034 | 18 | 15 | ||
2035 | 19 | #test strings | 16 | #test strings |
2036 | 20 | self.testString001 = "<body><b>Hello World</body></b>" | 17 | self.testString001 = "<body><b>Hello World</body></b>" |
2037 | 21 | 18 | ||
2038 | === modified file 'entertainerlib/tests/test_frontendfeed.py' | |||
2039 | --- entertainerlib/tests/test_frontendfeed.py 2009-01-31 21:36:56 +0000 | |||
2040 | +++ entertainerlib/tests/test_frontendfeed.py 2009-05-06 02:02:20 +0000 | |||
2041 | @@ -1,9 +1,6 @@ | |||
2042 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2043 | 1 | '''Tests feeds from the frontend''' | 2 | '''Tests feeds from the frontend''' |
2044 | 2 | 3 | ||
2045 | 3 | __licence__ = "GPLv2" | ||
2046 | 4 | __copyright__ = "2008, Joshua Scotton" | ||
2047 | 5 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2048 | 6 | |||
2049 | 7 | from pysqlite2 import dbapi2 as sqlite | 4 | from pysqlite2 import dbapi2 as sqlite |
2050 | 8 | 5 | ||
2051 | 9 | from entertainerlib.frontend.medialibrary.feeds import Feed | 6 | from entertainerlib.frontend.medialibrary.feeds import Feed |
2052 | 10 | 7 | ||
2053 | === modified file 'entertainerlib/tests/test_frontendfeedentry.py' | |||
2054 | --- entertainerlib/tests/test_frontendfeedentry.py 2009-02-06 08:33:50 +0000 | |||
2055 | +++ entertainerlib/tests/test_frontendfeedentry.py 2009-05-06 02:02:20 +0000 | |||
2056 | @@ -1,10 +1,7 @@ | |||
2057 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2058 | 1 | '''Tests feed entries on the frontend''' | 2 | '''Tests feed entries on the frontend''' |
2059 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2060 | 3 | 4 | ||
2061 | 4 | __licence__ = "GPLv2" | ||
2062 | 5 | __copyright__ = "2008, Joshua Scotton" | ||
2063 | 6 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2064 | 7 | |||
2065 | 8 | from pysqlite2 import dbapi2 as sqlite | 5 | from pysqlite2 import dbapi2 as sqlite |
2066 | 9 | 6 | ||
2067 | 10 | from entertainerlib.frontend.medialibrary.feeds import Feed, Entry | 7 | from entertainerlib.frontend.medialibrary.feeds import Feed, Entry |
2068 | 11 | 8 | ||
2069 | === modified file 'entertainerlib/tests/test_frontendfeedlibrary.py' | |||
2070 | --- entertainerlib/tests/test_frontendfeedlibrary.py 2009-02-04 04:17:37 +0000 | |||
2071 | +++ entertainerlib/tests/test_frontendfeedlibrary.py 2009-05-06 02:02:20 +0000 | |||
2072 | @@ -1,9 +1,6 @@ | |||
2073 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2074 | 1 | '''Tests feed library from the frontend''' | 2 | '''Tests feed library from the frontend''' |
2075 | 2 | 3 | ||
2076 | 3 | __licence__ = "GPLv2" | ||
2077 | 4 | __copyright__ = "2008, Joshua Scotton" | ||
2078 | 5 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2079 | 6 | |||
2080 | 7 | from pysqlite2 import dbapi2 as sqlite | 4 | from pysqlite2 import dbapi2 as sqlite |
2081 | 8 | 5 | ||
2082 | 9 | from entertainerlib.frontend.medialibrary.feeds import FeedLibrary | 6 | from entertainerlib.frontend.medialibrary.feeds import FeedLibrary |
2083 | 10 | 7 | ||
2084 | === modified file 'entertainerlib/tests/test_imagemenuitem.py' | |||
2085 | --- entertainerlib/tests/test_imagemenuitem.py 2009-02-06 08:33:50 +0000 | |||
2086 | +++ entertainerlib/tests/test_imagemenuitem.py 2009-04-28 22:30:06 +0000 | |||
2087 | @@ -1,10 +1,7 @@ | |||
2088 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2089 | 1 | """Tests ImageMenuItem""" | 2 | """Tests ImageMenuItem""" |
2090 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2091 | 3 | 4 | ||
2092 | 4 | __license__ = "GPLv2" | ||
2093 | 5 | __copyright__ = "2008, Matt Layman" | ||
2094 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2095 | 7 | |||
2096 | 8 | import os | 5 | import os |
2097 | 9 | 6 | ||
2098 | 10 | from entertainerlib.frontend.gui.widgets.image_menu_item import ImageMenuItem | 7 | from entertainerlib.frontend.gui.widgets.image_menu_item import ImageMenuItem |
2099 | 11 | 8 | ||
2100 | === modified file 'entertainerlib/tests/test_label.py' | |||
2101 | --- entertainerlib/tests/test_label.py 2009-02-06 08:33:50 +0000 | |||
2102 | +++ entertainerlib/tests/test_label.py 2009-04-28 22:30:06 +0000 | |||
2103 | @@ -1,10 +1,7 @@ | |||
2104 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2105 | 1 | """Tests Label""" | 2 | """Tests Label""" |
2106 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2107 | 3 | 4 | ||
2108 | 4 | __license__ = "GPLv2" | ||
2109 | 5 | __copyright__ = "2008, Matt Layman" | ||
2110 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2111 | 7 | |||
2112 | 8 | import clutter | 5 | import clutter |
2113 | 9 | 6 | ||
2114 | 10 | from entertainerlib.frontend.gui.widgets.base import Base | 7 | from entertainerlib.frontend.gui.widgets.base import Base |
2115 | 11 | 8 | ||
2116 | === modified file 'entertainerlib/tests/test_logger.py' | |||
2117 | --- entertainerlib/tests/test_logger.py 2009-01-31 21:36:56 +0000 | |||
2118 | +++ entertainerlib/tests/test_logger.py 2009-04-28 22:30:06 +0000 | |||
2119 | @@ -1,9 +1,6 @@ | |||
2120 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2121 | 1 | '''Logger object tests''' | 2 | '''Logger object tests''' |
2122 | 2 | 3 | ||
2123 | 3 | __license__ = 'GPLv2' | ||
2124 | 4 | __copyright__ = '2008, Matt Layman' | ||
2125 | 5 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2126 | 6 | |||
2127 | 7 | import logging | 4 | import logging |
2128 | 8 | 5 | ||
2129 | 9 | from entertainerlib.tests import EntertainerTest | 6 | from entertainerlib.tests import EntertainerTest |
2130 | 10 | 7 | ||
2131 | === modified file 'entertainerlib/tests/test_lyricsdownloader.py' | |||
2132 | --- entertainerlib/tests/test_lyricsdownloader.py 2009-02-06 08:33:50 +0000 | |||
2133 | +++ entertainerlib/tests/test_lyricsdownloader.py 2009-05-09 15:45:18 +0000 | |||
2134 | @@ -1,22 +1,16 @@ | |||
2135 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2136 | 1 | '''Tests LyricsDownloader''' | 2 | '''Tests LyricsDownloader''' |
2137 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2138 | 3 | 4 | ||
2139 | 4 | __licence__ = "GPLv2" | ||
2140 | 5 | __copyright__ = "2008, Michael Charclo" | ||
2141 | 6 | __author__ = "Michael Charclo <charclo.michael@gmail.com>" | ||
2142 | 7 | |||
2143 | 8 | import unittest | ||
2144 | 9 | import os | 5 | import os |
2145 | 10 | import urllib | 6 | import urllib |
2146 | 11 | 7 | ||
2147 | 8 | from entertainerlib.tests import EntertainerTest | ||
2148 | 12 | from entertainerlib.utils.lyrics_downloader import LyricsDownloader | 9 | from entertainerlib.utils.lyrics_downloader import LyricsDownloader |
2149 | 13 | 10 | ||
2150 | 14 | THIS_DIR = os.path.dirname(__file__) | 11 | THIS_DIR = os.path.dirname(__file__) |
2151 | 15 | 12 | ||
2156 | 16 | class testLyricsDownloader(unittest.TestCase): | 13 | class testLyricsDownloader(EntertainerTest): |
2153 | 17 | |||
2154 | 18 | def setUp(self): | ||
2155 | 19 | pass | ||
2157 | 20 | 14 | ||
2158 | 21 | def testLyricsConstructor(self): | 15 | def testLyricsConstructor(self): |
2159 | 22 | '''testMetadataConstructor - Ensures instantiation of Lyric Downloader | 16 | '''testMetadataConstructor - Ensures instantiation of Lyric Downloader |
2160 | 23 | 17 | ||
2161 | === modified file 'entertainerlib/tests/test_messagetype.py' | |||
2162 | --- entertainerlib/tests/test_messagetype.py 2009-01-31 21:36:56 +0000 | |||
2163 | +++ entertainerlib/tests/test_messagetype.py 2009-05-06 02:02:20 +0000 | |||
2164 | @@ -1,8 +1,5 @@ | |||
2170 | 1 | """MessageType test""" | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
2171 | 2 | 2 | '''Test MessageType''' | |
2167 | 3 | __license__ = 'GPLv2' | ||
2168 | 4 | __copyright__ = '2008, Joshua Scotton' | ||
2169 | 5 | __author__ = 'Joshua Scotton <josh@joshuascotton.com>' | ||
2172 | 6 | 3 | ||
2173 | 7 | from entertainerlib.backend.core.message_type_priority import MessageType | 4 | from entertainerlib.backend.core.message_type_priority import MessageType |
2174 | 8 | from entertainerlib.tests import EntertainerTest | 5 | from entertainerlib.tests import EntertainerTest |
2175 | 9 | 6 | ||
2176 | === modified file 'entertainerlib/tests/test_models.py' | |||
2177 | --- entertainerlib/tests/test_models.py 2009-01-31 21:36:56 +0000 | |||
2178 | +++ entertainerlib/tests/test_models.py 2009-04-28 22:36:38 +0000 | |||
2179 | @@ -1,9 +1,6 @@ | |||
2180 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2181 | 1 | '''Tests for all models''' | 2 | '''Tests for all models''' |
2182 | 2 | 3 | ||
2183 | 3 | __license__ = 'GPLv2' | ||
2184 | 4 | __copyright__ = '2008, Paul Hummer' | ||
2185 | 5 | __author__ = 'Paul Hummer <paul.hummer@canonical.com>' | ||
2186 | 6 | |||
2187 | 7 | from storm.locals import Store | 4 | from storm.locals import Store |
2188 | 8 | 5 | ||
2189 | 9 | from entertainerlib.backend.core.db import models | 6 | from entertainerlib.backend.core.db import models |
2190 | 10 | 7 | ||
2191 | === modified file 'entertainerlib/tests/test_motionbuffer.py' | |||
2192 | --- entertainerlib/tests/test_motionbuffer.py 2009-04-28 12:18:16 +0000 | |||
2193 | +++ entertainerlib/tests/test_motionbuffer.py 2009-05-09 17:03:51 +0000 | |||
2194 | @@ -1,9 +1,6 @@ | |||
2195 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2196 | 1 | """Tests MotionBuffer""" | 2 | """Tests MotionBuffer""" |
2197 | 2 | 3 | ||
2198 | 3 | __license__ = "GPLv2" | ||
2199 | 4 | __copyright__ = "2009, Samuel Buffet" | ||
2200 | 5 | __author__ = "Samuel Buffet <samuel.buffet@gmail.com>" | ||
2201 | 6 | |||
2202 | 7 | from entertainerlib.frontend.gui.widgets.motion_buffer import MotionBuffer | 4 | from entertainerlib.frontend.gui.widgets.motion_buffer import MotionBuffer |
2203 | 8 | from entertainerlib.tests import EntertainerTest | 5 | from entertainerlib.tests import EntertainerTest |
2204 | 9 | from entertainerlib.tests.mock import MockPointerEvent | 6 | from entertainerlib.tests.mock import MockPointerEvent |
2205 | 10 | 7 | ||
2206 | === modified file 'entertainerlib/tests/test_music.py' | |||
2207 | --- entertainerlib/tests/test_music.py 2009-02-14 15:26:32 +0000 | |||
2208 | +++ entertainerlib/tests/test_music.py 2009-04-28 22:30:06 +0000 | |||
2209 | @@ -1,9 +1,6 @@ | |||
2210 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2211 | 1 | '''Tests Music''' | 2 | '''Tests Music''' |
2212 | 2 | 3 | ||
2213 | 3 | __licence__ = "GPLv2" | ||
2214 | 4 | __copyright__ = "2008, Matt Layman" | ||
2215 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2216 | 6 | |||
2217 | 7 | import os | 4 | import os |
2218 | 8 | 5 | ||
2219 | 9 | from pysqlite2 import dbapi2 as sqlite | 6 | from pysqlite2 import dbapi2 as sqlite |
2220 | 10 | 7 | ||
2221 | === modified file 'entertainerlib/tests/test_opmlparser.py' | |||
2222 | --- entertainerlib/tests/test_opmlparser.py 2009-02-08 07:01:25 +0000 | |||
2223 | +++ entertainerlib/tests/test_opmlparser.py 2009-05-06 02:02:20 +0000 | |||
2224 | @@ -1,24 +1,22 @@ | |||
2225 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2226 | 1 | '''Tests OPMLParser''' | 2 | '''Tests OPMLParser''' |
2227 | 2 | # pylint: disable-msg=C0301 | 3 | # pylint: disable-msg=C0301 |
2228 | 3 | 4 | ||
2229 | 4 | __licence__ = "GPLv2" | ||
2230 | 5 | __copyright__ = "2008, Joshua Scotton" | ||
2231 | 6 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2232 | 7 | |||
2233 | 8 | import unittest | ||
2234 | 9 | import os | 5 | import os |
2235 | 10 | import xml.parsers.expat | 6 | import xml.parsers.expat |
2236 | 11 | 7 | ||
2237 | 8 | from entertainerlib.tests import EntertainerTest | ||
2238 | 12 | from entertainerlib.utils.feed_utils import OPMLParser | 9 | from entertainerlib.utils.feed_utils import OPMLParser |
2239 | 13 | 10 | ||
2240 | 14 | THIS_DIR = os.path.dirname(__file__) | 11 | THIS_DIR = os.path.dirname(__file__) |
2241 | 15 | 12 | ||
2242 | 16 | 13 | ||
2244 | 17 | class OPMLParserTest(unittest.TestCase): | 14 | class OPMLParserTest(EntertainerTest): |
2245 | 18 | '''Test OPMLParser''' | 15 | '''Test OPMLParser''' |
2246 | 19 | 16 | ||
2247 | 20 | def setUp(self): | 17 | def setUp(self): |
2248 | 21 | '''See unittest.TestCase''' | 18 | '''See unittest.TestCase''' |
2249 | 19 | EntertainerTest.setUp(self) | ||
2250 | 22 | 20 | ||
2251 | 23 | #set up lists and paths | 21 | #set up lists and paths |
2252 | 24 | self.testURL = "http://www.scripting.com/feeds/top100.opml" | 22 | self.testURL = "http://www.scripting.com/feeds/top100.opml" |
2253 | 25 | 23 | ||
2254 | === modified file 'entertainerlib/tests/test_screen.py' | |||
2255 | --- entertainerlib/tests/test_screen.py 2009-04-27 23:12:40 +0000 | |||
2256 | +++ entertainerlib/tests/test_screen.py 2009-05-06 01:35:19 +0000 | |||
2257 | @@ -1,9 +1,6 @@ | |||
2258 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2259 | 1 | '''Tests Screen''' | 2 | '''Tests Screen''' |
2260 | 2 | 3 | ||
2261 | 3 | __license__ = "GPLv2" | ||
2262 | 4 | __copyright__ = "2008, Matt Layman" | ||
2263 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2264 | 6 | |||
2265 | 7 | import clutter | 4 | import clutter |
2266 | 8 | 5 | ||
2267 | 9 | from entertainerlib.exceptions import ScreenException | 6 | from entertainerlib.exceptions import ScreenException |
2268 | 10 | 7 | ||
2269 | === modified file 'entertainerlib/tests/test_screenfactory.py' | |||
2270 | --- entertainerlib/tests/test_screenfactory.py 2009-02-06 08:33:50 +0000 | |||
2271 | +++ entertainerlib/tests/test_screenfactory.py 2009-04-28 22:30:06 +0000 | |||
2272 | @@ -1,10 +1,7 @@ | |||
2273 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2274 | 1 | '''Tests ScreenFactory''' | 2 | '''Tests ScreenFactory''' |
2275 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2276 | 3 | 4 | ||
2277 | 4 | __license__ = 'GPLv2' | ||
2278 | 5 | __copyright__ = '2009, Matt Layman' | ||
2279 | 6 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2280 | 7 | |||
2281 | 8 | import os | 5 | import os |
2282 | 9 | 6 | ||
2283 | 10 | from entertainerlib.frontend.gui.screens.album import Album | 7 | from entertainerlib.frontend.gui.screens.album import Album |
2284 | 11 | 8 | ||
2285 | === modified file 'entertainerlib/tests/test_scrollarea.py' | |||
2286 | --- entertainerlib/tests/test_scrollarea.py 2009-02-06 08:13:48 +0000 | |||
2287 | +++ entertainerlib/tests/test_scrollarea.py 2009-04-28 22:30:06 +0000 | |||
2288 | @@ -1,9 +1,6 @@ | |||
2289 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2290 | 1 | """Tests ScrollArea""" | 2 | """Tests ScrollArea""" |
2291 | 2 | 3 | ||
2292 | 3 | __license__ = "GPLv2" | ||
2293 | 4 | __copyright__ = "2008, Matt Layman" | ||
2294 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2295 | 6 | |||
2296 | 7 | import clutter | 4 | import clutter |
2297 | 8 | 5 | ||
2298 | 9 | from entertainerlib.frontend.gui.widgets.base import Base | 6 | from entertainerlib.frontend.gui.widgets.base import Base |
2299 | 10 | 7 | ||
2300 | === modified file 'entertainerlib/tests/test_scrollmenu.py' | |||
2301 | --- entertainerlib/tests/test_scrollmenu.py 2009-04-28 12:18:16 +0000 | |||
2302 | +++ entertainerlib/tests/test_scrollmenu.py 2009-05-09 17:03:51 +0000 | |||
2303 | @@ -1,9 +1,6 @@ | |||
2304 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2305 | 1 | """Tests ScrollMenu""" | 2 | """Tests ScrollMenu""" |
2306 | 2 | 3 | ||
2307 | 3 | __license__ = "GPLv2" | ||
2308 | 4 | __copyright__ = "2009, Samuel Buffet" | ||
2309 | 5 | __author__ = "Samuel Buffet <samuel.buffet@gmail.com>" | ||
2310 | 6 | |||
2311 | 7 | import time | 4 | import time |
2312 | 8 | 5 | ||
2313 | 9 | from entertainerlib.frontend.gui.widgets.scroll_menu import ScrollMenu | 6 | from entertainerlib.frontend.gui.widgets.scroll_menu import ScrollMenu |
2314 | 10 | 7 | ||
2315 | === modified file 'entertainerlib/tests/test_storage.py' | |||
2316 | --- entertainerlib/tests/test_storage.py 2009-02-10 04:54:36 +0000 | |||
2317 | +++ entertainerlib/tests/test_storage.py 2009-05-06 03:40:22 +0000 | |||
2318 | @@ -1,5 +1,7 @@ | |||
2319 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2320 | 1 | '''Test the Storage classes.''' | 2 | '''Test the Storage classes.''' |
2321 | 2 | # pylint: disable-msg=W0704,W0612 | 3 | # pylint: disable-msg=W0704,W0612 |
2322 | 4 | |||
2323 | 3 | from entertainerlib.storage import Storage | 5 | from entertainerlib.storage import Storage |
2324 | 4 | from entertainerlib.tests import EntertainerTest | 6 | from entertainerlib.tests import EntertainerTest |
2325 | 5 | 7 | ||
2326 | 6 | 8 | ||
2327 | === modified file 'entertainerlib/tests/test_texture.py' | |||
2328 | --- entertainerlib/tests/test_texture.py 2009-02-06 08:33:50 +0000 | |||
2329 | +++ entertainerlib/tests/test_texture.py 2009-04-28 22:30:06 +0000 | |||
2330 | @@ -1,10 +1,7 @@ | |||
2331 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2332 | 1 | """Tests Texture""" | 2 | """Tests Texture""" |
2333 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2334 | 3 | 4 | ||
2335 | 4 | __license__ = "GPLv2" | ||
2336 | 5 | __copyright__ = "2008, Matt Layman" | ||
2337 | 6 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2338 | 7 | |||
2339 | 8 | import os | 5 | import os |
2340 | 9 | 6 | ||
2341 | 10 | import clutter | 7 | import clutter |
2342 | 11 | 8 | ||
2343 | === modified file 'entertainerlib/tests/test_theme.py' | |||
2344 | --- entertainerlib/tests/test_theme.py 2009-01-31 21:36:56 +0000 | |||
2345 | +++ entertainerlib/tests/test_theme.py 2009-04-28 22:30:06 +0000 | |||
2346 | @@ -1,9 +1,6 @@ | |||
2347 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2348 | 1 | """Tests Theme""" | 2 | """Tests Theme""" |
2349 | 2 | 3 | ||
2350 | 3 | __license__ = "GPLv2" | ||
2351 | 4 | __copyright__ = "2008, Matt Layman" | ||
2352 | 5 | __author__ = "Matt Layman <laymansterms.dev@gmail.com>" | ||
2353 | 6 | |||
2354 | 7 | from entertainerlib.tests import EntertainerTest | 4 | from entertainerlib.tests import EntertainerTest |
2355 | 8 | from entertainerlib.utils.theme import Theme | 5 | from entertainerlib.utils.theme import Theme |
2356 | 9 | 6 | ||
2357 | 10 | 7 | ||
2358 | === modified file 'entertainerlib/tests/test_thumbnailer.py' | |||
2359 | --- entertainerlib/tests/test_thumbnailer.py 2009-02-19 14:41:03 +0000 | |||
2360 | +++ entertainerlib/tests/test_thumbnailer.py 2009-05-06 03:40:22 +0000 | |||
2361 | @@ -1,3 +1,4 @@ | |||
2362 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2363 | 1 | '''Thumbnailer tests.''' | 2 | '''Thumbnailer tests.''' |
2364 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2365 | 3 | 4 | ||
2366 | 4 | 5 | ||
2367 | === modified file 'entertainerlib/tests/test_transitionfactory.py' | |||
2368 | --- entertainerlib/tests/test_transitionfactory.py 2009-02-07 17:12:21 +0000 | |||
2369 | +++ entertainerlib/tests/test_transitionfactory.py 2009-04-28 22:30:06 +0000 | |||
2370 | @@ -1,10 +1,7 @@ | |||
2371 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2372 | 1 | '''Tests TransitionFactory''' | 2 | '''Tests TransitionFactory''' |
2373 | 2 | # pylint: disable-msg=W0212 | 3 | # pylint: disable-msg=W0212 |
2374 | 3 | 4 | ||
2375 | 4 | __license__ = 'GPLv2' | ||
2376 | 5 | __copyright__ = '2009, Matt Layman' | ||
2377 | 6 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2378 | 7 | |||
2379 | 8 | from entertainerlib.frontend.gui.transitions.factory import TransitionFactory | 5 | from entertainerlib.frontend.gui.transitions.factory import TransitionFactory |
2380 | 9 | from entertainerlib.frontend.gui.transitions.fade import Fade | 6 | from entertainerlib.frontend.gui.transitions.fade import Fade |
2381 | 10 | from entertainerlib.frontend.gui.transitions.no_effect import NoEffect | 7 | from entertainerlib.frontend.gui.transitions.no_effect import NoEffect |
2382 | 11 | 8 | ||
2383 | === modified file 'entertainerlib/tests/test_userinterface.py' | |||
2384 | --- entertainerlib/tests/test_userinterface.py 2009-04-27 23:12:40 +0000 | |||
2385 | +++ entertainerlib/tests/test_userinterface.py 2009-05-06 01:35:19 +0000 | |||
2386 | @@ -1,9 +1,6 @@ | |||
2387 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2388 | 1 | '''Tests UserInterface''' | 2 | '''Tests UserInterface''' |
2389 | 2 | 3 | ||
2390 | 3 | __license__ = 'GPLv2' | ||
2391 | 4 | __copyright__ = '2009, Matt Layman' | ||
2392 | 5 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2393 | 6 | |||
2394 | 7 | import clutter | 4 | import clutter |
2395 | 8 | 5 | ||
2396 | 9 | from entertainerlib.frontend.gui.screens.question import Question | 6 | from entertainerlib.frontend.gui.screens.question import Question |
2397 | 10 | 7 | ||
2398 | === modified file 'entertainerlib/tests/test_videometadatasearch.py' | |||
2399 | --- entertainerlib/tests/test_videometadatasearch.py 2009-01-31 21:36:56 +0000 | |||
2400 | +++ entertainerlib/tests/test_videometadatasearch.py 2009-05-09 15:45:18 +0000 | |||
2401 | @@ -1,22 +1,14 @@ | |||
2402 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2403 | 1 | '''Tests VideoMetadataSearch''' | 2 | '''Tests VideoMetadataSearch''' |
2404 | 2 | 3 | ||
2405 | 3 | __licence__ = "GPLv2" | ||
2406 | 4 | __copyright__ = "2008, Michael Charclo" | ||
2407 | 5 | __author__ = "Michael Charclo <charclo.michael@gmail.com>" | ||
2408 | 6 | |||
2409 | 7 | import unittest | ||
2410 | 8 | |||
2411 | 9 | # XXX: rockstar - Modules should not get this deep | 4 | # XXX: rockstar - Modules should not get this deep |
2412 | 10 | from entertainerlib.backend.components.mediacache.video_metadata_search import ( | 5 | from entertainerlib.backend.components.mediacache.video_metadata_search import ( |
2413 | 11 | VideoMetadataSearch) | 6 | VideoMetadataSearch) |
2414 | 7 | from entertainerlib.tests import EntertainerTest | ||
2415 | 12 | 8 | ||
2417 | 13 | class testVideoMetadataSearch(unittest.TestCase): | 9 | class testVideoMetadataSearch(EntertainerTest): |
2418 | 14 | '''Tests VideoMetdataSearch''' | 10 | '''Tests VideoMetdataSearch''' |
2419 | 15 | 11 | ||
2420 | 16 | def setUp(self): | ||
2421 | 17 | '''See unittest.TestCase''' | ||
2422 | 18 | pass | ||
2423 | 19 | |||
2424 | 20 | def testMetadataConstructor(self): | 12 | def testMetadataConstructor(self): |
2425 | 21 | '''testMetadataConstructor - Ensures instantiation of metadata search | 13 | '''testMetadataConstructor - Ensures instantiation of metadata search |
2426 | 22 | class''' | 14 | class''' |
2427 | 23 | 15 | ||
2428 | === modified file 'entertainerlib/tests/test_weather.py' | |||
2429 | --- entertainerlib/tests/test_weather.py 2009-05-06 01:59:02 +0000 | |||
2430 | +++ entertainerlib/tests/test_weather.py 2009-05-09 17:03:51 +0000 | |||
2431 | @@ -1,9 +1,6 @@ | |||
2432 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2433 | 1 | '''Tests Weather''' | 2 | '''Tests Weather''' |
2434 | 2 | 3 | ||
2435 | 3 | __licence__ = "GPLv2" | ||
2436 | 4 | __copyright__ = "2008, Jamie Bennett" | ||
2437 | 5 | __author__ = "Jamie Bennett <jamie@linuxuk.org>" | ||
2438 | 6 | |||
2439 | 7 | from datetime import datetime, timedelta, tzinfo | 4 | from datetime import datetime, timedelta, tzinfo |
2440 | 8 | 5 | ||
2441 | 9 | from entertainerlib.tests import EntertainerTest | 6 | from entertainerlib.tests import EntertainerTest |
2442 | @@ -13,7 +10,6 @@ | |||
2443 | 13 | """ | 10 | """ |
2444 | 14 | WeatherTest class | 11 | WeatherTest class |
2445 | 15 | Tests for the weather module. | 12 | Tests for the weather module. |
2446 | 16 | @author: Jamie Bennett <jamie@linuxuk.org> | ||
2447 | 17 | """ | 13 | """ |
2448 | 18 | def setUp(self): | 14 | def setUp(self): |
2449 | 19 | """Sets up everything for the test""" | 15 | """Sets up everything for the test""" |
2450 | 20 | 16 | ||
2451 | === modified file 'entertainerlib/thumbnailer.py' | |||
2452 | --- entertainerlib/thumbnailer.py 2009-02-19 14:25:51 +0000 | |||
2453 | +++ entertainerlib/thumbnailer.py 2009-04-28 22:36:38 +0000 | |||
2454 | @@ -1,11 +1,7 @@ | |||
2455 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2456 | 1 | '''Thumbnailer classes for image and video.''' | 2 | '''Thumbnailer classes for image and video.''' |
2457 | 2 | # pylint: disable-msg=C0301 | 3 | # pylint: disable-msg=C0301 |
2458 | 3 | 4 | ||
2459 | 4 | __licence__ = "GPLv2" | ||
2460 | 5 | __copyright__ = "2009, Paul Hummer" | ||
2461 | 6 | __author__ = "Paul Hummer <paul@ironlionsoftware.com>" | ||
2462 | 7 | __maintainer__ = "Paul Hummer <paul@ironlionsoftware.com>" | ||
2463 | 8 | |||
2464 | 9 | import os | 5 | import os |
2465 | 10 | from threading import Event | 6 | from threading import Event |
2466 | 11 | import hashlib | 7 | import hashlib |
2467 | 12 | 8 | ||
2468 | === modified file 'entertainerlib/utils/__init__.py' | |||
2469 | --- entertainerlib/utils/__init__.py 2008-08-07 01:17:29 +0000 | |||
2470 | +++ entertainerlib/utils/__init__.py 2009-05-06 03:40:22 +0000 | |||
2471 | @@ -1,1 +1,2 @@ | |||
2472 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2473 | 1 | '''Entertainer utils''' | 2 | '''Entertainer utils''' |
2474 | 2 | 3 | ||
2475 | === modified file 'entertainerlib/utils/albumart_downloader.py' | |||
2476 | --- entertainerlib/utils/albumart_downloader.py 2009-03-22 04:53:10 +0000 | |||
2477 | +++ entertainerlib/utils/albumart_downloader.py 2009-05-06 02:58:08 +0000 | |||
2478 | @@ -1,11 +1,6 @@ | |||
2479 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2480 | 1 | '''AlbumArtDownloader - Search and download album art from the internet.''' | 2 | '''AlbumArtDownloader - Search and download album art from the internet.''' |
2481 | 2 | 3 | ||
2482 | 3 | __licence__ = "GPLv2" | ||
2483 | 4 | __copyright__ = "2007, Lauri Taimila, " | ||
2484 | 5 | __copyright__ += "2008, Matt Layman" | ||
2485 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>, " | ||
2486 | 7 | __author__ += "Matt Layman <laymansterms.dev@gmail.com" | ||
2487 | 8 | |||
2488 | 9 | import os | 4 | import os |
2489 | 10 | import re | 5 | import re |
2490 | 11 | import locale | 6 | import locale |
2491 | 12 | 7 | ||
2492 | === modified file 'entertainerlib/utils/cd_utils.py' | |||
2493 | --- entertainerlib/utils/cd_utils.py 2008-06-16 04:10:47 +0000 | |||
2494 | +++ entertainerlib/utils/cd_utils.py 2009-05-06 02:02:20 +0000 | |||
2495 | @@ -1,10 +1,7 @@ | |||
2496 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2497 | 1 | '''Utilities for handling the cd''' | 2 | '''Utilities for handling the cd''' |
2498 | 2 | # XXX: rockstar - Why do we have module for a single function? | 3 | # XXX: rockstar - Why do we have module for a single function? |
2499 | 3 | 4 | ||
2500 | 4 | __licence__ = "GPLv2" | ||
2501 | 5 | __copyright__ = "2008, Joshua Scotton" | ||
2502 | 6 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2503 | 7 | |||
2504 | 8 | import os | 5 | import os |
2505 | 9 | 6 | ||
2506 | 10 | def eject_cd(): | 7 | def eject_cd(): |
2507 | 11 | 8 | ||
2508 | === modified file 'entertainerlib/utils/configuration.py' | |||
2509 | --- entertainerlib/utils/configuration.py 2009-03-08 21:29:32 +0000 | |||
2510 | +++ entertainerlib/utils/configuration.py 2009-05-06 02:58:08 +0000 | |||
2511 | @@ -1,10 +1,6 @@ | |||
2512 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2513 | 1 | '''Configuration - Class represents Entertainer's configuration''' | 2 | '''Configuration - Class represents Entertainer's configuration''' |
2514 | 2 | 3 | ||
2515 | 3 | __licence__ = "GPLv2" | ||
2516 | 4 | __copyright__ = ("2007, Lauri Taimila", "2008, Matt Layman") | ||
2517 | 5 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
2518 | 6 | "Matt Layman <laymansterms.dev@gmail.com>") | ||
2519 | 7 | |||
2520 | 8 | import os | 4 | import os |
2521 | 9 | import sys | 5 | import sys |
2522 | 10 | import shutil | 6 | import shutil |
2523 | @@ -348,7 +344,6 @@ | |||
2524 | 348 | """ | 344 | """ |
2525 | 349 | Should we display the cd eject button in frontend | 345 | Should we display the cd eject button in frontend |
2526 | 350 | @return: Boolean | 346 | @return: Boolean |
2527 | 351 | @author: Joshua Scotton | ||
2528 | 352 | """ | 347 | """ |
2529 | 353 | try: | 348 | try: |
2530 | 354 | result = self.content_config.getboolean("CD", | 349 | result = self.content_config.getboolean("CD", |
2531 | 355 | 350 | ||
2532 | === modified file 'entertainerlib/utils/content_management_dialog.py' | |||
2533 | --- entertainerlib/utils/content_management_dialog.py 2009-04-17 21:35:32 +0000 | |||
2534 | +++ entertainerlib/utils/content_management_dialog.py 2009-05-06 02:58:08 +0000 | |||
2535 | @@ -1,11 +1,7 @@ | |||
2536 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2537 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2538 | 2 | '''Content management GUI for Entertainer''' | 3 | '''Content management GUI for Entertainer''' |
2539 | 3 | 4 | ||
2540 | 4 | __licence__ = "GPLv2" | ||
2541 | 5 | __copyright__ = "2008, Lauri Taimila and Joshua Scotton" | ||
2542 | 6 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
2543 | 7 | "Joshua Scotton <josh@joshuascotton.com>") | ||
2544 | 8 | |||
2545 | 9 | import os | 5 | import os |
2546 | 10 | import socket | 6 | import socket |
2547 | 11 | 7 | ||
2548 | 12 | 8 | ||
2549 | === modified file 'entertainerlib/utils/feed_utils.py' | |||
2550 | --- entertainerlib/utils/feed_utils.py 2009-02-08 07:43:25 +0000 | |||
2551 | +++ entertainerlib/utils/feed_utils.py 2009-05-06 02:02:20 +0000 | |||
2552 | @@ -1,9 +1,6 @@ | |||
2553 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2554 | 1 | '''Utilities for fetching feeds''' | 2 | '''Utilities for fetching feeds''' |
2555 | 2 | 3 | ||
2556 | 3 | __licence__ = "GPLv2" | ||
2557 | 4 | __copyright__ = "2008, Joshua Scotton" | ||
2558 | 5 | __author__ = "Joshua Scotton <josh@joshuascotton.com>" | ||
2559 | 6 | |||
2560 | 7 | import os | 4 | import os |
2561 | 8 | import urllib | 5 | import urllib |
2562 | 9 | from xml.dom import minidom | 6 | from xml.dom import minidom |
2563 | 10 | 7 | ||
2564 | === modified file 'entertainerlib/utils/log_viewer.py' | |||
2565 | --- entertainerlib/utils/log_viewer.py 2009-01-11 19:20:27 +0000 | |||
2566 | +++ entertainerlib/utils/log_viewer.py 2009-05-06 02:58:08 +0000 | |||
2567 | @@ -1,9 +1,6 @@ | |||
2568 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2569 | 1 | '''Implements dialog that allows users to see logged events''' | 2 | '''Implements dialog that allows users to see logged events''' |
2570 | 2 | 3 | ||
2571 | 3 | __licence__ = "GPLv2" | ||
2572 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
2573 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
2574 | 6 | |||
2575 | 7 | import os | 4 | import os |
2576 | 8 | import sys | 5 | import sys |
2577 | 9 | 6 | ||
2578 | @@ -160,7 +157,6 @@ | |||
2579 | 160 | def parse_row(row): | 157 | def parse_row(row): |
2580 | 161 | """ | 158 | """ |
2581 | 162 | This parses the input list into a list suitable for the logviewer | 159 | This parses the input list into a list suitable for the logviewer |
2582 | 163 | @author Joshua Scotton | ||
2583 | 164 | @param row The input list [Date, Time, Class, Type + Description] | 160 | @param row The input list [Date, Time, Class, Type + Description] |
2584 | 165 | """ | 161 | """ |
2585 | 166 | if row[3][:5] == "DEBUG": | 162 | if row[3][:5] == "DEBUG": |
2586 | 167 | 163 | ||
2587 | === modified file 'entertainerlib/utils/logger.py' | |||
2588 | --- entertainerlib/utils/logger.py 2009-01-11 02:26:45 +0000 | |||
2589 | +++ entertainerlib/utils/logger.py 2009-04-28 22:30:06 +0000 | |||
2590 | @@ -1,9 +1,6 @@ | |||
2591 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2592 | 1 | '''Logger class''' | 2 | '''Logger class''' |
2593 | 2 | 3 | ||
2594 | 3 | __license__ = 'GPLv2' | ||
2595 | 4 | __copyright__ = '2008, Matt Layman' | ||
2596 | 5 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2597 | 6 | |||
2598 | 7 | import logging | 4 | import logging |
2599 | 8 | 5 | ||
2600 | 9 | from entertainerlib.utils.configuration import Configuration | 6 | from entertainerlib.utils.configuration import Configuration |
2601 | 10 | 7 | ||
2602 | === modified file 'entertainerlib/utils/lyrics_downloader.py' | |||
2603 | --- entertainerlib/utils/lyrics_downloader.py 2009-03-22 04:06:48 +0000 | |||
2604 | +++ entertainerlib/utils/lyrics_downloader.py 2009-05-09 15:45:18 +0000 | |||
2605 | @@ -1,9 +1,5 @@ | |||
2612 | 1 | """Search and download lyrics from the internet.""" | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 |
2613 | 2 | 2 | '''Search and download lyrics from the internet.''' | |
2608 | 3 | __licence__ = "GPLv2" | ||
2609 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
2610 | 5 | __author__ = ("Lauri Taimila <lauri@taimila.com>", | ||
2611 | 6 | "Charclo Michael <charclo.michael@gmail.com>") | ||
2614 | 7 | 3 | ||
2615 | 8 | import urllib | 4 | import urllib |
2616 | 9 | import socket | 5 | import socket |
2617 | 10 | 6 | ||
2618 | === modified file 'entertainerlib/utils/open_feed_source_dialog.py' | |||
2619 | --- entertainerlib/utils/open_feed_source_dialog.py 2009-02-07 17:12:21 +0000 | |||
2620 | +++ entertainerlib/utils/open_feed_source_dialog.py 2009-05-06 03:40:22 +0000 | |||
2621 | @@ -1,3 +1,4 @@ | |||
2622 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2623 | 1 | '''Feed source reader''' | 2 | '''Feed source reader''' |
2624 | 2 | 3 | ||
2625 | 3 | import os | 4 | import os |
2626 | 4 | 5 | ||
2627 | === modified file 'entertainerlib/utils/preferences_dialog.py' | |||
2628 | --- entertainerlib/utils/preferences_dialog.py 2009-03-21 20:31:35 +0000 | |||
2629 | +++ entertainerlib/utils/preferences_dialog.py 2009-05-06 03:40:22 +0000 | |||
2630 | @@ -1,4 +1,5 @@ | |||
2631 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2632 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2633 | 2 | '''Preferences editing tool for Entertainer media center''' | 3 | '''Preferences editing tool for Entertainer media center''' |
2634 | 3 | 4 | ||
2635 | 4 | import os | 5 | import os |
2636 | 5 | 6 | ||
2637 | === modified file 'entertainerlib/utils/system_tray_icon.py' | |||
2638 | --- entertainerlib/utils/system_tray_icon.py 2009-02-07 00:28:11 +0000 | |||
2639 | +++ entertainerlib/utils/system_tray_icon.py 2009-05-06 02:58:08 +0000 | |||
2640 | @@ -1,9 +1,6 @@ | |||
2641 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2642 | 1 | '''SystemTrayIcon class - Implements system tray icon for Entertainer.''' | 2 | '''SystemTrayIcon class - Implements system tray icon for Entertainer.''' |
2643 | 2 | 3 | ||
2644 | 3 | __licence__ = "GPLv2" | ||
2645 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
2646 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
2647 | 6 | |||
2648 | 7 | import os | 4 | import os |
2649 | 8 | 5 | ||
2650 | 9 | import gtk | 6 | import gtk |
2651 | @@ -22,10 +19,7 @@ | |||
2652 | 22 | GLADE_DIR = os.path.join(FILE_DIR, "glade") | 19 | GLADE_DIR = os.path.join(FILE_DIR, "glade") |
2653 | 23 | 20 | ||
2654 | 24 | def __init__(self, quit_callback, toggle_interface_visibility_callback): | 21 | def __init__(self, quit_callback, toggle_interface_visibility_callback): |
2659 | 25 | """ | 22 | '''Create the system tray icon and pop-up menu for it.''' |
2656 | 26 | Create system tray icon and pop-up menu for it. | ||
2657 | 27 | @author ["Joshua Scotton", "Lauri Taimila"] | ||
2658 | 28 | """ | ||
2660 | 29 | self.quit_callback = quit_callback | 23 | self.quit_callback = quit_callback |
2661 | 30 | self.toggle_interface_visibility_callback = \ | 24 | self.toggle_interface_visibility_callback = \ |
2662 | 31 | toggle_interface_visibility_callback | 25 | toggle_interface_visibility_callback |
2663 | 32 | 26 | ||
2664 | === modified file 'entertainerlib/utils/theme.py' | |||
2665 | --- entertainerlib/utils/theme.py 2009-02-07 21:43:35 +0000 | |||
2666 | +++ entertainerlib/utils/theme.py 2009-05-06 03:40:22 +0000 | |||
2667 | @@ -1,9 +1,6 @@ | |||
2668 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2669 | 1 | '''Theme - Theme represents currently used theme.''' | 2 | '''Theme - Theme represents currently used theme.''' |
2670 | 2 | 3 | ||
2671 | 3 | __licence__ = "GPLv2" | ||
2672 | 4 | __copyright__ = "2007, Lauri Taimila" | ||
2673 | 5 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
2674 | 6 | |||
2675 | 7 | import os | 4 | import os |
2676 | 8 | import sys | 5 | import sys |
2677 | 9 | import ConfigParser | 6 | import ConfigParser |
2678 | 10 | 7 | ||
2679 | === modified file 'entertainerlib/utils/weather.py' | |||
2680 | --- entertainerlib/utils/weather.py 2009-01-11 02:51:18 +0000 | |||
2681 | +++ entertainerlib/utils/weather.py 2009-04-28 22:45:31 +0000 | |||
2682 | @@ -1,11 +1,9 @@ | |||
2683 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2684 | 1 | """ | 2 | """ |
2685 | 2 | Weather Class | 3 | Weather Class |
2686 | 3 | Uses google weathers api to get a weather forecast for the next | 4 | Uses google weathers api to get a weather forecast for the next |
2687 | 4 | 4 days. | 5 | 4 days. |
2688 | 5 | """ | 6 | """ |
2689 | 6 | __licence__ = "GPLv2" | ||
2690 | 7 | __copyright__ = ("2008, Jamie Bennett", "2008, Samuel Buffet") | ||
2691 | 8 | __author__ = ("Jamie Bennett <jamie@linuxuk.org>", "Samuel Buffet") | ||
2692 | 9 | 7 | ||
2693 | 10 | import locale | 8 | import locale |
2694 | 11 | import urllib2 | 9 | import urllib2 |
2695 | @@ -35,7 +33,6 @@ | |||
2696 | 35 | class Weather: | 33 | class Weather: |
2697 | 36 | """ | 34 | """ |
2698 | 37 | Weather class | 35 | Weather class |
2699 | 38 | @author: Jamie Bennett <jamie@linuxuk.org> | ||
2700 | 39 | """ | 36 | """ |
2701 | 40 | 37 | ||
2702 | 41 | def __init__(self, location=""): | 38 | def __init__(self, location=""): |
2703 | 42 | 39 | ||
2704 | === modified file 'setup.py' | |||
2705 | --- setup.py 2009-04-07 18:45:52 +0000 | |||
2706 | +++ setup.py 2009-04-28 23:54:49 +0000 | |||
2707 | @@ -1,4 +1,5 @@ | |||
2708 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2709 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2710 | 2 | '''distutils installation script''' | 3 | '''distutils installation script''' |
2711 | 3 | 4 | ||
2712 | 4 | from distutils import log | 5 | from distutils import log |
2713 | 5 | 6 | ||
2714 | === modified file 'tools/__init__.py' | |||
2715 | --- tools/__init__.py 2008-12-18 23:23:17 +0000 | |||
2716 | +++ tools/__init__.py 2009-05-06 03:40:22 +0000 | |||
2717 | @@ -1,1 +1,2 @@ | |||
2718 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2719 | 1 | '''Entertainer tools''' | 2 | '''Entertainer tools''' |
2720 | 2 | 3 | ||
2721 | === modified file 'tools/loc.py' | |||
2722 | --- tools/loc.py 2008-12-18 23:23:17 +0000 | |||
2723 | +++ tools/loc.py 2009-04-28 23:54:49 +0000 | |||
2724 | @@ -1,3 +1,4 @@ | |||
2725 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2726 | 1 | '''Counts lines of code in entertainer''' | 2 | '''Counts lines of code in entertainer''' |
2727 | 2 | import os | 3 | import os |
2728 | 3 | 4 | ||
2729 | 4 | 5 | ||
2730 | === modified file 'tools/messagebus-notifier' | |||
2731 | --- tools/messagebus-notifier 2009-02-26 22:58:43 +0000 | |||
2732 | +++ tools/messagebus-notifier 2009-05-06 02:58:08 +0000 | |||
2733 | @@ -1,10 +1,7 @@ | |||
2734 | 1 | #!/usr/bin/env python | 1 | #!/usr/bin/env python |
2735 | 2 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2736 | 2 | '''A messagebus notifier tool''' | 3 | '''A messagebus notifier tool''' |
2737 | 3 | 4 | ||
2738 | 4 | __licence__ = "GPLv2" | ||
2739 | 5 | __copyright__ = "2007, Lauri Taimila" | ||
2740 | 6 | __author__ = "Lauri Taimila <lauri@taimila.com>" | ||
2741 | 7 | |||
2742 | 8 | import os | 5 | import os |
2743 | 9 | import sys | 6 | import sys |
2744 | 10 | 7 | ||
2745 | 11 | 8 | ||
2746 | === modified file 'tools/translations_generator.py' | |||
2747 | --- tools/translations_generator.py 2009-02-07 17:12:21 +0000 | |||
2748 | +++ tools/translations_generator.py 2009-04-28 22:30:06 +0000 | |||
2749 | @@ -1,9 +1,6 @@ | |||
2750 | 1 | # Copyright (c) 2009 Entertainer Developers - See COPYING - GPLv2 | ||
2751 | 1 | '''Generate translations related files, pot/po/mo''' | 2 | '''Generate translations related files, pot/po/mo''' |
2752 | 2 | 3 | ||
2753 | 3 | __license__ = 'GPLv2' | ||
2754 | 4 | __copyright__ = '2008, Matt Layman' | ||
2755 | 5 | __author__ = 'Matt Layman <laymansterms.dev@gmail.com>' | ||
2756 | 6 | |||
2757 | 7 | import glob | 4 | import glob |
2758 | 8 | import os | 5 | import os |
2759 | 9 | import re | 6 | import re |
This branch is boring, but important. I have received email confirmation from all of the authors agreeing to transfer their copyright to Entertainer Developers. Rather than have each one submit a branch to make the changes, I've done it for the whole tree. This branch has the following changes:
* Copyright statements have been added to every source file.
* All copyright holding authors have been included in docs/COPYING.
* HACKING was modified to discuss copyright assignment.
* I did some small cleanup of some test files that weren't using EntertainerTest for some reason.
This is a pretty big branch, but it won't require a lot of thought to review.