bistrik / remotecontrol-for-winamp

Automatically exported from code.google.com/p/remotecontrol-for-winamp
0 stars 0 forks source link

Fails to reconnect with custom port #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set a custom port (e.g. 35941), uncheck the option to 'show window on Winamp 
start' and connect
2. Play around a bit (ensure it's working :-) )
3. Hit the 'back'-Button on your cell phone
4. Restart the app on the cell phone

What is the expected output? What do you see instead?

I was hoping, that the cell phone and the PC reconnect, but a timeout appears. 
The (almost [1]) only thing that helps is to restart Winamp.

What version of the product are you using? On what operating system?

PC:
Windows 7 32 Bit Ultimate
Winamp 5.61

Cell phone:
Nexus S Android 2.3.3
remotecontrol for winamp 0.91

Please provide any additional information below.

After restarting the app on the cell phone, the plugin for winamp seems to 
reset itself to 'factory settings' (Port 50000, all options checked). So one 
could us a workaround to reset the port in the app. 
But this only happens if one isn't looking: the remotecontrol window _must not_ 
be open (or have been opened prior). If you have the window open, all options 
will remain the way you set them.

Upon restarting Winamp, everything is restored to my settings (custom port, 
don't show window on startup).

Btw, where does the remotecontrol keep the user's settings?

I'm happy to help understand what I wrote (well...it's 2:45 a.m.)

Best wishes

Original issue reported on code.google.com by ahmed.ka...@gmail.com on 27 Apr 2011 at 12:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for that hint! It should be fixed in the new version 0.93 - don't use 
0.92.

The settings are kept in %APPDATA%\Winamp\RemoteControl.dat:

line 1: port
line 2: Start server with Winamp (0 off, 1 on)
line 3: Show this window when Winamp starts (0 off, 1 on)
line 4: Auto restart server when client disconnects (0 off, 1 on)

Original comment by martinsc...@gmail.com on 27 Apr 2011 at 10:04