Code Monkey home page Code Monkey logo

macro-deck-spotify-plugin's Introduction

Hi, I'm Manuel ๐Ÿ‘‹๐Ÿป

Technologies I use

Swift .NET Ionic

Fastlane Git GitHub Docker Ubuntu

HTML CSS TypeScript Angular Bootstrap

Support my work

Buy Me a Coffee at ko-fi.com

Stats

Manuel Mayer's GitHub stats

suchbyte

macro-deck-spotify-plugin's People

Contributors

develeon64 avatar manuelmayer-dev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

macro-deck-spotify-plugin's Issues

On Macro Deck backup, SQLite error.

When I attempted to create a backup, there were 4 notifications of errors from the Spotify Plugin:

19:03:18 [Macro Deck] [Info] >> Sarting creation of backup: backup_23-01-17_19-03-18.zip
19:03:20 [SpotifyPlugin] [Error] >> Error: Cannot create commands from unopened database
   at SQLite.SQLiteConnection.CreateCommand(String cmdText, Object[] ps)
   at SQLite.TableQuery`1.GenerateCommand(String selectionList)
   at SQLite.TableQuery`1.ToList()
   at SQLite.TableQuery`1.FirstOrDefault()
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, String creator) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 151
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, MacroDeckPlugin plugin, String[] suggestions) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 186
   at Develeon64.SpotifyPlugin.Utils.SpotifyHelper.UpdateVars(Boolean wait) in D:\Temp\Develeon64.SpotifyPlugin\Utils\SpotifyHelper.cs:line 171
19:03:22 [SpotifyPlugin] [Error] >> Error: Cannot create commands from unopened database
   at SQLite.SQLiteConnection.CreateCommand(String cmdText, Object[] ps)
   at SQLite.TableQuery`1.GenerateCommand(String selectionList)
   at SQLite.TableQuery`1.ToList()
   at SQLite.TableQuery`1.FirstOrDefault()
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, String creator) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 151
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, MacroDeckPlugin plugin, String[] suggestions) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 186
   at Develeon64.SpotifyPlugin.Utils.SpotifyHelper.UpdateVars(Boolean wait) in D:\Temp\Develeon64.SpotifyPlugin\Utils\SpotifyHelper.cs:line 171
19:03:23 [Macro Deck] [Info] >> Backup successfully created: backup_23-01-17_19-03-18.zip
19:03:24 [SpotifyPlugin] [Error] >> Error: Cannot create commands from unopened database
   at SQLite.SQLiteConnection.CreateCommand(String cmdText, Object[] ps)
   at SQLite.TableQuery`1.GenerateCommand(String selectionList)
   at SQLite.TableQuery`1.ToList()
   at SQLite.TableQuery`1.FirstOrDefault()
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, String creator) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 151
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, MacroDeckPlugin plugin, String[] suggestions) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 186
   at Develeon64.SpotifyPlugin.Utils.SpotifyHelper.UpdateVars(Boolean wait) in D:\Temp\Develeon64.SpotifyPlugin\Utils\SpotifyHelper.cs:line 171
19:03:26 [SpotifyPlugin] [Error] >> Error: Cannot create commands from unopened database
   at SQLite.SQLiteConnection.CreateCommand(String cmdText, Object[] ps)
   at SQLite.TableQuery`1.GenerateCommand(String selectionList)
   at SQLite.TableQuery`1.ToList()
   at SQLite.TableQuery`1.FirstOrDefault()
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, String creator) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 151
   at SuchByte.MacroDeck.Variables.VariableManager.SetValue(String name, Object value, VariableType type, MacroDeckPlugin plugin, String[] suggestions) in E:\Repos\Macro-Deck-WinForms\Macro-Deck\Variables\VariableManager.cs:line 186
   at Develeon64.SpotifyPlugin.Utils.SpotifyHelper.UpdateVars(Boolean wait) in D:\Temp\Develeon64.SpotifyPlugin\Utils\SpotifyHelper.cs:line 171

