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
sql statement to set watched flag using directory name
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="dihoff" data-source="post: 809543" data-attributes="member: 99120"><p>hi all,</p><p></p><p>installed a mediaportal update recently, and lost all of my config, including the watched flag for my movies! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> i started setting the watched flag again manually, but it's way too time consuming.</p><p></p><p>can someone help me with the sql for setting the watched flag? i have all my directories named with ratings, e.g. "Toy Story 3 c2010_++++" - if there's a + it would indicate that the movie has been watched.</p><p></p><p>i've installed sql lite, and opened the database, as per this <a href="https://forum.team-mediaportal.com/moving-pictures-284/database-movingpictures-stored-69467/" target="_blank">post</a>.</p><p></p><p>now, i just need the sql, so, something like:</p><p></p><p>update user_movie_settings</p><p>set watched = 1</p><p>where user_movie_settings.id = local_media.id</p><p>and local_media.fullpath like '%+%'</p><p></p><p>this obviously being incorrect.</p><p></p><p>tia,</p><p></p><p>dh.</p></blockquote><p></p>
[QUOTE="dihoff, post: 809543, member: 99120"] hi all, installed a mediaportal update recently, and lost all of my config, including the watched flag for my movies! :( i started setting the watched flag again manually, but it's way too time consuming. can someone help me with the sql for setting the watched flag? i have all my directories named with ratings, e.g. "Toy Story 3 c2010_++++" - if there's a + it would indicate that the movie has been watched. i've installed sql lite, and opened the database, as per this [URL="https://forum.team-mediaportal.com/moving-pictures-284/database-movingpictures-stored-69467/"]post[/URL]. now, i just need the sql, so, something like: update user_movie_settings set watched = 1 where user_movie_settings.id = local_media.id and local_media.fullpath like '%+%' this obviously being incorrect. tia, dh. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
sql statement to set watched flag using directory name
Contact us
RSS
Top
Bottom