Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.1.3 ;) #3

Open
wants to merge 87 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
a8787c4
fixed 'info shows channel not from primary device while streaming/sca…
Saman-VDR Mar 11, 2013
88b8751
added VdrExtension::getVideoDiskSpace()
Saman-VDR Mar 19, 2013
0d9a704
added diskspace and vdrversion
Saman-VDR Mar 19, 2013
fe43288
added 'bool record' and implemented some track functions
Saman-VDR Jul 1, 2013
6ed9c72
added new audio service
Saman-VDR Jul 1, 2013
901ec70
added new audio service
Saman-VDR Jul 1, 2013
a6db015
added new audio service
Saman-VDR Jul 1, 2013
eb7e8ee
added channelname, channelnumber and 'bool recording'
Saman-VDR Jul 1, 2013
48fe780
fixed typo
Saman-VDR Jul 1, 2013
64137ae
code formatting in KeyPairList
Saman-VDR Jul 1, 2013
aa0b7e4
audio service - changed from GET method to POST
Saman-VDR Jul 1, 2013
f7e5a9b
audio service - changed from GET method to POST
Saman-VDR Jul 1, 2013
6263ffd
added recordingsPlay and recordingsRewind to services
Saman-VDR Jul 1, 2013
7204aa2
changed play and rewind to POST method
Saman-VDR Jul 1, 2013
3f5c9a9
changed play and rewind to POST method
Saman-VDR Jul 1, 2013
93873a8
fixed a race condition with rewind recordings
Saman-VDR Jul 2, 2013
278c7bb
fixed a race condition with rewind recordings
Saman-VDR Jul 2, 2013
f0c29ce
fixed a race condition with rewind recordings
Saman-VDR Jul 2, 2013
d44b8b0
cleanup
Saman-VDR Jul 2, 2013
41ceaa7
cleanup
Saman-VDR Jul 2, 2013
15f6864
added new audio service, complete info service
Saman-VDR Jul 3, 2013
e5ef7c8
Merge branch 'master' of https://github.com/Saman-VDR/vdr-plugin-rest…
Saman-VDR Jul 3, 2013
eff797c
mixed old README with API.html
Saman-VDR Jul 3, 2013
bbe2244
mixed old README with parts from API.html
Saman-VDR Jul 3, 2013
0851b00
mixed old README with parts from API.html
Saman-VDR Jul 3, 2013
5a7e5fe
New version - 0.1.3
Saman-VDR Jul 3, 2013
319650d
Version 0.0.2
Saman-VDR Jul 4, 2013
d320a9f
Service 'play' to version 2
Saman-VDR Jul 4, 2013
edf3613
fixed: due to bug the flags use_title, use_subtitle and use_description
Saman-VDR Jul 4, 2013
28533c1
added replay: replay_mode, current_frames, total_frames, frames_per_s…
Saman-VDR Jul 6, 2013
c3c20fb
removed recording_name and recording_file in StatusMonitor::Recording
Saman-VDR Jul 6, 2013
8f89bea
added replay: replay_mode, current_frames, total_frames, frames_per_s…
Saman-VDR Jul 6, 2013
698478a
fix for replay is music track
Saman-VDR Jul 6, 2013
b7469e5
fixed: property stop_timestamp of a timer contained wrong date in ca…
Saman-VDR Jul 6, 2013
7a6a211
added chanprev to KeyPairList
Saman-VDR Aug 30, 2013
7ffac98
a little code formatting
Saman-VDR Aug 30, 2013
3c1f365
added check for group-separator in EventsResponder::replyEvents
Saman-VDR Sep 13, 2013
ee99ed6
added check for group-separator in EventsResponder::replyEvents
Saman-VDR Sep 13, 2013
e34c094
Fix/Add match_case, use_description, search_timer_action for xml
Saman-VDR Jan 23, 2014
423d8ce
In 'EventsResponder::replyEvents' channel_from and channel_to now inc…
Saman-VDR Mar 3, 2014
df68162
Update changelog ...
Saman-VDR Apr 10, 2014
462c813
Merge remote-tracking branch 'upstream/master'
Saman-VDR Apr 27, 2014
c82837a
Support for scraper2tv service
Saman-VDR Apr 27, 2014
503f7e8
Support for scraper2tv service
Saman-VDR Apr 27, 2014
817be89
Added more infos from cMovie
Saman-VDR Apr 27, 2014
6f50ae4
Added more media infos to xml format
Saman-VDR Apr 28, 2014
1260fb9
Added loops for banners, posters, and fanarts
Saman-VDR Apr 30, 2014
03815ff
replySearchResult: now get values for use_title, use_subtitle and use…
Saman-VDR May 3, 2014
016015c
Fixed XML encode for event->Contents
Saman-VDR May 12, 2014
d59be1e
Fixed XML encode for event->Contents
Saman-VDR May 13, 2014
0fb8516
replySearchResult: now get values for use_title, use_subtitle and use…
Saman-VDR May 13, 2014
1fcc4bb
changes were already done
Saman-VDR May 13, 2014
ae03b71
removed old diskspace from xml
Saman-VDR May 13, 2014
87a5e48
Merge remote-tracking branch 'upstream/master'
Saman-VDR May 13, 2014
db50523
Merge branch 'master' of https://github.com/Saman-VDR/vdr-plugin-rest…
Saman-VDR May 13, 2014
2ff6a13
Merge commit '1fcc4bb70e2805b0374fb786c22d963e94b416ad' into addition…
Saman-VDR May 13, 2014
93e8e0b
Merge commit '87a5e487cb3f5eb465776debca7c4a59abb50ddc' into addition…
Saman-VDR May 13, 2014
998f38f
Readded support for tvscraper
Saman-VDR May 25, 2014
9e6ac19
Merge upstream/master
Saman-VDR May 25, 2014
0ca45b2
Added recording: 'move or copy' and 'delete by name'
Saman-VDR May 28, 2014
fa7ee72
The query strings in deleteRecordingByName and moveRecording now read…
Saman-VDR May 30, 2014
1c908b8
Added recordings /delete and /move to services
Saman-VDR Jun 4, 2014
c1fb799
Removed POST request (deleteRecordingByName) for the original /record…
Saman-VDR Jun 4, 2014
13f130f
The query strings now read from the message body
Saman-VDR Jun 4, 2014
78f3b07
Update API.html (/audio /recordings/delete /recordings/move)
Saman-VDR Jun 4, 2014
ff4fc83
Merge branch 'additional-media'
Saman-VDR Jun 4, 2014
de5dcdf
Fixed user defined weekofday
Saman-VDR Jun 6, 2014
0099948
Fixed IsFlagsValid
Saman-VDR Jun 7, 2014
6968200
Added directory option to moveRecording
Saman-VDR Jun 9, 2014
33281e6
moveRecording now returns the moved recording on succeed
Saman-VDR Jun 9, 2014
91e236b
Added new Service '/recordings/byname' to get a recording by filename
Saman-VDR Jun 9, 2014
a54e3ae
removed recordingList->init for json, fixed setTotal for moveRecordin…
Saman-VDR Jun 10, 2014
b9d1f98
some more media for json output
Saman-VDR Jun 11, 2014
c882a5e
and again, some more media for json output
Saman-VDR Jun 12, 2014
a83b172
Serialize AdditionalMedia for json output
Saman-VDR Jun 13, 2014
b9ca083
reset movieId and seriesId to 0, first shot to round the doubles
Saman-VDR Jun 13, 2014
7095b94
removed 'round for doubles', double goes float ;)
Saman-VDR Jun 13, 2014
3908a73
small changes to '/recordings/byname'
Saman-VDR Jun 20, 2014
41f6cd6
Merge https://github.com/yavdr/vdr-plugin-restfulapi
Aug 22, 2014
3278b1d
added rewind/play by name
Aug 22, 2014
8a9ba0b
only lock recordings if command is ok
Aug 22, 2014
820a113
code clean-up
Aug 22, 2014
517f1c9
added changes for the new cVideoDirectory API that comes with vdr-2.1.2
Saman-VDR Aug 22, 2014
0f33b16
fixed minpost
Saman-VDR Oct 29, 2014
8fed2ef
Fix typo
Saman-VDR Aug 18, 2015
61093bb
Added streamdev file name
Saman-VDR Aug 18, 2015
e1133fe
Added streamdev file name
Saman-VDR Aug 18, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
256 changes: 213 additions & 43 deletions API.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<div class="center">
<h1>RESTFULAPI-Plugin for VDR</h1><br />
<b>Version 0.1.1</b><br />
<b>Version 0.1.3</b><br />
Copyright &copy; 2011 yavdr-Team, Michael Eiler<br /><br />
Organization/Community: <a href="mailto:[email protected]">[email protected]</a><br />
Developer: <a href="mailto:[email protected]">[email protected]</a> or <a href="mailto:[email protected]">[email protected]</a><br />
Expand All @@ -47,6 +47,7 @@ <h1>Table Of Contents</h1>
<li><a href="#Preface">Preface</a>
<li><a href="#Requirements">Requirements</a>
<li><a href="#Configuration">Configuration</a>
<li><a href="#Audio">Audio</a>
<li><a href="#Channels">Channels</a>
<ul><li><a href="#ChannelGroups">Groups</a>
<li><a href="#ChannelImages">Images / Channel-Logos</a></ul>
Expand All @@ -57,8 +58,11 @@ <h1>Table Of Contents</h1>
<li><a href="#Osd">Osd</a>
<li><a href="#Recordings">Recordings</a>
<ul><li><a href="#RecordingCut">Cut</a>
<li><a href="#RecordingDelete">Delete</a>
<li><a href="#RecordingsMarks">Marks</a>
<li><a href="#RecordingPlay">Play</a></ul>
<li><a href="#RecordingMove">Move</a>
<li><a href="#RecordingPlay">Play</a>
<li><a href="#RecordingRewind">Rewind</a></ul>
<li><a href="#Remote">Remote</a>
<li><a href="#Timers">Timers</a>
<ul><li><a href="#ReadingTimers">Reading/Deleting Timers</a>
Expand Down Expand Up @@ -138,6 +142,66 @@ <h1 class="center"><a name="Configuration">Configuration</a></h1>
<br />
<br />

