summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_cc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio/i_cc.inc')
-rw-r--r--plugins/mRadio/i_cc.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mRadio/i_cc.inc b/plugins/mRadio/i_cc.inc
index deb993ec0c..c9364d1e8a 100644
--- a/plugins/mRadio/i_cc.inc
+++ b/plugins/mRadio/i_cc.inc
@@ -21,7 +21,7 @@ var
p:pWideChar;
begin
astrlen:=StrLenW(artist);
-
+
tstrlen:=0;
// if need to remove duplicate
if (title<>nil) and (title^<>#0) then
@@ -159,7 +159,7 @@ begin
if PlayFirst=BST_UNCHECKED then
plist.Track:=DBReadWord(ActiveContact,PluginName,optCurElement);
end;
-
+
mFreeMem(ActiveURLw);
ActiveURLw:=plist.GetSong;
end;
@@ -182,7 +182,7 @@ begin
ControlCenter(MRC_STATUS,RD_STATUS_NEWSTATION);
if Assigned(plist) then
ControlCenter(MRC_STATUS,RD_STATUS_CONNECT);
- CloseHandle(mir_forkthread(@OpenURL,ActiveURLw));
+ mir_forkthread(@OpenURL,ActiveURLw);
end;
end
// play current from start
@@ -195,7 +195,7 @@ begin
// play playlist entry?
else if Assigned(plist) and (ActiveURLw<>nil) and (ActiveURLw^<>#0) then
begin
- CloseHandle(mir_forkthread(@OpenURL,ActiveURLw));
+ mir_forkthread(@OpenURL,ActiveURLw);
end;
end;
@@ -425,7 +425,7 @@ begin
mFreeMem(artist);
mFreeMem(title);
end;
-
+
NotifyEventHooks(hhRadioStatus,code,arg);
end;