![]() |
Album Art 3D
weis vielleicht jemand wie die Cover von WMP an das Plugin übergeben werden?
Trotz übergabe von Titel usw.. zeigt es nicht die Cover an. gruss Emil |
Re: Album Art 3D
Zitat:
Hab das hier gefunden!
Code:
wenn das die art ist wie die Daten an das Plugin gelangen.
BSTR coverArtURL = NULL;
IWMPMetadataPicture* albumArt = NULL; HRESULT result = Media3 -> getItemInfobyType( L"WM/Picture", NULL, 0, (VARIANT*) &albumArt ); // the value of albumArt is junk if ( albumArt && result == S_OK ) { result = albumArt -> get_URL( &coverArtURL ); // crash } Wie würde dann das gegenteil davon aussehen ? Also wie der WMP die Daten sendet. Das Interface ist so ausgelegt
Delphi-Quellcode:
Sind aber alles getter denke nur von Plugins verwendbar oder ?
// *********************************************************************//
// Interface: IWMPMetadataPicture // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {5C29BBE0-F87D-4C45-AA28-A70F0230FFA9} // *********************************************************************// IWMPMetadataPicture = interface(IDispatch) ['{5C29BBE0-F87D-4C45-AA28-A70F0230FFA9}'] function Get_mimeType: WideString; safecall; function Get_pictureType: WideString; safecall; function Get_Description: WideString; safecall; function Get_URL: WideString; safecall; property mimeType: WideString read Get_mimeType; property pictureType: WideString read Get_pictureType; property Description: WideString read Get_Description; property URL: WideString read Get_URL; end; Ich will die Daten ja senden. ach so das fehlt noch.
Delphi-Quellcode:
gruss Emil
// *********************************************************************//
// Interface: IWMPMedia3 // Flags: (4416) Dual OleAutomation Dispatchable // GUID: {F118EFC7-F03A-4FB4-99C9-1C02A5C1065B} // *********************************************************************// IWMPMedia3 = interface(IWMPMedia2) ['{F118EFC7-F03A-4FB4-99C9-1C02A5C1065B}'] function getAttributeCountByType(const bstrType: WideString; const bstrLanguage: WideString): Integer; safecall; function getItemInfoByType(const bstrType: WideString; const bstrLanguage: WideString; lIndex: Integer): OleVariant; safecall; end; |
AW: Album Art 3D
Ok ist schon Asbach der Thread aber letztendlich habe ich auch das geschafft zu klären.
Man soll also nicht zu schnell aufgeben. ;) gruss |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:06 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz