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
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Strange Behaviour with mappe NAS
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="armandp" data-source="post: 387014" data-attributes="member: 71896"><p>Ok, you asked for it <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p><strong> Before trying this, BACKUP your database!! </strong></p><p></p><p>1. Close down mediaportal / moving pictures completely</p><p>2. Start your favorite SQLite editor</p><p>3. Open the "<strong>movingpictures.db3</strong>" database.</p><p></p><p><em> location differs depending on your OS</em></p><p><em>Example: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\database </em></p><p></p><p>4. Open to the<strong> import_path</strong> table</p><p>5. Write down the IDs for import paths that were moved to a different disk</p><p>6. Open up the query editor and write the following query:</p><p></p><p>[CODE]UPDATE local_media</p><p>SET volume_serial = NULL</p><p>WHERE importpath IN (?,?, etc... )[/CODE]</p><p></p><p>replace ? with the ID's you wrote down in step 5)</p><p></p><p>Example for multiple import paths (ID 2, 6 and 7):</p><p>[CODE]UPDATE local_media</p><p>SET volume_serial = NULL</p><p>WHERE importpath IN (2,6,7)[/CODE]</p><p></p><p>Example for one import path (ID = 5):</p><p>[CODE]UPDATE local_media</p><p>SET volume_serial = NULL</p><p>WHERE importpath = 5[/CODE]</p><p></p><p>7. Execute the query, it should report that it affected # number of objects</p><p>8. Close down the SQLite editor</p><p>9. Start MediaPortal Configuration -> Plugins -> Moving Pictures -> CONFIG</p><p>10. Moving Pictures will now update the database and restore the new volume_serials.</p></blockquote><p></p>
[QUOTE="armandp, post: 387014, member: 71896"] Ok, you asked for it :) [B] Before trying this, BACKUP your database!! [/B] 1. Close down mediaportal / moving pictures completely 2. Start your favorite SQLite editor 3. Open the "[B]movingpictures.db3[/B]" database. [i] location differs depending on your OS Example: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\database [/i] 4. Open to the[B] import_path[/B] table 5. Write down the IDs for import paths that were moved to a different disk 6. Open up the query editor and write the following query: [CODE]UPDATE local_media SET volume_serial = NULL WHERE importpath IN (?,?, etc... )[/CODE] replace ? with the ID's you wrote down in step 5) Example for multiple import paths (ID 2, 6 and 7): [CODE]UPDATE local_media SET volume_serial = NULL WHERE importpath IN (2,6,7)[/CODE] Example for one import path (ID = 5): [CODE]UPDATE local_media SET volume_serial = NULL WHERE importpath = 5[/CODE] 7. Execute the query, it should report that it affected # number of objects 8. Close down the SQLite editor 9. Start MediaPortal Configuration -> Plugins -> Moving Pictures -> CONFIG 10. Moving Pictures will now update the database and restore the new volume_serials. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Strange Behaviour with mappe NAS
Contact us
RSS
Top
Bottom