Hey Hey alle
ich wollte mal gerne Wissen :
Ist es eigentlich möglich in autoit eine .pls datei zu öffnen und auch abzuspielen ?
(.pls dateien sind von einem Online Radio)
Wenn jm was weiß bitte melden .
Ich komm da iwi nich weiter
Ps: Ich hab Google bzw die SuFu benutzt !
.pls Sound Datei in Autoit öffnen
-
- [ offen ]
-
schlecker19 -
2. Juni 2010 um 22:23 -
Geschlossen -
Erledigt
-
-
Es gibt nicht direkt einen Befehl dafür, aber du kannst mit FileRead eine .pls Datei auslesen und weiterverarbeiten.
Die Adressen der Online Streams stehen in reiner Textform in der .pls Datei ;). -
erstell doch eine udf! und poste sie dann im forurm ;D
Das brauchen bestimmt mehrere Personen hier.
-
Pack hier mal ne .pls datei rein dann arbeite ich mal an einer udf
Edit: gefunden
-
So hier die Datei
-
- Offizieller Beitrag
Bei dem Format kann man zum auslesen IniRead benutzen:
Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit]
#include <Array.au3>
$sInifile = @ScriptDir & '\listen-dsl.pls'$iCount = IniRead($sInifile, 'playlist', 'NumberOfEntries', 0)
[/autoit]
If $iCount = 0 Then Exit
Dim $aFiles[$iCount][3]
For $i = 1 To $iCount
$aFiles[$i-1][0] = IniRead($sInifile, 'playlist', 'File' & $i, '')
$aFiles[$i-1][1] = IniRead($sInifile, 'playlist', 'Title' & $i, '')
$aFiles[$i-1][2] = IniRead($sInifile, 'playlist', 'Length' & $i, '')
Next
_ArrayDisplay($aFiles) -
Oscar hats erfasst^^ Ne UDF brauch man dafür nicht oder? Soll ich eine machen? Wenn nicht kopier dir das da oben von oscar und mach ne func draus und pack die in include ordner (für die ganz faulen :D)
-
So jetzt frag ich mal genz dooof wie mach ich dann weiter um das abzuspielen
-
Du kannst für normale Musikdateien SoundPlay verwenden. Für Online Streams brauchst du wahrscheinlich die BASS.au3.
-
oO Ich bin noch ein ganz ganz kleiner noobi
Ich versteh schon einiges aber das
Ist die Bass.dll = Bass.au3 oder was? oder wo ist die und wo downloade ich sie?Währe schön wenn mir jm ein Code zs scripten kann wo der auch meine .pls datei öffnet damit ich was lernen kann.
-
Die findest du hier .
-
Ich find da nix gutes...
-
Zitat
Ich find da nix gutes...
Das zweite Ergebnis... -
Geht das auch ohne die Bass.au3? Die funktionert nämlich bei mir nicht.