AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Album Art 3D

Ein Thema von EWeiss · begonnen am 5. Mär 2009 · letzter Beitrag vom 31. Mai 2015
Antwort Antwort
EWeiss
(Gast)

n/a Beiträge
 
#1

Album Art 3D

  Alt 5. Mär 2009, 18:06
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
  Mit Zitat antworten Zitat
EWeiss
(Gast)

n/a Beiträge
 
#2

Re: Album Art 3D

  Alt 13. Mär 2009, 20:56
Zitat von EWeiss:
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
Knabbere immer noch daran an informationen zu kommen wie das funktioniert.
Hab das hier gefunden!

Code:
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
}
wenn das die art ist wie die Daten an das Plugin gelangen.
Wie würde dann das gegenteil davon aussehen ?
Also wie der WMP die Daten sendet.

Das Interface ist so ausgelegt
Delphi-Quellcode:
// *********************************************************************//
// 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;
Sind aber alles getter denke nur von Plugins verwendbar oder ?
Ich will die Daten ja senden.

ach so das fehlt noch.

Delphi-Quellcode:
// *********************************************************************//
// 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;
gruss Emil
  Mit Zitat antworten Zitat
EWeiss
(Gast)

n/a Beiträge
 
#3

AW: Album Art 3D

  Alt 31. Mai 2015, 14:01
Ok ist schon Asbach der Thread aber letztendlich habe ich auch das geschafft zu klären.
Man soll also nicht zu schnell aufgeben.

gruss

Geändert von EWeiss (11. Jul 2019 um 15:43 Uhr)
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:00 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz