MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Bugreports: TV Server / Client » 1.0 RC1 and SVN Builds


1.0 RC1 and SVN Builds Post bugs you have found in 1.0 RC1 or any later SVN-Snapshot here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-06-01, 02:14   #1 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 397
Thanks: 7
Thanked 15 Times in 11 Posts

My System

Default TO GIBMAN- Fix on Build 19191 break stop on dvr-ms

Hi Gibman the fix on build 19191 breaks stop on playing drv-ms files, so drv-ms files are not able to stop

"recorded TV would not resume from last point in timeline from previous viewing session. This bug only happens when using the unsupported feature 'avoid using RTSP in multiseat'."

I don't know why but .dvr-ms files are treated as tv "recordings" when using Tvpluging, so on the code changed that you have made on tvrecorded.cs

private void OnPlayRecordingBackStopped(MediaPortal.Player.g_Pl ayer.MediaType type, int stoptime, string filename)
{
Log.Info("TvRecorded:OnStopped {0} {1}", type, filename);
if (type != g_Player.MediaType.Recording) return;

if (filename.Substring(0, 4) == "rtsp")
{
filename = g_Player.currentFileName;
}
else if (!TVHome.UseRTSP()) // only keep the filename
{
FileInfo f = new FileInfo(g_Player.currentFileName);--------------------- THIS LINE MAKE AND EXCEPTION ON DVR-MS FILES because is g_Player.currentFileName is emptly
filename = f.Name;
}




so I have change the code to:

private void OnPlayRecordingBackStopped(MediaPortal.Player.g_Pl ayer.MediaType type, int stoptime, string filename)
{
Log.Info("TvRecorded:OnStopped {0} {1}", type, filename);
if (type != g_Player.MediaType.Recording) return;

if (filename.Substring(0, 4) == "rtsp")
{
filename = g_Player.currentFileName;
}
else if (!TVHome.UseRTSP()) // only keep the filename
{
if (g_Player.currentFileName != "")
{
FileInfo f = new FileInfo(g_Player.currentFileName);
filename = f.Name;
}
else
{
FileInfo f = new FileInfo(filename);
filename = f.Name;
}
}



Can you and the code?

Thanks!
iosub is offline   Reply With Quote
Old 2008-06-02, 18:22   #2 (permalink)
Portal Developer
 
gibman's Avatar
 
Join Date: Oct 2006
Location: Aarhus
Posts: 635
Thanks: 4
Thanked 53 Times in 43 Posts

Country:

My System

Default

Thanx Mate!

I'll do that.

/gibman
__________________
"It's all a big foodchain.
We eat shit and shit eats us."
gibman is offline   Reply With Quote
Old 2008-06-02, 18:56   #3 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 397
Thanks: 7
Thanked 15 Times in 11 Posts

My System

Default

Great :-)
iosub is offline   Reply With Quote
Reply

Bookmarks

Tags
break, build, dvrms, fix, gibman, stop

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
UNSUPORTED FIX(RC1) for MS-DVR and implemented-non-linear-smart-stretc iosub General Development (no feature request here!) 61 2008-08-19 20:17
Comskip build 111: Live dvr-ms processing confirmed working erik1958 Tips and Tricks 7 2007-11-24 15:32
DVR-MS Format ajvsouza Support 3 2007-06-25 23:54
Guide: Manually crop DVR-MS length and remove ads (DVR Edit) Brocklander Tips and Tricks 2 2006-01-14 17:36
dvr-ms on win2k swissair General Support 5 2006-01-14 02:28


All times are GMT +1. The time now is 05:01.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress