<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Media Annotation on OpenSubsonic</title><link>/categories/media-annotation/</link><description>Recent content in Media Annotation on OpenSubsonic</description><generator>Hugo</generator><language>en</language><atom:link href="/categories/media-annotation/index.xml" rel="self" type="application/rss+xml"/><item><title>reportPlayback</title><link>/docs/endpoints/reportplayback/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/endpoints/reportplayback/</guid><description>&lt;p>&lt;strong>OpenSubsonic version&lt;/strong>: &lt;a href="../../opensubsonic-versions">1&lt;/a>&lt;/p>
&lt;p>&lt;strong>OpenSubsonic extension name&lt;/strong> &lt;code>playbackReport&lt;/code> (As returned by &lt;a href="../../endpoints/getopensubsonicextensions">&lt;code>getOpenSubsonicExtensions&lt;/code>&lt;/a>)&lt;/p>
&lt;p>&lt;code>http://your-server/rest/reportPlayback&lt;/code>&lt;/p>
&lt;p>Reports playback timeline state for a song. Clients should call the endpoint at least on each state change. The end point can be called every X seconds by clients, but servers should estimate current position based on playbackRate for up to date data between calls. Servers should not assume a media is played after the calculated end of content, but needs to wait for a stopped state. 30 minutes after the planned end of the media, servers should stop listening to events and clients should use the normal scrobble endpoint after reconnection from offline.&lt;/p></description></item><item><title>scrobble</title><link>/docs/endpoints/scrobble/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/endpoints/scrobble/</guid><description>&lt;p>&lt;code>http://your-server/rest/scrobble&lt;/code> Since &lt;a href="../../subsonic-versions">1.5.0&lt;/a>&lt;/p>
&lt;p>Registers the local playback of one or more media files. Typically used when playing media that is cached on the client. This operation includes the following:&lt;/p>
&lt;ul>
&lt;li>&amp;ldquo;Scrobbles&amp;rdquo; the media files on last.fm if the user has configured his/her last.fm credentials on the server.&lt;/li>
&lt;li>Updates the play count and last played timestamp for the media files. (Since &lt;a href="../../subsonic-versions">1.11.0&lt;/a>)&lt;/li>
&lt;li>Makes the media files appear in the &amp;ldquo;Now playing&amp;rdquo; page in the web app, and appear in the list of songs returned by &lt;code>getNowPlaying&lt;/code> (Since &lt;a href="../../subsonic-versions">1.11.0&lt;/a>)&lt;/li>
&lt;/ul>
&lt;p>Since &lt;a href="../../subsonic-versions">1.8.0&lt;/a> you may specify multiple &lt;code>id&lt;/code> (and optionally &lt;code>time&lt;/code>) parameters to scrobble multiple files.&lt;/p></description></item><item><title>setRating</title><link>/docs/endpoints/setrating/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/endpoints/setrating/</guid><description>&lt;p>&lt;code>http://your-server/rest/setRating&lt;/code> Since &lt;a href="../../subsonic-versions">1.6.0&lt;/a>&lt;/p>
&lt;p>Sets the rating for a music file.&lt;/p>
&lt;h3 id="parameters">Parameters&lt;/h3>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Parameter&lt;/th>
 &lt;th>Req.&lt;/th>
 &lt;th>OpenS.&lt;/th>
 &lt;th>Default&lt;/th>
 &lt;th>Comment&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>id&lt;/code>&lt;/td>
 &lt;td>&lt;strong>Yes&lt;/strong>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>A string which uniquely identifies the file (song) or folder (album/artist) to rate.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>rating&lt;/code>&lt;/td>
 &lt;td>&lt;strong>Yes&lt;/strong>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The rating between 1 and 5 (inclusive), or 0 to remove the rating.&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h3 id="example">Example&lt;/h3>


&lt;div class="alert alert-primary" role="alert">


 &lt;code>http://your-server/rest/setRating.view?id=123&amp;amp;u=demo&amp;amp;p=demo&amp;amp;v=1.13.0&amp;amp;c=AwesomeClientName&amp;amp;f=json&lt;/code>

&lt;/div>

&lt;h3 id="result">Result&lt;/h3>
&lt;p>An empty &lt;a href="../../responses/subsonic-response">&lt;code>subsonic-response&lt;/code>&lt;/a> element on success.&lt;/p>




&lt;ul class="nav nav-tabs" id="tabs-1" role="tablist">
 &lt;li class="nav-item">
 &lt;button class="nav-link disabled"
 id="tabs-01-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-01-00" role="tab"
 aria-controls="tabs-01-00" aria-selected="false">
 &lt;strong>Example&lt;/strong>:
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link active"
 id="tabs-01-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-01-01" role="tab"
 aria-controls="tabs-01-01" aria-selected="true">
 OpenSubsonic
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-01-02-tab" data-bs-toggle="tab" data-bs-target="#tabs-01-02" role="tab"
 aria-controls="tabs-01-02" aria-selected="false">
 Subsonic
 &lt;/button>
 &lt;/li>
