home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Can't play live2-0.ts.tsbuffer
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 776129" data-attributes="member: 82144"><p>Hi again pete0</p><p></p><p></p><p>In my MediaPortal.xml those values are blank (well, a newline) - exactly as I provided them to you. The timeshift path *should* come from the DB - the timeshiftingFolder column in the Card table. The relevant code is here (in TVUtil - part of the TvPlugin solution):</p><p></p><p>[CODE] if (TVHome.TimeshiftingPath().Length > 0)</p><p> {</p><p> //use user defined timeshifting folder as either UNC or network drive</p><p> fileName = Path.GetFileName(TVHome.Card.TimeShiftFileName);</p><p> fileName = TVHome.TimeshiftingPath() + "\\" + fileName;</p><p> }</p><p> else // use automatic UNC path</p><p> {</p><p> fileName = TVHome.Card.TimeShiftFileName.Replace(":", "");</p><p> fileName = "\\\\" + RemoteControl.HostName + "\\" + fileName;</p><p> }[/CODE]</p><p></p><p>Despite the fact that the logging has come out okay now, can you please check what the DB says. In my case, the path is:</p><p></p><p></p><p></p><p>Regarding the logs: that is *bizarre*. Have you rebuilt the TsWriter filter or TV Server code?</p><p></p><p></p><p></p><p>Certainly I guess so. The relevant code in TsWriter is in DiskRecorder.cpp:</p><p></p><p>[CODE]void CDiskRecorder::SetFileNameW(wchar_t* pwszFileName)</p><p>{</p><p> CEnterCriticalSection enter(m_section);</p><p> try</p><p> {</p><p> m_iPacketCounter=0;</p><p> m_iPmtPid=-1;</p><p> m_pcrPid=-1;</p><p> m_vecPids.clear();</p><p> m_AudioOrVideoSeen=false ;</p><p> m_bStartPcrFound=false;</p><p> m_bDetermineNewStartPcr=false;</p><p> wcscpy(m_wszFileName,pwszFileName);</p><p> if (m_recordingMode==RecordingMode::TimeShift)</p><p> wcscat(m_wszFileName, L".tsbuffer");</p><p> WriteLog(L"set filename:%s", m_wszFileName);</p><p> }</p><p> catch(...)</p><p> {</p><p> WriteLog(L"SetFilename exception");</p><p> }</p><p>}[/CODE]</p><p></p><p>There is very little there that could go wrong except encoding conversion stuff... which I don't understand too well. What is the native language configured for your operating system?</p><p></p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 776129, member: 82144"] Hi again pete0 In my MediaPortal.xml those values are blank (well, a newline) - exactly as I provided them to you. The timeshift path *should* come from the DB - the timeshiftingFolder column in the Card table. The relevant code is here (in TVUtil - part of the TvPlugin solution): [CODE] if (TVHome.TimeshiftingPath().Length > 0) { //use user defined timeshifting folder as either UNC or network drive fileName = Path.GetFileName(TVHome.Card.TimeShiftFileName); fileName = TVHome.TimeshiftingPath() + "\\" + fileName; } else // use automatic UNC path { fileName = TVHome.Card.TimeShiftFileName.Replace(":", ""); fileName = "\\\\" + RemoteControl.HostName + "\\" + fileName; }[/CODE] Despite the fact that the logging has come out okay now, can you please check what the DB says. In my case, the path is: Regarding the logs: that is *bizarre*. Have you rebuilt the TsWriter filter or TV Server code? Certainly I guess so. The relevant code in TsWriter is in DiskRecorder.cpp: [CODE]void CDiskRecorder::SetFileNameW(wchar_t* pwszFileName) { CEnterCriticalSection enter(m_section); try { m_iPacketCounter=0; m_iPmtPid=-1; m_pcrPid=-1; m_vecPids.clear(); m_AudioOrVideoSeen=false ; m_bStartPcrFound=false; m_bDetermineNewStartPcr=false; wcscpy(m_wszFileName,pwszFileName); if (m_recordingMode==RecordingMode::TimeShift) wcscat(m_wszFileName, L".tsbuffer"); WriteLog(L"set filename:%s", m_wszFileName); } catch(...) { WriteLog(L"SetFilename exception"); } }[/CODE] There is very little there that could go wrong except encoding conversion stuff... which I don't understand too well. What is the native language configured for your operating system? mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Can't play live2-0.ts.tsbuffer
Contact us
RSS
Top
Bottom