MFS - Question for developers

General Discussion

MFS - Question for developers

Postby johalareewi » Mon Apr 09, 2012 9:14 pm

Hi. Hope some TCL /Tivo MFS coders can help with an idea I have.

I am adding a 'remove from NoReRecord' option for my xTivoweb module.
I have got to the meaty part where I do the actual remove.
I have seen the various bits of code that remove objects from the NoReRecord list but they trash the object.
I don't want to trash the recording but I do want tivo to re-record the programme when it comes round again.

Looking at an MFS recording object, I have
Recording 3005071/10 {
Version = 46
BitRate = 0
ExpirationDate = 15441
ExpirationTime = 41100
ProgramSource = 2724513/-1
SelectionType = 9
Showing = 3005071/11
StartPadding = 300
StartDate = 15439
StartTime = 40798
EndPadding = 1200
ActualShowing = 3005071/13 3005071/14 3005071/18
Score = 5977
Part = 3005071/12 3005071/15 3005071/16 3005071/17 3005071/19
StopDate = 15439
StopTime = 45900
State = 4
StreamFileSize = 2490368
IndexUsed = 3005071/11
IndexPath = /Recording/Active/1:15439:40798:3005071 /Recording/DiskUsed/10/3005071:2490368 /Recording/NowShowing/A:84560:59201:3005071 /Recording/NoReRecord/328693981:NN:99999:03005071


What I plan to do is mfs unlink /Recording/NoReRecord/328693981:NN:99999:03005071
and update the IndexPath to /Recording/Active/1:15439:40798:3005071 /Recording/DiskUsed/10/3005071:2490368 /Recording/NowShowing/A:84560:59201:3005071

The theory being that the object will still exist. Just not in the NoReRecord list.
Does anyone think this is a good move or see any problems?
johalareewi
TiVo lover
TiVo lover
 
Posts: 84
Joined: Fri Feb 18, 2011 12:02 pm

Re: MFS - Question for developers

Postby mrtickle » Tue Apr 10, 2012 12:00 pm

It sounds like similar functionality to the existing Blocklist module for twp?
--
links to my TiVo logos, TivoWebPlus 2.1.b3 UK-20120818, Tracker v3.3.3 & v3.3.4 (17th Jun 2013), GDchecker v1.06b, Digiguide checker v0.4.3-rc5 and Autospace v1.65 can all be found in this post.
mrtickle
TVGuide Admin
TVGuide Admin
 
Posts: 3292
Joined: Sat May 14, 2011 1:46 pm
Location: Birmingham, UK

Re: MFS - Question for developers

Postby johalareewi » Wed Apr 11, 2012 11:41 am

Have looked through the blocklist module code and it seems to only "unblock" recordings that have been finished with (ie it removes them completely).
johalareewi
TiVo lover
TiVo lover
 
Posts: 84
Joined: Fri Feb 18, 2011 12:02 pm


Return to General

Who is online

Users browsing this forum: No registered users and 87 guests