It is currently May 18th, 2024, 6:30 am

Spotify Plugin Released! Now with less bugs!

Plugins and Addons popular with the Community
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

Re: Spotify Plugin Released!

Post by rm_lion »

I tried it with the dll above my last post but i had the same Problems.
I also made a complete uninstall of Rainmeter. Then i made a Reboot. And then i installed everything again. Took me quite some time but the Problem is still the same. The Folder SpotifyPlugin doesn't get created. Cover not visible. AlbumTitle does not work. Time, ProgressTime and Percentual Progress don't work.

Damn I don't understand it! It's really driving me crazy. I'm in total despair. I was so happy with the last version. And I can't believe that no one else has the same Problem.
I have TeamViewer 9 on my Laptop. I wouldn't mind if someone of you pros takes a look at it.
You do not have the required permissions to view the files attached to this post.
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

Re: Spotify Plugin Released!

Post by rm_lion »

It's getting even crazier now. 10 minutes ago the cover did work 2 or three times when i did choose a new Album in spotify. And once the Album title has also been shown for about 2 seconds. wtf???? Arrrrrrggghhh!
User avatar
VasTex
Posts: 407
Joined: September 20th, 2012, 3:17 pm
Location: USA - Montana

Re: Spotify Plugin Released!

Post by VasTex »

Well I downloaded and tested the latest version for myself and it runs perfectly fine on both my Windows 7 64bit machine and my Windows 8.1 64bit machine. I have no issues with it.

Are you sure that you're running a 64bit version of Windows? If not then that could be the cause of your issues. You might want to double check your code and make sure that everything in Rainmeter's Log is reflecting the expected values. Double check file paths and folder names.

You could also try to create the SpotifyPlugin folder on your own and see if the plugin picks that up. I don't see a reason why the latest version should be causing any issues for you. Regardless, I have the previous version of his plugin here if you want to download it and try it. It's only one version back (the 3rd of July I think) and maybe it will fix your issue.

If it doesn't, I wouldn't be completely opposed to checking it out via TeamViewer. I've been working as an IT for a while now (around 5-6 years) and I use it fairly often, but I wouldn't resort to that unless this older version doesn't resolve your issue.
SpotifyPlugin.7z
You do not have the required permissions to view the files attached to this post.
01010100 01100101 01100011 01101000 01101110 01101111 01101100 01101111 01100111 01101001
01100011 01100001 01101100 00100000 01000010 01100001 01100100 01100001 01110011 01110011
User avatar
exper1mental
Posts: 269
Joined: January 9th, 2013, 7:52 pm
Location: Clemson University

Re: Spotify Plugin Released!

Post by exper1mental »

.raptor wrote:I'm sorry about not being much help about the crashing. I wish i could say that its probably just a minor bug waiting to be fixed, but unfortunately its just my flawed implementation so far. I'm really grateful for you guys putting up with this release after release. This is my first half serious project, and I'm learning loads.

