Merge lp:~simonschneegans/do-plugins/grooveshark into lp:do-plugins
- grooveshark
- Merge into trunk
Status: | Needs review |
---|---|
Proposed branch: | lp:~simonschneegans/do-plugins/grooveshark |
Merge into: | lp:do-plugins |
Diff against target: |
548 lines (+377/-10) 17 files modified
Baconator/Baconator.mdp (+1/-1) Banshee/Banshee.mdp (+1/-1) Chromium/Chromium.mdp (+1/-1) DoPlugins.mds (+4/-0) Evolution/Evolution.mdp (+1/-1) GNOME-Calculator/GNOME-Calculator.mdp (+1/-1) Grooveshark/Grooveshark.mdp (+35/-0) Grooveshark/Grooveshark.mds (+16/-0) Grooveshark/Resources/Grooveshark.addin.xml (+28/-0) Grooveshark/Resources/icons/grooveshark.svg (+65/-0) Grooveshark/src/GroovesharkPlayAction.cs (+72/-0) Grooveshark/src/GroovesharkSearchAction.cs (+147/-0) OpenSearch/OpenSearch.mdp (+1/-1) Pastebin/Pastebin.mdp (+1/-1) Skype/Skype.mdp (+1/-1) SqueezeCenter/SqueezeCenterPlugin.mdp (+1/-1) WindowManager/WindowManager.mdp (+1/-1) |
To merge this branch: | bzr merge lp:~simonschneegans/do-plugins/grooveshark |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Do Plugins Team | Pending | ||
Review via email: mp+21155@code.launchpad.net |
Commit message
Description of the change
New Plugin: Grooveshark
I wrote a plugin which searches the well-known song-streaming site "www.grooveshar
In order to use this plugin just enter the name, artist and/or album of the song and choose "Play on Grooveshark" or "Search Grooveshark".
Since this is the first "application" I wrote there might be a lot of stupid mistakes and much strange stuff inside, but for me it worked like a charme and I don't see any bugs anymore, so I decided to propose to merge!
Unmerged revisions
- 683. By Simon Schneegans <simon@simon-laptop>
-
Reverted some changes done to unrelated files
- 682. By Simon Schneegans <simon@simon-laptop>
-
Corrected some information in the addin.xml file
- 681. By Simon Schneegans <simon@simon-laptop>
-
Cleaned up files and dependencies
- 680. By Simon Schneegans <simon@simon-laptop>
-
Initial import
Preview Diff
1 | === modified file 'Baconator/Baconator.mdp' | |||
2 | --- Baconator/Baconator.mdp 2009-06-29 08:47:41 +0000 | |||
3 | +++ Baconator/Baconator.mdp 2010-03-24 12:58:27 +0000 | |||
4 | @@ -25,4 +25,4 @@ | |||
5 | 25 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Universe.dll" /> | 25 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Universe.dll" /> |
6 | 26 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> | 26 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
7 | 27 | </References> | 27 | </References> |
8 | 28 | </Project> | ||
9 | 29 | \ No newline at end of file | 28 | \ No newline at end of file |
10 | 29 | </Project> | ||
11 | 30 | 30 | ||
12 | === modified file 'Banshee/Banshee.mdp' | |||
13 | --- Banshee/Banshee.mdp 2009-06-29 08:47:41 +0000 | |||
14 | +++ Banshee/Banshee.mdp 2010-03-24 12:58:27 +0000 | |||
15 | @@ -42,4 +42,4 @@ | |||
16 | 42 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 42 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
17 | 43 | </References> | 43 | </References> |
18 | 44 | <Deployment.LinuxDeployData scriptName="banshee-1" /> | 44 | <Deployment.LinuxDeployData scriptName="banshee-1" /> |
19 | 45 | </Project> | ||
20 | 46 | \ No newline at end of file | 45 | \ No newline at end of file |
21 | 46 | </Project> | ||
22 | 47 | 47 | ||
23 | === modified file 'Chromium/Chromium.mdp' | |||
24 | --- Chromium/Chromium.mdp 2009-07-25 05:33:43 +0000 | |||
25 | +++ Chromium/Chromium.mdp 2010-03-24 12:58:27 +0000 | |||
26 | @@ -23,4 +23,4 @@ | |||
27 | 23 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Platform.dll" /> | 23 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Platform.dll" /> |
28 | 24 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Universe.dll" /> | 24 | <ProjectReference type="Assembly" localcopy="True" specificVersion="False" refto="../../../../../../usr/local/lib/gnome-do/Do.Universe.dll" /> |
29 | 25 | </References> | 25 | </References> |
30 | 26 | </Project> | ||
31 | 27 | \ No newline at end of file | 26 | \ No newline at end of file |
32 | 27 | </Project> | ||
33 | 28 | 28 | ||
34 | === modified file 'DoPlugins.mds' | |||
35 | --- DoPlugins.mds 2009-11-08 23:58:01 +0000 | |||
36 | +++ DoPlugins.mds 2010-03-24 12:58:27 +0000 | |||
37 | @@ -78,6 +78,7 @@ | |||
38 | 78 | <Entry build="True" name="Baconator" configuration="Debug" /> | 78 | <Entry build="True" name="Baconator" configuration="Debug" /> |
39 | 79 | <Entry build="True" name="Chromium" configuration="Debug" /> | 79 | <Entry build="True" name="Chromium" configuration="Debug" /> |
40 | 80 | <Entry build="True" name="GNOME-Calculator" configuration="Debug" /> | 80 | <Entry build="True" name="GNOME-Calculator" configuration="Debug" /> |
41 | 81 | <Entry build="True" name="Grooveshark" configuration="Debug" /> | ||
42 | 81 | </Configuration> | 82 | </Configuration> |
43 | 82 | <Configuration name="Release" ctype="CombineConfiguration"> | 83 | <Configuration name="Release" ctype="CombineConfiguration"> |
44 | 83 | <Entry build="True" name="Rhythmbox" configuration="Release" /> | 84 | <Entry build="True" name="Rhythmbox" configuration="Release" /> |
45 | @@ -157,6 +158,7 @@ | |||
46 | 157 | <Entry build="True" name="Baconator" configuration="Release" /> | 158 | <Entry build="True" name="Baconator" configuration="Release" /> |
47 | 158 | <Entry build="True" name="Chromium" configuration="Release" /> | 159 | <Entry build="True" name="Chromium" configuration="Release" /> |
48 | 159 | <Entry build="True" name="GNOME-Calculator" configuration="Release" /> | 160 | <Entry build="True" name="GNOME-Calculator" configuration="Release" /> |
49 | 161 | <Entry build="True" name="Grooveshark" configuration="Release" /> | ||
50 | 160 | </Configuration> | 162 | </Configuration> |
51 | 161 | </Configurations> | 163 | </Configurations> |
52 | 162 | <StartMode startupentry="Rhythmbox" single="True"> | 164 | <StartMode startupentry="Rhythmbox" single="True"> |
53 | @@ -237,6 +239,7 @@ | |||
54 | 237 | <Execute type="None" entry="Baconator" /> | 239 | <Execute type="None" entry="Baconator" /> |
55 | 238 | <Execute type="None" entry="Chromium" /> | 240 | <Execute type="None" entry="Chromium" /> |
56 | 239 | <Execute type="None" entry="GNOME-Calculator" /> | 241 | <Execute type="None" entry="GNOME-Calculator" /> |
57 | 242 | <Execute type="None" entry="Grooveshark" /> | ||
58 | 240 | </StartMode> | 243 | </StartMode> |
59 | 241 | <MonoDevelop.ChangeLogAddIn.ChangeLogInfo policy="UpdateNearestChangeLog" /> | 244 | <MonoDevelop.ChangeLogAddIn.ChangeLogInfo policy="UpdateNearestChangeLog" /> |
60 | 242 | <Entries> | 245 | <Entries> |
61 | @@ -317,5 +320,6 @@ | |||
62 | 317 | <Entry filename="Baconator/Baconator.mdp" /> | 320 | <Entry filename="Baconator/Baconator.mdp" /> |
63 | 318 | <Entry filename="Chromium/Chromium.mdp" /> | 321 | <Entry filename="Chromium/Chromium.mdp" /> |
64 | 319 | <Entry filename="GNOME-Calculator/GNOME-Calculator.mdp" /> | 322 | <Entry filename="GNOME-Calculator/GNOME-Calculator.mdp" /> |
65 | 323 | <Entry filename="Grooveshark/Grooveshark.mdp" /> | ||
66 | 320 | </Entries> | 324 | </Entries> |
67 | 321 | </Combine> | 325 | </Combine> |
68 | 322 | \ No newline at end of file | 326 | \ No newline at end of file |
69 | 323 | 327 | ||
70 | === modified file 'Evolution/Evolution.mdp' | |||
71 | --- Evolution/Evolution.mdp 2009-09-28 01:50:31 +0000 | |||
72 | +++ Evolution/Evolution.mdp 2010-03-24 12:58:27 +0000 | |||
73 | @@ -26,4 +26,4 @@ | |||
74 | 26 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> | 26 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> |
75 | 27 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 27 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
76 | 28 | </References> | 28 | </References> |
77 | 29 | </Project> | ||
78 | 30 | \ No newline at end of file | 29 | \ No newline at end of file |
79 | 30 | </Project> | ||
80 | 31 | 31 | ||
81 | === modified file 'GNOME-Calculator/GNOME-Calculator.mdp' | |||
82 | --- GNOME-Calculator/GNOME-Calculator.mdp 2009-11-08 23:58:01 +0000 | |||
83 | +++ GNOME-Calculator/GNOME-Calculator.mdp 2010-03-24 12:58:27 +0000 | |||
84 | @@ -26,4 +26,4 @@ | |||
85 | 26 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 26 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
86 | 27 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> | 27 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> |
87 | 28 | </References> | 28 | </References> |
89 | 29 | </Project> | 29 | </Project> |
90 | 30 | \ No newline at end of file | 30 | \ No newline at end of file |
91 | 31 | 31 | ||
92 | === added directory 'Grooveshark' | |||
93 | === added file 'Grooveshark/Grooveshark.mdp' | |||
94 | --- Grooveshark/Grooveshark.mdp 1970-01-01 00:00:00 +0000 | |||
95 | +++ Grooveshark/Grooveshark.mdp 2010-03-24 12:58:27 +0000 | |||
96 | @@ -0,0 +1,35 @@ | |||
97 | 1 | <Project name="Grooveshark" fileversion="2.0" language="C#" clr-version="Net_2_0" targetFramework="3.5" ctype="DotNetProject"> | ||
98 | 2 | <Configurations active="Debug"> | ||
99 | 3 | <Configuration name="Debug" ctype="DotNetProjectConfiguration"> | ||
100 | 4 | <Output directory="bin/Debug" assembly="Grooveshark" /> | ||
101 | 5 | <Build debugmode="True" target="Library" /> | ||
102 | 6 | <Execution runwithwarnings="True" consolepause="False" runtime="MsNet" clr-version="Net_2_0" /> | ||
103 | 7 | <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" definesymbols="DEBUG" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
104 | 8 | </Configuration> | ||
105 | 9 | <Configuration name="Release" ctype="DotNetProjectConfiguration"> | ||
106 | 10 | <Output directory="bin/Release" assembly="Grooveshark" /> | ||
107 | 11 | <Build debugmode="False" target="Library" /> | ||
108 | 12 | <Execution runwithwarnings="True" consolepause="False" runtime="MsNet" clr-version="Net_2_0" /> | ||
109 | 13 | <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
110 | 14 | </Configuration> | ||
111 | 15 | </Configurations> | ||
112 | 16 | <Contents> | ||
113 | 17 | <File name="." subtype="Directory" buildaction="Compile" /> | ||
114 | 18 | <File name="src" subtype="Directory" buildaction="Compile" /> | ||
115 | 19 | <File name="src/GroovesharkSearchAction.cs" subtype="Code" buildaction="Compile" /> | ||
116 | 20 | <File name="Resources/Grooveshark.addin.xml" subtype="Code" buildaction="EmbedAsResource" /> | ||
117 | 21 | <File name="src/GroovesharkPlayAction.cs" subtype="Code" buildaction="Compile" /> | ||
118 | 22 | <File name="Resources/icons" subtype="Directory" buildaction="Compile" /> | ||
119 | 23 | <File name="Resources/icons/grooveshark.svg" subtype="Code" buildaction="EmbedAsResource" /> | ||
120 | 24 | </Contents> | ||
121 | 25 | <References> | ||
122 | 26 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
123 | 27 | <ProjectReference type="Gac" localcopy="True" refto="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
124 | 28 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> | ||
125 | 29 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | ||
126 | 30 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> | ||
127 | 31 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform.Linux, Version=0.9.0.0, Culture=neutral" /> | ||
128 | 32 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
129 | 33 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
130 | 34 | </References> | ||
131 | 35 | </Project> | ||
132 | 0 | \ No newline at end of file | 36 | \ No newline at end of file |
133 | 1 | 37 | ||
134 | === added file 'Grooveshark/Grooveshark.mds' | |||
135 | --- Grooveshark/Grooveshark.mds 1970-01-01 00:00:00 +0000 | |||
136 | +++ Grooveshark/Grooveshark.mds 2010-03-24 12:58:27 +0000 | |||
137 | @@ -0,0 +1,16 @@ | |||
138 | 1 | <Combine fileversion="2.0"> | ||
139 | 2 | <Configurations active="Debug"> | ||
140 | 3 | <Configuration name="Debug" ctype="CombineConfiguration"> | ||
141 | 4 | <Entry build="True" name="Grooveshark" configuration="Debug" /> | ||
142 | 5 | </Configuration> | ||
143 | 6 | <Configuration name="Release" ctype="CombineConfiguration"> | ||
144 | 7 | <Entry build="True" name="Grooveshark" configuration="Release" /> | ||
145 | 8 | </Configuration> | ||
146 | 9 | </Configurations> | ||
147 | 10 | <StartMode startupentry="Grooveshark" single="True"> | ||
148 | 11 | <Execute type="None" entry="Grooveshark" /> | ||
149 | 12 | </StartMode> | ||
150 | 13 | <Entries> | ||
151 | 14 | <Entry filename="Grooveshark.mdp" /> | ||
152 | 15 | </Entries> | ||
153 | 16 | </Combine> | ||
154 | 0 | 17 | ||
155 | === added file 'Grooveshark/Grooveshark.pidb' | |||
156 | 1 | Binary files Grooveshark/Grooveshark.pidb 1970-01-01 00:00:00 +0000 and Grooveshark/Grooveshark.pidb 2010-03-24 12:58:27 +0000 differ | 18 | Binary files Grooveshark/Grooveshark.pidb 1970-01-01 00:00:00 +0000 and Grooveshark/Grooveshark.pidb 2010-03-24 12:58:27 +0000 differ |
157 | === added directory 'Grooveshark/Resources' | |||
158 | === added file 'Grooveshark/Resources/Grooveshark.addin.xml' | |||
159 | --- Grooveshark/Resources/Grooveshark.addin.xml 1970-01-01 00:00:00 +0000 | |||
160 | +++ Grooveshark/Resources/Grooveshark.addin.xml 2010-03-24 12:58:27 +0000 | |||
161 | @@ -0,0 +1,28 @@ | |||
162 | 1 | <Addin | ||
163 | 2 | id="Grooveshark" | ||
164 | 3 | namespace="Do" | ||
165 | 4 | version="0.1" | ||
166 | 5 | name="Grooveshark" | ||
167 | 6 | description="Listen to songs from Grooveshark." | ||
168 | 7 | author="Simon Schneegans" | ||
169 | 8 | category="Community" | ||
170 | 9 | defaultEnabled="false" | ||
171 | 10 | url="http://do.davebsd.com/wiki/Grooveshark_Plugin" | ||
172 | 11 | > | ||
173 | 12 | |||
174 | 13 | <Runtime> | ||
175 | 14 | <Import assembly="Grooveshark.dll"/> | ||
176 | 15 | </Runtime> | ||
177 | 16 | |||
178 | 17 | <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> | ||
179 | 18 | |||
180 | 19 | <Dependencies> | ||
181 | 20 | <Addin id="Universe" version="1.0" /> | ||
182 | 21 | </Dependencies> | ||
183 | 22 | |||
184 | 23 | <Extension path="/Do/Action"> | ||
185 | 24 | <Action type="Grooveshark.GroovesharkPlayAction" /> | ||
186 | 25 | <Action type="Grooveshark.GroovesharkSearchAction" /> | ||
187 | 26 | </Extension> | ||
188 | 27 | |||
189 | 28 | </Addin> | ||
190 | 0 | \ No newline at end of file | 29 | \ No newline at end of file |
191 | 1 | 30 | ||
192 | === added directory 'Grooveshark/Resources/icons' | |||
193 | === added file 'Grooveshark/Resources/icons/grooveshark.svg' | |||
194 | --- Grooveshark/Resources/icons/grooveshark.svg 1970-01-01 00:00:00 +0000 | |||
195 | +++ Grooveshark/Resources/icons/grooveshark.svg 2010-03-24 12:58:27 +0000 | |||
196 | @@ -0,0 +1,65 @@ | |||
197 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
198 | 2 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
199 | 3 | |||
200 | 4 | <svg | ||
201 | 5 | xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
202 | 6 | xmlns:cc="http://creativecommons.org/ns#" | ||
203 | 7 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
204 | 8 | xmlns:svg="http://www.w3.org/2000/svg" | ||
205 | 9 | xmlns="http://www.w3.org/2000/svg" | ||
206 | 10 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
207 | 11 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
208 | 12 | id="svg2440" | ||
209 | 13 | sodipodi:version="0.32" | ||
210 | 14 | inkscape:version="0.47pre4 r22446" | ||
211 | 15 | width="48" | ||
212 | 16 | height="48" | ||
213 | 17 | version="1.0" | ||
214 | 18 | sodipodi:docname="Grooveshark.svg" | ||
215 | 19 | inkscape:output_extension="org.inkscape.output.svg.inkscape"> | ||
216 | 20 | <metadata | ||
217 | 21 | id="metadata2445"> | ||
218 | 22 | <rdf:RDF> | ||
219 | 23 | <cc:Work | ||
220 | 24 | rdf:about=""> | ||
221 | 25 | <dc:format>image/svg+xml</dc:format> | ||
222 | 26 | <dc:type | ||
223 | 27 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
224 | 28 | </cc:Work> | ||
225 | 29 | </rdf:RDF> | ||
226 | 30 | </metadata> | ||
227 | 31 | <defs | ||
228 | 32 | id="defs2443"> | ||
229 | 33 | <inkscape:perspective | ||
230 | 34 | sodipodi:type="inkscape:persp3d" | ||
231 | 35 | inkscape:vp_x="0 : 526.18109 : 1" | ||
232 | 36 | inkscape:vp_y="0 : 1000 : 0" | ||
233 | 37 | inkscape:vp_z="744.09448 : 526.18109 : 1" | ||
234 | 38 | inkscape:persp3d-origin="372.04724 : 350.78739 : 1" | ||
235 | 39 | id="perspective2447" /> | ||
236 | 40 | </defs> | ||
237 | 41 | <sodipodi:namedview | ||
238 | 42 | inkscape:window-height="667" | ||
239 | 43 | inkscape:window-width="640" | ||
240 | 44 | inkscape:pageshadow="2" | ||
241 | 45 | inkscape:pageopacity="0.0" | ||
242 | 46 | guidetolerance="10.0" | ||
243 | 47 | gridtolerance="10.0" | ||
244 | 48 | objecttolerance="10.0" | ||
245 | 49 | borderopacity="1.0" | ||
246 | 50 | bordercolor="#666666" | ||
247 | 51 | pagecolor="#ffffff" | ||
248 | 52 | id="base" | ||
249 | 53 | showgrid="false" | ||
250 | 54 | inkscape:zoom="6.5336666" | ||
251 | 55 | inkscape:cx="17.143647" | ||
252 | 56 | inkscape:cy="19.048619" | ||
253 | 57 | inkscape:window-x="88" | ||
254 | 58 | inkscape:window-y="99" | ||
255 | 59 | inkscape:current-layer="svg2440" | ||
256 | 60 | inkscape:window-maximized="0" /> | ||
257 | 61 | <path | ||
258 | 62 | style="fill:#000000" | ||
259 | 63 | d="M 20.078129,45.700055 C 11.395738,44.050382 4.6015564,37.55234 2.4144438,28.806283 c -0.5370952,-2.147791 -0.5370952,-7.644939 0,-9.792731 1.1061948,-4.42357 3.2549413,-8.131281 6.4643582,-11.1543985 11.051152,-10.4096541 28.966422,-6.8440422 35.250792,7.0158385 1.871285,4.127031 2.414534,9.65835 1.369816,13.947354 -1.652336,6.783533 -5.756778,11.938269 -11.877655,14.917065 -1.285546,0.625628 -3.219228,1.353514 -4.297072,1.617527 -2.584093,0.632963 -6.881732,0.792439 -9.246554,0.343117 z M 39.707198,28.401834 c 1.109663,-0.573828 1.458267,-1.534898 1.563275,-4.309802 0.115732,-3.05827 -0.310462,-5.155873 -1.581694,-7.784615 C 37.481503,11.743045 33.785306,8.5797572 28.863573,7.0429524 27.36934,6.5763808 26.680219,6.5052362 23.791366,6.5192977 c -3.014382,0.014664 -3.524377,0.078251 -5.187484,0.6466811 -2.698708,0.9223877 -4.815376,2.2656778 -6.916647,4.3894782 -2.7093061,2.738354 -4.2327623,5.594661 -4.8604086,9.112715 -0.602685,3.378142 -0.3362445,5.603633 0.776001,6.481689 1.4902192,1.176445 4.5668036,-0.06933 6.5023456,-2.632934 1.750197,-2.318119 2.462314,-5.474789 2.217382,-9.829204 -0.08203,-1.45826 -0.213968,-2.896383 -0.293207,-3.19583 -0.136086,-0.51428 -0.100683,-0.53528 0.638845,-0.378938 1.453733,0.30733 4.183685,1.564253 5.946799,2.738021 2.433051,1.619769 6.145069,5.42 9.067295,9.282768 2.803609,3.705975 4.030339,4.823105 5.928907,5.399206 0.911278,0.276519 1.362284,0.248306 2.096004,-0.131116 z" | ||
260 | 64 | id="path2451" /> | ||
261 | 65 | </svg> | ||
262 | 0 | 66 | ||
263 | === added directory 'Grooveshark/src' | |||
264 | === added file 'Grooveshark/src/GroovesharkPlayAction.cs' | |||
265 | --- Grooveshark/src/GroovesharkPlayAction.cs 1970-01-01 00:00:00 +0000 | |||
266 | +++ Grooveshark/src/GroovesharkPlayAction.cs 2010-03-24 12:58:27 +0000 | |||
267 | @@ -0,0 +1,72 @@ | |||
268 | 1 | // GroovesharkPlayAction.cs | ||
269 | 2 | // | ||
270 | 3 | // GNOME Do is the legal property of its developers, whose names are too | ||
271 | 4 | // numerous to list here. Please refer to the COPYRIGHT file distributed with | ||
272 | 5 | // this source distribution. | ||
273 | 6 | // | ||
274 | 7 | // This program is free software: you can redistribute it and/or modify it | ||
275 | 8 | // under the terms of the GNU General Public License as published by the Free | ||
276 | 9 | // Software Foundation, either version 3 of the License, or (at your option) | ||
277 | 10 | // any later version. | ||
278 | 11 | // | ||
279 | 12 | // This program is distributed in the hope that it will be useful, but WITHOUT | ||
280 | 13 | // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
281 | 14 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
282 | 15 | // more details. | ||
283 | 16 | // | ||
284 | 17 | // You should have received a copy of the GNU General Public License along with | ||
285 | 18 | // this program. If not, see <http://www.gnu.org/licenses/>. | ||
286 | 19 | |||
287 | 20 | using System; | ||
288 | 21 | using System.Net; | ||
289 | 22 | using System.IO; | ||
290 | 23 | using System.Linq; | ||
291 | 24 | using System.Collections.Generic; | ||
292 | 25 | |||
293 | 26 | using Mono.Addins; | ||
294 | 27 | |||
295 | 28 | using Do.Platform; | ||
296 | 29 | using Do.Platform.Linux; | ||
297 | 30 | using Do.Universe; | ||
298 | 31 | using Do.Universe.Common; | ||
299 | 32 | |||
300 | 33 | namespace Grooveshark { | ||
301 | 34 | |||
302 | 35 | // This action opens a web-browser playing the desired song from www.grooveshark.com | ||
303 | 36 | public class GroovesharkPlayAction : Act | ||
304 | 37 | { | ||
305 | 38 | public override string Name { | ||
306 | 39 | get { return AddinManager.CurrentLocalizer.GetString ("Play on Grooveshark"); } | ||
307 | 40 | } | ||
308 | 41 | |||
309 | 42 | public override string Description { | ||
310 | 43 | get { return AddinManager.CurrentLocalizer.GetString ("Listen to this song on Grooveshark."); } | ||
311 | 44 | } | ||
312 | 45 | |||
313 | 46 | public override string Icon { | ||
314 | 47 | get { return "grooveshark.svg@" + GetType ().Assembly.FullName; } | ||
315 | 48 | } | ||
316 | 49 | |||
317 | 50 | public override IEnumerable<Type> SupportedItemTypes { | ||
318 | 51 | get { yield return typeof (ITextItem); } | ||
319 | 52 | } | ||
320 | 53 | |||
321 | 54 | //Here's the actual ation code | ||
322 | 55 | //see http://apidocs.tinysong.com/ for API-Instructions concerning Grooveshark | ||
323 | 56 | public override IEnumerable<Item> Perform (IEnumerable<Item> items, IEnumerable<Item> modItems) | ||
324 | 57 | { | ||
325 | 58 | string search = (items.First () as ITextItem).Text; | ||
326 | 59 | string searchUrl ="http://tinysong.com/a/"+search; | ||
327 | 60 | WebRequest wrq = WebRequest.Create (searchUrl); | ||
328 | 61 | WebResponse wrs = wrq.GetResponse (); | ||
329 | 62 | StreamReader sr = new StreamReader (wrs.GetResponseStream ()); | ||
330 | 63 | string songUrl = sr.ReadToEnd(); | ||
331 | 64 | if (songUrl=="NSF;") | ||
332 | 65 | { | ||
333 | 66 | Gtk.Application.Invoke ((o, e) => Services.Notifications.Notify (Name, AddinManager.CurrentLocalizer.GetString ("No Results Found"))); | ||
334 | 67 | } | ||
335 | 68 | else Services.Environment.OpenUrl (songUrl); | ||
336 | 69 | yield break; | ||
337 | 70 | } | ||
338 | 71 | } | ||
339 | 72 | } | ||
340 | 0 | \ No newline at end of file | 73 | \ No newline at end of file |
341 | 1 | 74 | ||
342 | === added file 'Grooveshark/src/GroovesharkSearchAction.cs' | |||
343 | --- Grooveshark/src/GroovesharkSearchAction.cs 1970-01-01 00:00:00 +0000 | |||
344 | +++ Grooveshark/src/GroovesharkSearchAction.cs 2010-03-24 12:58:27 +0000 | |||
345 | @@ -0,0 +1,147 @@ | |||
346 | 1 | // GroovesharkSearchAction.cs | ||
347 | 2 | // | ||
348 | 3 | // GNOME Do is the legal property of its developers, whose names are too | ||
349 | 4 | // numerous to list here. Please refer to the COPYRIGHT file distributed with | ||
350 | 5 | // this source distribution. | ||
351 | 6 | // | ||
352 | 7 | // This program is free software: you can redistribute it and/or modify it | ||
353 | 8 | // under the terms of the GNU General Public License as published by the Free | ||
354 | 9 | // Software Foundation, either version 3 of the License, or (at your option) | ||
355 | 10 | // any later version. | ||
356 | 11 | // | ||
357 | 12 | // This program is distributed in the hope that it will be useful, but WITHOUT | ||
358 | 13 | // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
359 | 14 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
360 | 15 | // more details. | ||
361 | 16 | // | ||
362 | 17 | // You should have received a copy of the GNU General Public License along with | ||
363 | 18 | // this program. If not, see <http://www.gnu.org/licenses/>. | ||
364 | 19 | |||
365 | 20 | using System; | ||
366 | 21 | using System.Net; | ||
367 | 22 | using System.IO; | ||
368 | 23 | using System.Linq; | ||
369 | 24 | using System.Collections.Generic; | ||
370 | 25 | |||
371 | 26 | using Mono.Addins; | ||
372 | 27 | |||
373 | 28 | using Do.Platform; | ||
374 | 29 | using Do.Platform.Linux; | ||
375 | 30 | using Do.Universe; | ||
376 | 31 | using Do.Universe.Common; | ||
377 | 32 | |||
378 | 33 | namespace Grooveshark { | ||
379 | 34 | |||
380 | 35 | //No longer in Do, have to subclass | ||
381 | 36 | //Taken from the GoogleSearch-Plugin: Thanks to Brian Lukas! | ||
382 | 37 | public class BookmarkItem : Item, IBookmarkItem | ||
383 | 38 | { | ||
384 | 39 | protected string name, url; | ||
385 | 40 | public BookmarkItem (string name, string url) | ||
386 | 41 | { | ||
387 | 42 | this.name = name; | ||
388 | 43 | this.url = url; | ||
389 | 44 | } | ||
390 | 45 | public override string Name | ||
391 | 46 | { | ||
392 | 47 | get { return name; } | ||
393 | 48 | } | ||
394 | 49 | public override string Description | ||
395 | 50 | { | ||
396 | 51 | get { return url; } | ||
397 | 52 | } | ||
398 | 53 | |||
399 | 54 | public override string Icon | ||
400 | 55 | { | ||
401 | 56 | get { return "grooveshark.svg@" + GetType ().Assembly.FullName; } | ||
402 | 57 | } | ||
403 | 58 | |||
404 | 59 | public string Url | ||
405 | 60 | { | ||
406 | 61 | get { return url; } | ||
407 | 62 | } | ||
408 | 63 | } | ||
409 | 64 | |||
410 | 65 | //This action returns up to six links targeting songs on Grooveshark to Do | ||
411 | 66 | public class GroovesharkSearchAction : Act | ||
412 | 67 | { | ||
413 | 68 | public override string Name { | ||
414 | 69 | get { return AddinManager.CurrentLocalizer.GetString ("Search Grooveshark"); } | ||
415 | 70 | } | ||
416 | 71 | |||
417 | 72 | public override string Description { | ||
418 | 73 | get { return AddinManager.CurrentLocalizer.GetString ("Returns up to six songs from Grooveshark."); } | ||
419 | 74 | } | ||
420 | 75 | |||
421 | 76 | public override string Icon { | ||
422 | 77 | get { return "grooveshark.svg@" + GetType ().Assembly.FullName; } | ||
423 | 78 | } | ||
424 | 79 | |||
425 | 80 | public override IEnumerable<Type> SupportedItemTypes { | ||
426 | 81 | get { yield return typeof (ITextItem); } | ||
427 | 82 | } | ||
428 | 83 | |||
429 | 84 | public List<SearchResult> results = new List<SearchResult> (); | ||
430 | 85 | |||
431 | 86 | //Here's the actual action code | ||
432 | 87 | //see http://apidocs.tinysong.com/ for API-Instructions concerning Grooveshark | ||
433 | 88 | public override IEnumerable<Item> Perform (IEnumerable<Item> items, IEnumerable<Item> modItems) | ||
434 | 89 | { | ||
435 | 90 | string search = (items.First () as ITextItem).Text; | ||
436 | 91 | string searchurl ="http://tinysong.com/s/"+search; | ||
437 | 92 | WebRequest wrq = WebRequest.Create (searchurl); | ||
438 | 93 | WebResponse wrs = wrq.GetResponse (); | ||
439 | 94 | StreamReader sr = new StreamReader (wrs.GetResponseStream ()); | ||
440 | 95 | string answer = sr.ReadToEnd(); | ||
441 | 96 | if (answer=="NSF;") | ||
442 | 97 | { | ||
443 | 98 | Gtk.Application.Invoke ((o, e) => Services.Notifications.Notify (Name, AddinManager.CurrentLocalizer.GetString ("No Results Found"))); | ||
444 | 99 | yield break; | ||
445 | 100 | } | ||
446 | 101 | else | ||
447 | 102 | { | ||
448 | 103 | IEnumerable<SearchResult> results = this.SplitAnswer(answer); | ||
449 | 104 | foreach (SearchResult result in results) | ||
450 | 105 | yield return new BookmarkItem(result.name, result.url); | ||
451 | 106 | } | ||
452 | 107 | } | ||
453 | 108 | |||
454 | 109 | //Method which splits the given answer-string from Grooveshark into single results | ||
455 | 110 | //Grooveshark returns the results in the form: | ||
456 | 111 | //tinysong link; songID; songName; artistID; artistName; albumID; albumName; Grooveshark link tinysong link; songID; songName; artistID; artistName; albumID; albumName; Grooveshark link.... | ||
457 | 112 | //this string is split at every ';'. Since the individual results aren't seperated by any symbol | ||
458 | 113 | //the "Grooveshark link" at the beginning of each new result's "tinysong link" has to be deleted: This is done with | ||
459 | 114 | //the constructor of the class SearchResult | ||
460 | 115 | private IEnumerable<SearchResult> SplitAnswer(string inString) | ||
461 | 116 | { | ||
462 | 117 | string [] array; | ||
463 | 118 | array = inString.Split(';'); | ||
464 | 119 | for (int i=0;i<array.Length-1;i+=7) | ||
465 | 120 | { | ||
466 | 121 | SearchResult result = new SearchResult(array [i], array [i+2], array [i+4], array [i+6]); | ||
467 | 122 | yield return result; | ||
468 | 123 | } | ||
469 | 124 | } | ||
470 | 125 | } | ||
471 | 126 | |||
472 | 127 | //Class for single results | ||
473 | 128 | public class SearchResult | ||
474 | 129 | { | ||
475 | 130 | public string name=""; | ||
476 | 131 | public string url=""; | ||
477 | 132 | |||
478 | 133 | //Constructor which cleans the given information from whitspaces and the leading "Grooveshark link" | ||
479 | 134 | public SearchResult(string inUrl, string inSong, string inArtist, string inAlbum) | ||
480 | 135 | { | ||
481 | 136 | if (inUrl.Contains("http://listen.grooveshark.com")) | ||
482 | 137 | { | ||
483 | 138 | inUrl=inUrl.Trim(); | ||
484 | 139 | inUrl=inUrl.Remove(0,4); | ||
485 | 140 | inUrl=inUrl.Remove(0,inUrl.IndexOf("http")); | ||
486 | 141 | this.url=inUrl; | ||
487 | 142 | } | ||
488 | 143 | else this.url=inUrl.Trim(); | ||
489 | 144 | this.name=inArtist.Trim()+": "+inSong.Trim()+" ("+inAlbum.Trim()+")"; | ||
490 | 145 | } | ||
491 | 146 | } | ||
492 | 147 | } | ||
493 | 0 | \ No newline at end of file | 148 | \ No newline at end of file |
494 | 1 | 149 | ||
495 | === modified file 'OpenSearch/OpenSearch.mdp' | |||
496 | --- OpenSearch/OpenSearch.mdp 2009-09-08 22:10:42 +0000 | |||
497 | +++ OpenSearch/OpenSearch.mdp 2010-03-24 12:58:27 +0000 | |||
498 | @@ -35,4 +35,4 @@ | |||
499 | 35 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> | 35 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> |
500 | 36 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 36 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
501 | 37 | </References> | 37 | </References> |
502 | 38 | </Project> | ||
503 | 39 | \ No newline at end of file | 38 | \ No newline at end of file |
504 | 39 | </Project> | ||
505 | 40 | 40 | ||
506 | === modified file 'Pastebin/Pastebin.mdp' | |||
507 | --- Pastebin/Pastebin.mdp 2010-01-24 10:42:11 +0000 | |||
508 | +++ Pastebin/Pastebin.mdp 2010-03-24 12:58:27 +0000 | |||
509 | @@ -51,4 +51,4 @@ | |||
510 | 51 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> | 51 | <ProjectReference type="Gac" localcopy="True" refto="Do.Platform, Version=0.9.0.0, Culture=neutral" /> |
511 | 52 | </References> | 52 | </References> |
512 | 53 | <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" /> | 53 | <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" /> |
514 | 54 | </Project> | 54 | </Project> |
515 | 55 | \ No newline at end of file | 55 | \ No newline at end of file |
516 | 56 | 56 | ||
517 | === modified file 'Skype/Skype.mdp' | |||
518 | --- Skype/Skype.mdp 2009-09-28 02:23:58 +0000 | |||
519 | +++ Skype/Skype.mdp 2010-03-24 12:58:27 +0000 | |||
520 | @@ -50,4 +50,4 @@ | |||
521 | 50 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> | 50 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> |
522 | 51 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 51 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
523 | 52 | </References> | 52 | </References> |
524 | 53 | </Project> | ||
525 | 54 | \ No newline at end of file | 53 | \ No newline at end of file |
526 | 54 | </Project> | ||
527 | 55 | 55 | ||
528 | === modified file 'SqueezeCenter/SqueezeCenterPlugin.mdp' | |||
529 | --- SqueezeCenter/SqueezeCenterPlugin.mdp 2009-08-03 19:36:02 +0000 | |||
530 | +++ SqueezeCenter/SqueezeCenterPlugin.mdp 2010-03-24 12:58:27 +0000 | |||
531 | @@ -66,4 +66,4 @@ | |||
532 | 66 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 66 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
533 | 67 | </References> | 67 | </References> |
534 | 68 | <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" /> | 68 | <GtkDesignInfo gettextClass="Mono.Addins.AddinManager.CurrentLocalizer" /> |
536 | 69 | </Project> | 69 | </Project> |
537 | 70 | \ No newline at end of file | 70 | \ No newline at end of file |
538 | 71 | 71 | ||
539 | === modified file 'WindowManager/WindowManager.mdp' | |||
540 | --- WindowManager/WindowManager.mdp 2009-10-11 20:48:44 +0000 | |||
541 | +++ WindowManager/WindowManager.mdp 2010-03-24 12:58:27 +0000 | |||
542 | @@ -52,4 +52,4 @@ | |||
543 | 52 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> | 52 | <ProjectReference type="Gac" localcopy="True" refto="Do.Universe, Version=0.9.0.0, Culture=neutral" /> |
544 | 53 | </References> | 53 | </References> |
545 | 54 | <LanguageParameters ApplicationIcon="." ctype="CSharpProjectParameters" /> | 54 | <LanguageParameters ApplicationIcon="." ctype="CSharpProjectParameters" /> |
547 | 55 | </Project> | 55 | </Project> |
548 | 56 | \ No newline at end of file | 56 | \ No newline at end of file |