Autor Beitrag
AlexII
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: Mi 08.04.09 23:04 
Weiß vllt jemand wie man Playlisten mit der NewAC Komponente "WMStreamedin" öffnet? In der Hilfe steht, dass NewAC das nicht kann aber es wird, auch in der Hilfe auf, "LoggingURL" verwiesen. Wozu ist diese URL überhaupt? Irgendwie verstehe ich nicht.

Danke für die Hilfe.

Hier Originaltext:

Zitat:

Most links to Internet streamed media that you can find on Web sites point not to media itself but to wax, asx, or m3u shortcuts instead. These shortcuts contain information about the content, and, among other things, a direct link to a streaming audio server. Although it is relatively easy to parse wax, asx, and m3u shortcuts and extract required links from them, it is not TWMStreamedIn’s job. The component expects a direct link to a wma/mp3 file or a network stream to be assigned to its <Filename> property. See also the LoggingURL property.

Zitat:

Use this property to set a logging URL, if you have one. Logging URLs may be obtained from wax, asx, or m3u shortcuts.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 08.04.09 23:09 
Ich kenne die Komponente nicht, aber nach den Zitaten zu urteilen musst du da die Links aus den Playlisten direkt angeben. Also direkt der Link zu dem entsprechenden Medieninhalt, nicht eine Playliste, in der der drin steht.
AlexII Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: Mi 08.04.09 23:16 
Ja genau, das hab ich auch so verstanden, aber gibt es nicht eine Möglichkeit, die Playliste selber abzuspielen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 08.04.09 23:41 
Ich weiß nicht, ob es da was fertiges gibt, aber ich vermute ja. Ich glaube mit BASS konnte man Playlisten auch direkt abspielen, aber sicher bin ich da gerade nicht.
AlexII Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 180



BeitragVerfasst: Do 09.04.09 13:05 
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
Ich weiß nicht, ob es da was fertiges gibt, aber ich vermute ja. Ich glaube mit BASS konnte man Playlisten auch direkt abspielen, aber sicher bin ich da gerade nicht.


Ja kann man schon, aber mit bass.dll ist im allgemeinen schwer zu arbeiten, mit NewAC dagegen leicht.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Do 09.04.09 14:26 
user profile iconAlexII hat folgendes geschrieben Zum zitierten Posting springen:
Ja kann man schon, aber mit bass.dll ist im allgemeinen schwer zu arbeiten
Ja? Ist mir noch gar nicht aufgefallen bei meiner Arbeit damit. :mrgreen:

Aber BASS kann auch keine solchen Playlisten abspielen, ich habe nachgeschaut. Die musst du selbst parsen oder fertigen Code dafür finden. Da es ein normales XML-Format ist, sollte das Parsen kein Problem sein. Du musst dir die Dateien nur zuerst herunterladen (mit TIdHttp z.B.) und parsen und kannst dann den Inhalt an NewAC weitergeben.