Old 7th September 2014, 11:44   #1
mca64
Junior Member
 
Join Date: Sep 2014
Posts: 4
How to Detect Winamp playlist change?

Hi, any suggestion for that? I know that i can check playlist file date, but this isnt updated if posistions in playlist are chnaged. Is there any event for that?
mca64 is offline   Reply With Quote
Old 7th September 2014, 13:19   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
IPC_PLAYLIST_MODIFIED is fired on all main playlist editor changes.
DrO is offline   Reply With Quote
Old 7th September 2014, 17:28   #3
mca64
Junior Member
 
Join Date: Sep 2014
Posts: 4
thank You. I using some file wa_ipc.pas from 2003y. and now i see its little incomplete
mca64 is offline   Reply With Quote
Old 7th September 2014, 17:34   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
that's around when that callback message was added, so sounds like you were on a 2.x version of the header file.
DrO is offline   Reply With Quote
Old 7th September 2014, 17:48   #5
mca64
Junior Member
 
Join Date: Sep 2014
Posts: 4
Yea, but i only need basic stuff. Some time ago i made Winamp Jump To File for a StarCraft: Brood War. Works nice until some chnages will be made in playlist when game is on. So now i thought i will finish it


mca64 is offline   Reply With Quote
Old 9th September 2014, 20:19   #6
mca64
Junior Member
 
Join Date: Sep 2014
Posts: 4
if someone is intested here is source code https://github.com/mca64/mca64Launch...64launcher.dpr


Plugin save playlist to a file and send message info about that to another application when playlist was changed. There is sleep 5000 ms cause IPC_PLAYLIST_MODIFIED is triggered many times at once. This is my first stuff with winamp, long time user from 2.76 version
mca64 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump