![]() sanitize ( pl ) with open ( 'my-fixed-playlist.m3u', 'w', encoding = 'utf-8' ) as out_file : content = fixed_pl. loadl ( fixed_content ) fixed_pl = M3UPlaylistDoctor. It can be used as follows: from ipytv.doctor import M3UDoctor, M3UPlaylistDoctor from ipytv import playlist with open ( 'my-broken-playlist.m3u', encoding = 'utf-8' ) as in_file : content = in_file. In charge of applying all different fixes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |