11# TODO:
22# Clean up code, remove redundancy
3- VERSION = "4.7.3 "
3+ VERSION = "4.7.5 "
44import semver
55import urllib .parse
66import webbrowser
@@ -4176,13 +4176,15 @@ class MacAttack(QMainWindow):
41764176
41774177 result_message += f"{ 'Exp date:' :<10} { expiry } \n { 'Channels:' :<10} { count } \n "
41784178
4179-
4179+ file_message = result_message
41804180 if include_genres and titles_str :
41814181 result_message += f"{ 'Playlist:' :<10} { titles_grid } \n "
4182+ file_message += f"{ 'Playlist:' :<10} { orig_genres } \n "
41824183
41834184
41844185 if include_vod and vod_str :
41854186 result_message += f"{ 'VOD list:' :<10} { vods_grid } \n "
4187+ file_message += f"{ 'VOD list:' :<10} { orig_vods } \n "
41864188
41874189
41884190
@@ -4200,13 +4202,13 @@ class MacAttack(QMainWindow):
42004202 )
42014203
42024204 # Replace the grid with the list for the file
4203- if include_genres and titles_str and titles_grid :
4204- result_message = result_message .replace (titles_grid , orig_genres )
4205- logging .debug ("Replacing playlist grid with list for file" )
4206- if include_vod and vod_str and vods_grid :
4207- result_message = result_message .replace (vods_grid , orig_vods )
4208- logging .debug ("Replacing vod grid with list for file" )
4209- self .output_file .write (result_message + "\n " )
4205+ # if include_genres and titles_str and titles_grid:
4206+ # result_message = result_message.replace(titles_grid, orig_genres)
4207+ # logging.debug("Replacing playlist grid with list for file")
4208+ # if include_vod and vod_str and vods_grid:
4209+ # result_message = result_message.replace(vods_grid, orig_vods)
4210+ # logging.debug("Replacing vod grid with list for file")
4211+ self .output_file .write (file_message + "\n " )
42104212 self .output_file .flush ()
42114213
42124214 if self .successsound_checkbox .isChecked ():
0 commit comments