Autor Beitrag
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 13.04.05 12:52 
Hi!!!
Ich will in meinem Programm Playlists lesen und schreiben.
Sagen wir mal so, ich stecke grade total am Anfang, weil ich wollte eine vorhandene m3u- Playlist mit einer TStringList über LoadFromFile (eigentlich logisch...) einlesen. Problem ist jetzt nur, dass mir die StringList nur die erste Zeile der Playlist einließt :x . Im Windows-Editor kann man aber alle Pfadangeben lesen.

Was mir aufgefallen ist, ist, dass ein TRichEdit auch nur die erste Zeile anzeigt.... (liegt wohl an der Art, wie die Datei ausgelesen wird, oder :?: :?: :?: )

Desweiteren würde mich die Arbeit mit wpl-Playlists interessieren :D

THXXXX

[2. Beitrag]
Ich meine natürlich, dass das daran liegt, wie die Delphi Komponenten die Datei auslesen, sorry!

Moderiert von user profile iconraziel: Beiträge zusammengefasst.
Moderiert von user profile iconraziel: Topic aus Multimedia / Spiele / Grafik verschoben am Mi 13.04.2005 um 15:01

_________________
Programmers never die, they just GOSUB without RETURN
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mi 13.04.05 16:21 
einige Player setzen gerne den Nullterminator ans Ende der Pfadangabe, dadurch wird der Rest nicht mehr eingelesen. Bleibt wohl nur noch, es selbst einzulesen und die Nullterminatoren nicht zu beachten.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 13.04.05 16:31 
user profile icontommie-lie hat folgendes geschrieben:
Bleibt wohl nur noch, es selbst einzulesen und die Nullterminatoren nicht zu beachten.


Wie willst du das dann machen, stehe grade n bissl auf dem Schlauch... :?
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Mi 13.04.05 16:48 
Mit wiederholten Aufrufen von ReadLn(), Trim(), einer Liste hinzufügen. ;-)

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
alias5000 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 13.04.05 16:59 
THX !!!
Jetzt würde mich bloß noch die WPL-Playlist interessieren. Haben inzwischen bei Google n bissl gesucht, aber außer irgendwelchen Shareware-Tools etc. nix gefunden. Der Grundaufbau scheint ja einer XML-Datei zu entstammen oder?

_________________
Programmers never die, they just GOSUB without RETURN