Skip to content

Instantly share code, notes, and snippets.

@bretth18
Last active October 12, 2015 03:54
Show Gist options
  • Save bretth18/87a39e989a45c6359c3b to your computer and use it in GitHub Desktop.
Save bretth18/87a39e989a45c6359c3b to your computer and use it in GitHub Desktop.
Platform Testing Spootipy framework's trackplayertest.py
**Instructions for Windows 8/10 Users**
#Pre-Req's#
-Python 2.7/3.x
-libspotify module
-A functional Spotify Premium Account
-Command Line Knowledge!
Step (1): Installing and setting up your Testing Environment
-Download and install Python for your windows PC (In -depth guide available here: http://www.howtogeek.com/197947/how-to-install-python-on-windows/)
* .exe Installer for python (https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe)
-Make sure python is added to your system path!
-When you are done, test the install. Open a command prompt and enter "python". An interactive shell should prompt you with something looking like this: >>>
-Once complete, move onto step 2
Step (2): Install required python modules
##EDIT: I believe this will run into some issues... needs to be updated with repo path source commands##
- in the command prompt, type "pip install blessings
- pip install libspotify
- pip install pyspotify
- pip install getpass
Step (3): Clone project onto local computer
- Option #1: Download .ZIP, Extract
* https://github.com/bretth18/spootipy/archive/master.zip
- Option 2: Clone git environment (Requires Git knowledge)
* cd into desired file location
* "git clone https://github.com/bretth18/spootipy
- Once we have all this we are ready to start testing
Step (4): Testing trackplayertest.py
- When you open up the project directory, we first want to make sure 2 files are in place: spotify_appkey.key, and trackplayertest.py
- open up a command prompt
- cd into the test project file path (eg: "cd C:/Windows/Desktop/User/Documents/spootipy/")
- try running the program with "python trackplayertest.py"
- log any errors shown
- Report issues to https://github.com/bretth18/spootipy/issues
Thank you for being a valued contributor!
- Spootipy Framework Team
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment