xspf_lib.Playlist.parse¶
- classmethod Playlist.parse(filename: Union[str, bytes, int]) Playlist¶
Parse XSPF file into
xspf_lib.Playlistentity.- Returns:
ready and packed playlist
- Return type:
>>> import xspf_lib >>> playlist = xspf_lib.parse("./playlist_file.xspf")