CRecordInstance::GetRecordString(): Fix calculation of duration

- Use locales for time string
- Show recording duration right aligned in stop menu


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ce25a86d5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-07-03 22:11:04 +02:00
parent 1c1cec1dde
commit c037349ef8
6 changed files with 30 additions and 14 deletions

View File

@@ -120,7 +120,7 @@ class CRecordInstance
t_channel_id GetChannelId(void) { return channel_id; };
std::string GetEpgTitle(void) { return epgTitle; };
MI_MOVIE_INFO * GetMovieInfo(void) { return recMovieInfo; };
void GetRecordString(std::string& str);
void GetRecordString(std::string& str, std::string &dur);
const char * GetFileName() { return filename; };
bool Timeshift() { return autoshift; };
int tshift_mode;