Convert your Cue files to a more readable Timestamp (eg. YouTube)
| Screenshots: https://imgsli.com/MjM5ODY5
parse_cue_sheet(cue_file):
- This function takes the path to a cue sheet file as input.
- It reads the contents of the cue sheet file line by line.
- While iterating through the lines, it extracts information such as timestamps, song titles, and performers and stores them in separate lists.
- It returns three lists: timestamps, songs, and performers.
convert_to_youtube_timestamp(timestamps, songs, performers, output_file):
- This function takes the lists of timestamps, songs, and performers generated by "parse_cue_sheet", along with an output file path.
- It writes the information in a format suitable for YouTube timestamps to the specified output file.
Main part of the script:
- It prompts the user to input the path to the cue file and the desired output file.
- It calls parse_cue_sheet to extract information from the cue file.
- It then calls convert_to_youtube_timestamp to write the extracted information to the output file in a YouTube timestamp-friendly format.
- Finally, it prints "Conversion complete!" to indicate that the conversion process is finished.