2015-12-11, 02:22
This addon and/or Library Data Provider is causing me an issue with my HTPC sleeping and I can't find a way to fix it. I have a HTPC with all my media running MySQL which is the master. I also have a RPi2 running OSMC upstairs which connects to the HTPC for the library etc... My HTPC is constantly waking up because of requests from the RPi2. I've found the culprit(s) in the logs and one of them concerns Skin Widgets.
Please see these logs
Can an option be added to disable all updates or to not send WOL packets to get this information? If the server is offline, skip the update maybe?
Please see these logs
Code:
21:18:40 686.093201 T:1752974368 NOTICE: WakeOnAccess [192.168.0.20] trigged by accessing : MySQL : MyVideos93
21:18:41 687.146729 T:1752974368 INFO: WakeOnLan - Magic packet send to '40:8D:5C:17:6D:F3'
21:18:49 694.927979 T:1570526240 DEBUG: webserver: request received for /jsonrpc
21:18:55 700.940796 T:1752974368 DEBUG: Previous line repeats 1 times.
21:18:55 700.941162 T:1752974368 NOTICE: WakeOnAccess sequence completed, server started
21:18:56 701.317322 T:1752974368 DEBUG: RunQuery took 361 ms for 117 items query: select * from movie_view WHERE ((movie_view.playCount IS NULL OR movie_view.playCount < 1))
21:18:56 701.730408 T:1752974368 DEBUG: RunQuery took 7 ms for 38 items query: select * from episode_view WHERE ((episode_view.playCount IS NULL OR episode_view.playCount < 1))
21:18:56 702.061646 T:1752974368 DEBUG: RunQuery took 1 ms for 0 items query: select * from musicvideo_view
21:18:56 702.070618 T:1752974368 DEBUG: GetAlbumsByWhere query: SELECT albumview.* FROM albumview WHERE albumview.strReleaseType = 'album'
21:18:56 702.111145 T:1752974368 DEBUG: GetAlbumsByWhere - query took 40 ms
21:18:56 702.275635 T:1752974368 DEBUG: GetArtistsByWhere query: SELECT artistview.* FROM artistview WHERE (artistview.idArtist IN (SELECT song_artist.idArtist FROM song_artist) OR artistview.idArtist IN (SELECT album_artist.idArtist FROM album_artist)) and artistview.strArtist != '' and artistview.strArtist <> 'Various artists'
21:18:57 702.330933 T:1752974368 DEBUG: Time to retrieve artists from dataset = 56
21:18:57 702.415955 T:1752974368 DEBUG: GetSongsByWhere query = SELECT songview.* FROM songview WHERE ((CAST(songview.iTimesPlayed as DECIMAL(5,1)) < 1))
21:18:57 703.090454 T:1570526240 DEBUG: webserver: request received for /jsonrpc
21:18:57 703.264038 T:1752974368 DEBUG: GetSongsByWhere() - took 850 ms
21:18:58 703.528320 T:1700000800 NOTICE: Thread JobWorker start, auto delete: true
21:18:59 704.348694 T:1752974368 DEBUG: Skin Widgets: Total time needed to request random queries: 0:00:18.258892
21:19:01 707.122192 T:1570526240 DEBUG: webserver: request received for /jsonrpc
Can an option be added to disable all updates or to not send WOL packets to get this information? If the server is offline, skip the update maybe?