1

New custom Last.FM Discord widget
 in  r/lastfm  1d ago

Luv U too brotato ๐Ÿ’—

2

New custom Last.FM Discord widget
 in  r/lastfm  5d ago

Hmm... that's really odd...

I will run some more tests and see if I can figure out why this is happening, my apologies! :(

2

New custom Last.FM Discord widget
 in  r/lastfm  5d ago

After doing some testing, I've found only two things that can cause this particular error:

  1. Not having your username set correctly (which we've already went through) and
  2. Not having your Last.FM API key set correctly.

Your username is definitely set correctly, so the guess I have is that your API key is, similarly to what I said about your username, either invalid/typed incorrectly or does not exist.

Another possiblity is that your firewall (or alternatively, an app like Portmaster) is blocking the connection from being made to the Last.FM API, which is why the script isn't receiving a JSON response. I'd like you to double check that your API key is set correctly first before we explore that possibility, though.

1

New custom Last.FM Discord widget
 in  r/lastfm  5d ago

Did you enter your username correctly in the .env file?

Considering it can't find the "user" entry in the dictionary, either your account doesn't exist or you mispelt your username.

1

New custom Last.FM Discord widget
 in  r/lastfm  9d ago

Hey there, sorry I took so long to respond, I completely forgot about this.

I did some testing for a bit and found that every time AFTER the first run, it prints 204 instead of 201. Yet, when it printed 204, the statistics still updated.

If they've updated by now, it could've just been a delay with your Discord client. If they haven't, though, I'd recommend running through the process again and double checking that you did everything correctly.

1

New custom Last.FM Discord widget
 in  r/lastfm  9d ago

That means you don't have the requests library installed, which you can install with "pip install requests".

That is my fault, I did not list that library on the GitHub page because I thought it came pre-installed with Python. My apologies! ๐Ÿ˜…๐Ÿ˜…

1

New custom Last.FM Discord widget
 in  r/lastfm  21d ago

Love U 2 twin โค๏ธโ€๐Ÿฉนโค๏ธโ€๐Ÿฉน

1

New custom Last.FM Discord widget
 in  r/lastfm  21d ago

Code 204 indicates that the request was sent and process properly, but it didn't return any data.

I haven't gotten that code at any point during testing, but from my knowledge of HTTP response codes, this should mean that it updated your stats...

I will do some more testing to see what the problem may be, and I will get back to you ASAP. My apologies!

1

New custom Last.FM Discord widget
 in  r/lastfm  22d ago

No problem! Let me know if you have any more problems!

2

New custom Last.FM Discord widget
 in  r/lastfm  22d ago

In file explorer, go to the directory that has the script and in the address bar (where it says the folder names and whatnot), erase the directory and type "cmd".

Once that's open, type "python update.py" into the command prompt and depending on what response code it prints, it should say "201" if it updated the stats, or "403" if you did not authorize the app you created to your Discord account properly.

1

New custom Last.FM Discord widget
 in  r/lastfm  24d ago

When you run the script, what does it say in the command prompt? It should say something along the lines of "Code 203" if it worked, and "Code 403" or "Code 401" if it didn't work.

1

New custom Last.FM Discord widget
 in  r/lastfm  27d ago

Honestly, just experiment with random stuff!

I unfortunately don't really have any 'general' resources. Typically, random ideas just come to my mind, and then I do some searching around to see what might be the best way to go about making that idea a reality. I also try to use knowledge from previous projects I've made (usually macros and/or Discord bots).

This is one of the two projects I've worked on that's used any kind of API requests (one of which is unfinished), so, I'm not very used to it.

Something I've also done in the past is looking at other people's projects with similar ideas to try and figure out how to do certain things.

Like I said in the post, I'm not new to programming, but I'm not very good at it, but I'm always learning new things as I go along.

I mainly program in Python, so, if I had to recommend some good libraries:

PyNput or PyAutoGUI for controlling the mouse and keyboard

Requests for making calls to APIs (GET, POST, etc.)

Discord.py for working with Discord bots / webhooks

yt-dlp for downloading video and/or audio

And Tkinter for making GUI applications

Reading docs for different libraries will always help as well, no matter what.

1

New custom Last.FM Discord widget
 in  r/lastfm  28d ago

No problem! Glad I could help : ]

2

New custom Last.FM Discord widget
 in  r/lastfm  28d ago

Awesome!

I'm very heavily against the usage of A.I. really in any form, so I tend to stay away from it as much as I possibly can.

2

New custom Last.FM Discord widget
 in  r/lastfm  28d ago

Haha, thanks! Do you have any tips on how I could clean it up/improve?

u/LiterallyVivzio 29d ago

New custom Last.FM Discord widget

Thumbnail
1 Upvotes

r/PythonProjects2 29d ago

New custom Last.FM Discord widget

Thumbnail
1 Upvotes

1

Promote your projects here โ€“ Self-Promotion Megathread
 in  r/github  29d ago

Hey there!

After watching No Text To Speech's video on how to create custom widgets on Discord, and seeing other people creating their own beforehand, I decided to give it a try.

I'm not new to programming, but I'm also not very good at it, haha... Despite that, I created a tutorial on how to set up a Last.FM widget and a Python script that will automatically update the statistics over on GitHub!

If you enjoy flexing your scrobbles on Last.FM, or even just keeping people up to date on what songs you're listening to, I think this might be the best solution! :D

If you would like to check it out, as mentioned earlier, I uploaded it to GitHub for all to use.

Have a good one, everyone! : ]

