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 2
Plugin Development
Trakt for MP2
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="aspik" data-source="post: 1246231" data-attributes="member: 72523"><p>But this method also doesn't have a play count parameter. The value is read from the DB and always <a href="https://github.com/MediaPortal/MediaPortal-2/blob/9a50576f36f4cf11e07553388f073bb997eaafc3/MediaPortal/Source/Core/MediaPortal.Backend/Services/MediaLibrary/MediaLibrary.cs#L2455" target="_blank">incremented</a>. How can I know if a MI is unwatched (or set it as unwatched) as the play count is every time increased.</p><p></p><p>I can understand that a play count attribute can be useful in some cases, but if it's never gets reseted it can't be used to know the watched state.</p><p></p><p></p><p>Not that I know, could you please point me to an example? I see that each time I restart the client the play count is the "real" one.</p><p></p><p></p><p>Yes, I noticed. Does reloading the user data have such a performance impact? Or are they other reasons why it' can't be reloaded each time the watched action is called?</p></blockquote><p></p>
[QUOTE="aspik, post: 1246231, member: 72523"] But this method also doesn't have a play count parameter. The value is read from the DB and always [URL='https://github.com/MediaPortal/MediaPortal-2/blob/9a50576f36f4cf11e07553388f073bb997eaafc3/MediaPortal/Source/Core/MediaPortal.Backend/Services/MediaLibrary/MediaLibrary.cs#L2455']incremented[/URL]. How can I know if a MI is unwatched (or set it as unwatched) as the play count is every time increased. I can understand that a play count attribute can be useful in some cases, but if it's never gets reseted it can't be used to know the watched state. Not that I know, could you please point me to an example? I see that each time I restart the client the play count is the "real" one. Yes, I noticed. Does reloading the user data have such a performance impact? Or are they other reasons why it' can't be reloaded each time the watched action is called? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Trakt for MP2
Contact us
RSS
Top
Bottom