![]() |
#81 | |
Senior Member
Join Date: Mar 2001
Location: smspower.org
Posts: 107
|
Re: Backwards compatibility fix for Global Config
Quote:
code: Older Winamps crash without the second check. |
|
![]() |
![]() |
![]() |
#82 |
Junior Member
Join Date: Nov 2007
Posts: 3
|
How can I use winamp as an embedded player in my C# project like (Windows Media Player????)
|
![]() |
![]() |
![]() |
#83 |
Passionately Apathetic
Administrator Join Date: May 2000
Location: Hell
Posts: 5,435
|
You cant.
|
![]() |
![]() |
![]() |
#84 |
mlipod moderator
(Senior Member) Join Date: Jun 2005
Location: Germany
Posts: 3,457
|
Some questions on the tree view in ML:
Is there an API for rearranging tree items - without using ML_IPC_TREEITEM_DELETE and then ML_IPC_TREEITEM_ADD? I would like to move a whole subtree of a hierarchy, and removing the whole stuff and then reinserting isn't a good solution. Is there an API for collapsing/expanding tree view items with children, and to query the current expand-state? How can I do drag/drop for rearranging my tree items over some levels of hierarchy? I want to be able to drag a specific item (a playlist) into every available subfolder. At the moment, the "insert here" cursor only shows up on the same nesting level as the original item. Thanks! BTW: Is there a newer SDK than 5.36 beta 1550? WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it) ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug? Donations to support the ml_iPod project can be done HERE |
![]() |
![]() |
![]() |
#85 | |
Senior Member
Join Date: Mar 2002
Location: Minneapolis
Posts: 234
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#86 |
mlipod moderator
(Senior Member) Join Date: Jun 2005
Location: Germany
Posts: 3,457
|
http://beta.nullsoft.com/sdk/ but you need a betatester password for that.
WinAmp Pro 5.5 with ml_iPod 3.10 + dev.patches (download it) ml_iPod documentation Wiki - ml_iPod FAQ - search ml_iPod forum - iPhone/iTouch - Found a bug? Donations to support the ml_iPod project can be done HERE |
![]() |
![]() |
![]() |
#87 |
Ben Allison
Former Winamp Developer Join Date: Jan 2005
Location: Brooklyn, NY
Posts: 1,057
|
I'm working on a new SDK, should hopefully be ready in a few weeks.
For treeview rearranging, this one might help code: only available with the unicode MLTREEITEMW, no ANSI version available (Easy enough to add but then it'd be 5.54+) The API for systematic expand/collapse is in gen_ml\ml_ipc_0313.h. I'm not sure if that file is in the 5.36 SDK. The function is MLNavItem_Expand but it's a bit tricky to use unless you're using the new API. As to why there's no basically 3 media library treeview API's. well, i won't comment. As for drag&drop across levels. I'll have to look. |
![]() |
![]() |
![]() |
#88 |
Junior Member
Join Date: Dec 2007
Location: Finland
Posts: 16
|
Hey Benski & Dro, to you both i want to say, that during this year i start to do a Finnish translation for Winamp. I have already downloaded from here SDK and mentioned lang_b files and also that precompiled language file. also i have already watched those other threads which tell about doing a language. Well, i'll do that Finnish translation with patience and slowly. If i then later get any problems, then i just ask from you and others
![]() |
![]() |
![]() |
![]() |
#89 |
16-Bit Moderator
Join Date: Apr 2004
Posts: 4,341
|
Jusa1: if you want to make a language file, you don't need the SDK anymore.
The language file which is (still) part of the SDK is outdated on no longer used anymore. More informations about the new translation format you can find here: http://www.meggamusic.co.uk/winamp/docs/xlat/xlat.html DrO/Benski: the language stuff should be removed from the SDK and the sticky thread in this forum should link to Xlat instead of the old language pack guide, to stop confusion. My Winamp Info Report | My Winamp Backup Log | My WACUP Info Report Own Projects: | Winamp Tray Control Icon Pack v3.5.3 | Winamp Backup Tool v3.6.0 | >> Winamp Info Tool v6.1.0 << | German Translations: | Offizielle Deutsche Winamp Sprachdatei v5.66 | Offizielle Deutsche Winamp Sprachdatei Plus Version 5.666 Useful Winamp Plug-ins: | SNESAmp | 64th Note | NotSo FatSo | Highly Experimental PSF Player | Yar Matey! Playlist Copier v1.12 | |
![]() |
![]() |
![]() |
#90 |
Junior Member
Join Date: Jun 2006
Location: Ontario, Canada
Posts: 33
|
Lacks visualization plugin files
In vis\vis_test, only SVIS.MAK is there. In that directory, wa502_sdk.zip also has:
|
![]() |
![]() |
![]() |
#91 |
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
Please Need Help!
How I can get played track info in wchar_t? Winamp return it in char array and I have problems with unicode symbols! Please Help! |
![]() |
![]() |
![]() |
#92 |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
in gen_tray\TRAYCTL.C line
int ret = CallWindowProc(lpOldWinampWndProc,hwnd,message,wParam,lParam); better to replace: if (IsWindowUnicode(hwnd)) CallWindowProcW(lpOldWinampWndProc,hwnd,message,wParam,lParam); else CallWindowProcA(lpOldWinampWndProc,hwnd,message,wParam,lParam); |
![]() |
![]() |
![]() |
#93 |
Join Date: Sep 2003
Posts: 27,873
|
Ruzzz: that's not required as the OS will do the relevant mapping based on how you subclassed to begin with. so in this case as long as a SetWindowLongPtrW(GWLP_WNNPROC) is correctly applied then it'll map things through CallWindowProcW(..) as long as nothing else has done a CallWindowProcA(..) or a SetWindowLongPtrA(GWLP_WNNPROC).
-daz |
![]() |
![]() |
![]() |
#94 |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
in wa_ipc.h -> IPC_GETRATING
int GetPlaylistItemRating(int item_to_get, int rating_to_set) - need to remove "int rating_to_set"? |
![]() |
![]() |
![]() |
#95 |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
DrO
code: |
![]() |
![]() |
![]() |
#96 |
Join Date: Sep 2003
Posts: 27,873
|
what am i meant to be looking at as that isn't code for a plugin...
-daz |
![]() |
![]() |
![]() |
#97 |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
DrO, i want to say that if each plugin will make subclassing winamp's window, each of them must correctly use CallWindowProc. Or something I do not understand?
|
![]() |
![]() |
![]() |
#98 |
Join Date: Sep 2003
Posts: 27,873
|
not seeing proper code for a plugin confused me.
correct it is the responsibility of the plugin to correctly subclass Winamp but that has always been the case ever since plugins appeared. the only change is that with more recent (ie clients released in the last 3-4 years) need to factor in unicode support and with all recent 5.5+ clients only runnning on unicode supporting OSes, really everyone should just use SetWindowLongPtrW(..). and as noted previously, it's the SetWindowLongPtrA/W call that dictates how compatible a plugin will be with allowing unicode data to be passed around the player still instead of having to mess around with CallWindowProcA/W switches (seeing as the OS handles that anyway especially with the ansi/unicode layering which has been in place with the NT based OSes. -daz |
![]() |
![]() |
![]() |
#99 |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
ОК, simply by default, this project (gen_tray) is not unicode, and will be used CallWindowProcA. sorry for prolixity
![]() |
![]() |
![]() |
![]() |
#100 |
Junior Member
Join Date: Nov 2009
Location: Malaysia
Posts: 45
|
How do I use the SDK?
I have read it and I still have no clue on how to use it. I have created a new project in the same installation directory as the SDK. Then, what is it for? I don't even know what functions they are about. Can someone help me? Thanks.. |
![]() |
![]() |
![]() |
#101 |
Junior Member
Join Date: Nov 2009
Location: Malaysia
Posts: 45
|
Hi.. I have an error in compiling "ml_xmlex\main.h"
The error is at the: #include <api/service/api_service.h> It says no such file or directory.. Anyone has a solution? Thanks.. |
![]() |
![]() |
![]() |
#102 | |
Junior Member
Join Date: Nov 2009
Location: Ukraine
Posts: 24
|
IPC_GET_NEXT_PLITEM - error in example:
Quote:
|
|
![]() |
![]() |
![]() |
#103 |
Join Date: Sep 2003
Posts: 27,873
|
Ruzzz: will get that changed though that api shouldn't be used other than through gen_jumpex.dll
-ex-: it sounds like "%WinampSDK%\Wasabi" hasn't been correctly included in the project's directories. -daz |
![]() |
![]() |
![]() |
#104 |
Join Date: Sep 2003
Posts: 27,873
|
Updated ml_lib.cpp (Unicode Version)
Attached is a newer version of ml_lib.cpp (from the gen_ml folder) which implements all of the required unicode functions.
|
![]() |
![]() |
![]() |
#105 |
Junior Member
Join Date: Feb 2010
Location: Prague
Posts: 2
|
missing header
I'm looking for file gen_ml/itemlist.h which is missing in this SDK.
Could somebody point me where to find one? I guess, that this file used to be there, but have been removed. I would like to continue in development of ml_daap plugin, but current code use this header. Thanks Andrej |
![]() |
![]() |
![]() |
#106 |
Join Date: Sep 2003
Posts: 27,873
|
|
![]() |
![]() |
![]() |
#107 |
Junior Member
Join Date: Jun 2010
Posts: 3
|
Why there is no vis folder in the new sdk?
|
![]() |
![]() |
![]() |
#108 |
Member
Join Date: Jul 2009
Location: Berlin
Posts: 84
|
Where can i find the "full" standardcode for a ml-plugin?
|
![]() |
![]() |
![]() |
#109 |
Join Date: Sep 2003
Posts: 27,873
|
there's only what's in the sdk and that's just a slim version of what is natively done (depending on when the ml plug-in was done as styles have changed over time). really just use them as a basis and go with what _you_ want to do with the plug-in as there's only so much the shipped examples can do before becoming a true plug-in which defeats the point of most of the examples.
-daz |
![]() |
![]() |
![]() |
#110 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,089
|
Any news on an updated SDK? If not or if I'm just being an annoying prat just ignore me.
![]() |
![]() |
![]() |
![]() |
#111 |
Join Date: Sep 2003
Posts: 27,873
|
I've done nothing else towards things and with the way other things are going I'd just forget about seeing any sort of update from me.
|
![]() |
![]() |
![]() |
#112 |
Late skinner & Moderator
Join Date: May 2003
Location: Argentina
Posts: 1,629
|
So I guess there is no news about the Color editor wasabi files (or just a plain "no it won´t be")...?
|
![]() |
![]() |
![]() |
#113 |
Join Date: Sep 2003
Posts: 27,873
|
nothing has happened with that.
<post changed from my earlier outburst> |
![]() |
![]() |
![]() |
#114 |
Late skinner & Moderator
Join Date: May 2003
Location: Argentina
Posts: 1,629
|
Hahaha.. ok!
|
![]() |
![]() |
![]() |
#115 |
Junior Member
Join Date: Jan 2002
Posts: 36
|
Thanks for all of this.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|