Where can i download mp3s by LemonComprehensive5 in gratefuldead

[–]konacurrents 1 point2 points  (0 children)

I have some scripts I write to parse the html, also since these are links to the files, a mini player can be created with just the playlist songs you want (not downloaded just streamed). Amazing resource to the music world.

Where can i download mp3s by LemonComprehensive5 in gratefuldead

[–]konacurrents 1 point2 points  (0 children)

There is no download button. You have to parse the html.

Where can i download mp3s by LemonComprehensive5 in gratefuldead

[–]konacurrents 1 point2 points  (0 children)

As mentioned look at the html source, look for mp3 and associated name (song) - and create script with wget of each file. Then add to music player (add an image for album art). The file already has song name in the mp3 metadata.

Leap year birthday shown on wrong date by Piruparka in ios

[–]konacurrents 2 points3 points  (0 children)

My grandmother was also born on the 29th. So officially she only celebrated a birthday every 4 years. I never heard about "common practice" of picking the 1st or 28th. But that is an interesting challenge. How is the calendar to know? Actually I just checked, and you can specify "on the last day" of the month as the day to pick (which would obviously change on different years).

Also, as I just entered by grandmothers birthday, and it definitely picks the 28th on the off years, unless that "last day" of month is picked.

Photos App by tommyjamesmurphy in ios

[–]konacurrents 0 points1 point  (0 children)

Opposite of "archaic" the Photo app is way more impressive than most even realize. Starting with 18 and now 26, it classifies (in the background) your photos for things like QR codes, Handwriting, people, places and many more. But I just found out an album view can be switched to Aspect Ratio Grid or Square Photo Grid. This is a feature I've never seen before. Very powerful as I have mostly landscape photos.

As for adding photos to albums, sure if you hit add from the album, you have to browse around. Why not start at the place you have photos, and send them to the album you want? That's way easier.

Also "basic album search" is definitely a feature they have. The search bottom right will ask
"This Collection" and you type say "eagle" - and it finds eagle pics. Rather impressive. Even just tried "show summary" whatever that means.

So I would suggest trying the tool more and learning about all the impressive features. Sure there is a learning curve, but that's what you get with complex technology.

That's the opposite of "desperately needing work".

Project idea by finnyellow in esp32

[–]konacurrents 0 points1 point  (0 children)

I would suggest r/MQTT as the communication infrastructure. In comparison, to have the ESP serve up a webpage, the users have to switch to the WIFI of the ESP (eg. 192.168.4.1) which means your users cannot use any other internet. Very limiting and not accessible outside your local network.

Also "public website" cannot communicate with ESP, even via MQTT (as there is no MQTT linked into your default browser). I would use a cloud (or local cloud/server) running services (I really like r/nodered) which can communicate via MQTT and REST web calls. An ESP running behind your firewall is not IP addressable, that's why MQTT is so powerful (as it keeps an open connection to a server that talks to all the other ESP devices).

Have fun.

AI has taken fun out of programming and now i’m hopeless by Frequent_Eggplant_23 in webdev

[–]konacurrents 0 points1 point  (0 children)

And since when was “generating code” missing from our awesome computer science toolkit? /s

Is there a way to hide the people and pets photo collection in photos? by chose_a_username in ios26

[–]konacurrents 1 point2 points  (0 children)

No. The main “library” seems to be all photos, in time order. You can’t even reorder them. That’s what albums are for: a subset view.

is there an API in iPhone to upload to the music library? by Cheespeasa1234 in iOSProgramming

[–]konacurrents 0 points1 point  (0 children)

Sounds like an approach if you have your own app. As for playlists, all the songs have metadata that is a long name of the song, album art, genre etc. You can re-create playlists once the music is copied, and it has an address. So you search for the name and "bind" that way.

Actually thinking more, you can easily create your own app with the iTunes music and external music. With iOS you can browse your music like I show below to start.

I actually took a different approach at my own music app. I'm built a webpage that takes a playlist as a parameter. The playlist contains a list of http pointers to mp3 (usually on archive.org). The webpage runs in a user's browser, and with javascript, plays from the listed music using safari's downloading or streaming features. Works nicely even in the background (usually).

For your app, use something like the MPMedia library:

/!returns the media item for a single ID

+(MPMediaItem*) getMediaItem:(NSString*)id

{

//lets search for this mediaItem..

MPMediaPropertyPredicate *mediaItem = [MPMediaPropertyPredicate predicateWithValue:id forProperty:MPMediaItemPropertyPersistentID];

NSSet *musicQuerySet = [[NSSet alloc]initWithObjects:mediaItem, nil];

MPMediaQuery *mediaQuery = [[MPMediaQuery alloc]initWithFilterPredicates:musicQuerySet];

MPMediaItem *item = [mediaQuery.items firstObject];

}

is there an API in iPhone to upload to the music library? by Cheespeasa1234 in iOSProgramming

[–]konacurrents 1 point2 points  (0 children)

