RobertFrydenlund / SpotifyPlugin

72 stars 6 forks source link

Rainmeter (with a loaded Spotify Plugin-supported skin) does not launch when disconnected from internet #13

Closed redsaph closed 6 years ago

redsaph commented 6 years ago

Environment to reproduce the issue: Rainmeter version 4.2.0 beta r3088 Spotify Plugin version 2.1.5 PC on Airplane Mode or disconnected totally from the internet

Steps to reproduce:

  1. Ensure you are connected to the internet.
  2. Open Rainmeter and load a Spotify Plugin-supported skin (e.g. SpotifyPlayer, Cleartext, Monstercat)
  3. Open Spotify and play any music. Keep it open.
  4. Disconnect ethernet cables or turn on Airplane Mode
  5. Exit Rainmeter.
  6. After ensuring you are disconnected from the internet, launch Rainmeter.

Actual result: Rainmeter is immediately suspended before exiting quietly, as inspected through Task Manager. Repeated launching of Rainmeter with a skin using the Spotify Plugin is not possible unless internet connection is restored.


The debug log does not reveal anything as well. Here are the logs after the initial display APIs and network interfaces are printed.

DBUG (18:07:46.527) : ------------------------------  
DBUG (18:07:46.539) : ------------------------------  
DBUG (18:07:46.553) : * Font families:  
WARN (18:07:46.570) : , Adobe Arabic, [...] Yu Gothic UI Semilight,   
DBUG (18:07:46.580) : ------------------------------  
DBUG (18:07:46.608) : Reading file: C:\Users\Joshua\AppData\Roaming\Rainmeter\Rainmeter.ini  
NOTE (18:07:46.639) : ConfigEditor: C:\Program Files\Microsoft VS Code\Code.exe  
DBUG (18:07:46.650) : Reading file: C:\Users\Joshua\AppData\Roaming\Rainmeter\Rainmeter.stats  
NOTE (18:07:46.666) SpotifyPlayer\Player\Player.ini: Refreshing skin  
DBUG (18:07:46.678) : Reading file: C:\Users\Joshua\AppData\Roaming\Rainmeter\Rainmeter.ini  
DBUG (18:07:46.690) SpotifyPlayer\Player\Player.ini: Reading file: C:\Users\Joshua\Documents\Rainmeter\Skins\SpotifyPlayer\Player\Player.ini
RobertFrydenlund commented 6 years ago

Thank you for the detailed bug report. Will get on this as soon as i return from my vacation!

redsaph commented 6 years ago

Hey,
I've encountered something probably related to this issue. When I tried using the playback commands coincidentally when I've lost my internet connection, it opened up a webpage on the localhost port 7476 (http://127.0.0.1:7476/?code=&state=XSS)*. After that, Rainmeter silently crashed.


*I've removed the long alphanumeric content in the code GET parameter in case it refers to something important on my Spotify account.

RobertFrydenlund commented 6 years ago

Should be fixed with Beta 3. If the issue continues, please open a new issue and reference this one.