Spotify Plugin Released! Now with less bugs!

Share your custom plugins and applications to enhance Rainmeter.

Re: Spotify Plugin Released! Now with less bugs!

May 11th, 2017, 2:22 pm
shoek
   [4 posts]

cookingsum wrote:Edit: Doesnt matter anymore, already got it. :D



Can you share the modified Material Player?

Re: Spotify Plugin Released! Now with less bugs!

May 13th, 2017, 12:31 am
MinDBreaK
   [1 posts]

shoek wrote:Can you share the modified Material Player?


So nothing to see with Material Player.
What solved the problem was adding the following line to the host file :

Code: Select all

#C:\Windows\System32\drivers\etc\hosts

127.0.0.1           spotifyplugin.spotilocal.com


Then just reboot and you should be done !
(Tested with the Monstercat Records Skin)

Re: Spotify Plugin Released! Now with less bugs!

May 13th, 2017, 9:39 am
lee89tw14
   [4 posts]

.raptor wrote:Try this one SpotifyPlugin_1.4.1.1.rmskin

Image
Dude, you fixed it!! :thumbup:
THANKS VERY MUCH!!!!
User avatar

Re: Spotify Plugin Released! Now with less bugs!

May 15th, 2017, 5:43 pm
tjhrulz
   [28 posts]

.raptor wrote:Need some help testing this new build. The new commands are:

Code: Select all

[!CommandMeasure "SpotifyMeasure" "play"]
[!CommandMeasure "SpotifyMeasure" "pause"]
[!CommandMeasure "SpotifyMeasure" "next"]
[!CommandMeasure "SpotifyMeasure" "previous"]
[!CommandMeasure "SpotifyMeasure" "volume 100"] // value is in %, so between 0 and 100
[!CommandMeasure "SpotifyMeasure" "repeat context"] // value is either track, context or off. Context repeats current playlist/album
[!CommandMeasure "SpotifyMeasure" "shuffle true"] // value is true or false
[!CommandMeasure "SpotifyMeasure" "seek 10000"] // value is ms into song, values higher than song length skips to next track


EDIT: Just realize some basic info would probably be helpful. I'm using the new part of spotifys web api. This requires the user to log in and authorize the "app". Its still using the old local api for everything that isn't commands, as I haven't decided on which api to use for the song information. The current implementation has the advantage of being local, so it will work without internet, as long as it has a little bit once in a while to re-authenticate. The new api however exposes a lot more info, but all traffic is routed via spotifys servers.


Any chance you could commit these new builds to your github page? It would make for keeping track of these new features much easier and help with debugging. Also how do we authorize the new features?
Also if you are going to add seek support any chance you could add the SetPosition bang that NowPlaying and GPMDP use that way we dont have to make a special case for spotify?

Edit: on testing these commands every single one I tested said unknown command. The first time I ran it I got the authorization webpage, authorized it and then got a page that said Logged in?, but now I get unknown command and nothing happens. This is using plugin version 1.4.1.1

Edit2: Tried revoking it to see what was happening and it does not seem to want to reauthorize me, checked to see if you were storing anything in the rainmeter.data file but that does not seem to be the case. Noticed the log has the following error:

Code: Select all

SpotifyPlugin version 1.4.1.1
Culture: en-US
OSVersion: Microsoft Windows NT 10.0.15063.0
----
 4110 - No user logged in
----
    at SpotifyPlugin.SpotifyAPI.Gather()


Edit3: Got it to reauthorize again, you seem to be doing the authorization wait in a blocking thread as it locks up rainmeter while you are authorizing it.
User avatar

Re: Spotify Plugin Released! Now with less bugs!

June 6th, 2017, 4:02 pm
xtcvv2
   [23 posts]

I just keep getting this error over and over...

Re: Spotify Plugin Released! Now with less bugs!

June 13th, 2017, 3:38 pm
Ryanx0r
   [2 posts]

xtcvv2 wrote:I just keep getting this error over and over...
rainmeter error.PNG


I get the exact same error. And only since this morning. If you figure out what it is and why, I'd like to know. It's not updated my Cover picture for Spotify. Which is quite annoying as I'm running a 24/7 live stream.
I restarted Rainmeter and also Spotify, however nothing changes/helps.

Re: Spotify Plugin Released! Now with less bugs!

June 16th, 2017, 9:34 am
Ryanx0r
   [2 posts]

Ryanx0r wrote:I get the exact same error. And only since this morning. If you figure out what it is and why, I'd like to know. It's not updated my Cover picture for Spotify. Which is quite annoying as I'm running a 24/7 live stream.
I restarted Rainmeter and also Spotify, however nothing changes/helps.


Ugh.. at first I was just getting this generic error, but since this morning it was telling me about spotifyplugin.spotilocal.com and no being able to resolve it. So, I edited the hosts file and it worked straight away (no reboot needed by the way). So, covers are fine again now.

Re: Spotify Plugin Released! Now with less bugs!

July 17th, 2017, 1:00 pm
sharktamer
   [1 posts]

Hopefully adding this alias to 127.0.0.1 is only a temporary fix. I'm hoping to use this plugin on a work laptop that I can't edit /etc/hosts on.

Return to “Plugins & Addons”



Who is online

Users browsing this forum: drakulaboy and 4 guests