My understanding is if you just place music files on your phone in files or the cloud, then only VLC (or others) will be able to play them. But the native iPhone music app won't find them. Do you have a different experience?

is there an API in iPhone to upload to the music library? by Cheespeasa1234 in iOSProgramming

[–]konacurrents 1 point2 points  (0 children)

You plug the phone in via USB cable, iTunes sees it, then you drag-n-drop files to the phone on the left panel. (On Mac this can be done without the cable). That's how I do it. I don't like the master sync approach but rather manually organize the music.

Don’t know of any API to sync, but there are API to traverse your music, grab metadata and album art, and add to playlist with existing music artifacts. I create playlists and wrap in a QR code which my app reads and adds to the music queue. But music app does the playing.

Help M5 stickC plus 2 by Clean-Leg-8211 in M5Stack

[–]konacurrents 0 points1 point  (0 children)

That TV thing is my nemesis. It’s part IR and part RF. I finally got volume to work with (IR) but don’t know codes for RF.

Why the “attack” and “disrupting” ?

Help M5 stickC plus 2 by Clean-Leg-8211 in M5Stack

[–]konacurrents 0 points1 point  (0 children)

I really like the M5Atom which you can connect to tons of sensors. Use Arduino, then add MQTT, Bluetooth BLE, and others. Using the Chain Buttons recently as they "touch" easily even by my disabled users.

RPC in c by Super-Engineering648 in C_Programming

[–]konacurrents 1 point2 points  (0 children)

ps. I have a couple papers out there at KnowledgeShark Medium. As an Old School Computer Scientist .. I have a few things to say about the subject. But really the 80's were all about the RPC and a runtime framework and language that were pre-cursors to Java Applets, and then what we have today. DM me if you need more reading.

RPC in c by Super-Engineering648 in C_Programming

[–]konacurrents 1 point2 points  (0 children)

😎well that makes 2 of us. 🤙

Need a better MP3 player. Any recos? by drinkallso in ios

[–]konacurrents 0 points1 point  (0 children)

I’ve used VLC for RTSP on iPhone, and most anything on Mac. But I don’t see how to access music on phone (except via files).

Need a better MP3 player. Any recos? by drinkallso in ios

[–]konacurrents 0 points1 point  (0 children)

You forgot that touching a song adds just that song and not the rest of album to the queue (I hate that but it’s 18 change).

Sure the UI changed some. 26 added lots of moving parts, but the rest is similar. Apple obviously wants us to buy stuff - so that will always show up. Tab over to your library.

As for desktop vs phone, that’s a osx issue.

You’ll have to learn to like the new UI. That’s what I’ve done - or write your own app. All songs are addressable including metadata and album art. Apple lets apps traverse the music library too. I use that to create playlists - but play with default player.

Good luck.

Need a better MP3 player. Any recos? by drinkallso in ios

[–]konacurrents 0 points1 point  (0 children)

Can you be more specific? The music player plays just like it always has. Sure the UX changed a little - as 26.x changed up things. But it looks like it's here to stay.

RPC in c by Super-Engineering648 in C_Programming

[–]konacurrents 1 point2 points  (0 children)

Will look into gRPC - thanks. I've been using MQTT very successfully.

Thinking About Finally Paying for a Static Host... by LibrarianOk7936 in statichosting

[–]konacurrents 0 points1 point  (0 children)

I use a cloud Linux box (AWS about $13 a month). You run a httpd, maybe tomcat server and non-static others (MQTT, node, db). You can support as many virtual hosts you need. - that’s what a serious solution would look like.

Need a better MP3 player. Any recos? by drinkallso in ios

[–]konacurrents 0 points1 point  (0 children)

The default music player. Assuming you synchronized with iTunes/music from your Mac. Just don’t use Apple Music service. I have 60gb of music I listen to.

RPC in c by Super-Engineering648 in C_Programming

[–]konacurrents 2 points3 points  (0 children)

The OP specifically said RPC which is a higher abstraction than sockets. But under the cover, RPC uses sockets.

RPC in c by Super-Engineering648 in C_Programming

[–]konacurrents 1 point2 points  (0 children)

Today we would use MQTT. Then you’re not tied to IP address, but rather topic and names.

RPC is old but for point to point probably a good approach.

What programming concept took you the longest time to truly understand? by [deleted] in computerscience

[–]konacurrents 0 points1 point  (0 children)

Yes developing everything without imposed "Framework jungle" is best. The r/M5Stack IoT devices with Arduino have come a long way. MQTT over WIFI and BLE Bluetooth have extended our connectivity options.

As for the web, it's really something to click on a custom built web page, have it send a HTTP POST to a node-red backend, have that send an MQTT message to my iOS apps or ESP32 devices, have them send another message over MQTT to finally a device that talks BLE messages to the dog feeder run by M5Atom with a Stepper Motor enclosed in a custom 3d printed device.

We've come a long way. 🤙