<hr />
<h1 class="center"><a name="Audio">Audio</a></h1>
<hr />
<br />

This service retrieves audio commands, sends them to VDR and returns the result:<br />
<br />
Methods: <b>POST, GET</b> (for simple requests) <br />
<br />
<b>Syntax:</b><br />
<br />
<div class="code"><code>
GET http://127.0.0.1:8002/audio.&lt;format&gt;<br />
POST http://&lt;ip&gt;:&lt;port&gt;/audio.&lt;format&gt;<br />
</code></div>
<br /><br />
<b>Description of the Body Parameters (POST only):</b>
<br />

<ul>
<li>&lt;format&gt; - The requested format: json, xml or html.
<li>&lt;volume&gt;
<ul>
<li>volume=180 // 180 absolute
<li>volume=020 // +20
<li>volume=-20 // -20
</ul>
<li>&lt;mute&gt; - 0 (mute), 1 (unmute) or 2(toggle).
<li>&lt;track&gt; - track number.
<li>&lt;channel&gt; - 0 (mono left), 1 (mono right) or 2(stereo).
</ul>

<br />
<br />

<b>Example Result:</b>
<br />

<div class="code"><code>
GET http://127.0.0.1:8002/audio.xml<br />
POST http://127.0.0.1:8002/audio.xml<br />
volume=230&amp;track=33<br /><br />
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;<br />
&lt;audio xmlns="http://www.domain.org/restfulapi/2011/channels-xml"&gt;<br />
&nbsp;&lt;volume>230&lt;/volume&gt;<br />
&nbsp;&lt;mute&gt;0&lt;/mute&gt;<br />
&nbsp;&lt;tracks count="3"&gt;<br />
&nbsp;&nbsp;&lt;track type="1" description="französisch"/&gt;<br />
&nbsp;&nbsp;&lt;track type="2" description="ohne Audiodeskription"/&gt;<br />
&nbsp;&nbsp;&lt;track type="33" description="Dolby Digital 5.1"/&gt;<br />
&nbsp;&lt;/tracks&gt;<br />
&nbsp;&lt;type&gt;33&lt;/type&gt;<br />
&nbsp;&lt;description&gt;Dolby Digital 5.1&lt;/description&gt;<br />
&nbsp;&lt;channel&gt;dd 5.1&lt;/channel&gt;<br />
&lt;/audio&gt;<br />
</code></div>
<br />

