Srt parsing blocks

the first try was to decrease the number of extracted list
i was trying to extract 3 lists from the SRT file text ( sentence list - time list - join both list in a third list )
and as the process depend mainly on the start time of each sentence so i extract only the start time list and that increase the number of processed data before ANR dialogue appears to 1000 line
but i found some SRT files reach 2500 line
so i use the idea of @Professional
in this topic

i use clock to process the data 50 line by 50 line and make the clock interval 100 milisecond


So now the large file with 2500 line load in about 19 second without ANR dialogue appear