improve m3u format

This commit is contained in:
Xoconoch
2025-08-03 14:39:00 -06:00
parent 664af99720
commit c3ea528f17
4 changed files with 100 additions and 14 deletions

View File

@@ -1223,7 +1223,7 @@ class DW_PLAYLIST:
if current_track_object:
tracks.append(current_track_object)
if current_track_object.success and hasattr(current_track_object, 'song_path') and current_track_object.song_path:
append_track_to_m3u(m3u_path, current_track_object.song_path)
append_track_to_m3u(m3u_path, current_track_object)
if self.__make_zip:
zip_name = f"{self.__output_dir}/{playlist_obj.title} [playlist {self.__ids}]"