Offset 1, 1 lines modified | Offset 1, 1 lines modified | ||
1 | {"name":"libmediaart","origin":"multimedia/libmediaart","version":"1.9.0","comment":"Library·for·handling·media·art","maintainer":"gnome@FreeBSD.org","www":"https://github.com/GNOME/libmediaart","abi":"FreeBSD:11:amd64","arch":"freebsd:11:x86:64","prefix":"/usr/local","flatsize":231756,"licenselogic":"single","desc":"Library·for·handling·media·art\n\nWWW:·https://github.com/GNOME/libmediaart","deps":{"gobject-introspection":{"origin":"devel/gobject-introspection","version":"1.46.0"},"glib":{"origin":"devel/glib20","version":"2.46.2"},"gdk-pixbuf2":{"origin":"graphics/gdk-pixbuf2","version":"2.32.3"}},"categories":["devel","multimedia"],"shlibs_required":["libintl.so.8","libglib-2.0.so.0","libgdk_pixbuf-2.0.so.0","libgobject-2.0.so.0","libgio-2.0.so.0"],"shlibs_provided":["libmediaart-2.0.so.0"],"files":{"/usr/local/include/libmediaart-2.0/libmediaart/cache.h":"1$a76eedd3df569b464286ee0abac62e75c603640cc045a9db8940d51835586b2d","/usr/local/include/libmediaart-2.0/libmediaart/extract.h":"1$531514603ae4fcbd78163·✂ | 1 | {"name":"libmediaart","origin":"multimedia/libmediaart","version":"1.9.0","comment":"Library·for·handling·media·art","maintainer":"gnome@FreeBSD.org","www":"https://github.com/GNOME/libmediaart","abi":"FreeBSD:11:amd64","arch":"freebsd:11:x86:64","prefix":"/usr/local","flatsize":231756,"licenselogic":"single","desc":"Library·for·handling·media·art\n\nWWW:·https://github.com/GNOME/libmediaart","deps":{"gobject-introspection":{"origin":"devel/gobject-introspection","version":"1.46.0"},"glib":{"origin":"devel/glib20","version":"2.46.2"},"gdk-pixbuf2":{"origin":"graphics/gdk-pixbuf2","version":"2.32.3"}},"categories":["devel","multimedia"],"shlibs_required":["libintl.so.8","libglib-2.0.so.0","libgdk_pixbuf-2.0.so.0","libgobject-2.0.so.0","libgio-2.0.so.0"],"shlibs_provided":["libmediaart-2.0.so.0"],"files":{"/usr/local/include/libmediaart-2.0/libmediaart/cache.h":"1$a76eedd3df569b464286ee0abac62e75c603640cc045a9db8940d51835586b2d","/usr/local/include/libmediaart-2.0/libmediaart/extract.h":"1$531514603ae4fcbd78163·✂ |
Offset 132, 15 lines modified | Offset 132, 15 lines modified | ||
132 | <em·class="parameter"><code>uri</code></em> | 132 | <em·class="parameter"><code>uri</code></em> |
133 | ·and·passing·the·same·arguments·to·<a·class="link"·href="libmediaart-Cache.html#media-art-get-file"·title="media_art_get_file ()"><code·class="function">media_art_get_file()</code></a>.·For·more | 133 | ·and·passing·the·same·arguments·to·<a·class="link"·href="libmediaart-Cache.html#media-art-get-file"·title="media_art_get_file ()"><code·class="function">media_art_get_file()</code></a>.·For·more |
134 | details·about·what·this·function·does,·see·<a·class="link"·href="libmediaart-Cache.html#media-art-get-file"·title="media_art_get_file ()"><code·class="function">media_art_get_file()</code></a>.</p> | 134 | details·about·what·this·function·does,·see·<a·class="link"·href="libmediaart-Cache.html#media-art-get-file"·title="media_art_get_file ()"><code·class="function">media_art_get_file()</code></a>.</p> |
135 | <p>Get·the·path·to·media·art·for·a·given·resource.·Newly·allocated | 135 | <p>Get·the·path·to·media·art·for·a·given·resource.·Newly·allocated |
136 | data·returned·in·<em·class="parameter"><code>cache_path</code></em> | 136 | data·returned·in·<em·class="parameter"><code>cache_path</code></em> |
137 | ·must·be·freed·with·<code·class="function">g_free()</code>.</p> | 137 | ·must·be·freed·with·<code·class="function">g_free()</code>.</p> |
138 | <div·class="refsect3"> | 138 | <div·class="refsect3"> |
139 | <a·name="idp6 | 139 | <a·name="idp64145464"></a><h4>Parameters</h4> |
140 | <div·class="informaltable"><table·width="100%"·border="0"> | 140 | <div·class="informaltable"><table·width="100%"·border="0"> |
141 | <colgroup> | 141 | <colgroup> |
142 | <col·width="150px"·class="parameters_name"> | 142 | <col·width="150px"·class="parameters_name"> |
143 | <col·class="parameters_description"> | 143 | <col·class="parameters_description"> |
144 | <col·width="200px"·class="parameters_annotations"> | 144 | <col·width="200px"·class="parameters_annotations"> |
145 | </colgroup> | 145 | </colgroup> |
146 | <tbody> | 146 | <tbody> |
Offset 166, 15 lines modified | Offset 166, 15 lines modified | ||
166 | path·or·<code·class="literal">NULL</code>.·</p></td> | 166 | path·or·<code·class="literal">NULL</code>.·</p></td> |
167 | <td·class="parameter_annotations"><span·class="annotation">[<acronym·title="Parameter·for·returning·results.·Default·is·transfer·full."><span·class="acronym">out</span></acronym>][<acronym·title="Free·data·after·the·code·is·done."><span·class="acronym">transfer·full</span></acronym>][<acronym·title="NULL·is·OK,·both·for·passing·and·for·returning."><span·class="acronym">allow-none</span></acronym>]</span></td> | 167 | <td·class="parameter_annotations"><span·class="annotation">[<acronym·title="Parameter·for·returning·results.·Default·is·transfer·full."><span·class="acronym">out</span></acronym>][<acronym·title="Free·data·after·the·code·is·done."><span·class="acronym">transfer·full</span></acronym>][<acronym·title="NULL·is·OK,·both·for·passing·and·for·returning."><span·class="acronym">allow-none</span></acronym>]</span></td> |
168 | </tr> | 168 | </tr> |
169 | </tbody> | 169 | </tbody> |
170 | </table></div> | 170 | </table></div> |
171 | </div> | 171 | </div> |
172 | <div·class="refsect3"> | 172 | <div·class="refsect3"> |
173 | <a·name="idp64 | 173 | <a·name="idp64164920"></a><h4>Returns</h4> |
174 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>cache_path</code></em> | 174 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>cache_path</code></em> |
175 | was·returned,·otherwise·<code·class="literal">FALSE</code>.</p> | 175 | was·returned,·otherwise·<code·class="literal">FALSE</code>.</p> |
176 | </div> | 176 | </div> |
177 | <p·class="since">Since:·0.2.0</p> | 177 | <p·class="since">Since:·0.2.0</p> |
178 | </div> | 178 | </div> |
179 | <hr> | 179 | <hr> |
180 | <div·class="refsect2"> | 180 | <div·class="refsect2"> |
Offset 199, 15 lines modified | Offset 199, 15 lines modified | ||
199 | is·normally·the·location·that·is·most·useful·(assuming·the·cache | 199 | is·normally·the·location·that·is·most·useful·(assuming·the·cache |
200 | has·been·extracted·in·the·first·place).</p> | 200 | has·been·extracted·in·the·first·place).</p> |
201 | <p>When·done,·both·<span·class="type">GFile</span>s·must·be·freed·with·<code·class="function">g_object_unref()</code>·if | 201 | <p>When·done,·both·<span·class="type">GFile</span>s·must·be·freed·with·<code·class="function">g_object_unref()</code>·if |
202 | non-<code·class="literal">NULL</code>.</p> | 202 | non-<code·class="literal">NULL</code>.</p> |
203 | <p>This·operation·should·not·use·i/o,·but·it·depends·on·the·backend | 203 | <p>This·operation·should·not·use·i/o,·but·it·depends·on·the·backend |
204 | GFile·implementation.</p> | 204 | GFile·implementation.</p> |
205 | <div·class="refsect3"> | 205 | <div·class="refsect3"> |
206 | <a·name="idp6 | 206 | <a·name="idp66088632"></a><h4>Parameters</h4> |
207 | <div·class="informaltable"><table·width="100%"·border="0"> | 207 | <div·class="informaltable"><table·width="100%"·border="0"> |
208 | <colgroup> | 208 | <colgroup> |
209 | <col·width="150px"·class="parameters_name"> | 209 | <col·width="150px"·class="parameters_name"> |
210 | <col·class="parameters_description"> | 210 | <col·class="parameters_description"> |
211 | <col·width="200px"·class="parameters_annotations"> | 211 | <col·width="200px"·class="parameters_annotations"> |
212 | </colgroup> | 212 | </colgroup> |
213 | <tbody> | 213 | <tbody> |
Offset 234, 15 lines modified | Offset 234, 15 lines modified | ||
234 | <span·class="type">GFile</span>·representing·the·location·of·the·local·media·art.·</p></td> | 234 | <span·class="type">GFile</span>·representing·the·location·of·the·local·media·art.·</p></td> |
235 | <td·class="parameter_annotations"><span·class="annotation">[<acronym·title="Parameter·for·returning·results.·Default·is·transfer·full."><span·class="acronym">out</span></acronym>][<acronym·title="Free·data·after·the·code·is·done."><span·class="acronym">transfer·full</span></acronym>][<acronym·title="NULL·is·OK,·both·for·passing·and·for·returning."><span·class="acronym">allow-none</span></acronym>]</span></td> | 235 | <td·class="parameter_annotations"><span·class="annotation">[<acronym·title="Parameter·for·returning·results.·Default·is·transfer·full."><span·class="acronym">out</span></acronym>][<acronym·title="Free·data·after·the·code·is·done."><span·class="acronym">transfer·full</span></acronym>][<acronym·title="NULL·is·OK,·both·for·passing·and·for·returning."><span·class="acronym">allow-none</span></acronym>]</span></td> |
236 | </tr> | 236 | </tr> |
237 | </tbody> | 237 | </tbody> |
238 | </table></div> | 238 | </table></div> |
239 | </div> | 239 | </div> |
240 | <div·class="refsect3"> | 240 | <div·class="refsect3"> |
241 | <a·name="idp6 | 241 | <a·name="idp66106680"></a><h4>Returns</h4> |
242 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>cache_file</code></em> | 242 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>cache_file</code></em> |
243 | was·returned,·otherwise·<code·class="literal">FALSE</code>.</p> | 243 | was·returned,·otherwise·<code·class="literal">FALSE</code>.</p> |
244 | </div> | 244 | </div> |
245 | <p·class="since">Since:·0.2.0</p> | 245 | <p·class="since">Since:·0.2.0</p> |
246 | </div> | 246 | </div> |
247 | <hr> | 247 | <hr> |
248 | <div·class="refsect2"> | 248 | <div·class="refsect2"> |
Offset 253, 15 lines modified | Offset 253, 15 lines modified | ||
253 | ··················<em·class="parameter"><code><span·class="type">GCancellable</span>·*cancellable</code></em>, | 253 | ··················<em·class="parameter"><code><span·class="type">GCancellable</span>·*cancellable</code></em>, |
254 | ··················<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> | 254 | ··················<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> |
255 | <p>Removes·media·art·for·given·album/artist·provided.</p> | 255 | <p>Removes·media·art·for·given·album/artist·provided.</p> |
256 | <p>If·<em·class="parameter"><code>artist</code></em> | 256 | <p>If·<em·class="parameter"><code>artist</code></em> |
257 | ·and·<em·class="parameter"><code>album</code></em> | 257 | ·and·<em·class="parameter"><code>album</code></em> |
258 | ·are·<code·class="literal">NULL</code>,·ALL·media·art·cache·is·removed.</p> | 258 | ·are·<code·class="literal">NULL</code>,·ALL·media·art·cache·is·removed.</p> |
259 | <div·class="refsect3"> | 259 | <div·class="refsect3"> |
260 | <a·name="idp6 | 260 | <a·name="idp66120760"></a><h4>Parameters</h4> |
261 | <div·class="informaltable"><table·width="100%"·border="0"> | 261 | <div·class="informaltable"><table·width="100%"·border="0"> |
262 | <colgroup> | 262 | <colgroup> |
263 | <col·width="150px"·class="parameters_name"> | 263 | <col·width="150px"·class="parameters_name"> |
264 | <col·class="parameters_description"> | 264 | <col·class="parameters_description"> |
265 | <col·width="200px"·class="parameters_annotations"> | 265 | <col·width="200px"·class="parameters_annotations"> |
266 | </colgroup> | 266 | </colgroup> |
267 | <tbody> | 267 | <tbody> |
Offset 285, 15 lines modified | Offset 285, 15 lines modified | ||
285 | <td·class="parameter_description"><p>location·to·store·the·error·occurring,·or·<code·class="literal">NULL</code>·to·ignore</p></td> | 285 | <td·class="parameter_description"><p>location·to·store·the·error·occurring,·or·<code·class="literal">NULL</code>·to·ignore</p></td> |
286 | <td·class="parameter_annotations"> </td> | 286 | <td·class="parameter_annotations"> </td> |
287 | </tr> | 287 | </tr> |
288 | </tbody> | 288 | </tbody> |
289 | </table></div> | 289 | </table></div> |
290 | </div> | 290 | </div> |
291 | <div·class="refsect3"> | 291 | <div·class="refsect3"> |
292 | <a·name="idp6 | 292 | <a·name="idp66152376"></a><h4>Returns</h4> |
293 | <p>·<span·class="type">TRUE</span>·on·success,·otherwise·<span·class="type">FALSE</span>·where·<em·class="parameter"><code>error</code></em> | 293 | <p>·<span·class="type">TRUE</span>·on·success,·otherwise·<span·class="type">FALSE</span>·where·<em·class="parameter"><code>error</code></em> |
294 | will·be·set.</p> | 294 | will·be·set.</p> |
295 | </div> | 295 | </div> |
296 | <p·class="since">Since:·0.2.0</p> | 296 | <p·class="since">Since:·0.2.0</p> |
297 | </div> | 297 | </div> |
298 | <hr> | 298 | <hr> |
299 | <div·class="refsect2"> | 299 | <div·class="refsect2"> |
Offset 318, 15 lines modified | Offset 318, 15 lines modified | ||
318 | called·with·<code·class="literal">G_IO_ERROR_CANCELLED</code>.</p> | 318 | called·with·<code·class="literal">G_IO_ERROR_CANCELLED</code>.</p> |
319 | <p>During·an·async·request·no·other·sync·and·async·calls·are·allowed, | 319 | <p>During·an·async·request·no·other·sync·and·async·calls·are·allowed, |
320 | and·will·result·in·<code·class="literal">G_IO_ERROR_PENDING</code>·errors.</p> | 320 | and·will·result·in·<code·class="literal">G_IO_ERROR_PENDING</code>·errors.</p> |
321 | <p>Any·outstanding·i/o·request·with·higher·priority·(lower·numerical | 321 | <p>Any·outstanding·i/o·request·with·higher·priority·(lower·numerical |
322 | value)·will·be·executed·before·an·outstanding·request·with·lower | 322 | value)·will·be·executed·before·an·outstanding·request·with·lower |
323 | priority.·Default·priority·is·<code·class="literal">G_PRIORITY_DEFAULT</code>.</p> | 323 | priority.·Default·priority·is·<code·class="literal">G_PRIORITY_DEFAULT</code>.</p> |
324 | <div·class="refsect3"> | 324 | <div·class="refsect3"> |
325 | <a·name="idp638 | 325 | <a·name="idp67380536"></a><h4>Parameters</h4> |
326 | <div·class="informaltable"><table·width="100%"·border="0"> | 326 | <div·class="informaltable"><table·width="100%"·border="0"> |
327 | <colgroup> | 327 | <colgroup> |
328 | <col·width="150px"·class="parameters_name"> | 328 | <col·width="150px"·class="parameters_name"> |
329 | <col·class="parameters_description"> | 329 | <col·class="parameters_description"> |
330 | <col·width="200px"·class="parameters_annotations"> | 330 | <col·width="200px"·class="parameters_annotations"> |
331 | </colgroup> | 331 | </colgroup> |
332 | <tbody> | 332 | <tbody> |
Offset 379, 15 lines modified | Offset 379, 15 lines modified | ||
379 | <pre·class="programlisting"><span·class="returnvalue">gboolean</span> | 379 | <pre·class="programlisting"><span·class="returnvalue">gboolean</span> |
380 | media_art_remove_finish·(<em·class="parameter"><code><span·class="type">GObject</span>·*source_object</code></em>, | 380 | media_art_remove_finish·(<em·class="parameter"><code><span·class="type">GObject</span>·*source_object</code></em>, |
381 | ·························<em·class="parameter"><code><span·class="type">GAsyncResult</span>·*result</code></em>, | 381 | ·························<em·class="parameter"><code><span·class="type">GAsyncResult</span>·*result</code></em>, |
382 | ·························<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> | 382 | ·························<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> |
383 | <p>Finishes·the·asynchronous·operation·started·with | 383 | <p>Finishes·the·asynchronous·operation·started·with |
384 | <a·class="link"·href="libmediaart-Cache.html#media-art-remove-async"·title="media_art_remove_async ()"><code·class="function">media_art_remove_async()</code></a>.</p> | 384 | <a·class="link"·href="libmediaart-Cache.html#media-art-remove-async"·title="media_art_remove_async ()"><code·class="function">media_art_remove_async()</code></a>.</p> |
385 | <div·class="refsect3"> | 385 | <div·class="refsect3"> |
386 | <a·name="idp6 | 386 | <a·name="idp67413432"></a><h4>Parameters</h4> |
387 | <div·class="informaltable"><table·width="100%"·border="0"> | 387 | <div·class="informaltable"><table·width="100%"·border="0"> |
388 | <colgroup> | 388 | <colgroup> |
389 | <col·width="150px"·class="parameters_name"> | 389 | <col·width="150px"·class="parameters_name"> |
390 | <col·class="parameters_description"> | 390 | <col·class="parameters_description"> |
391 | <col·width="200px"·class="parameters_annotations"> | 391 | <col·width="200px"·class="parameters_annotations"> |
392 | </colgroup> | 392 | </colgroup> |
393 | <tbody> | 393 | <tbody> |
Offset 408, 15 lines modified | Offset 408, 15 lines modified | ||
408 | to·ignore.</p></td> | 408 | to·ignore.</p></td> |
409 | <td·class="parameter_annotations"> </td> | 409 | <td·class="parameter_annotations"> </td> |
410 | </tr> | 410 | </tr> |
411 | </tbody> | 411 | </tbody> |
412 | </table></div> | 412 | </table></div> |
413 | </div> | 413 | </div> |
414 | <div·class="refsect3"> | 414 | <div·class="refsect3"> |
415 | <a·name="idp6389 | 415 | <a·name="idp67438904"></a><h4>Returns</h4> |
416 | <p>·<code·class="literal">TRUE</code>·on·success,·otherwise·<code·class="literal">FALSE</code>·when·<em·class="parameter"><code>error</code></em> | 416 | <p>·<code·class="literal">TRUE</code>·on·success,·otherwise·<code·class="literal">FALSE</code>·when·<em·class="parameter"><code>error</code></em> |
417 | will·be·set.</p> | 417 | will·be·set.</p> |
418 | </div> | 418 | </div> |
419 | <p·class="since">Since:·0.7.0</p> | 419 | <p·class="since">Since:·0.7.0</p> |
420 | </div> | 420 | </div> |
421 | <hr> | 421 | <hr> |
422 | <div·class="refsect2"> | 422 | <div·class="refsect2"> |
Offset 431, 30 lines modified | Offset 431, 30 lines modified | ||
431 | <p>This·function·provides·the·following·features:</p> | 431 | <p>This·function·provides·the·following·features:</p> |
432 | <div·class="orderedlist"><ol·class="orderedlist"·type="1"> | 432 | <div·class="orderedlist"><ol·class="orderedlist"·type="1"> |
433 | <li·class="listitem"><p>Invalid·characters·include:·()[]<>{}_!@#$^&*+=|\/"'?~;</p></li> | 433 | <li·class="listitem"><p>Invalid·characters·include:·()[]<>{}_!@#$^&*+=|\/"'?~;</p></li> |
434 | <li·class="listitem"><p>Text·inside·brackets·<code·class="function">of()</code>,·{},·[]·and·<>·pairs·are·removed.</p></li> | 434 | <li·class="listitem"><p>Text·inside·brackets·<code·class="function">of()</code>,·{},·[]·and·<>·pairs·are·removed.</p></li> |
435 | <li·class="listitem"><p>Multiples·of·space·characters·are·removed.</p></li> | 435 | <li·class="listitem"><p>Multiples·of·space·characters·are·removed.</p></li> |
436 | </ol></div> | 436 | </ol></div> |
437 | <div·class="refsect3"> | 437 | <div·class="refsect3"> |
438 | <a·name="idp6 | 438 | <a·name="idp61534904"></a><h4>Parameters</h4> |
439 | <div·class="informaltable"><table·width="100%"·border="0"> | 439 | <div·class="informaltable"><table·width="100%"·border="0"> |
440 | <colgroup> | 440 | <colgroup> |
441 | <col·width="150px"·class="parameters_name"> | 441 | <col·width="150px"·class="parameters_name"> |
442 | <col·class="parameters_description"> | 442 | <col·class="parameters_description"> |
443 | <col·width="200px"·class="parameters_annotations"> | 443 | <col·width="200px"·class="parameters_annotations"> |
444 | </colgroup> | 444 | </colgroup> |
445 | <tbody><tr> | 445 | <tbody><tr> |
446 | <td·class="parameter_name"><p>original</p></td> | 446 | <td·class="parameter_name"><p>original</p></td> |
447 | <td·class="parameter_description"><p>original·string</p></td> | 447 | <td·class="parameter_description"><p>original·string</p></td> |
448 | <td·class="parameter_annotations"> </td> | 448 | <td·class="parameter_annotations"> </td> |
449 | </tr></tbody> | 449 | </tr></tbody> |
450 | </table></div> | 450 | </table></div> |
451 | </div> | 451 | </div> |
452 | <div·class="refsect3"> | 452 | <div·class="refsect3"> |
453 | <a·name="idp6 | 453 | <a·name="idp61540280"></a><h4>Returns</h4> |
454 | <p>·<em·class="parameter"><code>original</code></em> | 454 | <p>·<em·class="parameter"><code>original</code></em> |
455 | stripped·of·invalid·characters·which·must·be | 455 | stripped·of·invalid·characters·which·must·be |
456 | freed.·On·error·or·if·<em·class="parameter"><code>original</code></em> | 456 | freed.·On·error·or·if·<em·class="parameter"><code>original</code></em> |
457 | is·empty,·<code·class="literal">NULL</code>·is·returned.</p> | 457 | is·empty,·<code·class="literal">NULL</code>·is·returned.</p> |
458 | </div> | 458 | </div> |
459 | <p·class="since">Since:·0.2.0</p> | 459 | <p·class="since">Since:·0.2.0</p> |
460 | </div> | 460 | </div> |
Offset 153, 15 lines modified | Offset 153, 15 lines modified | ||
153 | <div·class="refsect1"> | 153 | <div·class="refsect1"> |
154 | <a·name="libmediaart-MediaArtProcess.functions_details"></a><h2>Functions</h2> | 154 | <a·name="libmediaart-MediaArtProcess.functions_details"></a><h2>Functions</h2> |
155 | <div·class="refsect2"> | 155 | <div·class="refsect2"> |
156 | <a·name="media-art-error-quark"></a><h3>media_art_error_quark ()</h3> | 156 | <a·name="media-art-error-quark"></a><h3>media_art_error_quark ()</h3> |
157 | <pre·class="programlisting"><span·class="returnvalue">GQuark</span> | 157 | <pre·class="programlisting"><span·class="returnvalue">GQuark</span> |
158 | media_art_error_quark·(<em·class="parameter"><code><span·class="type">void</span></code></em>);</pre> | 158 | media_art_error_quark·(<em·class="parameter"><code><span·class="type">void</span></code></em>);</pre> |
159 | <div·class="refsect3"> | 159 | <div·class="refsect3"> |
160 | <a·name="idp6 | 160 | <a·name="idp68808120"></a><h4>Returns</h4> |
161 | <p>·A·<span·class="type">GQuark</span>·representing·the·type·of·<span·class="type">GError</span>·for·<a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="type">MediaArtProcess</span></a>·failures.</p> | 161 | <p>·A·<span·class="type">GQuark</span>·representing·the·type·of·<span·class="type">GError</span>·for·<a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="type">MediaArtProcess</span></a>·failures.</p> |
162 | </div> | 162 | </div> |
163 | <p·class="since">Since:·0.2.0</p> | 163 | <p·class="since">Since:·0.2.0</p> |
164 | </div> | 164 | </div> |
165 | <hr> | 165 | <hr> |
166 | <div·class="refsect2"> | 166 | <div·class="refsect2"> |
167 | <a·name="media-art-process-get-type"></a><h3>media_art_process_get_type ()</h3> | 167 | <a·name="media-art-process-get-type"></a><h3>media_art_process_get_type ()</h3> |
Offset 175, 30 lines modified | Offset 175, 30 lines modified | ||
175 | <a·name="media-art-process-new"></a><h3>media_art_process_new ()</h3> | 175 | <a·name="media-art-process-new"></a><h3>media_art_process_new ()</h3> |
176 | <pre·class="programlisting"><a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="returnvalue">MediaArtProcess</span></a> * | 176 | <pre·class="programlisting"><a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="returnvalue">MediaArtProcess</span></a> * |
177 | media_art_process_new·(<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> | 177 | media_art_process_new·(<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> |
178 | <p>Initialize·a·GObject·for·processing·and·extracting·media·art.</p> | 178 | <p>Initialize·a·GObject·for·processing·and·extracting·media·art.</p> |
179 | <p>This·function·initializes·cache·hash·tables,·backend·plugins, | 179 | <p>This·function·initializes·cache·hash·tables,·backend·plugins, |
180 | storage·modules·used·for·removable·devices·and·a·connection·to·D-Bus.</p> | 180 | storage·modules·used·for·removable·devices·and·a·connection·to·D-Bus.</p> |
181 | <div·class="refsect3"> | 181 | <div·class="refsect3"> |
182 | <a·name="idp656 | 182 | <a·name="idp65642424"></a><h4>Parameters</h4> |
183 | <div·class="informaltable"><table·width="100%"·border="0"> | 183 | <div·class="informaltable"><table·width="100%"·border="0"> |
184 | <colgroup> | 184 | <colgroup> |
185 | <col·width="150px"·class="parameters_name"> | 185 | <col·width="150px"·class="parameters_name"> |
186 | <col·class="parameters_description"> | 186 | <col·class="parameters_description"> |
187 | <col·width="200px"·class="parameters_annotations"> | 187 | <col·width="200px"·class="parameters_annotations"> |
188 | </colgroup> | 188 | </colgroup> |
189 | <tbody><tr> | 189 | <tbody><tr> |
190 | <td·class="parameter_name"><p>error</p></td> | 190 | <td·class="parameter_name"><p>error</p></td> |
191 | <td·class="parameter_description"><p>Pointer·to·potential·GLib·/·MediaArt·error,·or·<code·class="literal">NULL</code></p></td> | 191 | <td·class="parameter_description"><p>Pointer·to·potential·GLib·/·MediaArt·error,·or·<code·class="literal">NULL</code></p></td> |
192 | <td·class="parameter_annotations"> </td> | 192 | <td·class="parameter_annotations"> </td> |
193 | </tr></tbody> | 193 | </tr></tbody> |
194 | </table></div> | 194 | </table></div> |
195 | </div> | 195 | </div> |
196 | <div·class="refsect3"> | 196 | <div·class="refsect3"> |
197 | <a·name="idp656 | 197 | <a·name="idp65648440"></a><h4>Returns</h4> |
198 | <p>·A·new·<a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="type">MediaArtProcess</span></a>·object·on·success·or·<code·class="literal">NULL</code>·if | 198 | <p>·A·new·<a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtProcess"·title="struct·MediaArtProcess"><span·class="type">MediaArtProcess</span></a>·object·on·success·or·<code·class="literal">NULL</code>·if |
199 | <em·class="parameter"><code>error</code></em> | 199 | <em·class="parameter"><code>error</code></em> |
200 | is·set.·This·object·must·be·freed·using·<code·class="function">g_object_unref()</code>.</p> | 200 | is·set.·This·object·must·be·freed·using·<code·class="function">g_object_unref()</code>.</p> |
201 | </div> | 201 | </div> |
202 | <p·class="since">Since:·0.5.0</p> | 202 | <p·class="since">Since:·0.5.0</p> |
203 | </div> | 203 | </div> |
204 | <hr> | 204 | <hr> |
Offset 216, 15 lines modified | Offset 216, 15 lines modified | ||
216 | <p>This·function·calls·<a·class="link"·href="libmediaart-MediaArtProcess.html#media-art-process-file"·title="media_art_process_file ()"><code·class="function">media_art_process_file()</code></a>,·but·takes·the·<em·class="parameter"><code>uri</code></em> | 216 | <p>This·function·calls·<a·class="link"·href="libmediaart-MediaArtProcess.html#media-art-process-file"·title="media_art_process_file ()"><code·class="function">media_art_process_file()</code></a>,·but·takes·the·<em·class="parameter"><code>uri</code></em> |
217 | ·as | 217 | ·as |
218 | a·string·rather·than·a·<span·class="type">GFile</span>·object.·Either·<em·class="parameter"><code>artist</code></em> | 218 | a·string·rather·than·a·<span·class="type">GFile</span>·object.·Either·<em·class="parameter"><code>artist</code></em> |
219 | ·OR·<em·class="parameter"><code>title</code></em> | 219 | ·OR·<em·class="parameter"><code>title</code></em> |
220 | ·can·be | 220 | ·can·be |
221 | <code·class="literal">NULL</code>,·but·they·can·not·both·be·<code·class="literal">NULL</code>.</p> | 221 | <code·class="literal">NULL</code>,·but·they·can·not·both·be·<code·class="literal">NULL</code>.</p> |
222 | <div·class="refsect3"> | 222 | <div·class="refsect3"> |
223 | <a·name="idp656 | 223 | <a·name="idp65686072"></a><h4>Parameters</h4> |
224 | <div·class="informaltable"><table·width="100%"·border="0"> | 224 | <div·class="informaltable"><table·width="100%"·border="0"> |
225 | <colgroup> | 225 | <colgroup> |
226 | <col·width="150px"·class="parameters_name"> | 226 | <col·width="150px"·class="parameters_name"> |
227 | <col·class="parameters_description"> | 227 | <col·class="parameters_description"> |
228 | <col·width="200px"·class="parameters_annotations"> | 228 | <col·width="200px"·class="parameters_annotations"> |
229 | </colgroup> | 229 | </colgroup> |
230 | <tbody> | 230 | <tbody> |
Offset 271, 15 lines modified | Offset 271, 15 lines modified | ||
271 | <td·class="parameter_description"><p>Pointer·to·potential·GLib·/·MediaArt·error,·or·<code·class="literal">NULL</code></p></td> | 271 | <td·class="parameter_description"><p>Pointer·to·potential·GLib·/·MediaArt·error,·or·<code·class="literal">NULL</code></p></td> |
272 | <td·class="parameter_annotations"> </td> | 272 | <td·class="parameter_annotations"> </td> |
273 | </tr> | 273 | </tr> |
274 | </tbody> | 274 | </tbody> |
275 | </table></div> | 275 | </table></div> |
276 | </div> | 276 | </div> |
277 | <div·class="refsect3"> | 277 | <div·class="refsect3"> |
278 | <a·name="idp65 | 278 | <a·name="idp65710904"></a><h4>Returns</h4> |
279 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>uri</code></em> | 279 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>uri</code></em> |
280 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> | 280 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> |
281 | is·set.</p> | 281 | is·set.</p> |
282 | </div> | 282 | </div> |
283 | <p·class="since">Since:·0.5.0</p> | 283 | <p·class="since">Since:·0.5.0</p> |
284 | </div> | 284 | </div> |
285 | <hr> | 285 | <hr> |
Offset 325, 15 lines modified | Offset 325, 15 lines modified | ||
325 | stored·in·a·directory·on·a·removable·device),·it·is·copied·locally | 325 | stored·in·a·directory·on·a·removable·device),·it·is·copied·locally |
326 | (usually·to·an·XDG·cache·directory).</p> | 326 | (usually·to·an·XDG·cache·directory).</p> |
327 | <p>If·<em·class="parameter"><code>file</code></em> | 327 | <p>If·<em·class="parameter"><code>file</code></em> |
328 | ·is·on·a·removable·filesystem,·the·media·art·file·will·be | 328 | ·is·on·a·removable·filesystem,·the·media·art·file·will·be |
329 | saved·in·a·cache·on·the·removable·file·system·rather·than·on·the | 329 | saved·in·a·cache·on·the·removable·file·system·rather·than·on·the |
330 | host·machine.</p> | 330 | host·machine.</p> |
331 | <div·class="refsect3"> | 331 | <div·class="refsect3"> |
332 | <a·name="idp657 | 332 | <a·name="idp65742776"></a><h4>Parameters</h4> |
333 | <div·class="informaltable"><table·width="100%"·border="0"> | 333 | <div·class="informaltable"><table·width="100%"·border="0"> |
334 | <colgroup> | 334 | <colgroup> |
335 | <col·width="150px"·class="parameters_name"> | 335 | <col·width="150px"·class="parameters_name"> |
336 | <col·class="parameters_description"> | 336 | <col·class="parameters_description"> |
337 | <col·width="200px"·class="parameters_annotations"> | 337 | <col·width="200px"·class="parameters_annotations"> |
338 | </colgroup> | 338 | </colgroup> |
339 | <tbody> | 339 | <tbody> |
Offset 381, 15 lines modified | Offset 381, 15 lines modified | ||
381 | to·ignore.</p></td> | 381 | to·ignore.</p></td> |
382 | <td·class="parameter_annotations"> </td> | 382 | <td·class="parameter_annotations"> </td> |
383 | </tr> | 383 | </tr> |
384 | </tbody> | 384 | </tbody> |
385 | </table></div> | 385 | </table></div> |
386 | </div> | 386 | </div> |
387 | <div·class="refsect3"> | 387 | <div·class="refsect3"> |
388 | <a·name="idp6576 | 388 | <a·name="idp65776568"></a><h4>Returns</h4> |
389 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>file</code></em> | 389 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>file</code></em> |
390 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> | 390 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> |
391 | is·set.</p> | 391 | is·set.</p> |
392 | </div> | 392 | </div> |
393 | <p·class="since">Since:·0.3.0</p> | 393 | <p·class="since">Since:·0.3.0</p> |
394 | </div> | 394 | </div> |
395 | <hr> | 395 | <hr> |
Offset 417, 15 lines modified | Offset 417, 15 lines modified | ||
417 | <p>Either·<em·class="parameter"><code>artist</code></em> | 417 | <p>Either·<em·class="parameter"><code>artist</code></em> |
418 | ·OR·<em·class="parameter"><code>title</code></em> | 418 | ·OR·<em·class="parameter"><code>title</code></em> |
419 | ·can·be·<code·class="literal">NULL</code>,·but·they·can·not·both·be·<code·class="literal">NULL</code>.</p> | 419 | ·can·be·<code·class="literal">NULL</code>,·but·they·can·not·both·be·<code·class="literal">NULL</code>.</p> |
420 | <p>If·<em·class="parameter"><code>file</code></em> | 420 | <p>If·<em·class="parameter"><code>file</code></em> |
421 | ·is·on·a·removable·filesystem,·the·media·art·file·will·be·saved·in·a | 421 | ·is·on·a·removable·filesystem,·the·media·art·file·will·be·saved·in·a |
422 | cache·on·the·removable·file·system·rather·than·on·the·host·machine.</p> | 422 | cache·on·the·removable·file·system·rather·than·on·the·host·machine.</p> |
423 | <div·class="refsect3"> | 423 | <div·class="refsect3"> |
424 | <a·name="idp65 | 424 | <a·name="idp65805880"></a><h4>Parameters</h4> |
425 | <div·class="informaltable"><table·width="100%"·border="0"> | 425 | <div·class="informaltable"><table·width="100%"·border="0"> |
426 | <colgroup> | 426 | <colgroup> |
427 | <col·width="150px"·class="parameters_name"> | 427 | <col·width="150px"·class="parameters_name"> |
428 | <col·class="parameters_description"> | 428 | <col·class="parameters_description"> |
429 | <col·width="200px"·class="parameters_annotations"> | 429 | <col·width="200px"·class="parameters_annotations"> |
430 | </colgroup> | 430 | </colgroup> |
431 | <tbody> | 431 | <tbody> |
Offset 491, 29 lines modified | Offset 491, 29 lines modified | ||
491 | to·ignore.</p></td> | 491 | to·ignore.</p></td> |
492 | <td·class="parameter_annotations"> </td> | 492 | <td·class="parameter_annotations"> </td> |
493 | </tr> | 493 | </tr> |
494 | </tbody> | 494 | </tbody> |
495 | </table></div> | 495 | </table></div> |
496 | </div> | 496 | </div> |
497 | <div·class="refsect3"> | 497 | <div·class="refsect3"> |
498 | <a·name="idp68 | 498 | <a·name="idp65857336"></a><h4>Returns</h4> |
499 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>file</code></em> | 499 | <p>·<code·class="literal">TRUE</code>·if·<em·class="parameter"><code>file</code></em> |
500 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> | 500 | could·be·processed·or·<code·class="literal">FALSE</code>·if·<em·class="parameter"><code>error</code></em> |
501 | is·set.</p> | 501 | is·set.</p> |
502 | </div> | 502 | </div> |
503 | <p·class="since">Since:·0.5.0</p> | 503 | <p·class="since">Since:·0.5.0</p> |
504 | </div> | 504 | </div> |
505 | </div> | 505 | </div> |
506 | <div·class="refsect1"> | 506 | <div·class="refsect1"> |
507 | <a·name="libmediaart-MediaArtProcess.other_details"></a><h2>Types·and·Values</h2> | 507 | <a·name="libmediaart-MediaArtProcess.other_details"></a><h2>Types·and·Values</h2> |
508 | <div·class="refsect2"> | 508 | <div·class="refsect2"> |
509 | <a·name="MediaArtType"></a><h3>enum·MediaArtType</h3> | 509 | <a·name="MediaArtType"></a><h3>enum·MediaArtType</h3> |
510 | <p>This·type·categorized·the·type·of·media·art·we're·dealing·with.</p> | 510 | <p>This·type·categorized·the·type·of·media·art·we're·dealing·with.</p> |
511 | <div·class="refsect3"> | 511 | <div·class="refsect3"> |
512 | <a·name="idp6 | 512 | <a·name="idp65865144"></a><h4>Members</h4> |
513 | <div·class="informaltable"><table·width="100%"·border="0"> | 513 | <div·class="informaltable"><table·width="100%"·border="0"> |
514 | <colgroup> | 514 | <colgroup> |
515 | <col·width="300px"·class="enum_members_name"> | 515 | <col·width="300px"·class="enum_members_name"> |
516 | <col·class="enum_members_description"> | 516 | <col·class="enum_members_description"> |
517 | <col·width="200px"·class="enum_members_annotations"> | 517 | <col·width="200px"·class="enum_members_annotations"> |
518 | </colgroup> | 518 | </colgroup> |
519 | <tbody> | 519 | <tbody> |
Offset 544, 15 lines modified | Offset 544, 15 lines modified | ||
544 | </div> | 544 | </div> |
545 | <hr> | 545 | <hr> |
546 | <div·class="refsect2"> | 546 | <div·class="refsect2"> |
547 | <a·name="MediaArtError"></a><h3>enum·MediaArtError</h3> | 547 | <a·name="MediaArtError"></a><h3>enum·MediaArtError</h3> |
548 | <p>Enumeration·values·used·in·errors·returned·by·the | 548 | <p>Enumeration·values·used·in·errors·returned·by·the |
549 | <a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtError"·title="enum·MediaArtError"><span·class="type">MediaArtError</span></a>·API.</p> | 549 | <a·class="link"·href="libmediaart-MediaArtProcess.html#MediaArtError"·title="enum·MediaArtError"><span·class="type">MediaArtError</span></a>·API.</p> |
550 | <div·class="refsect3"> | 550 | <div·class="refsect3"> |
551 | <a·name="idp68 | 551 | <a·name="idp65882808"></a><h4>Members</h4> |
552 | <div·class="informaltable"><table·width="100%"·border="0"> | 552 | <div·class="informaltable"><table·width="100%"·border="0"> |
553 | <colgroup> | 553 | <colgroup> |
554 | <col·width="300px"·class="enum_members_name"> | 554 | <col·width="300px"·class="enum_members_name"> |
555 | <col·class="enum_members_description"> | 555 | <col·class="enum_members_description"> |
556 | <col·width="200px"·class="enum_members_annotations"> | 556 | <col·width="200px"·class="enum_members_annotations"> |
557 | </colgroup> | 557 | </colgroup> |
558 | <tbody> | 558 | <tbody> |
Offset 603, 15 lines modified | Offset 603, 15 lines modified | ||
603 | <p·class="since">Since:·0.2.0</p> | 603 | <p·class="since">Since:·0.2.0</p> |
604 | </div> | 604 | </div> |
605 | <hr> | 605 | <hr> |
606 | <div·class="refsect2"> | 606 | <div·class="refsect2"> |
607 | <a·name="MediaArtProcessFlags"></a><h3>enum·MediaArtProcessFlags</h3> | 607 | <a·name="MediaArtProcessFlags"></a><h3>enum·MediaArtProcessFlags</h3> |
608 | <p>This·type·categorized·the·flags·used·when·processing·media·art.</p> | 608 | <p>This·type·categorized·the·flags·used·when·processing·media·art.</p> |
609 | <div·class="refsect3"> | 609 | <div·class="refsect3"> |
610 | <a·name="idp68 | 610 | <a·name="idp68867384"></a><h4>Members</h4> |
611 | <div·class="informaltable"><table·width="100%"·border="0"> | 611 | <div·class="informaltable"><table·width="100%"·border="0"> |
612 | <colgroup> | 612 | <colgroup> |
613 | <col·width="300px"·class="enum_members_name"> | 613 | <col·width="300px"·class="enum_members_name"> |
614 | <col·class="enum_members_description"> | 614 | <col·class="enum_members_description"> |
615 | <col·width="200px"·class="enum_members_annotations"> | 615 | <col·width="200px"·class="enum_members_annotations"> |
616 | </colgroup> | 616 | </colgroup> |
617 | <tbody> | 617 | <tbody> |
Offset 639, 15 lines modified | Offset 639, 15 lines modified | ||
639 | <a·name="MediaArtProcess"></a><h3>struct·MediaArtProcess</h3> | 639 | <a·name="MediaArtProcess"></a><h3>struct·MediaArtProcess</h3> |
640 | <pre·class="programlisting">struct·MediaArtProcess·{ | 640 | <pre·class="programlisting">struct·MediaArtProcess·{ |
641 | » GObject·parent; | 641 | » GObject·parent; |
642 | }; | 642 | }; |
643 | </pre> | 643 | </pre> |
644 | <p>A·class·implementation·for·processing·and·extracting·media·art.</p> | 644 | <p>A·class·implementation·for·processing·and·extracting·media·art.</p> |
645 | <div·class="refsect3"> | 645 | <div·class="refsect3"> |
646 | <a·name="idp | 646 | <a·name="idp59114296"></a><h4>Members</h4> |
647 | <div·class="informaltable"><table·width="100%"·border="0"> | 647 | <div·class="informaltable"><table·width="100%"·border="0"> |
648 | <colgroup> | 648 | <colgroup> |
649 | <col·width="300px"·class="struct_members_name"> | 649 | <col·width="300px"·class="struct_members_name"> |
650 | <col·class="struct_members_description"> | 650 | <col·class="struct_members_description"> |
651 | <col·width="200px"·class="struct_members_annotations"> | 651 | <col·width="200px"·class="struct_members_annotations"> |
652 | </colgroup> | 652 | </colgroup> |
653 | <tbody><tr> | 653 | <tbody><tr> |
Offset 663, 15 lines modified | Offset 663, 15 lines modified | ||
663 | <a·name="MediaArtProcessClass"></a><h3>struct·MediaArtProcessClass</h3> | 663 | <a·name="MediaArtProcessClass"></a><h3>struct·MediaArtProcessClass</h3> |
664 | <pre·class="programlisting">struct·MediaArtProcessClass·{ | 664 | <pre·class="programlisting">struct·MediaArtProcessClass·{ |
665 | » GObjectClass·parent; | 665 | » GObjectClass·parent; |
666 | }; | 666 | }; |
667 | </pre> | 667 | </pre> |
668 | <p>Prototype·for·the·class.</p> | 668 | <p>Prototype·for·the·class.</p> |
669 | <div·class="refsect3"> | 669 | <div·class="refsect3"> |
670 | <a·name="idp | 670 | <a·name="idp59127864"></a><h4>Members</h4> |
671 | <div·class="informaltable"><table·width="100%"·border="0"> | 671 | <div·class="informaltable"><table·width="100%"·border="0"> |
672 | <colgroup> | 672 | <colgroup> |
673 | <col·width="300px"·class="struct_members_name"> | 673 | <col·width="300px"·class="struct_members_name"> |
674 | <col·class="struct_members_description"> | 674 | <col·class="struct_members_description"> |
675 | <col·width="200px"·class="struct_members_annotations"> | 675 | <col·width="200px"·class="struct_members_annotations"> |
676 | </colgroup> | 676 | </colgroup> |
677 | <tbody><tr> | 677 | <tbody><tr> |
Offset 94, 15 lines modified | Offset 94, 15 lines modified | ||
94 | media_art_plugin_init·(<em·class="parameter"><code><span·class="type">gint</span>·max_width</code></em>);</pre> | 94 | media_art_plugin_init·(<em·class="parameter"><code><span·class="type">gint</span>·max_width</code></em>);</pre> |
95 | <p>This·function·facilitates·a·plugin's·need·to·create·any | 95 | <p>This·function·facilitates·a·plugin's·need·to·create·any |
96 | internal·caches·before·anything·else·is·done.·This·function·must | 96 | internal·caches·before·anything·else·is·done.·This·function·must |
97 | exist·in·each·plugin·and·is·called·immediately·after·the·plugin·is | 97 | exist·in·each·plugin·and·is·called·immediately·after·the·plugin·is |
98 | loaded.·Conversely,·<a·class="link"·href="libmediaart-Plugins.html#media-art-plugin-shutdown"·title="media_art_plugin_shutdown ()"><code·class="function">media_art_plugin_shutdown()</code></a>·is·called·before | 98 | loaded.·Conversely,·<a·class="link"·href="libmediaart-Plugins.html#media-art-plugin-shutdown"·title="media_art_plugin_shutdown ()"><code·class="function">media_art_plugin_shutdown()</code></a>·is·called·before |
99 | tear·down·of·the·plugin·system·or·plugin·itself.</p> | 99 | tear·down·of·the·plugin·system·or·plugin·itself.</p> |
100 | <div·class="refsect3"> | 100 | <div·class="refsect3"> |
101 | <a·name="idp64 | 101 | <a·name="idp64477752"></a><h4>Parameters</h4> |
102 | <div·class="informaltable"><table·width="100%"·border="0"> | 102 | <div·class="informaltable"><table·width="100%"·border="0"> |
103 | <colgroup> | 103 | <colgroup> |
104 | <col·width="150px"·class="parameters_name"> | 104 | <col·width="150px"·class="parameters_name"> |
105 | <col·class="parameters_description"> | 105 | <col·class="parameters_description"> |
106 | <col·width="200px"·class="parameters_annotations"> | 106 | <col·width="200px"·class="parameters_annotations"> |
107 | </colgroup> | 107 | </colgroup> |
108 | <tbody><tr> | 108 | <tbody><tr> |
Offset 134, 15 lines modified | Offset 134, 15 lines modified | ||
134 | ························<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> | 134 | ························<em·class="parameter"><code><span·class="type">GError</span>·**error</code></em>);</pre> |
135 | <p>Save·<em·class="parameter"><code>filename</code></em> | 135 | <p>Save·<em·class="parameter"><code>filename</code></em> |
136 | ·to·<em·class="parameter"><code>target</code></em> | 136 | ·to·<em·class="parameter"><code>target</code></em> |
137 | ·as·JPEG·format.·The·<em·class="parameter"><code>filename</code></em> | 137 | ·as·JPEG·format.·The·<em·class="parameter"><code>filename</code></em> |
138 | ·may·not·be | 138 | ·may·not·be |
139 | a·JPEG·in·the·first·place.</p> | 139 | a·JPEG·in·the·first·place.</p> |
140 | <div·class="refsect3"> | 140 | <div·class="refsect3"> |
141 | <a·name="idp64 | 141 | <a·name="idp64502200"></a><h4>Parameters</h4> |
142 | <div·class="informaltable"><table·width="100%"·border="0"> | 142 | <div·class="informaltable"><table·width="100%"·border="0"> |
143 | <colgroup> | 143 | <colgroup> |
144 | <col·width="150px"·class="parameters_name"> | 144 | <col·width="150px"·class="parameters_name"> |
145 | <col·class="parameters_description"> | 145 | <col·class="parameters_description"> |
146 | <col·width="200px"·class="parameters_annotations"> | 146 | <col·width="200px"·class="parameters_annotations"> |
147 | </colgroup> | 147 | </colgroup> |
148 | <tbody> | 148 | <tbody> |
Offset 161, 15 lines modified | Offset 161, 15 lines modified | ||
161 | <td·class="parameter_description"><p>A·<span·class="type">GError</span>·to·use·upon·failure,·or·<code·class="literal">NULL</code></p></td> | 161 | <td·class="parameter_description"><p>A·<span·class="type">GError</span>·to·use·upon·failure,·or·<code·class="literal">NULL</code></p></td> |
162 | <td·class="parameter_annotations"> </td> | 162 | <td·class="parameter_annotations"> </td> |
163 | </tr> | 163 | </tr> |
164 | </tbody> | 164 | </tbody> |
165 | </table></div> | 165 | </table></div> |
166 | </div> | 166 | </div> |
167 | <div·class="refsect3"> | 167 | <div·class="refsect3"> |
168 | <a·name="idp6 | 168 | <a·name="idp61608376"></a><h4>Returns</h4> |
169 | <p>·<code·class="literal">TRUE</code>·if·conversion·was·successful,·otherwise·<code·class="literal">FALSE</code>·is | 169 | <p>·<code·class="literal">TRUE</code>·if·conversion·was·successful,·otherwise·<code·class="literal">FALSE</code>·is |
170 | returned·if·<em·class="parameter"><code>error</code></em> | 170 | returned·if·<em·class="parameter"><code>error</code></em> |
171 | is·set.</p> | 171 | is·set.</p> |
172 | </div> | 172 | </div> |
173 | <p·class="since">Since:·0.1.0</p> | 173 | <p·class="since">Since:·0.1.0</p> |
174 | </div> | 174 | </div> |
175 | <hr> | 175 | <hr> |
Offset 184, 15 lines modified | Offset 184, 15 lines modified | ||
184 | <p>This·function·performs·the·same·operation·as | 184 | <p>This·function·performs·the·same·operation·as |
185 | <a·class="link"·href="libmediaart-Plugins.html#media-art-file-to-jpeg"·title="media_art_file_to_jpeg ()"><code·class="function">media_art_file_to_jpeg()</code></a>·with·the·exception·that·a·raw·<em·class="parameter"><code>buffer</code></em> | 185 | <a·class="link"·href="libmediaart-Plugins.html#media-art-file-to-jpeg"·title="media_art_file_to_jpeg ()"><code·class="function">media_art_file_to_jpeg()</code></a>·with·the·exception·that·a·raw·<em·class="parameter"><code>buffer</code></em> |
186 | ·can | 186 | ·can |
187 | be·used·instead·providing·<em·class="parameter"><code>len</code></em> | 187 | be·used·instead·providing·<em·class="parameter"><code>len</code></em> |
188 | ·and·the·<em·class="parameter"><code>buffer_mime</code></em> | 188 | ·and·the·<em·class="parameter"><code>buffer_mime</code></em> |
189 | ·too.</p> | 189 | ·too.</p> |
190 | <div·class="refsect3"> | 190 | <div·class="refsect3"> |
191 | <a·name="idp6 | 191 | <a·name="idp61627832"></a><h4>Parameters</h4> |
192 | <div·class="informaltable"><table·width="100%"·border="0"> | 192 | <div·class="informaltable"><table·width="100%"·border="0"> |
193 | <colgroup> | 193 | <colgroup> |
194 | <col·width="150px"·class="parameters_name"> | 194 | <col·width="150px"·class="parameters_name"> |
195 | <col·class="parameters_description"> | 195 | <col·class="parameters_description"> |
196 | <col·width="200px"·class="parameters_annotations"> | 196 | <col·width="200px"·class="parameters_annotations"> |
197 | </colgroup> | 197 | </colgroup> |
198 | <tbody> | 198 | <tbody> |
Offset 223, 15 lines modified | Offset 223, 15 lines modified | ||
223 | <td·class="parameter_description"><p>A·<span·class="type">GError</span>·to·use·upon·failure,·or·<code·class="literal">NULL</code></p></td> | 223 | <td·class="parameter_description"><p>A·<span·class="type">GError</span>·to·use·upon·failure,·or·<code·class="literal">NULL</code></p></td> |
224 | <td·class="parameter_annotations"> </td> | 224 | <td·class="parameter_annotations"> </td> |
225 | </tr> | 225 | </tr> |
226 | </tbody> | 226 | </tbody> |
227 | </table></div> | 227 | </table></div> |
228 | </div> | 228 | </div> |
229 | <div·class="refsect3"> | 229 | <div·class="refsect3"> |
230 | <a·name="idp6 | 230 | <a·name="idp61642680"></a><h4>Returns</h4> |
231 | <p>·<code·class="literal">TRUE</code>·if·conversion·was·successful,·otherwise·<code·class="literal">FALSE</code>·is | 231 | <p>·<code·class="literal">TRUE</code>·if·conversion·was·successful,·otherwise·<code·class="literal">FALSE</code>·is |
232 | returned·if·<em·class="parameter"><code>error</code></em> | 232 | returned·if·<em·class="parameter"><code>error</code></em> |
233 | is·set.</p> | 233 | is·set.</p> |
234 | </div> | 234 | </div> |
235 | <p·class="since">Since:·0.1.0</p> | 235 | <p·class="since">Since:·0.1.0</p> |
236 | </div> | 236 | </div> |
237 | </div> | 237 | </div> |