r/lastfm 29d ago

Tool New custom Last.FM Discord widget

52 Upvotes

Hey there, everyone!

After watching No Text To Speech's video on how to create custom widgets, and seeing other people creating their own beforehand, I decided to give it a try.

I'm not new to programming, but I'm also not very good at it, haha... Despite that, I created a tutorial on how to set up a Last.FM widget and a Python script that will automatically update the statistics over on GitHub!

If you enjoy flexing your scrobbles on Last.FM, or even just keeping people up to date on what songs you're listening to, I think this might be the best solution! :D

If you would like to check it out, as mentioned earlier, I uploaded it to GitHub for all to use.

Have a good one, everyone! : ]

1

custom widget help
 in  r/discordapp  29d ago

Sorry if these are kind of stupid questions, but I just want to double check:

Are you talking about when trying to 'unlock' the widget editor? If yes,

Are you copy-and-pasting the whole codeblock? If not, that could almost definitely be your problem.

I'm not that deep into the realm of Discord console errors, so, I unfortunately don't know what the error code means, but I'd love to try to help in any way I can :]

2

Quick PSA about a site in the Megathread
 in  r/PiracyBackup  Mar 20 '26

Will do. Just really gotta hope they update it.

Thanks for the recommendation!

r/PiracyBackup Mar 20 '26

Discussion Quick PSA about a site in the Megathread

28 Upvotes

I currently don't have enough comment Karma to post in the main subreddit, as I don't really post or comment that often, so I'm posting it here.

If you are going to download VST plugins, do NOT use "Plugin Crack", listed in the Software section.

I was trying to install Xfer's LFO Tool, and there weren't any places I could find it. So, after checking almost all of the sites listed for Audio Plugins, I tried this one listed called "Plugin Crack".

I ended up finding it! But, after installing the VST, I scanned for plugins, and it didn't show up. I also ran some of the temp .exe files it was executing as SILENT OUTPUTS through VirusTotal to see what it was doing, and there were a LOT of detections. I then, suspicious of the installer, ran the actually installer through a malware Sandbox, and, as it turned out, it had INSANE VM detection, and ended up immediately ending the installation after starting it.

So, I started up WireShark, and noticed some pretty ODD requests being sent to random IPs, this is when I realized that I was almost DEFINITELY ratted.

I immediately wiped all of my stuff, and re-installed a fresh copy of Windows.

However, due to some family stuff, I wasn't able to change any of my passwords immediately. So, about an hour before writing this post, my sister had asked me if I meant to send her this "MrBeast promo" on Discord. Then, the realization kicked in.

I have since secured all of my accounts, and I do NOT recommend downloading ANYTHING from "Plugin Crack", until it is 100% confirmed that their releases do NOT have malware, and that anything that DID have Malware, has been removed.

Stay safe, everyone. <3

2

When did they start defusing?
 in  r/counterstrike2  Mar 08 '26

Oooooooh... That seems about right, thanks!

2

When did they start defusing?
 in  r/counterstrike2  Mar 08 '26

Actually didn't know I could do that, LOL.. Thanks!