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="thekiwi" data-source="post: 936216" data-attributes="member: 30129"><p>I do something along these lines with SQL scripts in a Stored Procedure in the MsSQL Database.</p><p> </p><p>If the database entry has IsPartOfSeries = 'False' then the SP finds those entries where the current time is after the ProgramStopTime and then does the following:</p><p>* Copies the file to my NAS (eg </p><p>* Update the database record 'RecordingFileName' from its current (for eg)</p><p> \\MEDIASERVER\DVB Recordings\The Incredibles\The Incredibles (10098561)_2012-11-25_19-00.ts</p><p>to</p><p> \\\\MEDIASERVER\My Recordings\Movies\The Incredibles\The Incredibles (10098561)_2012-11-25_19-00.ts</p><p> </p><p>It requires a bit of understanding in SQL and an ability to set the Provs right, as it uses XP_CMDSHELL eg, </p><p> </p><p>EXEC MASTER..XP_CMDSHELL @Commandstring, NO_OUTPUT</p><p> </p><p>where the @Commandstring is the Copy Command.</p></blockquote><p></p>
[QUOTE="thekiwi, post: 936216, member: 30129"] I do something along these lines with SQL scripts in a Stored Procedure in the MsSQL Database. If the database entry has IsPartOfSeries = 'False' then the SP finds those entries where the current time is after the ProgramStopTime and then does the following: * Copies the file to my NAS (eg * Update the database record 'RecordingFileName' from its current (for eg) \\MEDIASERVER\DVB Recordings\The Incredibles\The Incredibles (10098561)_2012-11-25_19-00.ts to \\\\MEDIASERVER\My Recordings\Movies\The Incredibles\The Incredibles (10098561)_2012-11-25_19-00.ts It requires a bit of understanding in SQL and an ability to set the Provs right, as it uses XP_CMDSHELL eg, EXEC MASTER..XP_CMDSHELL @Commandstring, NO_OUTPUT where the @Commandstring is the Copy Command. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Move recordings to NAS after X days?
Contact us
RSS
Top
Bottom