import { makeIDGen } from "./util";
const playlistIndexGen = makeIDGen(0);
export abstract class Playlist {
constructor(public index = playlistIndexGen.next().value) {}
abstract toXML(): string;
}
export class AudioPlaylist extends Playlist {
toXML() {
return /* HTML */ `
1
`;
}
}
export class VideoPlaylist extends Playlist {
toXML() {
return /* HTML */ ` `;
}
}