LinuxMCE Forums
May 21, 2013, 02:05:34 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Taking mythtv preview thumbs as cover art  (Read 690 times)
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« 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
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« 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
Logged
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« 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?


Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!