coding_0.wav|So, um, what's up, I think, I guess this is for Wilson. Um, I created a new blank template, uh, to see if we can optimize on, uh, some of the things that, um, we're not so good in the previous, um, in the previous, uh, iteration. So like we started out with a V0, let's see if we can do something better. There'll be a lot of copying and pasting, but, uh, for the most part, I think, um,|1 coding_1.wav|Um, but for some parts, I guess we are like changing it from scratch. Uh, so let's see how it goes. So I have some code here, uh, on this other monitor that I think, uh, like if it's not so good, we'll change it. Otherwise we'll just copy and paste it. So let me see. So it starts out as this. This is localhost. And this is the blank template that I have.|1 coding_2.wav|And now, let's see how we can improve it. So first of all, let's just change the main page first. So in here, the main page was also a bit of a live coding session, I guess. So this is going to be fun, I guess. At first, your page seems to be something like this. So you're going to get the super base client, and then you get the authenticated user. And then you just return this.|1 coding_3.wav|So I'm just going to grab this and paste it here. Let me see. And then you have like the off buttons and everything. Let me see where this off button is from. This off button creates blah, blah, blah, blah. Okay. So let's see this off button. So the whole idea is you want to have those, right? So in here, in our nav bar, so we take care of that in our nav bar.|1 coding_4.wav|So let's say we comment this out first. Then we have this header. What is header? We'll grab header from here. And then in components, we'll call that header JSX. So this is nice. We need these, maybe not. So we import the header and we import the next link. And okay, this should run. Okay, so we have this lyric learn thing, but also this feels like it should be a head, it should be a nav bar, right?|1 coding_5.wav|I'm going to replace the current nav bar with this one. Nav bar is here. But I do want this thing, because we're using clerk now. Let's see how this goes. I'm going to go ahead and sign in. Let me just do a center. Justify between. Justify center here is gone. And then maybe set the width five, six, make it this. And then this will look something like this.|1 coding_6.wav|And this two thirds looks nicer. Okay. Um, so maybe five seconds is fine. Okay. So this is fine. And then, uh, sign in now is very simple. We're using click to do it. So we don't have to actually do our own sign in stuff. So I can just do this. Uh, please log in. Um, and now, um, I'm going to add some stuff to handle that sign in. So, um,|1 coding_7.wav|now we don't need this but let's say we were logged in what would be the behavior so let's see i'm doing this as well and let's look at localhost 3001 so this is your version so if i'm logged out or if i'm logged in i'm going to do that If I'm logged out, this goes to login. And then this goes to slash protected. So slash protected is the one that has this lyric learn thing.|1 coding_8.wav|So I'm going to look at your code, go to slash protected, and this is the one I actually want. So I'm just going to remove all this. Also before that, I want to grab this footer here, and I'm going to paste it over here. And then let us change this to the link tag. Then these should belong to this guy. And I don't think you need these. Now I can grab this. Grab this and paste it here.|1 coding_9.wav|We don't need this nav part anymore. We don't need this one. We don't need, yeah. So this should be it. I think we wouldn't need this either. Neither would we need this one. So we just return this and we don't need this header here. So let's see what our homepage looks like. So yeah, welcome to Lyric Learn. And we don't want to show this if they're not logged in, right?|1 coding_10.wav|So we'll deal with that in a second. But in here, this would be Justify Center. And this looks much better. And the footer, actually, you were right to add these things. Then I'll just change this. Nice, nice. Wilson Lim Setiawan. Beautiful. OK. Now, these are not implemented yet. But also, redirect to slash. Yeah, this looks right. Let's move this up. Let me open them first.|1 coding_11.wav|over here we'll just go to page and we're not signed in so we signed in and we come here if we sign up we're back here okay so the logic is uh very simple right very very simple just like this um so you don't have to do all this like create client and everything um okay so this so we're done with protected Oh yeah, somehow you're doing it twice, bro. So in here, you're doing it once.|1 coding_12.wav|uh now we also don't need this i believe but well like we can leave it to later so yeah we don't need we don't need login anymore so this uh super complicated login stuff um clerk is doing for us we're deleting login we're deleting i guess forgot password like What happens if you forget your password? Yeah. So clerk has a forgot password as well. So we can get rid of this as well.|1 coding_13.wav|And I think for reset password, there is a reset password as well. And yeah. So straight to my inbox. Right. Very nice. Um, so where were we? Oh yeah, here. So we're not actually going to reset the password. So we'll just go back. So we'll just sign in as per usual. So that works. So that means your reset password page also gone. Protected, yeah, we don't need that anymore.|1 coding_14.wav|So we got rid of those. Um, I believe we don't need this either. Yeah. We don't need the entire auth folder. Um, and we don't need the signup page. Um, also I have to sign in and sign up page. They're very simple. It's just this and this. So imagine like how much code we cleaned. So very beautiful. Uh, click does a lot of things for us. Very, very nice.|1 coding_15.wav|Um, okay. Now, what else? This, I've also, this is something I implemented. It's done. Encoded redirect. Yeah, this is for auth. I don't need that either. Middleware, I have one already. It's actually super easy. It's just like this. So much simpler than yours. So you had those middleware, right? And the reason why I'm deleting all these middleware for free is because your middleware is basically just doing auth.|1 coding_16.wav|yes yeah we don't need this off button google sign in button maybe we'll need for later header i've already taken next logo songs page base logo okay um this one i've also done already so i can just delete this just leave this oh but i i guess now we won't be able to look at yours um Yeah, well, I did not think about that. But I guess now the only way to move is forward.|1 coding_17.wav|I actually did not know about this, this default URL metadata base. OK, pretty cool. I'm going to copy this part over here. Very nice. Although, we don't have any icons. So description, and I'll add an icon for now. So this is nice. I guess we can make it like this. This is gone. This is gone. So yeah, at this point, I don't think our app can run anymore.|1 coding_18.wav|So we're killing it. Slug. So yeah, so what are we supposed to do now? When we go to songs page, this should take us to slash songs. So let's deal with that first. Let's grab this one. Let's see what you're doing here. So songs page is a use client. I know can't click. Well, I think I can just get all of this actually. So now I can close my layout, I can close my page and my nav bar, and we go to song slash page.psx.|1 coding_19.wav|We'll paste everything in. And I'm going to need this one. So I believe for that, I'll need to do a shed-cn. So we'll do shed, add input. And it's done. Our UI input. But why is it in components slash forms? Did you use a form? So let's share that form maybe? So let's see. Now I have in my UI, I have a form, I have an input. I wonder what all these are.|1 coding_20.wav|Okay, wait, let me see. Let me see yours. Where did you get this form thing? Yeah, how did you get all this is my question. But no worries. In that case, we'll just... Can I do shed remove? Let's see, shed-cn. How do you remove something? Shed-cn-cli. Yeah, remove, right? I have to pause because the boss is calling. Okay, so back here, I want to...|1 coding_21.wav|So this page works now, but the styling's a little bit off, and there's no functionality, right? So for the styling, in here, in the Tailwind config, I actually specified, where was it, a color here called Spotify Green. So I'm just going to grab this and put it in my own Tailwind config. Spotify green, such that I can do Spotify green, this one, background Spotify green.|1 coding_22.wav|So this, this should work now. Um, but more importantly, we need to import these actions, right? So, um, so I'm going to, Let me see. So I'm going to grab those actions, insert song as one, and actually let's do a Spotify one first. So Spotify is here. So inside source, I'll put a actions.spotify.ps. And I need to remember to install this.|1 coding_23.wav|So I'll do add this. And I'll do that again. And let me see. Well, let's just do a simple fix for now. No number, right? Wait, what is this? Track, there's a track. Oh yeah, track dot. artist0.name. OK. And then this should give us the URL. So why is it, what is the issue here? Let's do an empty string. The empty string, okay. And now, Spotify track.|1 coding_24.wav|We export the type as well. So this is fine. Action slash Spotify. Yeah, let me see where this comes from. Search tracks and Spotify track. I can remove this. and this is done now does this do any db stuff this does right so so the database stuff the database stuff we need to um yeah actually let's let's let's do the db stuff now um so Before we add this functionality to insert, let's do a little bit of SQL.|1 coding_25.wav|So we have a schema and we really don't need this post table, but we'll use it as reference. So we'll have something called songs and let's see first what it looks like on super base. So if we go to dashboard, And then where was it? Table editor. And songs, we have a song ID, a user ID, title, artist, lyrics, translated. OK. So I'm going to put this to the side.|1 coding_26.wav|And I'm going to say songs equals gtable with key songs. So the name of the table is songs, and then it has an ID, which is serial in your case. I'm Ritchie, not now. So that's the ID. It also has a user ID, which is, I guess, it's a text. Or is there a UUID type? It's a UUID. User ID. I guess, actually, let's not do user ID.|1 coding_27.wav|Let's just do text. So user ID. This is also not null. And then you have a title. So this is the title. And then you have an artist. Now for this, let's just assume that there's only one artist. uh no so for everything that's not null you have to specify not null because by default it's optional and there's the lyrics which is lyrics no and then there's uh let me think|1 coding_28.wav|And there's like the, I guess we can call this full lyrics. So this is full lyrics. And then we have the chunked lyrics. And this is not text, but this is a text library. Forgot what it was in Drizzle. It's definitely on this. Let me pause this first. All right, so in here, we do shunt. And we can specify an array here, which is not null. And let me see. So this is what I'm seeing right now.|1 coding_29.wav|Drizzle docs has an AI that runs reg. So I can just do this. Postgres, the default is this. So I'm just going to leave this here. And Non-default listing, right? Perfect. What else? So a song has chunked lyrics, and it also has chunk translations, which is next. Chunk translations. not array, not node null, but default to this as well, right? Now, let me think.|1 coding_30.wav|I guess in the future, these lyrics should be their own table. Or should we do it now? No, I guess this is fine for now, say, unless. Yeah, this is fine for now. This is your intro to SQL. So this is really fine. So lastly, for performance, we have an index. So we do an ID index, index, song index on song.ld. So honestly, I don't really know what this does, but it just improves the query performance.|1 coding_31.wav|So now we have the songs here. So now this is something that appears in our code itself. It's not something that I have to go to Superbase to look at the code, to look at the table, and then see what it looks like. So this now tells me exactly what my data should look like. So this is perfect for us. So we have a schema now. And then for insert song, Let me see. It was over here, right?|1 coding_32.wav|So let's start with this actions and let's call this song TS. So this, this file has everything to do with the songs. So I'm just going to delete this and there's no more super base. There's no more this. So now Now we need to pass in the user ID here. So user ID. User ID is a string. And then, yeah, so we don't need this. No auth error, no user error.|1 coding_33.wav|It takes in, well, songs takes in ID, user ID, title, artist, blah, blah, blah, blah, right? And for all the things that, well, this is serial, but all of these which are not null, you have to actually put it in. And for these chunk lyrics and chunk translations, because they have a default value, you don't have to put them in if you don't want to. So let's start with that user ID is user ID.|1 coding_34.wav|By the way, this syntax and this syntax is exactly the same. Okay, so insert user ID, title, artist, and full lyrics. equals lyrics. So in here, I also want to add title, artist, lyrics. And in here, I'll need to add the corresponding ones. Title as a string, artist as a string, and lyrics as a string. So await insert this, and And that is basically it.|1 coding_35.wav|So you don't need all this as well. In fact, usually we also don't wrap it around a try. Oops. So we just await this very clean, right? So insert songs just does this. However, if there's an error, you do have to catch it. Um, so and let's not call this insert song let's call this store song so it's get and store so remove this store song and now we need the user id right um|1 coding_36.wav|And so the reason why we prefer this is for the type safety and for like, so you can do like, like artists, artists, stuff like that. So artists, track, and then what was the other one? There was the lyrics as well, right? and yeah so yeah i guess this this lyrics is optional um this is optional because Um, over here, we don't have the lyrics yet, right? So we just want to store the song, but now we also need the user ID.|1 coding_37.wav|So, uh, let me think. Let me see how I can get the user ID here. So, um, used, um, Oh, no, sorry. That's loaded. Oh, I guess all we want is the user ID. So user ID equals YouTube bot, which is from clerk. And so we do user ID over here. String no undefined. So user ID. Again, we do, We do redirect to sign in.|1 coding_38.wav|And so user ID is there, blah, blah, blah. Try. This was title. Actually, let's do it the Spotify way. Let's call this track instead of title. So we'll do this. We'll replace all title with track. So we'll have track here. Redirect to sign in. So yeah, we store the song like this. So Yeah. So now, um, I'm just, I'm going to start the database.|1 coding_39.wav|then yarn so to actually apply so the schema now lives in code but it's not in the database yet so we need to first because we're using postgres we need to first generate a migration file that looks something like this This is the migration file, create table, blah, blah, blah. So this is like basic SQL, right? And then what we want to do is we want to migrate, which is apply the SQL file onto our database.|1 coding_40.wav|So we can do yarn db studio to check if we already see like the changes that I made. Where is it? So we should see a new table called songs. Perfect. So let's kill this first. And now we should be able to, let me just do this. If we do jchill. Oh, what's the error? Oh, do I not have the environment variables yet? Is that it? Okay, so I need to copy the environment variables from here.|1 coding_41.wav|I just need these. My.env, these are the Spotify stuff. This is AI. And so, let's reload it. If I refresh this and search for J2 again. Invalid source probe. Ah, there's this thing that I fixed. Hang on. Hi babe. Give me a second. So. Oh, that's Pinko, right? Oh, that's Louie! Hello! Hi, Louie! Hi, Louie! Hello! Do you remember me? Louie!|1 coding_42.wav|Louie! Louie! He's hiding from me. He's like... He's like giving me side-eye. He's like... He's pretending not to look, but he's actually looking. Louis. Louis. Why is he biting? Why are you letting him bite your pillow? Don't let him bite your pillow. He bit you? Are you okay? That's cute. I can. Oh man, Kassian. Okay, so what does this do? It stores the song and then after that pushes it to this page and in the lyrics page, let me see.|1 coding_43.wav|It's in the lyrics page that we also added, also added here. So ideally what we want is, also what is this? All right, no, nevermind. Ideally, let's think about what we want is to save the song and then go to the lyrics page and then and then grab the lyric and then generate the translations Actually, yeah, that could work. That could work. So this is right, yeah. So I'll store the song.|1 coding_44.wav|And why do we want the error here? If there's an error, show the error. Well, that's not a very efficient way to do it. If we want to show the error, Yeah, let's not do that. So I'll show you how to deal with errors nicely. So in here, also, we can never set this error like this, because otherwise, we are revealing the internal logs to the user. So that's usually a security risk.|1 coding_45.wav|But if there is an error, usually what I'll do is I'll just toast the error. Actually, this is fine. Sometimes it's fine to reveal what error it is. This time we know, like now we know the error is related to storing it in the database, so that's fine. So I'm unable to store song. And then this can be the error as well. And then what is this? It's inserting. It's inserting saving song.|1 coding_46.wav|Oh, that's not bad, yeah. Yeah, that's not bad. I'm just going to move this here. So handleCardClick does this. And then let's do track first, then artist. And actually, let's do track first, then artist. And then let's do track first and artist. Not that it really matters, but this and code your component. This part is good. And then this saving song thing.|1 coding_47.wav|Okay, and then, so tracks as a Spotify array track, and then set song cards as this, and this has to be a client page, correct? Yeah. And then router.push. Song card, set song card, search query, it's inserting. Yeah, the rest of this is fine. This is actually all really good. Lyric learn, nav. What is this nav for? Well, this back to home shouldn't be in this nav bar.|1 coding_48.wav|So we'll remove this. And then, actually, let me just grab this first. And then I'll remove that because we might put that here. And now this has back to home. But also one more thing is MinHeightScreenFlexCallItemCenter. This is item center. Why is this still like this? Oh, why do you have both a div and a main? I'm just going to remove this because it does nothing.|1 coding_49.wav|But this should still be flex, flex call. Item center. So we never want to have like two nested things, which are, wait, what? No, this is not right. Let's restart the TypeScript server. So yeah, we never want to have like a div outside this, which only has one child inside, because we might as well put that guy's class names over here, right? So I don't know why we need this.|1 coding_50.wav|Item center, padding. Honestly, we don't need this padding either. We don't need mx-auto either. And maybe we can do the min-height screen. That's pretty good. And actually, no, let's not do min-height screen, because let me think. The layout isn't already done like that, Yeah, in the layout, the min-height is already screened. So we'll do, let me see over here.|1 coding_51.wav|Yeah, we'll probably do something like this again. So we'll just do this. So this now takes up the whole thing. search for songs. Let me see. Yeah. So I see, I see, I see. The issue is here. It should not be. Oh, I see, I see. In here, it's not at a margin bottom. Let's do a flex. I see, this needs to be size four as well, I think. Yeah. So this is size full.|1 coding_52.wav|And now this, let's say it takes up half the screen. This is nice. We'll remove the background red for debugging and then we'll have the gap. Why? Let's say 10, increase this a little bit. And this is looking good now, right? Input type text, search query, set search query target value, search for songs. Do we want this focus ring blue? This is kind of ugly. We'll just have this.|1 coding_53.wav|Actually, let's do the focus outline none. I think we'll remove this. And maybe we'll make the rounded large, rounded left medium. We'll make this 6 and 3. Yeah, this is nicer, right? Okay, now we have a back to home, the back to home goes here, songs page goes here. Okay, now do we want to go to the lyrics page? Sure, so I'm gonna copy all this and this is a client component.|1 coding_54.wav|I don't remember doing this. Oh yeah, this is probably something you wrote. So let's see what requires the... So we don't need this router, that much we know. Params, we need the search params. So this must be a client component. Okay, and then loading screen. Spam's fallback loading screen. This is fine. Lyrics and lyrics artists. So use effect, fetch and update lyrics.|1 coding_55.wav|Okay, this should be done over here actually. What is this for? Lyrics and this. So anyway, this is your app. I'm supposed to move it here. So app.lyricspage.tsx. Wait, before that, do we want to have a separate lyrics page? Sure, sure, sure. No worries. So we don't want the super base client. And then we have a flashcards action. flashcards is this, this is good actually.|1 coding_56.wav|Yes, server action just uses the OpenAI model to generate some flashcards. That's straightforward enough. Um, and then lyrics is this one that I also wrote. Um, yeah, this is a server action. It's the music's match response process in the API key artist track. This is also pretty straightforward. So I'm going to put this here. Okay. So let's do, let's not have super base, lyrics and flash.|1 coding_57.wav|Did you say something? Probably another 15 minutes. One more question. mm-hmm not so sleepy yet 250 left when hits 50 okay okay so where were we um what is this if it's the lyrics show the you need to set the track and the artist fair and it's loading is this it's fair as well it's loading loading lyrics okay that's fair that's all fair so all this is fine it's loading set the true okay so if artist param and track param|1 coding_58.wav|So this should have a nav bar is loading, loading the lyrics. So let me comment on all this first. Just to see what it looks like. go here loading lyrics and it looks something like this okay now let me see so first we fetch and update the lyrics this is pretty good actually so we try we first fetch the lyrics And then we set it to that. So let's say we ignore all the flashcard stuff for now.|1 coding_59.wav|So, okay. So what we do is we go back to songs. Songs deals with like all the DB stuff, right? So ideally we want to have something that says, we want to have something that says, that fetches the lyrics, right? So export async function, get lyrics. We'll put in a user ID, track, and an artist. User ID, then it's a string. Track, it's a string. Artist, string.|1 coding_60.wav|OK, and so Again, very simple. What do we do? Constras equals, this time we're trying to return something, so we have a response. Await db.select star from songs where equals, let's import this, equals, and also we need a few and statements. So and, And equals, so this goes to songs.userID equals userID. And then you have another equals, which is songs.track equals track.|1 coding_61.wav|And another equals, which says songs.artist equals the given artist. So very standard SQL. command, right? And then this response, you can see what it looks like, right? So it has all these things. Um, and now, um, it returns an array because it might find multiple, but we only want to look for the first one, right? So we can either do something like this.|1 coding_62.wav|Uh, whoops. So we can either something like this where it only returns one or the nicer thing to do is to just um do this now res is now no longer an array so we take it out of right we return res so very clean right very very clean so now we don't need this part here um comes finish fetch and update um yeah so Once lyrics equals get lyrics from artist and track and user ID.|1 coding_63.wav|Wait, why is it not complaining? User ID. And let me see. um yeah i forgot to comment uh this additional curly brace so put this here and then i'm gonna put this user id and this will pass in the user id wait get lyrics where does this come from Actions? No, not lyrics. So this would be get lyrics from action slash song slash. Yeah, right. Ah, but again, if not user ID, redirect to slash sign in.|1 coding_64.wav|So I think there's a way to clean this up later, like this part here, um, using the mattress, but we'll do that later. So now we have the lyrics. Um, and then we can just do. It might be undefined, so if not lyrics, then we can do host.error, no lyrics found. And we'll just return. But otherwise, we'll set lyrics to the lyrics. And let me see. Oh.|1 coding_65.wav|so and there are no lyrics then we should fetch the lyrics otherwise um we set the lyrics to this one in fact um yeah in fact we should do let lyrics equals this and and now we want to fetch the lyrics so Let's call this getLyrics as getLyrics from db because we have another getLyrics on db, which is someData and someData.lyrics. Actually, lyrics is this. Yeah.|1 coding_66.wav|If not lyrics, then lyrics equals, or actually let's do this. If lyrics, we set the lyrics to this, otherwise there equals, actually no, no, no, no, no, no. Let's do this. So. There is no else. So lyrics equals, oh wait, get lyrics. And this comes from lyrics, which is the artist and the trend. Let me see, string. Oh yeah. Which equals this.|1 coding_67.wav|Can this be null? Oh, it's a string. Not fetched. What's the error? Am I going to fetch Eric for the song? Return. Otherwise, Eric was fetched. This is a string. Is this? Oh, I see, I see, I see. db db equals get lyrics in that and that equals the string so if not if not db then fetch this if not fetch do this um it was fetched, but if it is, then it's equal db.fulllyrics.|1 coding_68.wav|Actually, let's do this. If db, then there exists this. Otherwise, this and the lyrics here. So lyrics is first nothing. First, we try to get it from the database. If the if this is not an empty array, then we can access the full lyrics. Otherwise, otherwise we fetch the lyrics and if still not fetched then we toast that error and we set lyrics as lyrics now we should probably wrap this inside a function so this is um function uh|1 coding_69.wav|or let's say const getLyricsWithRetry equals this, right? So instead of fetch and update, this will be getLyricsWithRetry. And then one params change. Yeah, that's correct. Okay. So let me see. Okay. So that sets the lyrics. So up until this point, now we're done. Now, we also want this part here, which does what? Const flashcards equals gen.|1 coding_70.wav|So let's also wrap this inside a function. So this is const generate flashcards. Let's see. And then this will take in the lyrics. Again, we'll pass in the lyrics like this. This is a string. If not flashcards, do this. And then this is, this has original and translated. So what does this do? This puts it, so export async function for flashcards. This takes in a user ID again.|1 coding_71.wav|track, artist, and the lyrics, chant lyrics, and chant translations. So what does this do? This is a string. Track is a string. Artist is a string. Lyrics is a string. and return something, right? Okay. So as with just now, we're not returning anything, so no response, but await pb.insert, or this time it's update, the songs table, set whatever fields we need to change.|1 coding_72.wav|So full lyrics equals, lyrics and then uh chunked lyrics and chunked translations oh oh yeah i need to somehow like append it huh so Yeah, so I have to const res equals db.select star from songs where equals, I'm just going to copy this part actually. I'm just going to do const res equals get lyrics. for user ID, artist, and track. And this gives me, this gives me all this, which I need.|1 coding_73.wav|Address. I'm able to find my store dash rights. able to find this thing. And so now. So new chunk lyrics equals, where's the chunk lyrics? Where's the chunk lyrics? New chunk translations, chunk translations. And now chunk lyrics is new chunk lyrics. And this is new chunk translations. And again, we do the WHERE clause where this is true. And that should be it. So instead of this, oh, wait, no.|1 coding_74.wav|This should not be, this itself should be a string array. So this should be okay. Yeah. So store flashcards is this. Um, so now here we can just do, uh, store flashcards, user ID. Um, Back, artist, and... Can we just do flashcards? Can do, so... Pull lyrics, lyrics. Wait. Oh, we can just do lyrics. And then chunk lyrics equals flashcards.|1 coding_75.wav|original and translations equals flashcards.translated. So yes, and then we have another use effect here. So this use effect depends on the lyrics and And so this takes in the lyrics. And so we do generate flashcards for the lyrics. And we don't have to await this because this can run in the background for all we care. We don't, it doesn't super matter to us. And then fetch an update.|1 coding_76.wav|I think this all doesn't super matter. It's just over here. And then finally, set this loading as false. And then set lyrics, lyrics. Set this loading to true. Post dot error. Enable to. So set is loading. So yeah, with all that, we don't need this anymore. So this will happen first. I need flashcards. Oh, yeah, where do we set the artist and the track? Give me just about five more minutes here.|1 coding_77.wav|And so this would be store song, get lyrics, store flashcards. Let's do, let's support function, get song. Maybe just a user ID, user ID. So what will this do? Wait, no, actually, we get the artist from here. So we don't need these two, right? Yeah, yeah. So we don't need this either. And we do this string. And yeah, that should be it. Lyrics, set lyrics, and loading, set loading.|1 coding_78.wav|Yeah, so let's see if that works. Go to home first, songs page. Let's do this one. No lyrics found still. Any console errors? No lyrics found. So is loading is false? And there's lyrics. Really? There's no lyrics. Still. Get lyrics with retry. Let me see what the parameters are. So these are fine, but oh, because those are not in the database yet. Right? Wait, are they?|1 coding_79.wav|If I do... db studio and i look for that song actually it is but the lyrics is empty oh i see let's see so this shouldn't be the case db and db.fulllyrics yeah okay there you go This is perfect. And honestly, I don't think we need the loading here. So we'll just grab lyrics and this I'll remove the loading. But this here, just to reduce the complexity of the, just to reduce the complexity, yeah?|1 coding_80.wav|Fair, fair, fair. I guess we can just do this. But make it a little bit nice. And maybe X2. Y4. And then maybe we can do next, launch, open songs, we have x6. And yeah, perfect. So we have this, now we can go to home, songs page, back to home, H-O, then unsing, no lyrics phone, Oh yeah, I see. That's why you need the loading.|1 coding_81.wav|Okay, let me just undo everything then. Stand corrected. So this has the loading here. This part I still don't want. This part I still don't want. This part should still be. So it's full, flex, flex call, items, center, justify, center, flex one, gap, y. And then, oh, where are the links? And then that is, it's here. Perfect. Right. Also, this should be.|1 coding_82.wav|It's gone, and this is by artist. Where's the JTRO by Ansing? Studio. I see. So I've been saving the. thing wrongly so yeah i don't know where it is but i'm gonna fix it tomorrow this part i just think it's just a restart ts server and that should be done but yeah um mostly done, except the cards page, which is not done yet. We'll do that some other time. But yeah, this is how we do it, Wilson.|1