mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
233 lines
6.3 KiB
HTML
233 lines
6.3 KiB
HTML
<!--
|
|
SPDX-FileCopyrightText: Rafał Dzięgiel
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-or-later
|
|
-->
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Clapper.MediaItem.get_title</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
<meta property="og:type" content="website"/>
|
|
|
|
|
|
<meta property="og:image:width" content="256"/>
|
|
<meta property="og:image:height" content="256"/>
|
|
<meta property="og:image:secure_url" content="clapper-logo.svg"/>
|
|
<meta property="og:image:alt" content="Clapper-0.0"/>
|
|
|
|
|
|
|
|
<meta priority="og:title" content="Clapper.MediaItem.get_title"/>
|
|
<meta priority="og:description" content="Reference for Clapper.MediaItem.get_title"/>
|
|
<meta name="twitter:title" content="Clapper.MediaItem.get_title"/>
|
|
<meta name="twitter:description" content="Reference for Clapper.MediaItem.get_title"/>
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary"/>
|
|
|
|
|
|
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" title="Clapper" href="opensearch.xml">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
<script src="urlmap.js"></script>
|
|
|
|
|
|
<script src="fzy.js"></script>
|
|
<script src="search.js"></script>
|
|
|
|
<script src="main.js"></script>
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="body-wrapper" tabindex="-1">
|
|
|
|
<nav class="sidebar devhelp-hidden">
|
|
|
|
<div class="section">
|
|
<a href="index.html"><img src="clapper-logo.svg" class="logo"/></a>
|
|
</div>
|
|
|
|
|
|
<div class="search section">
|
|
<form id="search-form" autocomplete="off">
|
|
<input id="search-input" type="text" name="do-not-autocomplete" placeholder="Click, or press 's' to search" autocomplete="off"/>
|
|
</form>
|
|
</div>
|
|
|
|
<div class="section namespace">
|
|
<h3><a href="index.html">Clapper</a></h3>
|
|
<p>API Version: 0.0</p>
|
|
|
|
<p>Library Version: 0.9.0</p>
|
|
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h5>Type</h5>
|
|
<div class="links">
|
|
<a href="class.MediaItem.html">MediaItem</a>
|
|
</div>
|
|
</div>
|
|
<div class="section">
|
|
<h5>Methods</h5>
|
|
<div class="links">
|
|
|
|
<a class="method" href="method.MediaItem.get_container_format.html">get_container_format</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_duration.html">get_duration</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_id.html">get_id</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_suburi.html">get_suburi</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_tags.html">get_tags</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_timeline.html">get_timeline</a>
|
|
|
|
<a class="method current" href="method.MediaItem.get_title.html">get_title</a>
|
|
|
|
<a class="method" href="method.MediaItem.get_uri.html">get_uri</a>
|
|
|
|
<a class="method" href="method.MediaItem.populate_tags.html">populate_tags</a>
|
|
|
|
<a class="method" href="method.MediaItem.set_suburi.html">set_suburi</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section generator">
|
|
<p>Generated by <a href="https://gitlab.gnome.org/GNOME/gi-docgen">gi-docgen</a> 2025.3</p>
|
|
</div>
|
|
</nav>
|
|
|
|
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
|
|
|
|
|
|
<section id="main" class="content">
|
|
<header>
|
|
<h3>Method</h3>
|
|
<h1><a href="index.html">Clapper</a><span class="sep"></span><a href="class.MediaItem.html">MediaItem</a><span class="sep"></span>get_title</h1>
|
|
</header>
|
|
|
|
<section>
|
|
<div class="docblock">
|
|
<p></p>
|
|
</div>
|
|
|
|
<div class="declaration toggle-wrapper">
|
|
<h4 style="display:flex;" id="declaration">
|
|
Declaration
|
|
<a class="anchor" href="#declaration"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-media-item.h#L65">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock c-decl">
|
|
<pre><code><div class="highlight"><pre><span></span><span class="n">gchar</span><span class="o">*</span>
|
|
<span class="n">clapper_media_item_get_title</span><span class="w"> </span><span class="p">(</span>
|
|
<span class="w"> </span><span class="n">ClapperMediaItem</span><span class="o">*</span><span class="w"> </span><span class="n">item</span>
|
|
<span class="p">)</span>
|
|
</pre></div>
|
|
</code></pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="description toggle-wrapper">
|
|
<h4 style="display:flex;" id="description">
|
|
Description
|
|
<a class="anchor" href="#description"></a>
|
|
|
|
<a class="srclink" title="go to source location" href="https://github.com/Rafostar/clapper/tree/master/src/lib/clapper/clapper-media-item.c#L270">[src]</a>
|
|
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<p>Get media item title.</p>
|
|
<p>The title can be either text detected by media discovery once it
|
|
completes. Otherwise whenever possible this will try to return a title
|
|
extracted from media <span class="caps">URI</span> e.g. basename without extension for local files.</p>
|
|
</div>
|
|
|
|
<div class="docblock">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="docblock">
|
|
<table>
|
|
|
|
<tr><td>Gets property</td><td><a href="property.MediaItem.title.html"><code>Clapper.MediaItem:title</code></a></td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="return-value toggle-wrapper">
|
|
<h4 id="return-value">
|
|
Return value
|
|
<a href="#return-value" class="anchor"></a>
|
|
</h4>
|
|
|
|
<div class="docblock">
|
|
<div class="returns">
|
|
<div class="arg-description">
|
|
<p><em>Type:</em> <code>gchar*</code></p>
|
|
<p>Media title.</p>
|
|
</div>
|
|
<div>
|
|
<table>
|
|
|
|
|
|
|
|
<tr><td title="transfer: full">The caller of the method takes ownership of the returned data, and is responsible for freeing it.</td></tr>
|
|
<tr><td>The return value can be <code>NULL</code>.</td></tr>
|
|
<tr><td>The value is a NUL terminated UTF-8 string.</td></tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</section>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section id="search" class="content hidden"></section>
|
|
|
|
<footer>
|
|
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html> |