Normal
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: https://forum.team-mediaportal.com/threads/gui-toggle-watched-event.129506/#post-1123068I 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:Implement all needed sql statment functions in AdditionalMovingPicturesDatabase.cs & AdditionalMovingPicturesDatabaseSQLite.csImplement the commented out function "ProcessMovingPicturesWatchedStateEvent(evt);" in the region WorkerThread (File: WatchedSynchronizer.cs)I am missing SQL knowledge, can anybody support me? 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
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: https://forum.team-mediaportal.com/threads/gui-toggle-watched-event.129506/#post-1123068
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:
I am missing SQL knowledge, can anybody support me?
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