summaryrefslogtreecommitdiff
path: root/vdr-smarttvweb/httpresource.h
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-02-01 21:42:03 +0100
committerthlo <t.lohmar@gmx.de>2013-02-01 21:42:03 +0100
commit2432c356cf18aa1eddb1a1474e02ec43de39d955 (patch)
tree070955514b1cb9eb68a5a117ed63ea5f9181ea61 /vdr-smarttvweb/httpresource.h
parent4329b08c94257622ec9dbaa3c05ef44dc1832fd5 (diff)
downloadvdr-plugin-smarttvweb-2432c356cf18aa1eddb1a1474e02ec43de39d955.tar.gz
vdr-plugin-smarttvweb-2432c356cf18aa1eddb1a1474e02ec43de39d955.tar.bz2
add enclosure url to rss item. new query attribute streamtoend for time requests. new deleteRecordings method. New nodesc mode for recordings.xml.
Diffstat (limited to 'vdr-smarttvweb/httpresource.h')
-rwxr-xr-xvdr-smarttvweb/httpresource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vdr-smarttvweb/httpresource.h b/vdr-smarttvweb/httpresource.h
index 7c9fcab..81ecb34 100755
--- a/vdr-smarttvweb/httpresource.h
+++ b/vdr-smarttvweb/httpresource.h
@@ -1,7 +1,7 @@
/*
* httpresource.h: VDR on Smart TV plugin
*
- * Copyright (C) 2012 T. Lohmar
+ * Copyright (C) 2012, 2013 T. Lohmar
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -123,6 +123,7 @@ class cHttpResource {
bool mAcceptRanges;
cRange rangeHdr;
unsigned long long mFileSize;
+ bool mStreamToEnd;
uint64_t mRemLength;
FILE *mFile;
int mVdrIdx;
@@ -153,6 +154,7 @@ class cHttpResource {
int sendManifest (struct stat *statbuf, bool is_hls = true);
int receiveResume();
+ int deleteRecording();
void writeM3U8(double duration, float seg_dur, int end_seg);
void writeMPD(double duration, float seg_dur, int end_seg);