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
MediaPortal 1
Support
General Support
Move recordings to NAS after X days?
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="xcalibur666" data-source="post: 936178" data-attributes="member: 132931"><p>I've created a little batch script, which might be helpfull for others:</p><p> </p><p>I record TV to c:\rec_tv</p><p>Recordings are moved to \\nas\rec_tv</p><p> </p><p>in c:\rec_tv\ I've created a empty text file, named dont_delete.txt. If I do not have this file, robocopy will delete my c:\rec_tv folder when done moving recorded TV.</p><p> </p><p>This I perform every morning and I automatically update my MySQL DB with correct entries to my NAS.</p><p> </p><p>[CODE]robocopy c:\rec_tv\ \\NAS\rec_tv /E /MOVE /XF dont_delete.txt</p><p>cd "c:\Program Files\MySQL\MySQL Server 5.1\bin"</p><p>mysql -uroot -pMediaPortal mptvdb -e "UPDATE recording SET fileName=replace(fileName,'C:\\rec_tv\\', '\\\\nas\\rec_tv\\') WHERE fileName LIKE 'C:%';"[/CODE]</p></blockquote><p></p>
[QUOTE="xcalibur666, post: 936178, member: 132931"] I've created a little batch script, which might be helpfull for others: I record TV to c:\rec_tv Recordings are moved to \\nas\rec_tv in c:\rec_tv\ I've created a empty text file, named dont_delete.txt. If I do not have this file, robocopy will delete my c:\rec_tv folder when done moving recorded TV. This I perform every morning and I automatically update my MySQL DB with correct entries to my NAS. [CODE]robocopy c:\rec_tv\ \\NAS\rec_tv /E /MOVE /XF dont_delete.txt cd "c:\Program Files\MySQL\MySQL Server 5.1\bin" mysql -uroot -pMediaPortal mptvdb -e "UPDATE recording SET fileName=replace(fileName,'C:\\rec_tv\\', '\\\\nas\\rec_tv\\') WHERE fileName LIKE 'C:%';"[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Move recordings to NAS after X days?
Contact us
RSS
Top
Bottom