home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Software
Tools and other software
Batch to update (or clean) my TV recordings folder
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pünktchen" data-source="post: 1196343" data-attributes="member: 107846"><p>Got it now with the original approach "load_file" and special characters <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Try the attachement. It should work after correcting the path to your recordings and to your mysql.exe in the CleanupRecordings.bat.</p><p></p><p>Summary:</p><p>First the batch deletes all *xml and jpg files in your recordings folder where no corresponding *.ts file exists.</p><p>After that the sql script is executed.</p><p>The script renames all "fileNames" from MySQL recording table to *.xml, tries to load the xml file and if it fails, deletes the row.</p><p>After that all "fileNames" are renamed back to *.ts.</p></blockquote><p></p>
[QUOTE="pünktchen, post: 1196343, member: 107846"] Got it now with the original approach "load_file" and special characters :) Try the attachement. It should work after correcting the path to your recordings and to your mysql.exe in the CleanupRecordings.bat. Summary: First the batch deletes all *xml and jpg files in your recordings folder where no corresponding *.ts file exists. After that the sql script is executed. The script renames all "fileNames" from MySQL recording table to *.xml, tries to load the xml file and if it fails, deletes the row. After that all "fileNames" are renamed back to *.ts. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Software
Tools and other software
Batch to update (or clean) my TV recordings folder
Contact us
RSS
Top
Bottom