Share

floAt's Mobile Agent

Tracker: Bugs

5 Winamp control plugin crashes on Load Playlist - ID: 1612461
Last Update: Comment added ( trinitronx )

I have found a problem in the Winamp control plugin, having to do with
calling the FileExplorer plugin.
When trying to "Load Playlist" from the Winamp plugin, the script seems to
crash and loading the FMA menu from the accessories menu does not work. A
disconnect/reconnect cycle must be performed to restart the scripting
framework and get the menu on my phone.

I looked into the log and found this:

21:37:25:015: Script: Calling PluginManager("Winamp").LoadPlaylist
21:37:25:015: Script: Error at line 0, col 0 "Class not defined:
'FileExplorer'"
21:37:25:015: Script: Error at line 0, col 0 "Class not defined:
'FileExplorer'"
21:37:25:015: Script: Error at line 0, col 0 "Class not defined:
'FileExplorer'"
21:37:25:015: Script: Error at line 0, col 0 "Class not defined:
'FileExplorer'"
21:37:25:015: Script: Error at line 0, col 0 "Class not defined:
'FileExplorer'"

As far as I know, the FileExplorer plugin was loaded at the time, I see
this somewhere above the previous errors (I had enabled it beforehand to
make sure) :

21:34:25:453: Script: Calling PluginManager("PluginDisabler").Enable
"FileExplorer.vbs", "C:\Program Files\FMA
2\sframework\plugins\FileExplorer.vbs"
21:34:25:453: [Script] Info: Saving Settings
21:34:25:453: [Script] Debug: Saving hash to file C:\Program Files\FMA
2\sframework\fma.settings
21:34:25:468: [Script] Debug: Loading plugin: FileExplorer
21:34:25:578: [Script] Debug: MainMenu not added: AutoMenu
21:34:25:578: [Script] Debug: MainMenu added: Camera
21:34:25:578: [Script] Debug: MainMenu added: Configurator
21:34:25:578: [Script] Debug: MainMenu added: FileExplorer

I don't really know vb scripting very much, so I'm not sure if I can really
help much as far as looking into the vbs files to see where the problem may
be... hope this helps to find the bug :D


NOTES:
OS: Windows XP SP2
FMA Version: 2.1.3.99.R149
Scripting Framework Version: fma-sframework-20051220
Revision 1.5.2.6 2005/12/23 17:07:32 mhr3
Phone: W810i


TrinitronX ( trinitronx ) - 2006-12-10 05:10

5

Open

None

Nobody/Anonymous

Media Controls

None

Public


Comment ( 1 )

Date: 2006-12-12 23:50
Sender: trinitronx


FIX FOUND:

Replace LoadPlaylist subroutine with:


Sub LoadPlaylist()
If PluginManager.IsLoaded("FileExplorer") Then
'Create FileExplorer and browse the playlist folder from the
settings
PluginManager("FileExplorer").ShowDir Settings(Me,
"PlaylistFolder"), 0
Else
Debug.ErrorMsg Self & "You will need the FileExplorer plugin
to select playlists!"
End If
End Sub


Thanks to this post:
http://fma.sourceforge.net/forums/index.php?showtopic=6812


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
category_id None 2006-12-12 22:05 trinitronx