WEBVTT 1 00:00:01.550 --> 00:00:03.620 so as I mentioned towards the end of the 2 00:00:03.620 --> 00:00:05.569 previous video one thing that really so as I mentioned towards the end of the 3 00:00:05.569 --> 00:00:07.490 stood out with the various flow charts previous video one thing that really 4 00:00:07.490 --> 00:00:09.380 we look at is that the new steps that we stood out with the various flow charts 5 00:00:09.380 --> 00:00:12.050 added for both artist and album are we look at is that the new steps that we 6 00:00:12.050 --> 00:00:14.480 pretty much identical and as a result added for both artist and album are 7 00:00:14.480 --> 00:00:16.490 that sounded like a good candidate for a pretty much identical and as a result 8 00:00:16.490 --> 00:00:18.409 function so what we're going to do is that sounded like a good candidate for a 9 00:00:18.409 --> 00:00:21.079 write a function to handle that and i'm function so what we're going to do is 10 00:00:21.079 --> 00:00:23.029 going to create the function called write a function to handle that and i'm 11 00:00:23.029 --> 00:00:24.439 find object and then we're going to going to create the function called 12 00:00:24.439 --> 00:00:26.569 add that before this method load data find object and then we're going to 13 00:00:26.569 --> 00:00:28.399 on line 82 so let's go ahead and do that add that before this method load data 14 00:00:28.399 --> 00:00:35.960 so def is going to be... on line 82 so let's go ahead and do that 15 00:00:35.960 --> 00:00:38.629 ... so def is going to be... 16 00:00:38.629 --> 00:01:46.250 ... ... 17 00:01:46.250 --> 00:01:49.850 that's all we have to do to to ... 18 00:01:49.850 --> 00:01:52.010 create this will now work with both the that's all we have to do to to 19 00:01:52.010 --> 00:01:54.050 artist and the album and you can probably create this will now work with both the 20 00:01:54.050 --> 00:01:55.640 see there that performs a brute-force artist and the album and you can probably 21 00:01:55.640 --> 00:01:57.500 search in that checks the name attribute see there that performs a brute-force 22 00:01:57.500 --> 00:01:59.930 for each item in turn and returning the search in that checks the name attribute 23 00:01:59.930 --> 00:02:02.180 matching items as I mentioned finds one and for each item in turn and returning the 24 00:02:02.180 --> 00:02:05.120 obviously on line 87 returns none matching items as I mentioned finds one and 25 00:02:05.120 --> 00:02:09.140 it wasn't able to find anything now there obviously on line 87 returns none 26 00:02:09.140 --> 00:02:10.940 are faster ways to search the list but it wasn't able to find anything now there 27 00:02:10.940 --> 00:02:13.190 what they generally needs that are faster ways to search the list but 28 00:02:13.190 --> 00:02:14.350 require the list to be sorted what they generally needs that 29 00:02:14.350 --> 00:02:16.450 so we can't use in here unless require the list to be sorted 30 00:02:16.450 --> 00:02:18.160 we sort of the list after each addition so we can't use in here unless 31 00:02:18.160 --> 00:02:20.560 and doing that would make the code we sort of the list after each addition 32 00:02:20.560 --> 00:02:22.900 far less efficient the code will probably and doing that would make the code 33 00:02:22.900 --> 00:02:24.820 very slow if their were huge number of far less efficient the code will probably 34 00:02:24.820 --> 00:02:27.550 artist but if there were a huge number very slow if their were huge number of 35 00:02:27.550 --> 00:02:28.870 then we probably wouldn't be trying to artist but if there were a huge number 36 00:02:28.870 --> 00:02:31.060 hold everything in memory so so one then we probably wouldn't be trying to 37 00:02:31.060 --> 00:02:32.470 approach with a huge data file would be hold everything in memory so so one 38 00:02:32.470 --> 00:02:35.080 to sort the data in the file first and approach with a huge data file would be 39 00:02:35.080 --> 00:02:36.940 then process the sorted data rather to sort the data in the file first and 40 00:02:36.940 --> 00:02:38.770 than sorting the list after each artist then process the sorted data rather 41 00:02:38.770 --> 00:02:39.550 is added than sorting the list after each artist 42 00:02:39.550 --> 00:02:41.560 ok so now we have a function to return is added 43 00:02:41.560 --> 00:02:43.720 an object if it exists in the list ok so now we have a function to return 44 00:02:43.720 --> 00:02:46.780 that's pass to it the this is the find an object if it exists in the list 45 00:02:46.780 --> 00:02:48.970 object function now we've got that we that's pass to it the this is the find 46 00:02:48.970 --> 00:02:51.370 can modify the load data function to use object function now we've got that we 47 00:02:51.370 --> 00:02:53.680 new algorithm and use find object can modify the load data function to use 48 00:02:53.680 --> 00:02:55.060 to fix the problem with the earlier new algorithm and use find object 49 00:02:55.060 --> 00:02:57.370 program let's go ahead and do that so to fix the problem with the earlier 50 00:02:57.370 --> 00:02:58.840 I'm just going to move this down on so program let's go ahead and do that so 51 00:02:58.840 --> 00:03:00.220 you can see what we're working on with I'm just going to move this down on so 52 00:03:00.220 --> 00:03:02.890 this method first change we want to make you can see what we're working on with 53 00:03:02.890 --> 00:03:05.110 is this first test here after we've got this method first change we want to make 54 00:03:05.110 --> 00:03:07.240 a new artist we're going to append that is this first test here after we've got 55 00:03:07.240 --> 00:03:09.220 at the time with the first new artist so a new artist we're going to append that 56 00:03:09.220 --> 00:03:13.090 we're going to do an artist list.... at the time with the first new artist so 57 00:03:13.090 --> 00:03:15.880 ... we're going to do an artist list.... 58 00:03:15.880 --> 00:03:17.470 ... ... 59 00:03:17.470 --> 00:03:20.140 ...so if you get down to here with the ... 60 00:03:20.140 --> 00:03:23.170 else so else if the art the new artist ...so if you get down to here with the 61 00:03:23.170 --> 00:03:25.330 name is not equal to artist field so we just else so else if the art the new artist 62 00:03:25.330 --> 00:03:27.130 read details for new artists we want to name is not equal to artist field so we just 63 00:03:27.130 --> 00:03:29.110 change this a little bit now that's read details for new artists we want to 64 00:03:29.110 --> 00:03:30.640 because we're now not storing the current change this a little bit now that's 65 00:03:30.640 --> 00:03:32.200 album in the current artist collection because because we're now not storing the current 66 00:03:32.200 --> 00:03:34.690 we're dealing with the new artist on line album in the current artist collection because 67 00:03:34.690 --> 00:03:37.030 104 so i'm going to delete this second we're dealing with the new artist on line 68 00:03:37.030 --> 00:03:39.910 line here and still going to change the 104 so i'm going to delete this second 69 00:03:39.910 --> 00:03:42.820 comment now to do be corrected what line here and still going to change the 70 00:03:42.820 --> 00:03:44.560 we're doing we're going at this point we are comment now to do be corrected what 71 00:03:44.560 --> 00:03:47.710 retrieve the artist object if there is we're doing we're going at this point we are 72 00:03:47.710 --> 00:03:50.140 one retrieve the artist object if there is 73 00:03:50.140 --> 00:03:55.720 otherwise there isn't one we're going to one 74 00:03:55.720 --> 00:03:59.830 create a new artist object and add it to otherwise there isn't one we're going to 75 00:03:59.830 --> 00:04:04.240 the artists list so at this point we can create a new artist object and add it to 76 00:04:04.240 --> 00:04:06.040 put new artists going to use that the artists list so at this point we can 77 00:04:06.040 --> 00:04:08.770 find object method that's going to be put new artists going to use that 78 00:04:08.770 --> 00:04:13.390 new artist... find object method that's going to be 79 00:04:13.390 --> 00:04:15.850 ... new artist... 80 00:04:15.850 --> 00:05:11.890 ... ... 81 00:05:11.890 --> 00:05:14.860 ok so at this point we've got the code ... 82 00:05:14.860 --> 00:05:16.810 there for that and so checking to see ok so at this point we've got the code 83 00:05:16.810 --> 00:05:19.180 whether new artists is none if it is there for that and so checking to see 84 00:05:19.180 --> 00:05:21.820 going to create a new artist field bearing in mind whether new artists is none if it is 85 00:05:21.820 --> 00:05:23.320 we are creating it based on the going to create a new artist field bearing in mind 86 00:05:23.320 --> 00:05:24.970 artists field and we're testing for new we are creating it based on the 87 00:05:24.970 --> 00:05:27.040 artists here and then we're going to artists field and we're testing for new 88 00:05:27.040 --> 00:05:30.070 append the new artist as well to the artist artists here and then we're going to 89 00:05:30.070 --> 00:05:31.479 to the artists list append the new artist as well to the artist 90 00:05:31.479 --> 00:05:33.640 otherwise if the new artist name or new artist. to the artists list 91 00:05:33.640 --> 00:05:35.800 name attribute attribute is otherwise if the new artist name or new artist. 92 00:05:35.800 --> 00:05:38.380 not equal to the record we just name attribute attribute is 93 00:05:38.380 --> 00:05:39.820 or the entry we just read from the file this not equal to the record we just 94 00:05:39.820 --> 00:05:42.880 artist field that we've got up when we are going or the entry we just read from the file this 95 00:05:42.880 --> 00:05:44.410 through the artist . text file that's artist field that we've got up when we are going 96 00:05:44.410 --> 00:05:46.330 the case you can see that we've read the through the artist . text file that's 97 00:05:46.330 --> 00:05:48.340 details for a new artist we retrieve the the case you can see that we've read the 98 00:05:48.340 --> 00:05:50.320 artist object if there is one using the details for a new artist we retrieve the 99 00:05:50.320 --> 00:05:52.419 find object function otherwise we're artist object if there is one using the 100 00:05:52.419 --> 00:05:54.160 going to create a new artist object and find object function otherwise we're 101 00:05:54.160 --> 00:05:55.660 add it to the artists list you can see me going to create a new artist object and 102 00:05:55.660 --> 00:05:56.979 doing that there's so new artist equals add it to the artists list you can see me 103 00:05:56.979 --> 00:05:58.310 find object doing that there's so new artist equals 104 00:05:58.310 --> 00:06:00.980 the artists field the artists list find object 105 00:06:00.980 --> 00:06:03.440 the two parameters and then coming the artists field the artists list 106 00:06:03.440 --> 00:06:04.880 checking to see whether that was the two parameters and then coming 107 00:06:04.880 --> 00:06:07.280 none which meant that the artist field checking to see whether that was 108 00:06:07.280 --> 00:06:09.620 wasn't found under the name attribute none which meant that the artist field 109 00:06:09.620 --> 00:06:11.420 for the in the artists list so that's wasn't found under the name attribute 110 00:06:11.420 --> 00:06:13.310 the case i'm going to create a new for the in the artists list so that's 111 00:06:13.310 --> 00:06:16.040 artist object the artist based on the the case i'm going to create a new 112 00:06:16.040 --> 00:06:18.170 artists field and we're going to do artists artist object the artist based on the 113 00:06:18.170 --> 00:06:20.630 .list . append or artists field and we're going to do artists 114 00:06:20.630 --> 00:06:22.730 artists_list.append that new .list . append or 115 00:06:22.730 --> 00:06:25.010 artists and we get down to here artists_list.append that new 116 00:06:25.010 --> 00:06:26.510 setting new album to none that was artists and we get down to here 117 00:06:26.510 --> 00:06:27.800 similar to this code here which I can setting new album to none that was 118 00:06:27.800 --> 00:06:32.360 now take out this duplication so similar to this code here which I can 119 00:06:32.360 --> 00:06:35.960 move this up so moving down now take out this duplication so 120 00:06:35.960 --> 00:06:37.490 there we're going to be move this up so moving down 121 00:06:37.490 --> 00:06:40.070 processing the new album so there we're going to be 122 00:06:40.070 --> 00:06:42.140 if new album is none the new album processing the new album so 123 00:06:42.140 --> 00:06:43.610 equals album we're creating that new if new album is none the new album 124 00:06:43.610 --> 00:06:44.960 albums and that doesn't need to change equals album we're creating that new 125 00:06:44.960 --> 00:06:46.910 at all but the other thing or the one albums and that doesn't need to change 126 00:06:46.910 --> 00:06:48.200 thing we do want to do is you want to at all but the other thing or the one 127 00:06:48.200 --> 00:06:50.750 work at the point of creating a new thing we do want to do is you want to 128 00:06:50.750 --> 00:06:52.880 album we're going to be adding it to the work at the point of creating a new 129 00:06:52.880 --> 00:06:54.110 list so... album we're going to be adding it to the 130 00:06:54.110 --> 00:06:58.550 .... list so... 131 00:06:58.550 --> 00:07:00.140 ...so we're having it at the point .... 132 00:07:00.140 --> 00:07:02.330 that we've created that but otherwise ...so we're having it at the point 133 00:07:02.330 --> 00:07:04.670 if the new album . name is not equal to that we've created that but otherwise 134 00:07:04.670 --> 00:07:07.520 the album field then we just read the if the new album . name is not equal to 135 00:07:07.520 --> 00:07:10.460 new album for the current the album field then we just read the 136 00:07:10.460 --> 00:07:12.050 but again we need new album for the current 137 00:07:12.050 --> 00:07:13.820 to change because now we're not storing but again we need 138 00:07:13.820 --> 00:07:15.170 the album at this point we're doing to change because now we're not storing 139 00:07:15.170 --> 00:07:16.880 something styles are different here now the album at this point we're doing 140 00:07:16.880 --> 00:07:18.590 based on the algorithms we talked about something styles are different here now 141 00:07:18.590 --> 00:07:20.810 in the previous video we're going to based on the algorithms we talked about 142 00:07:20.810 --> 00:07:22.460 retrieve the album object there is one in the previous video we're going to 143 00:07:22.460 --> 00:07:31.040 ... retrieve the album object there is one 144 00:07:31.040 --> 00:07:32.570 otherwise we are going to create the new ... 145 00:07:32.570 --> 00:07:34.550 album object and stored in the artists otherwise we are going to create the new 146 00:07:34.550 --> 00:07:38.000 collection album object and stored in the artists 147 00:07:38.000 --> 00:07:46.220 ...ok so that's what we're gonna be doing collection 148 00:07:46.220 --> 00:07:49.070 so to do that we need to add that find ...ok so that's what we're gonna be doing 149 00:07:49.070 --> 00:07:51.920 object call... so to do that we need to add that find 150 00:07:51.920 --> 00:07:53.900 ... object call... 151 00:07:53.900 --> 00:08:12.830 ... ... 152 00:08:12.830 --> 00:08:14.510 in other words if we found that this new ... 153 00:08:14.510 --> 00:08:16.669 album didn't exist in the name attribute in other words if we found that this new 154 00:08:16.669 --> 00:08:18.410 for any entry in our list that was album didn't exist in the name attribute 155 00:08:18.410 --> 00:08:21.380 passed then we're going to create the for any entry in our list that was 156 00:08:21.380 --> 00:08:27.290 object so... passed then we're going to create the 157 00:08:27.290 --> 00:08:31.130 ... object so... 158 00:08:31.130 --> 00:08:37.460 ... ... 159 00:08:37.460 --> 00:08:38.930 and we're passing the parameters to make ... 160 00:08:38.930 --> 00:08:41.780 a valid album basically swaps so that new and we're passing the parameters to make 161 00:08:41.780 --> 00:08:43.789 album is created before calling at album a valid album basically swaps so that new 162 00:08:43.789 --> 00:08:45.620 which wasn't the case in the previous album is created before calling at album 163 00:08:45.620 --> 00:08:48.260 code again is very similar to how we which wasn't the case in the previous 164 00:08:48.260 --> 00:08:49.670 process the new artists but we're code again is very similar to how we 165 00:08:49.670 --> 00:08:51.170 obviously dealing with albums at this process the new artists but we're 166 00:08:51.170 --> 00:08:53.210 point and we still want to keep down obviously dealing with albums at this 167 00:08:53.210 --> 00:08:56.660 here that code valid point and we still want to keep down 168 00:08:56.660 --> 00:08:58.970 because you want to create a new song object here that code valid 169 00:08:58.970 --> 00:09:00.530 at that point that's going to be new because you want to create a new song object 170 00:09:00.530 --> 00:09:02.720 song is still equal to song the song field and new at that point that's going to be new 171 00:09:02.720 --> 00:09:05.060 artist that still correct then likewise song is still equal to song the song field and new 172 00:09:05.060 --> 00:09:07.730 for the album new album add song new artist that still correct then likewise 173 00:09:07.730 --> 00:09:09.110 song that's going to be correct as well for the album new album add song new 174 00:09:09.110 --> 00:09:11.839 now that we've done that if we just moved song that's going to be correct as well 175 00:09:11.839 --> 00:09:14.630 and look at this last bit of code we now that we've done that if we just moved 176 00:09:14.630 --> 00:09:16.550 don't need that processes code anymore and look at this last bit of code we 177 00:09:16.550 --> 00:09:18.440 because with the code with built-in now don't need that processes code anymore 178 00:09:18.440 --> 00:09:21.170 handles those last lines of codes for because with the code with built-in now 179 00:09:21.170 --> 00:09:22.610 the last entries that before we had to handles those last lines of codes for 180 00:09:22.610 --> 00:09:24.020 do a separate check so we can delete the last entries that before we had to 181 00:09:24.020 --> 00:09:27.890 that and just returned at that point so do a separate check so we can delete 182 00:09:27.890 --> 00:09:29.660 these few changes that we made change that and just returned at that point so 183 00:09:29.660 --> 00:09:31.190 the program to use the second algorithm these few changes that we made change 184 00:09:31.190 --> 00:09:33.410 that we discussed and add new object the program to use the second algorithm 185 00:09:33.410 --> 00:09:34.490 to the list we doing that before that we discussed and add new object 186 00:09:34.490 --> 00:09:36.470 populating them with their albums or to the list we doing that before 187 00:09:36.470 --> 00:09:39.410 souls so we should be good to go that's populating them with their albums or 188 00:09:39.410 --> 00:09:42.890 our revised algorithm there now our load souls so we should be good to go that's 189 00:09:42.890 --> 00:09:46.640 data method or function should say so our revised algorithm there now our load 190 00:09:46.640 --> 00:09:48.170 what we're doing now is we're going over here data method or function should say so 191 00:09:48.170 --> 00:09:49.550 we're going to delete check folder.txt what we're doing now is we're going over here 192 00:09:49.550 --> 00:09:51.260 because we're going to we're going to delete check folder.txt 193 00:09:51.260 --> 00:09:54.530 go through and create again we just want because we're going to 194 00:09:54.530 --> 00:09:55.970 to make sure that it is actually go through and create again we just want 195 00:09:55.970 --> 00:09:58.040 working so i'm just going to select and to make sure that it is actually 196 00:09:58.040 --> 00:10:01.250 select delete delete working so i'm just going to select and 197 00:10:01.250 --> 00:10:03.050 and obviously that's giving us a reminder select delete delete 198 00:10:03.050 --> 00:10:04.310 that by the way your using that and obviously that's giving us a reminder 199 00:10:04.310 --> 00:10:06.530 its found a reference to check file.txt that by the way your using that 200 00:10:06.530 --> 00:10:07.910 but of course we're creating that we're its found a reference to check file.txt 201 00:10:07.910 --> 00:10:09.950 aware of that and we can ignore that but of course we're creating that we're 202 00:10:09.950 --> 00:10:10.970 because you can see up here it does say aware of that and we can ignore that 203 00:10:10.970 --> 00:10:12.680 these occurrences won't be changed which because you can see up here it does say 204 00:10:12.680 --> 00:10:14.240 you would expect in this case so do these occurrences won't be changed which 205 00:10:14.240 --> 00:10:16.040 refactor which is really just a you would expect in this case so do 206 00:10:16.040 --> 00:10:18.650 deletion so now if we run this is just refactor which is really just a 207 00:10:18.650 --> 00:10:22.910 do that again we'll run it and let's now deletion so now if we run this is just 208 00:10:22.910 --> 00:10:24.500 compare the two files against so going to do that again we'll run it and let's now 209 00:10:24.500 --> 00:10:30.770 select got an error here by the looks of compare the two files against so going to 210 00:10:30.770 --> 00:10:34.580 it so probably a typo I made let's just go select got an error here by the looks of 211 00:10:34.580 --> 00:10:35.990 back and have a look at that that's it so probably a typo I made let's just go 212 00:10:35.990 --> 00:10:38.600 referring to that code of here and back and have a look at that that's 213 00:10:38.600 --> 00:10:41.270 looking at that objects got has no attribute referring to that code of here and 214 00:10:41.270 --> 00:10:43.340 albums think i made a typo their so that's looking at that objects got has no attribute 215 00:10:43.340 --> 00:10:48.110 on line 122 let's look at that and albums think i made a typo their so that's 216 00:10:48.110 --> 00:10:51.380 defining objects album field and i put new on line 122 let's look at that and 217 00:10:51.380 --> 00:10:53.720 album albums and of course it should be new defining objects album field and i put new 218 00:10:53.720 --> 00:10:58.220 artist . albums and I album albums and of course it should be new 219 00:10:58.220 --> 00:10:59.990 think the rest is now correct artist . albums and I 220 00:10:59.990 --> 00:11:01.880 ok so i think that's now correct let's think the rest is now correct 221 00:11:01.880 --> 00:11:03.470 just try running again which would hope ok so i think that's now correct let's 222 00:11:03.470 --> 00:11:05.000 not get an error this time just try running again which would hope 223 00:11:05.000 --> 00:11:07.310 ok that was better also notice that not get an error this time 224 00:11:07.310 --> 00:11:10.250 check file. txt showed up which is ok that was better also notice that 225 00:11:10.250 --> 00:11:12.110 almost a good sign that it's working check file. txt showed up which is 226 00:11:12.110 --> 00:11:14.420 so let's now do what I wanted to do almost a good sign that it's working 227 00:11:14.420 --> 00:11:16.820 previously is select both those files and so let's now do what I wanted to do 228 00:11:16.820 --> 00:11:17.750 compare them previously is select both those files and 229 00:11:17.750 --> 00:11:20.060 so selecting both of them to the compare them 230 00:11:20.060 --> 00:11:22.760 view and compare files i'll just go back so selecting both of them to the 231 00:11:22.760 --> 00:11:26.600 and open that comparison and we can see view and compare files i'll just go back 232 00:11:26.600 --> 00:11:28.430 now there aren't any differences to the file and open that comparison and we can see 233 00:11:28.430 --> 00:11:30.890 and that is actually good news so now there aren't any differences to the file 234 00:11:30.890 --> 00:11:33.320 note that only a single artist has been and that is actually good news so 235 00:11:33.320 --> 00:11:35.300 created for ZZ type it's albums get note that only a single artist has been 236 00:11:35.300 --> 00:11:37.610 printed out altogether but because the created for ZZ type it's albums get 237 00:11:37.610 --> 00:11:39.770 list is not sorted they appear in the order printed out altogether but because the 238 00:11:39.770 --> 00:11:42.230 that the artist was added and of course list is not sorted they appear in the order 239 00:11:42.230 --> 00:11:44.960 ZZTop was added just after Aerosmith and that the artist was added and of course 240 00:11:44.960 --> 00:11:46.700 also all the aerosmith albums are ZZTop was added just after Aerosmith and 241 00:11:46.700 --> 00:11:48.470 printed together which is a sign that also all the aerosmith albums are 242 00:11:48.470 --> 00:11:50.660 there's only one aerosmith within the printed together which is a sign that 243 00:11:50.660 --> 00:11:52.970 artists so if i scroll to the end of the there's only one aerosmith within the 244 00:11:52.970 --> 00:11:56.390 file just got to check down here now i'm artists so if i scroll to the end of the 245 00:11:56.390 --> 00:11:57.500 scrolling down the left side of the file just got to check down here now i'm 246 00:11:57.500 --> 00:12:02.180 window notice some more ZZTop scrolling down the left side of the 247 00:12:02.180 --> 00:12:04.190 albums here to the left hand side so window notice some more ZZTop 248 00:12:04.190 --> 00:12:04.819 that's good albums here to the left hand side so 249 00:12:04.819 --> 00:12:07.160 on and when you are scrolling make sure that's good 250 00:12:07.160 --> 00:12:13.069 you use the scroll bar on this side sort on and when you are scrolling make sure 251 00:12:13.069 --> 00:12:20.989 of move up because if you come over here you use the scroll bar on this side sort 252 00:12:20.989 --> 00:12:22.369 and use the scroll bar you get a of move up because if you come over here 253 00:12:22.369 --> 00:12:23.600 different result because we're scrolling and use the scroll bar you get a 254 00:12:23.600 --> 00:12:27.229 now the check file.txt different result because we're scrolling 255 00:12:27.229 --> 00:12:29.299 instead of our original albums . txt now the check file.txt 256 00:12:29.299 --> 00:12:31.729 the bottom line now is there now a instead of our original albums . txt 257 00:12:31.729 --> 00:12:33.649 problem which we expected because we the bottom line now is there now a 258 00:12:33.649 --> 00:12:35.149 did change the order of those files problem which we expected because we 259 00:12:35.149 --> 00:12:37.939 ourselves so again just a note here you did change the order of those files 260 00:12:37.939 --> 00:12:39.439 can't scroll down either side of the ourselves so again just a note here you 261 00:12:39.439 --> 00:12:41.449 comparison display further down the end can't scroll down either side of the 262 00:12:41.449 --> 00:12:42.799 of the file so make sure that when comparison display further down the end 263 00:12:42.799 --> 00:12:45.229 you're scrolling you scroll bar for albums of the file so make sure that when 264 00:12:45.229 --> 00:12:47.629 . txt rather than check file. txt to you're scrolling you scroll bar for albums 265 00:12:47.629 --> 00:12:49.879 get the end of it just looking down to . txt rather than check file. txt to 266 00:12:49.879 --> 00:12:56.089 the bottom we can see that theirs line get the end of it just looking down to 267 00:12:56.089 --> 00:12:58.279 684 and we can see we've got that for the bottom we can see that theirs line 268 00:12:58.279 --> 00:13:01.369 both our albums . txt and check file. 684 and we can see we've got that for 269 00:13:01.369 --> 00:13:04.609 txt and just going back to our output both our albums . txt and check file. 270 00:13:04.609 --> 00:13:06.649 looking this down the bottom it now correctly txt and just going back to our output 271 00:13:06.649 --> 00:13:09.589 says 28 artists and the good thing was looking this down the bottom it now correctly 272 00:13:09.589 --> 00:13:11.600 that the ZZ top albums and songs will says 28 artists and the good thing was 273 00:13:11.600 --> 00:13:13.429 match now match even though they're not that the ZZ top albums and songs will 274 00:13:13.429 --> 00:13:15.679 in the same position in each file so it match now match even though they're not 275 00:13:15.679 --> 00:13:17.479 looks as I we've got this working in the same position in each file so it 276 00:13:17.479 --> 00:13:20.179 correctly which is fantastic and again looks as I we've got this working 277 00:13:20.179 --> 00:13:27.710 just to note we go back and have a look correctly which is fantastic and again 278 00:13:27.710 --> 00:13:30.830 this collection here just to note we go back and have a look 279 00:13:30.830 --> 00:13:33.650 ZZTop antenna that was the part that this collection here 280 00:13:33.650 --> 00:13:35.810 outside of order come back ZZTop antenna that was the part that 281 00:13:35.810 --> 00:13:41.150 here we've got the ZZ Top outside of order come back 282 00:13:41.150 --> 00:13:42.620 we've got those but we've still got the here we've got the ZZ Top 283 00:13:42.620 --> 00:13:47.600 other ZZ top albums and information down we've got those but we've still got the 284 00:13:47.600 --> 00:13:49.040 the bottom of the file as well so that is other ZZ top albums and information down 285 00:13:49.040 --> 00:13:50.570 good it those look like things are working the bottom of the file as well so that is 286 00:13:50.570 --> 00:13:52.670 fine now I'm going to finish the video good it those look like things are working 287 00:13:52.670 --> 00:13:54.470 out here now in the next video we've got fine now I'm going to finish the video 288 00:13:54.470 --> 00:13:56.810 a mini challenge for you so let's work out here now in the next video we've got 289 00:13:56.810 --> 00:14:02.950 on that in the next video a mini challenge for you so let's work