Re: [mythtv-users] Latest CVS of Mythweb + older CVS co of Mythtv .16

2005-02-06 Thread cythraul
Aaah. Indeed, I will remove it. :)

Thanks!

On Sun, 06 Feb 2005 14:57:18 -0800, Chris Petersen
<[EMAIL PROTECTED]> wrote:
> > Tho, I don't understand why you suggest removing the "sleep" command
> > (?) since it's the same in both the new and the old function:
> >
> > // Give the backend time to catch up?
> > if ($sleep > 0)
> > sleep($sleep);
> 
> current versions of backend_notify_changes pass a recordid in as the
> first parameter, not sleep.  if the recordid is 1000, you don't want
> mythweb to sleep for 1000 seconds.
> 
> the old scheduler didn't need a recordid -- the new one is optimized and
> prefers it.  I don't think that the sleep function has been used in a
> long time.
> 
> -Chris
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Latest CVS of Mythweb + older CVS co of Mythtv .16

2005-02-06 Thread Chris Petersen
Tho, I don't understand why you suggest removing the "sleep" command
(?) since it's the same in both the new and the old function:
// Give the backend time to catch up?
if ($sleep > 0)
sleep($sleep);
current versions of backend_notify_changes pass a recordid in as the 
first parameter, not sleep.  if the recordid is 1000, you don't want 
mythweb to sleep for 1000 seconds.

the old scheduler didn't need a recordid -- the new one is optimized and 
prefers it.  I don't think that the sleep function has been used in a 
long time.

-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Latest CVS of Mythweb + older CVS co of Mythtv .16

2005-02-06 Thread cythraul
Hi Chris,

I checked out mythweb from 2005-01-23 (random date, since I can't
remember when the function was updated :) and copied the function
backend_notify_changes from this checkout to my current cvs tree and
it worked:

2005-02-06 16:15:58.592 Found changes in the todo list.
2005-02-06 16:15:59.179 Scheduled 270 items in 0.6 seconds.

Is that better than coping the whole mythbackend.php file? I figured
that future updates to this file will be applied unless this function
is specificly updated. In that case, cvs will report it and I can fix
it more easily...

Tho, I don't understand why you suggest removing the "sleep" command
(?) since it's the same in both the new and the old function:

// Give the backend time to catch up?
if ($sleep > 0)
sleep($sleep);

Tho, in the arguments of the function, the old one only has $sleep
while the new one has $recordid and $sleep. I'm not sure how to deal
with that since now it is now working...

Thank you very much!
cythraul

On Sun, 06 Feb 2005 11:47:15 -0800, Chris Petersen
<[EMAIL PROTECTED]> wrote:
> > Unknown command: RESCHEDULE_RECORDINGS
> > I assume the method to queue the reschedule process has changed. Maybe
> > there's a way to call the "old" reschedule method...?
> 
> Unfortunately, with that change it's no longer an easy fix to just
> upgrade everything except for mythbackend.php.  You might have luck
> doing that and then removing the "sleep" command from the
> *notify_changes function, but I make no promises.
> 
> -Chris
>
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Latest CVS of Mythweb + older CVS co of Mythtv .16

2005-02-06 Thread Chris Petersen
Unknown command: RESCHEDULE_RECORDINGS
I assume the method to queue the reschedule process has changed. Maybe
there's a way to call the "old" reschedule method...?
Unfortunately, with that change it's no longer an easy fix to just 
upgrade everything except for mythbackend.php.  You might have luck 
doing that and then removing the "sleep" command from the 
*notify_changes function, but I make no promises.

-Chris
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


[mythtv-users] Latest CVS of Mythweb + older CVS co of Mythtv .16

2005-02-06 Thread cythraul
Hi,

This will sound dumb as the solution would be to checkout an earlier
version of Mythweb from the CVS which would be compatible with the CVS
checkout of my compiled Mythtv...

Tho, I really like the updates made to Mythweb and I was wondering if
there was something I could do in order to make it work.

I can't, for the moment, checkout and compile Mythtv since I had to
patch it in order to gain some other functionality that cannot be
discussed here. The recent CVS changed too much for the patch to be
applied.

Even since I checked out Mythweb, I get this in the backend log every
time I (re)schedule something:

Unknown command: RESCHEDULE_RECORDINGS

I assume the method to queue the reschedule process has changed. Maybe
there's a way to call the "old" reschedule method...?

Thanks!
cythraul


Oh, btw... I have plenty of invites for gmail... email me _off_ the list... ;)
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users