aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-06-12 00:21:01 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-06-12 00:21:01 +0200
commit1a2b0a4379ee3e9d16108c52abdadc9bb85675c1 (patch)
tree3a4a5fbf6f9fc0fa50c7821f59b07479f1417d87 /lib/service
parent427f94625feece0bd9e55dddf9c37b1fa9969cb3 (diff)
downloadenigma2-1a2b0a4379ee3e9d16108c52abdadc9bb85675c1.tar.gz
enigma2-1a2b0a4379ee3e9d16108c52abdadc9bb85675c1.zip
patch by Dr.Best - allow using filesize of movie in converter
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/iservice.h1
-rw-r--r--lib/service/servicedvb.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h
index 373f24ca..24c2e341 100644
--- a/lib/service/iservice.h
+++ b/lib/service/iservice.h
@@ -286,6 +286,7 @@ public:
sDescription,
sServiceref,
sTimeCreate, /* unix time or string */
+ sFileSize,
sCAIDs,
sVideoType, /* MPEG2 MPEG4 */
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index 52978dc3..bd15bcdc 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -400,6 +400,8 @@ int eStaticServiceDVBPVRInformation::getInfo(const eServiceReference &ref, int w
return iServiceInformation::resIsString;
case iServiceInformation::sServiceref:
return iServiceInformation::resIsString;
+ case iServiceInformation::sFileSize:
+ return m_parser.m_filesize;
case iServiceInformation::sTimeCreate:
if (m_parser.m_time_create)
return m_parser.m_time_create;