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!)
TVDatabaseV21.db3: when is it locked ?
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="Aquarius" data-source="post: 206239" data-attributes="member: 10507"><p>Hi all,</p><p>quick question:</p><p></p><p>under which circumstances is the database TVDatabaseV21.db3 locked during runtime of MP ?</p><p></p><p>- The whole time ? (unlikely, I managed to update during runtime of MP) </p><p>- during EPG import ? ( Likely, but is the lock exclusive or on record base ?)</p><p></p><p>Background is, I add some programs not covered by any EPG, manually to the TVDatabaseV21.db3. I use sqlite3.exe and some SQL- script during runtime of MP. Up to now I could not encounter any problems. But generally when 2 programs access the same DB, trouble is ahead. </p><p></p><p>Thanks</p><p>/Gerd</p><p></p><p></p><p>BTW, if there is a VB- Script Guru around:</p><p></p><p>Why does this not work ? :</p><p></p><p>Set objshell = (Wscript.... ) </p><p>objshell.run "sqllite3.exe TVDatabaseV21.db3 <AddTVGuide.sql", 1, true</p><p></p><p>Directories are set correct. </p><p></p><p>This work perfect on the commandline, it works also up to "objshell.run "sqllite3.exe TVDatabaseV21.db3" , but when the redirected input file "<AddTVGuide.sql" comes into place, nothing works any more.</p><p></p><p>Or does somebody have an idea how I could tell sqllite3.exe to execute some SQL commands directly within the script ? Couldn't find any commandline option. </p><p></p><p>Thanks for any response !</p></blockquote><p></p>
[QUOTE="Aquarius, post: 206239, member: 10507"] Hi all, quick question: under which circumstances is the database TVDatabaseV21.db3 locked during runtime of MP ? - The whole time ? (unlikely, I managed to update during runtime of MP) - during EPG import ? ( Likely, but is the lock exclusive or on record base ?) Background is, I add some programs not covered by any EPG, manually to the TVDatabaseV21.db3. I use sqlite3.exe and some SQL- script during runtime of MP. Up to now I could not encounter any problems. But generally when 2 programs access the same DB, trouble is ahead. Thanks /Gerd BTW, if there is a VB- Script Guru around: Why does this not work ? : Set objshell = (Wscript.... ) objshell.run "sqllite3.exe TVDatabaseV21.db3 <AddTVGuide.sql", 1, true Directories are set correct. This work perfect on the commandline, it works also up to "objshell.run "sqllite3.exe TVDatabaseV21.db3" , but when the redirected input file "<AddTVGuide.sql" comes into place, nothing works any more. Or does somebody have an idea how I could tell sqllite3.exe to execute some SQL commands directly within the script ? Couldn't find any commandline option. Thanks for any response ! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TVDatabaseV21.db3: when is it locked ?
Contact us
RSS
Top
Bottom