Hauptseite | Einführung | Download | Hilfe und Support | Auszeichnungen | Kontakt

Hauptseite

Deutsches
Forum
Willkommen Gast. Bitte einloggen oder registrieren.
16. Mai 2024, 16:03:33
Übersicht Hilfe Suche Einloggen Registrieren

+  Audiograbber.de Forum
|-+  Audiograbber
| |-+  MP3 & Co (Moderatoren: Stefan, start78)
| | |-+  Playlist Format
0 Mitglieder und 1 Gast betrachten dieses Thema. « vorheriges nächstes »
Seiten: [1] Drucken
Autor Thema: Playlist Format  (Gelesen 7432 mal)
EPLANUser
Einsteiger
*
Offline Offline

Beiträge: 6



Playlist Format
« am: 18. November 2002, 16:30:45 »

Hi,

gibt es eigentlich ein definiertes Format, wie die Playlist "M3U" auszusehen hat? Spezifikation oder ähnliches? Roll Eyes
Gespeichert
Stefan
Administrator
Experte
*****
Offline Offline

Beiträge: 670


AG-Support


WWW
Re: Playlist Format
« Antworten #1 am: 19. November 2002, 23:38:33 »

Schau doch einfach mal in eine rein (mit dem Windows-Editor)! Das sind ganz normale Textdateien, wo am Anfang
"#extm3u"
steht, und dann abwechselnd
"#extinf:" , gefolgt von der Tracklänge in Sekunden, der Interpreten und dem Titel aus dem ID3-Tag und dann in einer neuen Zeile der entsprechende Trackname (irgendwas.mp3)...
Gespeichert

Stefan Vetter
www.audiograbber.de
WeinGeist
Experte
****
Offline Offline

Beiträge: 380



Re: Playlist Format
« Antworten #2 am: 20. November 2002, 00:10:40 »

Hallo

Sind gar nicht mal so schwer zu verstehen.
Hat noch nen Vorteil, du kannst du damit z.Bsp. die Pfade kinderleicht abändern, Texteditor öffnen und Suchen/Ersetzen.

Gruss Weingeist
Gespeichert
EPLANUser
Einsteiger
*
Offline Offline

Beiträge: 6



Re: Playlist Format
« Antworten #3 am: 20. November 2002, 21:02:04 »

Nee, nee, daß ist nicht das was ich wissen wollte. Ich wollte wissen, wie das komplette M3U format spezifiziert ist. Von einer anderen Page habe ich mir das besorgt:

M3U is a media queue format, also generally known to humans as a playlist. It is the default playlist save format of WinAMP and most other media programs. It allows multiple files to be queued in a program in a specific format.

The actual format is really simple, though; not complicated at all. A sample M3U list could be:

#EXTM3U
#EXTINF:111,3rd Bass - Al z A-B-Cee z
mp3/3rd Bass/3rd bass - Al z A-B-Cee z.mp3
#EXTINF:462,Apoptygma Berzerk - Kathy´s song (VNV Nation rmx)
mp3/Apoptygma Berzerk/Apoptygma Berzerk - Kathy's Song (Victoria Mix by VNV Nation).mp3
#EXTINF:394,Apoptygma Berzerk - Kathy's Song
mp3/Apoptygma Berzerk/Apoptygma Berzerk - Kathy's Song.mp3
#EXTINF:307,Apoptygma Bezerk - Starsign
mp3/Apoptygma Berzerk/Apoptygma Berzerk - Starsign.mp3
#EXTINF:282,Various_Artists - Butthole Surfers: They Came In
mp3/Butthole_Surfers-They_Came_In.mp3


The First line, "#EXTM3U" is the format descriptor, in this case M3U (or Extended M3U as it can be called). It does not change, it's always this.

The second and third operate in a pair. The second begins "#EXTINF:" which serves as the record marker. The "#EXTINF" is unchanging. After the colon is a number: this number is the length of the track in whole seconds (not minutes:seconds or anything else. Then comes a comma and the name of the tune (not the FILE NAME). A good list generator will suck this data from the ID3 tag if there is one, and if not it will take the file name with the extension chopped off.

The second line of this pair (the third line) is the actual file name of the media in question. In my example they aren't fully qualified because I run this list by typing "noatun foo.m3u" in my home directory and my music is in ~/mp3, so it just follows the paths as relative from the path of invocation.
Gespeichert
EPLANUser
Einsteiger
*
Offline Offline

Beiträge: 6



Re: Playlist Format
« Antworten #4 am: 20. November 2002, 21:04:57 »

Ich nochmal. Das hat alles damit angefangen, weil ich wissen wollte ob man auch relative Pfadnamen als Dateinamen eintragen kann. Sowas allso \\MP3\Lieder\Rock\test.mp3
Gespeichert
Stefan
Administrator
Experte
*****
Offline Offline

Beiträge: 670


AG-Support


WWW
Re: Playlist Format
« Antworten #5 am: 21. November 2002, 01:01:46 »

Zitat
The actual format is really simple, though; not complicated at all. A sample M3U list could be:

#EXTM3U
#EXTINF:111,3rd Bass - Al z A-B-Cee z
mp3/3rd Bass/3rd bass - Al z A-B-Cee z.mp3...


Das ist doch genau das, was ich geschieben habe...?? Wieso fragst du dann, wenn du alles schon weisst?
Gespeichert

Stefan Vetter
www.audiograbber.de
Stefan
Administrator
Experte
*****
Offline Offline

Beiträge: 670


AG-Support


WWW
Re: Playlist Format
« Antworten #6 am: 21. November 2002, 01:03:13 »

P.S. Du kannst auch relative Pfadnamen benutzen. Aber das hier

Zitat
\\MP3\Lieder\Rock\test.mp3
ist keine relative Angabe, sondern ein Verweis auf einen Server namens "MP3"!
Gespeichert

Stefan Vetter
www.audiograbber.de
Seiten: [1] Drucken 
« vorheriges nächstes »
Gehe zu:  


Einloggen mit Benutzername, Passwort und Sitzungslänge

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2011, Simple Machines Valid HTML 4.01! Valid CSS!
Seite erstellt in 0.31 Sekunden mit 22 Zugriffen.