Skip to content

Instantly share code, notes, and snippets.

@vorbeiei
vorbeiei / simple_ts3_musicbot.py
Created Jul 16, 2017
simple musicbot using query to follow user in TS3 which is set up to play music from the PC(using spotify or youtube) controlled from chat commands. Not perfect and buggy but works for me
View simple_ts3_musicbot.py
#simple musicbot using query to follow user in TS3 which is set up to play music from the PC(using spotify or youtube) controlled from chat commands
#not perfect and buggy but works for me
from dbus import DBusException
import dbus
import getpass
import sys
import time
import telnetlib
import os
import subprocess
@vorbeiei
vorbeiei / sp
Last active Nov 14, 2019 — forked from wandernauta/sp
sp is a command-line client for Spotify's dbus interface. Play, pause, skip and search tracks from the comfort of your command line.
View sp
#!/usr/bin/env bash
# Edited to allow for authentication with Spotify API required for search function.
# Register your application here: https://beta.developer.spotify.com/dashboard/applications and insert CLient ID and Secret below.
#
# This is sp, the command-line Spotify controller. It talks to a running
# instance of the Spotify Linux client over dbus, providing an interface not
# unlike mpc.
#
You can’t perform that action at this time.