mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	depracate old u,
This commit is contained in:
		
							parent
							
								
									7bb2539a36
								
							
						
					
					
						commit
						b66c8baa9e
					
				
							
								
								
									
										10
									
								
								server.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								server.js
									
									
									
									
									
								
							| @ -365,18 +365,18 @@ app.get("/old/watch", async function (req, res) { | |||||||
|   if (j_.URL != undefined) url = j_.URL; |   if (j_.URL != undefined) url = j_.URL; | ||||||
|   const json = fetching.video.Player; |   const json = fetching.video.Player; | ||||||
|   const engagement = fetching.engagement; |   const engagement = fetching.engagement; | ||||||
|   const lyrics = await lyricsFinder(json.Title); |     const lyrics = "" | ||||||
|   if (lyrics == undefined) lyrics = "Lyrics not found"; |    | ||||||
|   renderTemplate(res, req, "poketube-old.ejs", { |    renderTemplate(res, req, "poketube-old.ejs", { | ||||||
|     url: url, |     url: url, | ||||||
|     color: await getColors( |     color: await getColors( | ||||||
|       `https://i.ytimg.com/vi/${v}/maxresdefault.jpg` |       `https://i.ytimg.com/vi/${v}/maxresdefault.jpg` | ||||||
|     ).then((colors) => colors[0].hex()), |     ).then((colors) => colors[0].hex()), | ||||||
|     engagement: engagement, |     engagement: engagement, | ||||||
|     video: json, |     video: json, | ||||||
|     date: "", //return ""
 |     date: "see the new ui", //return ""
 | ||||||
|     e: e, |     e: e, | ||||||
|     lyrics: lyrics.replace(/\n/g, " <br> "), |       lyrics: "none, see the new ui", | ||||||
|   }); |   }); | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ashley
						Ashley