
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Discofy allows control of Spotify playback through Discord API, offering features like play/pause, track skipping, volume control, and device management.
Wanna control Spotify playback API but you don't want to pay for a Spotify Premium? No problem!
Discofy
is a Python library that allows you to control Spotify playback for free, without a premium subscription — just by using your Discord account.
To install Discofy, simply use pip:
pip install discofy
client.play_track("spotify:track:PASTE_TRACK_ID")
client.set_volume(10)
# Sets volume to 10%client.add_to_playback_queue("spotify:track:PASTE_TRACK_ID")
Basic Python script to control Spotify playback with Discofy:
from discofy import Discofy
# Set your Discord token
discord_token = "PASTE_YOUR_TOKEN_HERE"
client = Discofy(discord_token)
# Set volume to 10%
client.set_volume(10)
# Pause playback
client.pause_track()
# Print info about the currently playing track
print(client.get_current_track())
# Shows if something is being played
if judeify.is_playing():
print("Something is being played")
else:
print("Nothing is being played!")
Discofy is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
For more details, visit: https://creativecommons.org/licenses/by-sa/4.0/
FAQs
Discofy allows control of Spotify playback through Discord API, offering features like play/pause, track skipping, volume control, and device management.
We found that discofy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.