Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

DB Interaction and Renaming

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


cwd at cs

Aug 7, 2003, 7:12 PM

Post #1 of 2 (1363 views)
Permalink
DB Interaction and Renaming

Hi all,

I was wondering if there was a spec written up as far as MythTV's MySQL
database interaction is set up.

What I'm looking to do is set up a script that run via a cron job to go
through the "recorded programs" (mythweb) listing, take all the entries in
there, and rename/reencode/etc them, and take them out of the "recorded
programs" listing. The reason for this is simple but detailed: I'm leaving a
TV ripping box at home while I go off to school where I do not have cable.
I'm not really interested in watching recorded TV from Myth, because, well, I
won't be in viewing distance. I'd like the rips to be both renamed and
reencoded so that they can be easily transferred and archived. (I was
originally going to write my own scheduler, but Myth has a great one, so why
reinvent the wheel when I can just add to it?)

I really don't have time to read through all the source code, so if there was
a spec or someone was willing to give me a brief outline of how the DBs work,
that would be fantastic.

Alternately, if there's some sort of recording postcommand that I don't know
about, that would also be equally fantastic.

Thanks,
- Matt


mdz at debian

Aug 7, 2003, 7:28 PM

Post #2 of 2 (1277 views)
Permalink
Re: DB Interaction and Renaming [In reply to]

On Thu, Aug 07, 2003 at 10:12:08PM -0400, Matt Perry wrote:

> What I'm looking to do is set up a script that run via a cron job to go
> through the "recorded programs" (mythweb) listing, take all the entries in
> there, and rename/reencode/etc them, and take them out of the "recorded
> programs" listing.

Should be easy, and doesn't require a detailed specification. The columns
in the 'record' table correspond almost exactly to mythtranscode's command
line arguments.

(you wouldn't want to use mythweb for this, but access the database
directly)

> Alternately, if there's some sort of recording postcommand that I don't know
> about, that would also be equally fantastic.

CVS has a TranscoderAutoRun setting.

--
- mdz

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.