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
[Deprecated] WatchedSynchronizer
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="popy" data-source="post: 1123071" data-attributes="member: 114134"><p>Hey.</p><p></p><p>I have made a patch for MovingPictures 1.8.0.1613 which fires the needed toggle watched event.</p><p>Here is the binary and the patch: <a href="https://forum.team-mediaportal.com/threads/gui-toggle-watched-event.129506/#post-1123068" target="_blank">https://forum.team-mediaportal.com/threads/gui-toggle-watched-event.129506/#post-1123068</a></p><p>I have also asked there if they could include the patch in the next version of MovingPictures.</p><p></p><p>My development version of WatchedSyncronizer receives the toggle watchedstate event from the MovingPictures GUI <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p>I have also implemented the internal event forwarding to the workerthread:</p><p></p><p>[code]</p><p>[2015-02-01 22:34:09,296] [Log ] [MPMain ] [DEBUG] - WatchedSynchronizer: OnMovingPicturesToggledWatched: The Watched Status for file '\\MEDIASERVER\Videos\Movies\xxxxxxxxxxxxxxxxxxxxxxxx.mkv' was toggled to 'False',</p><p>[2015-02-01 22:34:09,327] [Log ] [38 ] [DEBUG] - WatchedSynchronizer: WorkerThread: New event to process: EventType: 'Toggle' - dtNextCheck: '22:34:09.296 ' - MediaType: 'MovingPictures' - strFileName: '\\MEDIASERVER\Videos\Movies\xxxxxxxxxxxxxxxxxxxxxxxx.mkv' - intStopTime: '0' - bolWatched: 'False'</p><p>[/code]</p><p></p><p>So the Todo is:</p><p></p><ul> <li data-xf-list-type="ul">Implement all needed sql statment functions in AdditionalMovingPicturesDatabase.cs & AdditionalMovingPicturesDatabaseSQLite.cs</li> <li data-xf-list-type="ul">Implement the commented out function "ProcessMovingPicturesWatchedStateEvent(evt);" in the region WorkerThread (File: WatchedSynchronizer.cs)</li> </ul><p>I am missing SQL knowledge, can anybody support me? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite11" alt=":rolleyes:" title="Roll Eyes :rolleyes:" loading="lazy" data-shortname=":rolleyes:" /><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite12" alt="o_O" title="Er... what? o_O" loading="lazy" data-shortname="o_O" /><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite12" alt="o_O" title="Er... what? o_O" loading="lazy" data-shortname="o_O" /></p><p>Attached my current working copy which includes the patched MovingPictures.dll (MovingPictures_1.8.0.1613_watchedToggle_event.zip).</p><p></p><p>!!! AGAIN for Users which want to try it !!</p><p>Its just for development purposes.</p><p>The syncing of MovingPictures DOESNT work.</p><p></p><p>pOpY</p></blockquote><p></p>
[QUOTE="popy, post: 1123071, member: 114134"] Hey. I have made a patch for MovingPictures 1.8.0.1613 which fires the needed toggle watched event. Here is the binary and the patch: [url]https://forum.team-mediaportal.com/threads/gui-toggle-watched-event.129506/#post-1123068[/url] I have also asked there if they could include the patch in the next version of MovingPictures. My development version of WatchedSyncronizer receives the toggle watchedstate event from the MovingPictures GUI ;) I have also implemented the internal event forwarding to the workerthread: [code] [2015-02-01 22:34:09,296] [Log ] [MPMain ] [DEBUG] - WatchedSynchronizer: OnMovingPicturesToggledWatched: The Watched Status for file '\\MEDIASERVER\Videos\Movies\xxxxxxxxxxxxxxxxxxxxxxxx.mkv' was toggled to 'False', [2015-02-01 22:34:09,327] [Log ] [38 ] [DEBUG] - WatchedSynchronizer: WorkerThread: New event to process: EventType: 'Toggle' - dtNextCheck: '22:34:09.296 ' - MediaType: 'MovingPictures' - strFileName: '\\MEDIASERVER\Videos\Movies\xxxxxxxxxxxxxxxxxxxxxxxx.mkv' - intStopTime: '0' - bolWatched: 'False' [/code] So the Todo is: [LIST] [*]Implement all needed sql statment functions in AdditionalMovingPicturesDatabase.cs & AdditionalMovingPicturesDatabaseSQLite.cs [*]Implement the commented out function "ProcessMovingPicturesWatchedStateEvent(evt);" in the region WorkerThread (File: WatchedSynchronizer.cs) [/LIST] I am missing SQL knowledge, can anybody support me? :rolleyes:o_Oo_O Attached my current working copy which includes the patched MovingPictures.dll (MovingPictures_1.8.0.1613_watchedToggle_event.zip). !!! AGAIN for Users which want to try it !! Its just for development purposes. The syncing of MovingPictures DOESNT work. pOpY [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[Deprecated] WatchedSynchronizer
Contact us
RSS
Top
Bottom