From 56889dc2cfa7c6672549c57c8cdb0baca00d75d2 Mon Sep 17 00:00:00 2001 From: GamePlayerCole Date: Tue, 18 Sep 2018 09:44:40 -0400 Subject: [PATCH] Modified noSongPlaying String Output Added white space to the end of noSongPlaying string for better compatibility with OBS. --- LastFM-NowPlaying.py | 2 +- currentSong.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 currentSong.txt diff --git a/LastFM-NowPlaying.py b/LastFM-NowPlaying.py index 3d4d2ff..c63e032 100644 --- a/LastFM-NowPlaying.py +++ b/LastFM-NowPlaying.py @@ -13,7 +13,7 @@ apiKey = ("460cda35be2fbf4f28e8ea7a38580730") currentTrackURL = ('http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&nowplaying="true"&user=' + str(userName) + '&api_key=' + str(apiKey)) runCheck = True waitTime = 0 -noSongPlaying = ("Nothing Currently Playing") +noSongPlaying = ("Nothing Currently Playing ") #Defines the funcions for use in different threads. def checkForNewSong(): diff --git a/currentSong.txt b/currentSong.txt new file mode 100644 index 0000000..b4f000f --- /dev/null +++ b/currentSong.txt @@ -0,0 +1 @@ +Nothing Currently Playing \ No newline at end of file