diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-11-19 20:14:06 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-11-19 20:14:06 +0200 |
commit | 9b3eb2c75214d87ec696f54642a1d96c291538dc (patch) | |
tree | 1e08e43f3661ca072aa69de6d16bfbf56244a0e9 | |
parent | 833160392215a9022fbed2f9a2be5a618ce3d95a (diff) |
modified: watrack_mpd/main.c
-rwxr-xr-x | watrack_mpd/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/watrack_mpd/main.c b/watrack_mpd/main.c index a1ce47d..ce225e6 100755 --- a/watrack_mpd/main.c +++ b/watrack_mpd/main.c @@ -140,7 +140,7 @@ void RegisterPlayer() player.GetName = (LPNAMEPROC)GetFileName;
player.GetInfo = (LPINFOPROC)GetPlayerInfo;
// player.Icon = //TODO:implement icon support
- player.Notes = _T("mpd is a nice music player for linux whic have not any gui, just daemon.\nuses very small amount of ram, cpu.");
+ player.Notes = _T("mpd is a nice music player for *nix whicc have not any gui, just daemon.\nuses very small amount of ram, cpu.");
player.URL = "http://www.musicpd.org";
CallService(MS_WAT_PLAYER, (WPARAM)WAT_ACT_REGISTER, (LPARAM)&player);
}
@@ -204,7 +204,6 @@ int Parser() for(i = 0; ((ptr[i] != '\n') && (ptr[i] != '\0')); i++)
tmp[i] = ptr[i];
tmp[i] = '\0';
-
SongInfo.mfile = (TCHAR*)mir_utf8decodeW(tmp);
}
else
@@ -235,7 +234,7 @@ int Parser() for(i = 0; ((ptr[i] != '\n') && (ptr[i] != '\0')); i++)
tmp[i] = ptr[i];
tmp[i] = '\0';
- if(!strcmp(title, tmp))
+ if(strcmp(title, tmp))
Flags |= WAT_EVENT_NEWTRACK;
else
Flags = 0;
@@ -340,6 +339,7 @@ int Parser() }
else if(!gbState)
gbState = WAT_MES_UNKNOWN;
+ Flags |= WAT_OPT_CHANGES;
return 0;
}
|