summaryrefslogtreecommitdiff
path: root/plugins/Watrack/myshows/myshows.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-27 21:02:54 +0300
commit0ebb1294ecaf4d62ad6b3e911be6275248c05354 (patch)
tree5560ce9ecc74ab5357279cd15aa9704d4d9d8c30 /plugins/Watrack/myshows/myshows.pas
parentc6b6e8a4b79e906f77b1f3be43e939316e1d912f (diff)
correct type for ServiceExists() - bool
Diffstat (limited to 'plugins/Watrack/myshows/myshows.pas')
-rw-r--r--plugins/Watrack/myshows/myshows.pas11
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/Watrack/myshows/myshows.pas b/plugins/Watrack/myshows/myshows.pas
index 53925f857b..cc89e9be16 100644
--- a/plugins/Watrack/myshows/myshows.pas
+++ b/plugins/Watrack/myshows/myshows.pas
@@ -109,13 +109,10 @@ begin
begin
if pSongInfo(lParam).width>0 then // for video only
begin
-//!! if ServiceExists(MS_JSON_GETINTERFACE)<>0 then
- begin
- timervalue:=integer(pSongInfo(lParam).total)*10*msh_scrobpos; // 1000(msec) div 100(%)
- if timervalue=0 then
- timervalue:=DefTimerValue;
- hTimer:=SetTimer(0,0,timervalue,@TimerProc);
- end;
+ timervalue:=integer(pSongInfo(lParam).total)*10*msh_scrobpos; // 1000(msec) div 100(%)
+ if timervalue=0 then
+ timervalue:=DefTimerValue;
+ hTimer:=SetTimer(0,0,timervalue,@TimerProc);
end;
end;
end;