Page 1 of 1

MFS - Question for developers

PostPosted: Mon Apr 09, 2012 9:14 pm
by johalareewi
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?

Re: MFS - Question for developers

PostPosted: Tue Apr 10, 2012 12:00 pm
by mrtickle
It sounds like similar functionality to the existing Blocklist module for twp?

Re: MFS - Question for developers

PostPosted: Wed Apr 11, 2012 11:41 am
by johalareewi
Have looked through the blocklist module code and it seems to only "unblock" recordings that have been finished with (ie it removes them completely).