<br />
<br />

<hr />
<h1 class="center"><a name="Channels">Channels</a></h1>
Expand Down Expand Up @@ -461,46 +525,79 @@ <h1 class="center"><a name="Info">Info</a></h1>
GET http://&lt;ip&gt;:&lt;port&gt;/info.&lt;format&gt;
</code></div>
<br />
<br />
<b>Description of the Parameters:</b>
<br />

<ul>
<li>&lt;format&gt; - The requested format: json, xml or html.
</ul>
<br />
<b>Example Results:</b><br />
<br />
<div class="code"><code>
<br />
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;info xmlns="http://www.domain.org/restfulapi/2011/info-xml"&gt;
&lt;version&gt;0.0.1&lt;/version&gt;
&lt;time&gt;1311710291&lt;/time&gt;
&lt;services&gt;
&lt;service path="/info" version="1" internal="true" /&gt;
&lt;service path="/channels" version="1" internal="true" /&gt;
&lt;service path="/channels/groups" version="1" internal="true" /&gt;
&lt;service path="/channels/image" version="1" internal="true" /&gt;
&lt;service path="/events" version="1" internal="true" /&gt;
&lt;service path="/events/image" version="1" internal="true" /&gt;
&lt;service path="/events/search" version="1" internal="false" /&gt;
&lt;service path="/recordings" version="1" internal="true" /&gt;
&lt;service path="/remote" version="1" internal="true" /&gt;
&lt;service path="/timers" version="1" internal="true" /&gt;
&lt;service path="/osd" version="1" internal="true" /&gt;
&lt;service path="/searchtimers" version="1" internal="false" /&gt;
&lt;/services&gt;
&lt;channel&gt;C-71-71-61920&lt;/channel&gt;
&lt;vdr&gt;
&lt;plugins&gt;
&lt;plugin name="restfulapi" version="0.0.1" /&gt;
&lt;plugin name="shutdown" version="0.0.2" /&gt;
&lt;plugin name="vnsiserver" version="0.9.0" /&gt;
&lt;plugin name="live" version="0.2.0" /&gt;
&lt;plugin name="epgsearchonly" version="0.0.1" /&gt;
&lt;plugin name="svdrposd" version="0.1.0" /&gt;
&lt;plugin name="xineliboutput" version="1.0.90-cvs" /&gt;
&lt;plugin name="streamdev-server" version="0.5.1-git" /&gt;
&lt;plugin name="epgsearch" version="0.9.25.beta22" /&gt;
&lt;plugin name="quickepgsearch" version="0.0.1" /&gt;
&lt;plugin name="text2skin" version="1.3.1" /&gt;
&lt;plugin name="conflictcheckonly" version="0.0.1" /&gt;
&lt;/plugins&gt;
&lt;/vdr&gt;
&lt;/info&gt;
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;<br />
&lt;info xmlns="http://www.domain.org/restfulapi/2011/info-xml"&gt;<br />
&nbsp;&lt;version&gt;0.0.1&lt;/version&gt;<br />
&nbsp;&lt;time&gt;1372855585&lt;/time&gt;<br />
&nbsp;&lt;services&gt;<br />
&nbsp;&nbsp;&lt;service path="/audio" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/channels" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/channels/groups" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/channels/image" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/events" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/events/image" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/events/search" version="1" internal="false" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/info" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/osd" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/recordings" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/recordings/cut" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/recordings/marks" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/recordings/play" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/recordings/rewind" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/remote" version="1" internal="true" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/searchtimers" version="1" internal="false" /&gt;<br />
&nbsp;&nbsp;&lt;service path="/timers" version="1" internal="true" /&gt;<br />
&nbsp;&lt;/services&gt;<br />
&nbsp;&lt;channel&gt;S19.2E-1-1019-10302&lt;/channel&gt;<br />
&nbsp;&lt;channel_name&gt;arte HD&lt;/channel_name&gt;<br />
&nbsp;&lt;channel_number&gt;4&lt;/channel_number&gt;<br />
&nbsp;&lt;eventid&gt;64734&lt;/eventid&gt;<br />
&nbsp;&lt;start_time&gt;1372853100&lt;/start_time&gt;<br />
&nbsp;&lt;duration&gt;5700&lt;/duration&gt;<br />
&nbsp;&lt;title&gt;Die schönsten Augen von Portugal&lt;/title&gt;<br />
&nbsp;&lt;recording&gt;false&lt;/recording&gt;<br />
&nbsp;&lt;diskspace&gt;1405401MB 156536MB 88%&lt;/diskspace&gt;<br />
&nbsp;&lt;vdr&gt;<br />
&nbsp;&nbsp;&lt;version&gt;2.0.2&lt;/version&gt;<br />
&nbsp;&nbsp;&lt;plugins&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="softhddevice" version="0.6.0" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="dbus2vdr" version="12e" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="skinnopacity" version="0.1.2" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="play" version="0.0.14" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="menuorg" version="0.5.1" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="channellists" version="0.0.5" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="markad" version="0.1.5pre" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="tvguide" version="0.0.5" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="music" version="0.9.9-dev2" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="epgsearch" version="1.0.1.beta5" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="yaepghd" version="0.0.5_pre1" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="extrecmenu" version="1.2.2" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="streamdev-server" version="0.6.0-git" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="cinebars" version="0.1.0" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="conflictcheckonly" version="0.0.1" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="live" version="0.3.0" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="osdserver" version="0.1.3" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="quickepgsearch" version="0.0.1" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="restfulapi" version="0.1.2" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="sleeptimer" version="0.8.3-201205011650dev" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="vnsiserver3" version="0.9.1" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="femon" version="2.0.0" /&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;plugin name="epgsearchonly" version="0.0.1" /&gt;<br />
&nbsp;&nbsp;&lt;/plugins&gt;<br />
&nbsp;&lt;/vdr&gt;<br />
&lt;/info&gt;<br />
</code></div>
<br />
Instead of the channel it can also contain the currently playing video file:<br />
Expand Down Expand Up @@ -603,7 +700,7 @@ <h1 class="center"><a name="Recordings">Recordings</a></h1>
<br />