&lt;/ul>

&lt;div class="tab-content" id="tabs-1-content">
 &lt;div class="tab-pane fade"
 id="tabs-01-00" role="tabpanel" aria-labelled-by="tabs-01-00-tab" tabindex="1">
 &lt;pre tabindex="0">&lt;code>&lt;/code>&lt;/pre>
 &lt;/div>
 &lt;div class="tab-pane fade show active"
 id="tabs-01-01" role="tabpanel" aria-labelled-by="tabs-01-01-tab" tabindex="1">
 &lt;div class="highlight">&lt;pre tabindex="0" style="color:#d0d0d0;background-color:#202020;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-json" data-lang="json">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;subsonic-response&amp;#34;&lt;/span>: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;status&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;ok&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;version&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;1.16.1&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;type&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;AwesomeServerName&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;serverVersion&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;0.1.3 (tag)&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;openSubsonic&amp;#34;&lt;/span>: &lt;span style="color:#6ab825;font-weight:bold">true&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
 &lt;div class="tab-pane fade"
 id="tabs-01-02" role="tabpanel" aria-labelled-by="tabs-01-02-tab" tabindex="1">
 &lt;div class="highlight">&lt;pre tabindex="0" style="color:#d0d0d0;background-color:#202020;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-json" data-lang="json">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;subsonic-response&amp;#34;&lt;/span>: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;status&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;ok&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#6ab825;font-weight:bold">&amp;#34;version&amp;#34;&lt;/span>: &lt;span style="color:#ed9d13">&amp;#34;1.16.1&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>
 &lt;/div>
&lt;/div></description></item><item><title>star</title><link>/docs/endpoints/star/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/endpoints/star/</guid><description>&lt;p>&lt;code>http://your-server/rest/star&lt;/code> Since &lt;a href="../../subsonic-versions">1.8.0&lt;/a>&lt;/p>
&lt;p>Attaches a star to a song, album or artist.&lt;/p>
&lt;h3 id="parameters">Parameters&lt;/h3>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Parameter&lt;/th>
 &lt;th>Req.&lt;/th>
 &lt;th>OpenS.&lt;/th>
 &lt;th>Default&lt;/th>
 &lt;th>Comment&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>id&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of the file (song) or folder (album/artist) to star. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>albumId&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of an album to star. Use this rather than &lt;code>id&lt;/code> if the client accesses the media collection according to ID3 tags rather than file structure. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>artistId&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of an artist to star. Use this rather than &lt;code>id&lt;/code> if the client accesses the media collection according to ID3 tags rather than file structure. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h3 id="example">Example&lt;/h3>


&lt;div class="alert alert-primary" role="alert">


 &lt;code>http://your-server/rest/star.view?id=123&amp;amp;u=demo&amp;amp;p=demo&amp;amp;v=1.13.0&amp;amp;c=AwesomeClientName&amp;amp;f=json&lt;/code>

&lt;/div>

&lt;h3 id="result">Result&lt;/h3>
&lt;p>An empty &lt;a href="../../responses/subsonic-response">&lt;code>subsonic-response&lt;/code>&lt;/a> element on success.&lt;/p></description></item><item><title>unstar</title><link>/docs/endpoints/unstar/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/docs/endpoints/unstar/</guid><description>&lt;p>&lt;code>http://your-server/rest/unstar&lt;/code> Since &lt;a href="../../subsonic-versions">1.8.0&lt;/a>&lt;/p>
&lt;p>Removes a star to a song, album or artist.&lt;/p>
&lt;h3 id="parameters">Parameters&lt;/h3>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Parameter&lt;/th>
 &lt;th>Req.&lt;/th>
 &lt;th>OpenS.&lt;/th>
 &lt;th>Default&lt;/th>
 &lt;th>Comment&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>id&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of the file (song) or folder (album/artist) to unstar. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>albumId&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of an album to unstar. Use this rather than &lt;code>id&lt;/code> if the client accesses the media collection according to ID3 tags rather than file structure. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>artistId&lt;/code>&lt;/td>
 &lt;td>No&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>&lt;/td>
 &lt;td>The ID of an artist to unstar. Use this rather than &lt;code>id&lt;/code> if the client accesses the media collection according to ID3 tags rather than file structure. Multiple parameters allowed.&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h3 id="example">Example&lt;/h3>


&lt;div class="alert alert-primary" role="alert">


 &lt;code>http://your-server/rest/unstar.view?id=123&amp;amp;u=demo&amp;amp;p=demo&amp;amp;v=1.13.0&amp;amp;c=AwesomeClientName&amp;amp;f=json&lt;/code>

&lt;/div>

&lt;h3 id="result">Result&lt;/h3>
&lt;p>An empty &lt;a href="../../responses/subsonic-response">&lt;code>subsonic-response&lt;/code>&lt;/a> element on success.&lt;/p></description></item></channel></rss>