Opened 18 years ago

Closed 18 years ago

#648 closed task (fixed)

Make PreviewGenerator not use sockets to self

Reported by: danielk Owned by: danielk
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The preview generator should generate previews for local files itself.

Change History (1)

comment:1 Changed 18 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7886]) Closes #648.

This extends PreviewGenerator? to create the previews itself if the recording file is local.

And, this allows you to call Run() directly instead of calling Start(), and starting a thread. If you do call Run() and the recording file is not local the preview generator uses the MythContext sockets to the backend rather than creating its own sockets. This is safe so long as the thread you are calling from is the one communicating with the backend.

Note: See TracTickets for help on using tickets.