<div class="code"><code>
GET http://127.0.0.1:8002/recordings.json?start=0&amp;limit=1i&amp;marks=true<br />
GET http://127.0.0.1:8002/recordings.json?start=0&amp;limit=1&amp;marks=true<br />
<br />
{"recordings":[{<br />
"number":0,<br />
Expand Down Expand Up @@ -639,6 +736,31 @@ <h2><a name="RecordingCut">Cut</a></h2>
</code></div>
<br />

<br />
<h2><a name="RecordingDelete">Delete</a></h2>

This service can delete recordings by filename.<br />
<br />
Method: <b>POST and DELETE</b><br />
<br />
Examples: <br/>
<br />
<div class="code"><code>
POST http://&lt;ip&gt;:&lt;port&gt;/recordings/delete<br />
DELETE http://&lt;ip&gt;:&lt;port&gt;/recordings/delete<br />
</code></div>
<br />
<b>Required Body Parameters:</b><br />

<ul>
<li>file - source path of the recording (use an url-encoder for this text if you use special characters)
</ul>
<br />
<div class="code"><code>
file=/var/lib/video.00/Asterix_in_Amerika/2011-06-19.12.40.1-0.rec<br />
</code></div>
<br />


<br />
<h2><a name="RecordingsMarks">Marks</a></h2>
Expand Down Expand Up @@ -680,19 +802,46 @@ <h2><a name="RecordingsMarks">Marks</a></h2>
{'marks':['0:02:18.10','0:34:08.24']}
</code></div>
<br />



<br />
<h2><a name="RecordingMove">Move</a></h2>

This service can move or copy recordings by filename.<br />
<br />
Method: <b>POST</b><br />
<br />
Examples: <br/>
<br />
<div class="code"><code>
POST http://&lt;ip&gt;:&lt;port&gt;/recordings/delete<br />
</code></div>
<br />
<b>Required Body Parameters:</b><br />

<ul>
<li>source - source path of the recording (use an url-encoder for this text if you use special characters)
<li>target - relative path of the recording.
</ul>
<br />
<div class="code"><code>
source=/var/lib/video.00/Asterix_in_Amerika/2011-06-19.12.40.1-0.rec<br />
target=Movies/Asterix_in_Amerika<br />
copy_only=false
</code></div>
<br />

<br />
<h2><a name="RecordingPlay">Play</a></h2>

This service tells your VDR to play or rewind a recording:<br />
This service tells your VDR to play a recording:<br />
<br />
Method: <b>GET, POST</b><br />
Method: <b>POST</b><br />
<br />
Examples: <br/>
<br />
<div class="code"><code>
GET http://&lt;ip&gt;:&lt;port&gt;/recordings/play/&lt;number&gt;<br />
POST http://&lt;ip&gt;:&lt;port&gt;/recordings/play/&lt;number&gt;
</code></div>
<br />
Expand All @@ -701,7 +850,28 @@ <h2><a name="RecordingPlay">Play</a></h2>
<br />

<ul>
<li>&lt;number&gt; - The number of the recording you want to play (GET).
<li>&lt;number&gt; - The number of the recording you want to play (POST).
</ul>
<br />
<br />

<h2><a name="RecordingRewind">Rewind</a></h2>

This service tells your VDR to play a recording from the beginning:<br />
<br />
Method: <b>POST</b><br />
<br />
Examples: <br/>
<br />
<div class="code"><code>
POST http://&lt;ip&gt;:&lt;port&gt;/recordings/rewind/&lt;number&gt;
</code></div>
<br />
<br />
<b>Description of the Parameters:</b>
<br />

<ul>
<li>&lt;number&gt; - The number of the recording you want to rewind (POST).
</ul>
<br />
Expand Down
3 changes: 3 additions & 0 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
VDR Plugin 'restfulapi' Revision History
----------------------------------------
2013-07-03: Version 0.1.3

- New revision.

2011-05-16: Version 0.0.1

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PLGCONFDIR = $(CONFDIR)/plugins/$(PLUGIN)

### The object files (add further files here):

OBJS = $(PLUGIN).o serverthread.o tools.o info.o channels.o events.o recordings.o remote.o timers.o statusmonitor.o osd.o jsonparser.o epgsearch.o searchtimers.o
OBJS = $(PLUGIN).o serverthread.o tools.o info.o channels.o events.o recordings.o remote.o timers.o statusmonitor.o osd.o jsonparser.o epgsearch.o searchtimers.o audio.o
CFGS = API.html

### The main target:
Expand Down
2 changes: 1 addition & 1 deletion Makefile-1.7.33pre
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'

### The object files (add further files here):

OBJS = $(PLUGIN).o serverthread.o tools.o info.o channels.o events.o recordings.o remote.o timers.o statusmonitor.o osd.o jsonparser.o epgsearch.o searchtimers.o
OBJS = $(PLUGIN).o serverthread.o tools.o info.o channels.o events.o recordings.o remote.o timers.o statusmonitor.o osd.o jsonparser.o epgsearch.o searchtimers.o audio.o

### The main target:

Expand Down
Loading