[mythtv-users] TVWish compatible with 0.27?

Karl Newman newmank1 at asme.org
Mon Feb 24 00:30:02 UTC 2014


On Sun, Feb 23, 2014 at 10:57 AM, <frank at epreston.net> wrote:

> On 2014-02-23 07:37, Thomas Boehm wrote:
>
>> On 23/02/14 07:54, frank at epreston.net wrote:
>>
>>> When I run tvwish its verbose output suggests that it is scheduling
>>> recordings, e.g.:
>>>
>>> $ sh runwish
>>> Recording movie: The Good, the Bad and the Ugly /
>>>    on Ch. KOMO-SD at 2014-02-28 21:00:00
>>>         A drifter (Clint Eastwood), a bandit (Eli Wallach)
>>>         and a bounty hunter (Lee Van Cleef) reach a standoff
>>>         over buried gold.
>>> --21      ANN Playback TVWish 0--
>>> --24      RESCHEDULE_RECORDINGS -1--
>>> --4       DONE--
>>>
>>>
>>> But it doesn't seem to actually modify the database since nothing
>>> populates under Upcoming Recordings in MythWeb.  I'm running fixes/0.27.
>>>
>>> Is anyone successfully using TVWish with 0.27?
>>>
>> Runs for me too.
>>
>> Did you set the display filter to "all groups" in mythweb? TVWish
>> creates it's own recording group "TVWish".
>>
>> HTH
>> Thomas
>>
>
> After running a few tests I've found that the TVWish recording requests do
> get scheduled, but only if the backend is restarted between when the
> request is made and when the broadcast occurs (i.e. if a recording request
> is made for an upcoming broadcast and the backend is not restarted then the
> tuner will remain idle during the broadcast).  I can live with this since
> my backend sees frequent shutdown and ACPI wake cycles.  Thanks for your
> confirmations that you've had success with TVWish and 0.27.
>
> Here's what happens when tvwish is run with one new match found in the
> listings:
> Feb 23 10:30:34 mythbackend[2250]: I ProcessRequest mainserver.cpp:1422
> (HandleAnnounce) adding: TVWish as a client (events: 0)
> Feb 23 10:30:34 mythbackend[2250]: E Scheduler scheduler.cpp:2090
> (HandleReschedule) Empty Reschedule request received
> Feb 23 10:30:34 mythbackend[2250]: I Scheduler scheduler.cpp:2208
> (HandleReschedule) Scheduled 17 items in 0.0 = 0.00 match + 0.00 check +
> 0.01 place
>
> And then after restarting the backend the additional scheduled item
> appears:
> Feb 23 10:34:54 mythbackend[3147]: I Scheduler scheduler.cpp:2095
> (HandleReschedule) Reschedule requested for MATCH 0 0 0 - SchedulerInit
> Feb 23 10:34:54 mythbackend[3147]: I Scheduler scheduler.cpp:2208
> (HandleReschedule) Scheduled 18 items in 0.1 = 0.07 match + 0.00 check +
> 0.02 place
>
> That's weird. Maybe it's losing some race condition (seems unlikely)?
After you run tvwish you could try running mythutil --resched manually and
see if it picks it up. If that fixes it you could wrap tvwish in a script
which triggers that resched request after tvwish.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140223/22582ff5/attachment.html>


More information about the mythtv-users mailing list