Author Topic: Taking mythtv preview thumbs as cover art  (Read 852 times)

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Taking mythtv preview thumbs as cover art
« 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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5505
  • DOES work for LinuxMCE.
    • View Profile
Re: Taking mythtv preview thumbs as cover art
« Reply #1 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

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Taking mythtv preview thumbs as cover art
« Reply #2 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?