This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |