On 6/22/05, <b class="gmail_sendername">George Nassas</b> <<a href="mailto:gnassas@mac.com">gnassas@mac.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I took a quick look at the code, possibly too quick, and it seems that<br>all the info displayed in the program details dialog comes from the<br>ProgramInfo class. </blockquote><div><br>
Takes some wondering through classes and functions before getting to
the screen, last time I took a gander I was modifying at least 4 files
and didn't have the time.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It gets all its information from the database and<br>recording type isn't currently stored there so it would have to be
<br>added which sounds like a major minor change (eg, small changes in many<br>places). Alternatively, the recording file itself could be examined but<br>since every other bit of data supplied by ProgramInfo comes from the
<br>database hitting the filesystem might be an architectural no no. </blockquote><div><br>
It might be possible to add a column to the table for this data
or even just a isTranscoded type of thing which could be filled by the
job queue engine in the final stages of the transcoding. Looking
at the file would probably end up taking longer than a simple sql query
that is already happening.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For one thing if the frontend uses that class it would have to have access<br>to the recordings directory which is optional right now.
</blockquote><div><br>
Def don't want to see the recordings folder be required on the frontend.<br>
</div><br>
But its been a while since I looked so things could've changed both in the code and in my head.<br>
<br>
</div>-- <br>Thanks,<br>Devan Lippman <<a href="mailto:devan@lippman.net">devan@lippman.net</a>>