Recent content by cc333

  1. C

    Can Someone Help Me With This?

    Thanks! What I was seeing with your code pasted in unaltered was basically that 'nowplaying.txt' wasn't being updated. Yes, it would certainly be more elegant if we could make it work that way, but you're right. If it works, why keep messing with it? I did manage to get urldecode() to work...
  2. C

    Can Someone Help Me With This?

    New Post for clarity... I think I might have got it! Here's what I did: <?php //Get the POST data $postdata = fopen("php://input", "r"); $npFile = fopen("nowplaying.txt", "w"); while ($data = fread($postdata, 1024)) fwrite($npFile, $data); fclose($npFile); fclose($postdata); //Clean it...
  3. C

    Can Someone Help Me With This?

    I just tried your code, and it doesn't seem to work :/ I'm not sure why, though. I did try urldecode() before, and I couldn't get it to work then either, so I'm not sure if it's the code or maybe there's something not configured right on my server. I'm enjoying plodding through these...
  4. C

    Can Someone Help Me With This?

    OK, I've been puzzling over this code, and I must admit that I'm kind of stumped by it. I think I'll just keep it as a single-stream player for now, but I'm still going to study your code and eventually figure it out. In the meantime, I'm thinking It would be nice to be able to parse the...
  5. C

    Can Someone Help Me With This?

    No worries! You know more than I do! I'm pretty much learning as I go (I know some basic HTML and CSS, but javascript has always mystified me somewhat). Now that I've got a samba share set up on my server (a VM running Debian without a GUI) so I can edit index.html from the comfort of MacOS...
  6. C

    Can Someone Help Me With This?

    I have an idea! Now that I have learned to make metadata retrieval work when more than one stream is active on my server (thanks the help of @jibsaramnim!), I'm wondering if I can create something like a drop down menu where I can select which stream the player, uh, plays. It's academic at...
  7. C

    Can Someone Help Me With This?

    OK, I added in the OR logic you suggested, and while it may not be the cleanest, it worked! This thing could stand a rewrite once I learn more, so I don't care if it's a bit clunky at present. For reference, here's what it looks like on Firefox ESR 140.12 (the name of my station is...
  8. C

    Can Someone Help Me With This?

    @jibsaramnim Hmm, it might. I'll give it a try and let you know! For this I'm targeting any recent browser, which I guess means pretty much Firefox and Chrome? As an aside, I've tested the stream itself, and it works on SoundJam MP on Mac OS 9, so this project is somewhat vintage related...
  9. C

    Can Someone Help Me With This?

    OK, I'm running a little Internet Radio stream for my own enjoyment, and I made up a little web player for it that displays some metadata. Anyway, the problem is that when there's only one stream running on my server, everything's under 'source' and the metadata routine works fine, but when the...
  10. C

    What did you do to your computer today?

    Thanks! So am I! A few weeks ago, I was about ready to through it out a window and smash it with a sledge hammer! I put it back into service last night, and it's still going strong just about 24 hours later. There's still a few minor glitches, but they're not a big deal. c
  11. C

    What did you do to your computer today?

    Yup. I think part of what threw it all off was the fact that coincidentally, either the motherboard or PSU (probably both) failed as I was testing for the cause of the crashes, so I had to wait on parts (the first PSU I ordered – a 360W unit from a 7080 – didn't work, so I had to get another...
  12. C

    What did you do to your computer today?

    I just finished a month and a half of fighting with a Dell OptiPlex 7050 I use for automating music for a private radio station I built for myself. It was working absolutely fine under Windows 7, then I decided it might finally be time to give Windows 10 a try because there was a neat new...
  13. C

    Apple Network Server MacOS based ROMs found

    This huge development almost makes me want to get an ANS so I can try it for myself. Almost.... c
  14. C

    Linux Could Become Illegal In The USA (Video)

    The day Linux becomes illegal will probably be the day I give up on computers altogether. Except for my ancient playthings, of course. Unless someone tries passing a law banning them, they are completely immune to all this nonsense. That said, since the PDA is sort of a Progressive Democrat...
  15. C

    [Discussion] Use of AI/LLM in the retro community

    It seems that code is what these LLM things tend to do best. Beyond that, they tend to hallucinate and make stuff up way more than I feel comfortable with. Not to mention the innumerable bad actors trying to do bad things with it, and the fact that all the big tech companies are literally...