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
My TVSeries
set ALL episodes in all series as unwatched (reset database for new users)
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="dir" data-source="post: 1005550" data-attributes="member: 24485"><p>Ah, thanks. Unfortunately I ran into a show-stopper.</p><p>The online_episodes table was fine - I found and reset all episode watched flags to 0. </p><p>However, the 'season' table contains two columns that hold info about watched status - 'UnwatchedItems' and 'EpisodesUnwatched'. There's also 'EpisodeCount' which contains the # of episodes in the season.</p><p> </p><p>UnwatchedItems is a binary value, so I assume it indicates whether there are any unwatched episodes in that season. That's easy enough to reset.</p><p>'EpisodesUnwatched' however is harder - it needs to be reset back to the same value as 'EpisodeCount'. In other words:</p><p> </p><p>Season 3 of Bewitched:</p><p>UnwatchedItems = 1</p><p>EpisodeCount = 23</p><p>EpisodesUnwatched = 4</p><p> </p><p>Somehow I need to be able to set 'EpisodeUnwatched' to "23". Undoubtedly its possible using advanced SQL syntax but its beyond my simple grasp!</p><p> </p><p>I assume the same sort of columns exist at the Series level as well.</p></blockquote><p></p>
[QUOTE="dir, post: 1005550, member: 24485"] Ah, thanks. Unfortunately I ran into a show-stopper. The online_episodes table was fine - I found and reset all episode watched flags to 0. However, the 'season' table contains two columns that hold info about watched status - 'UnwatchedItems' and 'EpisodesUnwatched'. There's also 'EpisodeCount' which contains the # of episodes in the season. UnwatchedItems is a binary value, so I assume it indicates whether there are any unwatched episodes in that season. That's easy enough to reset. 'EpisodesUnwatched' however is harder - it needs to be reset back to the same value as 'EpisodeCount'. In other words: Season 3 of Bewitched: UnwatchedItems = 1 EpisodeCount = 23 EpisodesUnwatched = 4 Somehow I need to be able to set 'EpisodeUnwatched' to "23". Undoubtedly its possible using advanced SQL syntax but its beyond my simple grasp! I assume the same sort of columns exist at the Series level as well. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
set ALL episodes in all series as unwatched (reset database for new users)
Contact us
RSS
Top
Bottom