Autor Beitrag
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 07.11.06 16:46 
JvPlaylist ist aber keine TObjectList, wohl eher ein Ableger einer TStringList, mit eigenen Funktionen.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 08.11.06 17:36 
Hi,
weder JvPlaylist1.Items.Object[i] noch JvPlaylist1.Items[i] funktioniert. JvPlaylist ist eine "KindKomponente" von einer ListBox.
Ist das da jetzt eine ObjectList oder nicht :?:
Leuchtturm

PS:Irgendwie blicke ich nicht mehr richtig durch

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 08.11.06 18:10 
Ja nu, sollen wir jetzt weiterraten, oder wie?

Fangen wir mal andersrum an: Was hast du denn in dieser JvPlaylist drin? Wie fügst du da {Strings|Objekte|AudioFiles|Gummibärchen} ein? Dann könnte man eher sagen, wie man an die Sachen dadrin wieder rankommt...

_________________
We are, we were and will not be.
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 08.11.06 18:17 
Also ich habe dort die Musiktitel als AudiFiles drin stehen.
Ich füge sie so ein:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
procedure TForm1.OpenID3;
var
aAudiofile: TAudioFile;
i: Integer;
begin
  aAudioFile := TAudioFile.create;
  for i := 0 to OpenDialog1.Files.Count-1 do
  begin
    aAudioFile.GetAudioData(OpenDialog1.files[i]);
    JVPlaylist1.Items.Add(aAudioFile.Artist + ' - ' + aAudioFile.Titel);
  end;
  aAudioFile.Free;
end;


Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mi 08.11.06 18:20 
Das kann ja auch gar nicht funktionieren. Du speicherst doch Informationen als String in die Playlist und nachher willst du daraus wieder ein Audiofile machen? So einfach ist das nicht ;-).

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 08.11.06 18:23 
Wie könnte ich es denn machen :?:
Leuchtturm

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mi 08.11.06 18:26 
Schätzungsweiße mit einer TObjectList, oder auch ein Array of TAudioFile.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Leuchtturm Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1087

Win Vista, Knoppix, Ubuntu
Delphi 7 Pe, Turbo Delphi, C#(VS 2005 Express), (X)HTML + CSS, bald Assembler
BeitragVerfasst: Mi 08.11.06 18:35 
Naja gut da versuche ich mal mein Glück mit einer TObjectList und wenn das nicht funzt dann mit einem array of TAudioFile

Danke an alle die mir zu helfen (versucht) haben :flehan:

_________________
Ich bin dafür verantwortlich was ich sage - nicht dafür was du verstehst.