summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-11-15 21:15:03 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-11-15 21:15:03 +0000
commit62a14ba4730f52cce31b1b71565554691496df36 (patch)
treef85f853a9eda9830a3f708e89820c886e99b85c1 /plugins/ExternalAPI
parente571f979749a2a7b03f2593067d7e21144c94fbc (diff)
Watrack: first trying of fix for Watrack plugin (like Watrack_MPD) work
git-svn-id: http://svn.miranda-ng.org/main/trunk@10996 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/delphi/m_music.inc31
1 files changed, 16 insertions, 15 deletions
diff --git a/plugins/ExternalAPI/delphi/m_music.inc b/plugins/ExternalAPI/delphi/m_music.inc
index 205fdc5bf3..d881708eef 100644
--- a/plugins/ExternalAPI/delphi/m_music.inc
+++ b/plugins/ExternalAPI/delphi/m_music.inc
@@ -263,16 +263,17 @@ const
WAT_OPT_TEMPLATE = $00000100; // (internal)
WAT_OPT_IMPLANTANT = $00000200; // [options] use process implantation
WAT_OPT_HASURL = $00000400; // [players] URL field present
- WAT_OPT_CHANGES = $00000800; // (internal) obtain only chaged values
+ WAT_OPT_CHANGES = $00000800; // [subplugin] obtain only chaged values
// (volume, status, window text, elapsed time)
WAT_OPT_APPCOMMAND = $00001000; // [options] Special (multimedia) key support
WAT_OPT_CHECKALL = $00002000; // [options] Check all players
WAT_OPT_KEEPOLD = $00004000; // [options] Keep Old opened file
// WAT_OPT_MULTITHREAD = $00008000; // [options] Use multithread scan
WAT_OPT_SINGLEINST = $00010000; // [players] Single player instance
- WAT_OPT_PLAYERDATA = $00020000; // (internal) to obtain player data
+ WAT_OPT_PLAYERDATA = $00020000; // [subplugin] to obtain player data
WAT_OPT_CONTAINER = $00040000; // [formats] format is container (need to check full)
WAT_OPT_UNKNOWNFMT = $00080000; // [formats] check unknown (not disabled) formats (info from player)
+ WAT_OPT_INTERNAL = $80000000; // (internal) for memory manager choosing
type
tReadFormatProc = function(var Info:tSongInfo):boolean; cdecl;
@@ -349,11 +350,11 @@ const
Returns: previous state
}
const
- MS_WAT_MYSHOWS:pAnsiChar = 'WATrack/MyShows';
+ MS_WAT_MYSHOWS:PAnsiChar = 'WATrack/MyShows';
const
- MS_WAT_MYSHOWSINFO:pAnsiChar = 'WATrack/MyShowsInfo';
+ MS_WAT_MYSHOWSINFO:PAnsiChar = 'WATrack/MyShowsInfo';
// --------- Last FM ---------
@@ -363,7 +364,7 @@ const
Returns: previous state
}
const
- MS_WAT_LASTFM:pAnsiChar = 'WATrack/LastFM';
+ MS_WAT_LASTFM:PAnsiChar = 'WATrack/LastFM';
{
Get Info based on currently played song
@@ -374,18 +375,18 @@ type
pLastFMInfo = ^tLastFMInfo;
tLastFMInfo = record
request:cardinal; // 0 - artist, 1 - album, 2 - track
- artist :pWideChar; // artist
- album :pWideChar; // album or similar artists for Artist info request
- title :pWideChar; // track title
- tags :pWideChar; // tags
- info :pWideChar; // artist bio or wiki article
- image :pAnsiChar; // photo/cover link
- similar:pWideChar;
- release:pWideChar;
+ artist :PWideChar; // artist
+ album :PWideChar; // album or similar artists for Artist info request
+ title :PWideChar; // track title
+ tags :PWideChar; // tags
+ info :PWideChar; // artist bio or wiki article
+ image :PAnsiChar; // photo/cover link
+ similar:PWideChar;
+ release:PWideChar;
trknum :cardinal;
end;
const
- MS_WAT_LASTFMINFO:pAnsiChar = 'WATrack/LastFMInfo';
+ MS_WAT_LASTFMINFO:PAnsiChar = 'WATrack/LastFMInfo';
// --------- Templates ----------
@@ -414,6 +415,6 @@ const
lParam: 0
note: Shows Macro help window with edit aliases ability
}
- MS_WAT_MACROHELP:pAnsiChar = 'WATrack/MacroHelp';
+ MS_WAT_MACROHELP:PAnsiChar = 'WATrack/MacroHelp';
{$ENDIF M_MUSIC}