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
Import Database failure
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="Jiv" data-source="post: 534047" data-attributes="member: 99543"><p>Someone on the forum has already mentioned that this is the case because the recordings are already listed in the table of the TV database. And to correct it you must manually delete the corresponding entry from the table in order for the Database Import function to see it (TV-Server Configuration -> Recording settings -> Database Import).</p><p></p><p>So, here are some SQL commands to do it:</p><p></p><p>; Assuming you're using Microsoft SQL Express.</p><p>C:\> sqlcmd -S localhost\SQLExpress</p><p></p><p>use MpTvDb</p><p>select idRecording, title from dbo.Recording</p><p>go</p><p></p><p>; Look for the title you want to re-import, then remember the corresponding idRecording number.</p><p>; Now, delete the entry.</p><p>delete from dbo.Recording where idRecording = <the number you got from previous command></p><p>go</p><p></p><p>; if you have many entries you want to delete then you can try the command below.</p><p>; Replace the list of numbers inside the brackets with your own.</p><p>delete from dbo.Recording where idRecording in (134, 170, 234, 250, 300)</p><p>go</p><p></p><p>; Now, go to your TV-Server configuration and you should see a list of recordings to import.</p></blockquote><p></p>
[QUOTE="Jiv, post: 534047, member: 99543"] Someone on the forum has already mentioned that this is the case because the recordings are already listed in the table of the TV database. And to correct it you must manually delete the corresponding entry from the table in order for the Database Import function to see it (TV-Server Configuration -> Recording settings -> Database Import). So, here are some SQL commands to do it: ; Assuming you're using Microsoft SQL Express. C:\> sqlcmd -S localhost\SQLExpress use MpTvDb select idRecording, title from dbo.Recording go ; Look for the title you want to re-import, then remember the corresponding idRecording number. ; Now, delete the entry. delete from dbo.Recording where idRecording = <the number you got from previous command> go ; if you have many entries you want to delete then you can try the command below. ; Replace the list of numbers inside the brackets with your own. delete from dbo.Recording where idRecording in (134, 170, 234, 250, 300) go ; Now, go to your TV-Server configuration and you should see a list of recordings to import. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Import Database failure
Contact us
RSS
Top
Bottom