swdotcom / swdc-intellij-music-time Goto Github PK
View Code? Open in Web Editor NEWAn IntelliJ plugin to discover the most productive music to listen to as you code
Home Page: https://www.software.com/music-time
License: Apache License 2.0
An IntelliJ plugin to discover the most productive music to listen to as you code
Home Page: https://www.software.com/music-time
License: Apache License 2.0
Verify first that your issue is not already reported on GitHub : reported and closed here, but still is an issue for me
Describe the bug
A clear and concise description of what the bug is.
I installed the plugin, hit "connect to spotify", gets to the page "Spotify is now connected" but nothing happens in my IDE.
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
The plugin is connected to Spotify and allows me to play music.
ACTUAL RESULTS
I can't get the plugin to go past the "Connect to spotify" step.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
After restarting the reconnect failed. No error message.
It just requested permissions on Spotify and didn't reconnect.
ISSUE TYPE
I installed used MusicTime 2.1.10 on IntelliJ 2021.2.3 RC.
The first start and connection to Spotify worked. After restarting the reconnect failed. No error message.
It just requested permissions on Spotify and didn't reconnect.
Steps to reproduce
Desktop (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
When setting up the plugin and authorizing Spotify, a popup appears, however the plugin view is still stuck on "Connect Spotify", even after waiting.
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Music Time shows recommendations, etc.
ACTUAL RESULTS
Music Time does not recognize fully that Spotify was connected, and tells me to Connect Spotify over and over.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
Status bar item from the plugin change size moving the rest of the items
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Status bar items wouldn't change size
ACTUAL RESULTS
Status bar items change size
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
I have Music Time 2.1.10 installed in Rider 2021.2.2.
When viewing the Music Time plugin under Rider's Settings -> Plugins, the README text has what looks like template markedown content at the bottom. For example:
Second Heading
Unordered lists, and:
One
Two
Three
More
Blockquote
And bold, italics, and even italics and later bold. Even strikethrough . A link to somewhere.
And code highlighting:
var foo = 'bar';
function baz(s) {
return foo + ':' + s;
}
Or inline code like var foo = 'bar';.
Or an image of bears
The end ...
Describe the bug
Installing Music Time in CLion works as well as in IntelliJ. Menu and window are there, connection to Spotify incl. desktop app works well. The only bug in CLion is, that the music controls don't show up in the status bar. They do in IntelliJ on the same machine, so it's CLion specific.
ISSUE TYPE
Steps to reproduce
Expected behavior
Music controls show up in status bar for CLion like they do in IntelliJ.
Desktop (please complete the following information):
Describe the bug
Saw your plugin in user freeze reports
at com.musictime.intellij.plugin.fs.FileManager.getNumericItem(FileManager.java:390)
at com.musictime.intellij.plugin.managers.SessionDataManager.getTimeBetweenLastPayload(SessionDataManager.java:82)
at com.musictime.intellij.plugin.KeystrokeCount.processKeystrokes(KeystrokeCount.java:260)
at com.musictime.intellij.plugin.SoftwareCoEventManager.lambda$checkFocusState$1(SoftwareCoEventManager.java:59)
at com.musictime.intellij.plugin.SoftwareCoEventManager$$Lambda$2982/0x0000000801a90440.run(Unknown Source)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:322)
at com.intellij.openapi.application.impl.ApplicationImpl$$Lambda$359/0x000000080029c440.run(Unknown Source)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:132)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:188)
at [email protected]/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at [email protected]/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at [email protected]/java.awt.EventQueue$4.run(EventQueue.java:727)
at [email protected]/java.awt.EventQueue$4.run(EventQueue.java:721)
at [email protected]/java.security.AccessController.doPrivileged(Native Method)
at [email protected]/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at [email protected]/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:841)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
at com.intellij.ide.IdeEventQueue$$Lambda$676/0x000000080089f840.compute(Unknown Source)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
at com.intellij.ide.IdeEventQueue$$Lambda$673/0x0000000800899c40.run(Unknown Source)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:499)
at [email protected]/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at [email protected]/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at [email protected]/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at [email protected]/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at [email protected]/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at [email protected]/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ISSUE TYPE
Describe the bug
A clear and concise description of what the bug is.
2021-02-11 00:05:15,820 [ 8279] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Music Time) or icon UrlResolver{ownerClass=com.musictime.intellij.plugin.tree.MusicToolWindowFactory, classLoader=PluginClassLoader[PluginDescriptor(name=Music Time, id=com.musictime.intellij.plugin, path=/home/spurlos/.local/share/JetBrains/PhpStorm2020.3/musictime, version=2.1.4)] com.intellij.ide.plugins.cl.PluginClassLoader@7629d13f, overriddenPath='/com/musictime/intellij/plugin/assets/paw.png', url=file:/unresolved, useCacheOnLoad=true}
ISSUE TYPE
Steps to reproduce
Launch IDE from console and you would see the logs right at the start.
Expected behavior
No warnings obviously :)
ACTUAL RESULTS
Logs pasted above ^
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug
Fatal error on startup. Plugin in non usable state.
ISSUE TYPE
Steps to reproduce
Expected behavior
Plugin in working state
ACTUAL RESULTS
Fatal Error
java.lang.NullPointerException
at com.musictime.intellij.plugin.musicjava.Apis.lambda$getSpotifyIntegration$0(Apis.java:35)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findAny(ReferencePipeline.java:548)
at com.musictime.intellij.plugin.musicjava.Apis.getSpotifyIntegration(Apis.java:36)
at com.musictime.intellij.plugin.musicjava.Apis.getSpotifyAccessToken(Apis.java:42)
at com.musictime.intellij.plugin.music.MusicControlManager.hasSpotifyAccess(MusicControlManager.java:312)
at com.musictime.intellij.plugin.tree.MusicToolWindow.rebuildPlaylistTreeView(MusicToolWindow.java:274)
at com.musictime.intellij.plugin.tree.MusicToolWindow.<init>(MusicToolWindow.java:131)
at com.musictime.intellij.plugin.tree.MusicToolWindowFactory.createToolWindowContent(MusicToolWindowFactory.java:17)
at com.intellij.openapi.wm.impl.ToolWindowImpl.createContentIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:524)
at com.intellij.openapi.wm.impl.ToolWindowImpl.scheduleContentInitializationIfNeeded$intellij_platform_ide_impl(ToolWindowImpl.kt:503)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.doShowWindow(ToolWindowManagerImpl.kt:1016)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.showToolWindowImpl(ToolWindowManagerImpl.kt:962)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow(ToolWindowManagerImpl.kt:665)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activateToolWindow$default(ToolWindowManagerImpl.kt:643)
at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.activated$intellij_platform_ide_impl(ToolWindowManagerImpl.kt:2027)
at com.intellij.openapi.wm.impl.StripeButton.lambda$new$0(StripeButton.java:68)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:401)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
at com.intellij.openapi.wm.impl.StripeButton.processMouseEvent(StripeButton.java:329)
at java.desktop/java.awt.Component.processEvent(Component.java:6417)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2784)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:885)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:814)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:751)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:441)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:440)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:492)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Desktop:
Describe the bug
A clear and concise description of what the bug is.
Error says I should upgrade my Code Time plugin upon trying to connect Music Time to Spotify.
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Spotify connection succesful
ACTUAL RESULTS
Error shown in a previous section
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Music Time for other streaming service like Youtube Music
I don't like Spotify and I am a Youtube Music user, it would be good to have a plugin compatible with Youtube Music as well!
Describe the bug
A clear and concise description of what the bug is.
java.lang.NoClassDefFoundError: okhttp3/OkHttpClient
at com.swdc.snowplow.tracker.manager.TrackerManager.<init>(TrackerManager.java:47)
at com.musictime.intellij.plugin.managers.EventTrackerManager.init(EventTrackerManager.java:47)
at com.musictime.intellij.plugin.SoftwareCoMusic.initializeUserInfo(SoftwareCoMusic.java:183)
at com.musictime.intellij.plugin.SoftwareCoMusic.initializeUserInfoWhenProjectsReady(SoftwareCoMusic.java:170)
at com.musictime.intellij.plugin.SoftwareCoMusic.access$000(SoftwareCoMusic.java:30)
at com.musictime.intellij.plugin.SoftwareCoMusic$1.run(SoftwareCoMusic.java:165)
at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
at java.base/java.util.TimerThread.run(Timer.java:506)
Caused by: java.lang.ClassNotFoundException: okhttp3.OkHttpClient PluginClassLoader[PluginDescriptor(name=Music Time, id=com.musictime.intellij.plugin, path=/home/spurlos/.local/share/JetBrains/PhpStorm2020.2/musictime, version=2.0.11)] com.intellij.ide.plugins.cl.PluginClassLoader@465479a
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:95)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 8 more
ISSUE TYPE
Steps to reproduce
Expected behavior
A clear and concise description of what you expected to happen.
No error popup and stable plugin work
ACTUAL RESULTS
IDE becomes unstable if MusicTime is being used
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
It is a known thing that the plugin currently requires to have a premium account for changing the song, pause, music control.
This can be changed on GNU/Linux systems as there is a FOSS project that provides cli control of multiple apps including spotify, player controls:
Here is the link:
playerctl
Describe the bug
The music control no working in phpstorm 2020.1, i can't play music, or playlist, only list
ISSUE TYPE
Desktop (please complete the following information):
This process is very bureaucratic, and I think in give up reporting the issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.