LinuxMCE Forums

General => Developers => Topic started by: chrisbirkinshaw on December 04, 2007, 02:23:04 PM

Title: Taking mythtv preview thumbs as cover art
Post by: chrisbirkinshaw on December 04, 2007, 02:23:04 PM
I am going to write a script to scan tv recordings folders for .png files with the same name then assign them as cover art if none exists already. What db tables do I need to be looking at?

Thanks,

Chris
Title: Re: Taking mythtv preview thumbs as cover art
Post by: tschak909 on December 04, 2007, 03:31:34 PM
I would suggest investigating the data/commands/events menus in the admin section, and using MessageSend to send the appropriate command, with the appropriate data as parameters to update the attributes, instead of manipulating the database tables directly. We have a messaging system for a reason!

-Thom
Title: Re: Taking mythtv preview thumbs as cover art
Post by: chrisbirkinshaw on December 04, 2007, 04:04:55 PM
Ok. I'll get the recording list from the db (pluto_media/File). What table is the cover art stored in and how is it linked back to the File table?