I have a media database in MySQL. The program used to make it is not open source.
I would like to add information about the files on the database in automatic mode.
Example: Every time a new line is added or modified in a specific table,
get the path of the file (path is on database), run one or more programs like ImageMagik, Media info, a CRC32 command line utility,
and add the that data to predefined fields of another table.
I am not a coder, I don't know if it is possible, but my idea would be a program that we could use batch SQL statements to read and update the info.
The program should have several possibilities to get info from external programs (EX: read a log file, act as a console and read the result)
The program would receive the path of file to process via the batch SQL statement, run external programs, get their output and run update SQL batch.
Now this is me dreaming, it would be possible to change SQL batches behavior with tokens program would replace before launching the the SQL batch.
I am sorry for my poor English and for my poor capacity to explain my idea. Please feel free to ask what on heck I have in mind if this doesn't make a lot of sense to you.
Kisses for ladies, hugs to gentlemen,
Tatjana
I would like to add information about the files on the database in automatic mode.
Example: Every time a new line is added or modified in a specific table,
get the path of the file (path is on database), run one or more programs like ImageMagik, Media info, a CRC32 command line utility,
and add the that data to predefined fields of another table.
I am not a coder, I don't know if it is possible, but my idea would be a program that we could use batch SQL statements to read and update the info.
The program should have several possibilities to get info from external programs (EX: read a log file, act as a console and read the result)
The program would receive the path of file to process via the batch SQL statement, run external programs, get their output and run update SQL batch.
Now this is me dreaming, it would be possible to change SQL batches behavior with tokens program would replace before launching the the SQL batch.
I am sorry for my poor English and for my poor capacity to explain my idea. Please feel free to ask what on heck I have in mind if this doesn't make a lot of sense to you.

Kisses for ladies, hugs to gentlemen,
Tatjana












- carpe noctem