I don't have a major update for you guys this time, but at least a little something i snuck in between the rest of the development. Both shuffle and repeat should now give results (1 for true, 0 for false), and if you guys find other unimplemented measures, they will now show the correct plugin name in the rainmeter log. Track, artist and album names are now in UTF8 encoding aswell.
(There has also been some work on stability aswell, but as i don't know if this is a step for the better or for the worse, i will just attach it here.)
Well I've been using the plugin you attached and in terms of crashes I haven't really noticed a different. Aside from the on-wake crashes I haven't had any new crashes which is a big plus (although when loading skins using the plugin rainmeter sometimes lags or temporarily locks up).


I did noticed one bug though, I have two skins that a switch between that use the plugin. One uses albumart with Res=60 and the other uses Res=300. (I noticed the crash caused by typing Res=300 rather than leaving it blank to use the default value is gone :thumbup: )

The problem is this, when switching between them the album art does not adjust resolution until the next song is loaded with the new skin running. So when I switch from the skin using Res=60 to the skin using Res=300 it still displayed the artwork at Res=60, the opposite is also true. If you could fix this it would be awesome!


Both shuffle and repeat are working. :D For repeat could you also have it return 2 when Spotify is set to repeat a single song? Just a nit-picky suggestion anyway.
rm_lion wrote:It's getting even crazier now. 10 minutes ago the cover did work 2 or three times when i did choose a new Album in spotify. And once the Album title has also been shown for about 2 seconds. wtf???? Arrrrrrggghhh!
Have you tried using a different skin to see if it is just some weird fluke thing related to the skin?

If your editing an existing skin did you remember for the measures accessing the Spotify plugin to use Type= not PlayerType=? (not sure why he changed the name of it but he did)

Also, would you mind uploading a .rmskin of the music player skin or the skin code? You never know, might just be some typos or lua script gone haywire yielding wacko results :p
Image
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

Re: Spotify Plugin Released!

Post by rm_lion »

Hello VasTex,

thanks a lot for your answer.
I'm absolutely sure that i have 64 bit Windows.
I'm quite skilled with Computers. I use Computers since the commodore 64. I did built several Desktops on my own. Even with watercooling. I worked in Support for HP. I worked for ten years as COBOL Programmer. I worked one Year on Support for UNIX, AIX, Solaris and one year I worked with Oracle Databases with the Developer Tools and PL/SQL.
And in one or two weaks i will start a new Job as ERP and DWH-Specialist on Microsoft SQL-Server 2008.
So you can surely imagine that it drives me totally crazy that I'm not able to fix this Problem with the Spotify Plugin.

As I mentioned in my last post the Folder SpotifyPlugin has been created by the Plugin itself when I was clicking around in the SpotifyApp. And now when I click next on the Skin the AlbumTitle is shown for about 1 second and also the Time of the last track appears for about 1 second. Same Thing for the Volume, 1 second shown correct and then displaying 0 again. And sometimes also the cover appears for about 1 second (only when the Album does Change by pressing on the next button) but then it immediately disappears again and the Default Picture is shown.
Strange!!!!
Unfortunately the Version that you provided is the one that doesn't work. It is the Version before this one that worked correct.
Now i noticed that sometimes the Album title is shown for a Moment, sometimes the volume is correct for a Moment and sometimes the time and the Progress is shown for a Moment. And just now the cover did appear and it has been shown correctly until i skipped to the next Album. And now the Default Picture is displayed again.
Impossible!!

Hello exper1mental,

thanks a lot also for your answer.
Yes I also tried another Skin (NR_iTunes_MiniPlayer). And this Skin behaves exactly the same way like my slightly edited Soita Skin. I checked that Thing with Type and PlayerType and everywhere I use the SpotifyPlugin I also use Type.
Anyway I attached the rmskin to this post.

By the way I just noticed that .raptor did test the code of my Skin and it seems that everything works fine on his Computer. See attachment on his post. page 11, time 14:38.
You do not have the required permissions to view the files attached to this post.
User avatar
.raptor
Posts: 220
Joined: April 3rd, 2013, 11:03 pm
Location: Norway

Re: Spotify Plugin Released!

Post by .raptor »

exper1mental:
Glad to hear that the res=300 is back to working order, at least we are getting somewhere :)
About the album cover not switching until the next song, i knew about this but figured that no one would use several album measures at once. (This might even cause some weird errors, depending on how the Rainmeter side of things look. For instance if each skin starts a new instance of SpotifyPlugin.dll, we are gonna have some serious issues if this is used in more then one skin.)

Unfortunately as of now, the 2nd repeat option is not distinguishable from the first.

rm_lion:
I really wish i could be of more help here. You don't happen to have Spotify in Private Session? I have attached a program below this post that i would really like a screenshot of. Make sure you expand the window so i can see all the data in it.
You do not have the required permissions to view the files attached to this post.
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

Re: Spotify Plugin Released!

Post by rm_lion »

Hi .raptor,

ok I did run your Debugger. My Spotify is not in Private Session. Normally there is almost nothing visible. See Picture "1".
But when I press several times on skip in the Skin, then there is for a very small Moment some data visible. See Picture "2". The Album Cover also appears then for the blink of an eye but with a Little delay to the data so I couldn't take a Picture where the data and the cover is visible. Same Thing with the Skin. When I press several times consecutively on skip then the things work sometimes for the blink of an eye.
You do not have the required permissions to view the files attached to this post.
User avatar
.raptor
Posts: 220
Joined: April 3rd, 2013, 11:03 pm
Location: Norway

Re: Spotify Plugin Released!

Post by .raptor »

Well, i guess this is what we are back to then... :confused:

Run the version below for a minute or so, and upload the log.txt that appears on your desktop.
You do not have the required permissions to view the files attached to this post.
User avatar
rm_lion
Posts: 93
Joined: December 27th, 2013, 4:04 pm
Location: Switzerland

Re: Spotify Plugin Released!

Post by rm_lion »

Ok I did run the Debugger. It often crashes. Sometimes I get an ErrorMessage from the .NetFramework sometimes I don't.
I attach the LogFile and the ErrorMessage which i sometimes get.
You do not have the required permissions to view the files attached to this post.
User avatar
.raptor
Posts: 220
Joined: April 3rd, 2013, 11:03 pm
Location: Norway

Re: Spotify Plugin Released!

Post by .raptor »

rm_lion wrote:Ok I did run the Debugger. It often crashes. Sometimes I get an ErrorMessage from the .NetFramework sometimes I don't.
I attach the LogFile and the ErrorMessage which i sometimes get.
New one! 8-)
(just ignore the chrashes for now)
You do not have the required permissions to view the files attached to this post.