Anything I can do to help troubleshoot this? Or is it some useless stuff that shouldn't affect anything?

i dont understand the variables

I tried to make nice buttons and toggles with spotify_playing_loop but I don't understand all the possible variables. is there anywhere where they are stated for someone without that much programming knowledge?

[Bug] Set Volume action fails w/ fresh Spotify instance

Issue Title

Set Volume action fails and disconnects

Issue Description

To reproduce this error, do the following:

  1. Close Spotify
  2. BEFORE starting any music, attempt to run the Set Volume action with any configuration

This will not work and cause the connection to drop.

Identified Workaround

To ensure this doesn't happen, start playing music before using the volume action.

Authorization not working completely

I set up my app at Spotify Developers following the guide in https://github.com/Develeon64/Macro-Deck-Spotify-Plugin/issues/2 .
However, when I press the "Authorize Spotify" button the usual authorization page opens, I click on "accept", the callback page opens and that's it. Nothing further happens, the Token is still blank and when I press "Ok" Macro Deck tells me, that the token cannot be empty.
I've used the Spotify API before, but never experienced this odd behavior.

I use Windows 11 and Brave.

Error 403 when using toggle playback

I keep getting the error 403 when using the pluging. I use the toggle playback option and i think it keep sending play request instead of play and stop requests.

Any help on how to fix this would be great.

MacroDeck doesn't recognise my Spotify Premium Account

Hello! i'have installed this software today, and when I've tried to connect my Spotify Account, it brings me back this error:
image
The problem is, I have a premium account (specifically a Premium Duo).
How Can I resolve?

Constant 503 error

I love this plugin but my god it's really unreliable. It's constantly disconnecting for me and throwing out errors. Does anyone else get this?

Typically I get either:
09:32:41 [SpotifyPlugin] [Error] >> There was an Error with the Spotify-API: {
"error": {
"status": 503,
"message": "Service unavailable"
OR
09:04:51 [SpotifyPlugin] [Error] >> There was an Error with the Spotify-API: {
"error": {
"status": 401,
"message": "The access token expired"
}
}

I need help because this is figuratively killing me

unable to configure the plugin.

So Im trying to configure the plugin, I made the app on spotify for devlopers, put the redirect correctly and took the client id placed it in the config window pressed authorize spotify, made sure its the right account, accepted and then nothing happens i tried on opera gx, on edge and on chrome and it still is not working.

cannot AUTH spotify with macro deck

I am a new macro deck user and what can the devil say if not a huge third middle finger
I cannot authorize the Spotify token and I am gonna flicking break
can anyone help please
Shold I put the address for you it just shows "INVALID_CLIENT: Invalid redirect URI"
THE HELL SHOLD I DO
{I have premium if that's helpful}
THX see you in the comments
@Develeon64

spotify_playing_title update issue

spotify_playing_title variable doesn't seem to update until something else triggers it. In my case specifically whenever I use a button to adjust Spotify volume it seems to trigger the variable to update on a button I have to display whatever is currently playing. Doesn't seem to update on it's own.

Set Volume issue

It seems that when I tried to set my Spotify volume to 35% it would go to 34% instead. Yet whenever I try set to 75% it was fine. I haven't gone through each percentile but it appears that at least it sets to 1 increment less around the 30-40% mark

Refresh token revoked, but it's not.

Hey! I just started using this today, and it's pretty neat how easy it was to set up! =)
But I've been noticing there are 2 quite constant errors - I know issues are supposed to be individually reported, so I'll stick to one here. The first to report is a "refresh token revoked" error:

19:14:23 [SpotifyPlugin] [Error] >> There was an Error with the Spotify-API: {"error":"invalid_grant","error_description":"Refresh token revoked"}

I've been having this one quite frequently and no idea on why. And it doesn't seem to actually be the case, because just by re-enabling the plugin on Macro Deck itself, things get back on track.
If there's a way to increase log verbosity to check for what happens, I'm more than willing to do so!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.