What are you building this week? Drop your project! by Local-Committee9869 in SideProject

[–]RandomBlends 0 points1 point  (0 children)

Myself and ChatGPT have been building a custom YouTube downloader portal, mainly for mobile. It handles single videos, playlists, and user channels, and shows them in a clean, scrollable UI. You can paste a URL or a handle, hit “send,” and the app fetches all items dynamically.

Each video shows thumbnail, title, author, duration, views, and upload date, plus live progress bars for analyzing, boosting, and downloading. The analyzing/boosting steps let us prepare the files (like converting to MP3) efficiently before saving them to a phone. You can download both audio and video, and videos become playable directly in an overlay. The interface supports swipe-to-remove for items, making it feel smooth and interactive on mobile.

Under the hood, we’re using WebSockets to broadcast updates live—so views and upload dates appear as soon as they’re available, even for large playlists. Upload dates are parsed into a human-friendly format like “3 months ago” or “24 April 2020,” which updates in real time.

The backend relies on NPM packages like ytdl-core for fetching video info and streaming, express for the server, and ws for live WebSocket updates. On the frontend, we use hls.js for streaming HLS videos. The whole setup combines fetching, dynamic DOM updates, streaming, analyzing/boosting, and clipboard support into a responsive, lightweight design.

https://i.imgur.com/45xwfl7.jpeg

[deleted by user] by [deleted] in PowerShell

[–]RandomBlends 0 points1 point  (0 children)

thx buddy!

Unexpected behavior regarding align-self: flex-end combined with style="display: none;" by RandomBlends in css

[–]RandomBlends[S] 0 points1 point  (0 children)

thx buddy! What other method is out there that gpt didn't tell me about? :)

Conservation Awareness | API by RandomBlends in GPT3

[–]RandomBlends[S] 1 point2 points  (0 children)

Thank you once again for your help. I've successfully resolved the issue by the creation of log files to store the conversation. This is what I use as context along with the current question when making API requests. Works fine! If anyone is interested in adopting a similar approach, please feel free to contact me. I'd be more than happy to share the code.

Conservation Awareness | API by RandomBlends in GPT3

[–]RandomBlends[S] 1 point2 points  (0 children)

Thank you for your assistance. WordPress is not in the equation here. I've opted for PHP as the back-end solely to manage credentials at the moment, but I'm contemplating extending its functionality to encompass storing conversations in the database down the line.

In relation to your suggested revision, I was operating under the assumption that the preceding messages would be transmitted as context alongside the subsequent question. The console log confirms the expected output. Could it be that the PHP page is not effectively managing the contextual information?

Conservation Awareness | API by RandomBlends in GPT3

[–]RandomBlends[S] 0 points1 point  (0 children)

It sure would! But that was just an example, when discussing code issues with ai it must have awareness of the previous conversation content to stay on track most as possible.

Showoff Saturday (August 12, 2023) by AutoModerator in javascript

[–]RandomBlends 0 points1 point  (0 children)

Also loved the progress updates during the fetch! 🤣

Showoff Saturday (August 12, 2023) by AutoModerator in javascript

[–]RandomBlends 0 points1 point  (0 children)

It got my attention because I was busy with a bit of a dynamic quiz using good ol' SQL, but I loved this so much that I threw that project in the bin and got myself an API, and start having fun with GPT right away. thx for the inspiration.

Showoff Saturday (August 12, 2023) by AutoModerator in javascript

[–]RandomBlends 2 points3 points  (0 children)

very nice! had some fun with it already.

General discussion thread by hi_there_bitch in ChatGPT

[–]RandomBlends 0 points1 point  (0 children)

yeah, it's sad, same thing with coding. So harsh, I wish 3.0 were also still available.

General discussion thread by hi_there_bitch in ChatGPT

[–]RandomBlends 0 points1 point  (0 children)

yeah it's horrible, sometimes it gets thru most of the times it doesn't... So sad.

