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
Development
General Development (no feature request here!)
SQL Statement(s) to clean up recording
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="markius" data-source="post: 273720" data-attributes="member: 28097"><p>Hi</p><p></p><p>Can anyone help me with a small development type question?</p><p></p><p>I use TVServer to record a lot of DVB radio shows which I convert to MP3 so that I can listen to them in the car.</p><p></p><p>I have written a few quick and dirty batch files that scan the recordings folder for new radio recordings, extract the MP2 audio streams and then transcode MP2=>MP3.</p><p>Once I've sucessfully transcoded the audio files I remove the .TS files from the recordings folder and clean up any redundant .XML files and empty folders.</p><p></p><p>What I am looking for is a suitable SQL statement that will remove the converted recordings from the SQL Express database. I appreciate that I'll probably need to use VBScript or similar to check recordings folder and I'm comfortable with that but I'm not clear which tables within the database I'll need to look at and update.</p><p></p><p>At the moment, I'm able to do the cleanup manually through the TVServer Setup UI but I'd like to make this part of my script.</p><p></p><p>Any help greatly appreciated.</p><p></p><p>Cheers</p><p>Mark</p></blockquote><p></p>
[QUOTE="markius, post: 273720, member: 28097"] Hi Can anyone help me with a small development type question? I use TVServer to record a lot of DVB radio shows which I convert to MP3 so that I can listen to them in the car. I have written a few quick and dirty batch files that scan the recordings folder for new radio recordings, extract the MP2 audio streams and then transcode MP2=>MP3. Once I've sucessfully transcoded the audio files I remove the .TS files from the recordings folder and clean up any redundant .XML files and empty folders. What I am looking for is a suitable SQL statement that will remove the converted recordings from the SQL Express database. I appreciate that I'll probably need to use VBScript or similar to check recordings folder and I'm comfortable with that but I'm not clear which tables within the database I'll need to look at and update. At the moment, I'm able to do the cleanup manually through the TVServer Setup UI but I'd like to make this part of my script. Any help greatly appreciated. Cheers Mark [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SQL Statement(s) to clean up recording
Contact us
RSS
Top
Bottom