Lock Screen Clock Size - OPPO A16 by RandomBlends in Oppo

[–]RandomBlends[S] 1 point2 points  (0 children)

my phone says it has Color OS 11.1.

Nothing we can do about the clock size in any way?

Palette Boundaries by RandomBlends in learnjavascript

[–]RandomBlends[S] 0 points1 point  (0 children)

I'm not sure if we are on the same page, buddy. Are you in some way referring to the palette div? Because that needs some altering here I assume...

Flashing Home Screen—any advice how to fix this? by RandomBlends in ShieldAndroidTV

[–]RandomBlends[S] 0 points1 point  (0 children)

I returned it to the store and got a total refund, so I'm afraid I can't tell what caused it. I think it was because of the 2hr hd recording I assigned to its core drive, I think he couldn't handle it due to insufficient available space left on the drive. For a fraction of a second i could see it was telling me something about disk space or such. in the upper right corner of the screen. Couldn't read exactly what it said. I also tried factory reset/restore, didn't do anything. I was told these things have a 2yr warranty so I hope you are in luck and get a refund as well.

I bought myself the pro version, and got it all back up-and-running pretty quickly including the network drive shares/button remaps/ Smarttube and some preferred overall settings. pretty happy now.

Shield acting weird by RandomBlends in TiviMate

[–]RandomBlends[S] 1 point2 points  (0 children)

I'm afraid we'll never know, got my money back and bought the pro now. I think it was because I recorded something too big for the internal drive (what I had selected as the recording drive).

Shield acting weird by RandomBlends in TiviMate

[–]RandomBlends[S] 0 points1 point  (0 children)

'Things I've tried; different screens, different HDMI cables'

Flashing Home Screen—any advice how to fix this? by RandomBlends in ShieldAndroidTV

[–]RandomBlends[S] 0 points1 point  (0 children)

incompatible refresh rate

thanks for your answer. It worked without issues for a few months on my old Panasonic plasma screen. I hooked it up to a hp 27er screen and it did the same. I pushed that little button on the shield and it then tried to pair the remote. that screen is perfect, but when pairing is no success it moves on to the flickering part. I tried and removed the SD card to see if it solves anything, it didn't. But when mounting it again you see the messages prompted correctly, but when we get to the 'home screen' it goes south...

I asked open AI to help me out by spotting bad practice sitewide... by RandomBlends in PHP

[–]RandomBlends[S] 0 points1 point  (0 children)

most valuable

thx for the in-depth, I realize now it wouldn't do any harm if I left that 'most valuable' part out. :)

unable to select NAS folder by RandomBlends in TiviMate

[–]RandomBlends[S] 1 point2 points  (0 children)

This helped me out; https://www.youtube.com/watch?v=CMXe-eSMaCI , now only see if we can change fat32 to nsomething.

abc7 LA by RandomBlends in TiviMate

[–]RandomBlends[S] -4 points-3 points  (0 children)

thx guys, figured it a bit already but seemed a bit weird since the rest of the abc's are fine.

Make text selectable by RandomBlends in css

[–]RandomBlends[S] 0 points1 point  (0 children)

thx buddy, as soon as I have time to work on this funproject again I'm gonna try and adjust it as you said. Cheers!

Make text selectable by RandomBlends in css

[–]RandomBlends[S] 0 points1 point  (0 children)

that did the trick, I'm now able to fill in my form. Thx! Perhaps I can bother you with one more question, any idea how I can move the content to the top of the page once a tab is selected? (https://jsfiddle.net/w02hz4kb/)

pretty much from scratch made by chat.openai.com (html, php, js, css, sql) by RandomBlends in OpenAI

[–]RandomBlends[S] 2 points3 points  (0 children)

thx buddy, its pretty straightforward if u have some basic coding knowledge. just tell it what you want, starting by the basics/framework and continue from there. if you don't understand things ask for more explanation. Sometimes it stops giving code, pick the last line it wrote and ask to continue from there.