MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2007-05-28, 05:53   #21 (permalink)
Portal Tester
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,929
Thanks: 4
Thanked 15 Times in 15 Posts

Country:

My System

Default

Hi lkuech, this is an excellent plugin - well done ...

Just a couple of minor issues:-

I get this message in the MediaPortal.log file:-

Code:
2007-05-28 13:27:07.875000 [Info.][MPMain]:   Load plugins from : C:\Program Files\MediaPortal\Plugins\windows\GUIWorldmap.dll
2007-05-28 13:27:07.890625 [Info.][MPMain]:   Assembly Version : 1.0.0.0
2007-05-28 13:27:07.906250 [Info.][MPMain]: GUIWindowManager: Could not find window 10235
2007-05-28 13:27:07.906250 [Info.][MPMain]: GUIWindowManager: Could not find window 10236
2007-05-28 13:27:07.906250 [Info.][MPMain]: GUIWindowManager: Could not find window 10237
which refers to the xml files "MyWorldmapMenu", "MyWorldmapSearch" and "MyWorldmapSearchResults" - which all do exist in the BlueTwo wide skins folder. So I am not sure why the above message occurs?

If I search for a place with more than 6 results (eg. Heywood), the additional items continue down the screen and off the Search results page, and the "page up / page down control" is also off the Search results page. This is using the BlueTwo wide skin.


EDIT - attached are 2 xml files for BlueTwo wide that I have modified to correct search results overflow issue mentioned above, and to modify the context menu layout.
Attached Files
File Type: xml MyWorldmapMenu.xml (1.4 KB, 27 views)

Last edited by Taipan; 2007-05-28 at 07:07. Reason: attached xml files
Taipan is online now   Reply With Quote
Old 2007-05-28, 11:24   #22 (permalink)
Portal Member
 
Machismo's Avatar
 
Join Date: Jul 2006
Location: LA
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post

Country:

My System

Default

AWESOME Plugin!

This is sure to impress and come in very handy when I move house.

Keep up the great work.
Machismo is offline   Reply With Quote
Old 2007-05-28, 12:04   #23 (permalink)
Portal Member
 
Join Date: Jan 2005
Location: Melbourne, Australia
Age: 32
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Send a message via MSN to Downzy Send a message via Skype™ to Downzy
Default

G'day,

Love the concept, this is a really cool plugin. Unfortunately it crashes for me also as soon as I launch it.

Here's the exception log
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
ExceptionType: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: GUIWorldmap

Stack trace:
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++

and the error log...

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
2007-05-28 19:59:23.360750 [ERROR][MPMain]: No translation found for id 110234
2007-05-28 19:59:24.626375 [ERROR][MapTileDownloader]: MediaPortal: Unhandled exception occured
2007-05-28 19:59:24.735750 [ERROR][MapTileDownloader]: MediaPortal: Unhandled exception occured
2007-05-28 19:59:24.751375 [ERROR][MapTileDownloader]: MediaPortal: Unhandled exception occured
2007-05-28 19:59:24.751375 [ERROR][MapTileDownloader]: MediaPortal: Unhandled exception occured
2007-05-28 19:59:24.751375 [ERROR][MapTileDownloader]: MediaPortal: Unhandled exception occured
2007-05-28 19:59:24.767000 [ERROR][MapTileDownloader]: Exception ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:24.798250 [ERROR][MapTileDownloader]: Exception ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:24.813875 [ERROR][MapTileDownloader]: Exception ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:24.813875 [ERROR][MapTileDownloader]: Exception ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:24.829500 [ERROR][MapTileDownloader]: Exception ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:24.829500 [ERROR][MapTileDownloader]: Exception :Index was outside the bounds of the array.
2007-05-28 19:59:24.876375 [ERROR][MapTileDownloader]: Exception :Index was outside the bounds of the array.
2007-05-28 19:59:24.876375 [ERROR][MapTileDownloader]: Exception :Index was outside the bounds of the array.
2007-05-28 19:59:24.892000 [ERROR][MapTileDownloader]: Exception :Index was outside the bounds of the array.
2007-05-28 19:59:24.892000 [ERROR][MapTileDownloader]: Exception :Index was outside the bounds of the array.
2007-05-28 19:59:24.907625 [ERROR][MapTileDownloader]: site ystem.String GetVETileUrl(MapType, Int32, Int32, Int32)
2007-05-28 19:59:24.938875 [ERROR][MapTileDownloader]: site ystem.String GetVETileUrl(MapType, Int32, Int32, Int32)
2007-05-28 19:59:24.954500 [ERROR][MapTileDownloader]: site ystem.String GetVETileUrl(MapType, Int32, Int32, Int32)
2007-05-28 19:59:24.954500 [ERROR][MapTileDownloader]: site ystem.String GetVETileUrl(MapType, Int32, Int32, Int32)
2007-05-28 19:59:24.970125 [ERROR][MapTileDownloader]: site ystem.String GetVETileUrl(MapType, Int32, Int32, Int32)
2007-05-28 19:59:24.970125 [ERROR][MapTileDownloader]: source :GUIWorldmap
2007-05-28 19:59:25.017000 [ERROR][MapTileDownloader]: source :GUIWorldmap
2007-05-28 19:59:25.017000 [ERROR][MapTileDownloader]: source :GUIWorldmap
2007-05-28 19:59:25.032625 [ERROR][MapTileDownloader]: source :GUIWorldmap
2007-05-28 19:59:25.032625 [ERROR][MapTileDownloader]: source :GUIWorldmap
2007-05-28 19:59:25.048250 [ERROR][MapTileDownloader]: stacktrace: at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:25.095125 [ERROR][MapTileDownloader]: stacktrace: at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:25.110750 [ERROR][MapTileDownloader]: stacktrace: at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:25.173250 [ERROR][MapTileDownloader]: stacktrace: at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
2007-05-28 19:59:25.220125 [ERROR][MapTileDownloader]: stacktrace: at MAPS.MapFunctions.GetVETileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.MapFunctions.GetTileUrl(MapType mapType, Int32 TileX, Int32 TileY, Int32 zoomLevel)
at MAPS.ThreadedDownload.ImageThread(Object stateInfo)
at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++

Hope this helps. Can't wait to try it out again

Cheers,
Downzy
Downzy is offline   Reply With Quote
Old 2007-05-28, 13:25   #24 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

Update to first thread again!

some tips for posting bug reports (version 0.2.1 and higher):

Please set your MediaPortal log mode to "debug" and watch for [Worldmap] entries.

i.e.
[Debug][MPMain]: [Worldmap] the window with the ID 10237 has been added to the windowmanager!

or

[Debug][MPMain]: [Worldmap] Calculating the widest zoome mode
[Debug][MPMain]: [Worldmap] Calcalation result: ScreenWidth:MinZoomLevel:mapTiles 1358:2:3
[Debug][MPMain]: [Worldmap] Refreshing Mapimage. lon:lat:zoomL:zoomF:mapT 18,4441325203125:-33,9193978325073:17:2:GMHybrid

But of course the rest of the log is important as well.

Bye
Lars
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline   Reply With Quote
Old 2007-05-28, 18:17   #25 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

@sleepycol: I already tried to use common actions for this plugin. But of course not everyone has mapped the "colour actions" as default. Unfortunately plugins can not expand the GuiContext to build there own "selction level" in the remote config.
I guess the best way to handle this is to build a menu in the plugins config to give users the possibility to choose there own actions (as you have proposed it). I will implement this in a later version.

@all:
The log entries "No translation found for id X" and "Could not find window X" are no errors (as far as I can say)

"No translation found for id X" seems to occur if a window has controls which are not mentioned in strings_xx.xml. For a plugin that is logical.

"Could not find window X" should occur only during the initializing of the plugin. If debug loggin is enabled you should find a "[Worldmap] the window with the ID XX has been added to the windowmanager!" as well.

Bye
Lars
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline   Reply With Quote
Old 2007-05-28, 22:12   #26 (permalink)
Portal Member
 
Join Date: Jun 2006
Posts: 303
Thanks: 1
Thanked 4 Times in 4 Posts

Country:


Default

Hi,

Maybe you could add all these map options in the context menu instead of or as well as the key shortcuts, then as long as the context menu works there would be no issues with key programming for the remotes. I will upgrade to V0.2.1 to check if the context menu works - maybe there are already the options there anyway, I haven't seen the menu yet. Just a thought.

Being able to save favourite locations/bookmarks would be great, but as always it means more work for you! As with all these plugins, there's always more that people want ;0)

Also, I forgot to say in my first message - GREAT PLUGIN!!


Cheers,
Colin
sleepycol is offline   Reply With Quote
Old 2007-05-28, 22:50   #27 (permalink)
Portal Member
 
janbo's Avatar
 
Join Date: Oct 2006
Location: Linköping
Age: 39
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

I get a black screen when loading version 0.2.1.

MediaPortal.log says:
2007-05-28 22:42:30.592875 [Info.][MPMain]: OnMessage exceptionystem.TypeLoadException: Could not load type 'MediaPortal.Configuration.Config' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
at WindowPlugins.Worldmap.WorldMap.OnPageLoad()
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMes sage message)
2007-05-28 22:42:33.061625 [Info.][MPMain]: Windowmanager:goto previous window
2007-05-28 22:42:33.061625 [Info.][MPMain]: OnMessage exceptionystem.NullReferenceException: Object reference not set to an instance of an object.
at WindowPlugins.Worldmap.WorldMap.OnPageDestroy(Int3 2 new_windowId)
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMes sage message)
2007-05-28 22:42:33.061625 [Info.][MPMain]: Recorder: Disabling DX9 exclusive mode
2007-05-28 22:42:33.061625 [Info.][MPMain]: Main: DX exclusive mode: False
2007-05-28 22:42:33.061625 [Info.][MPMain]: Main: Goto windowed mode: True
2007-05-28 22:42:33.061625 [Info.][MPMain]: fonts.SetDevice()
2007-05-28 22:42:33.061625 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIPlugIns init
2007-05-28 22:42:35.171000 [Info.][MPMain]: Main: Exit requested
2007-05-28 22:42:35.171000 [Info.][MPMain]: Main: Minimizing to tray on GUI exit and restoring taskbar

Error.log says:
2007-05-28 22:42:30.592875 [ERROR][MPMain]: OnMessage exceptionystem.TypeLoadException: Could not load type 'MediaPortal.Configuration.Config' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
at WindowPlugins.Worldmap.WorldMap.OnPageLoad()
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMes sage message)
2007-05-28 22:42:33.061625 [ERROR][MPMain]: OnMessage exceptionystem.NullReferenceException: Object reference not set to an instance of an object.
at WindowPlugins.Worldmap.WorldMap.OnPageDestroy(Int3 2 new_windowId)
at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMes sage message)
janbo is offline   Reply With Quote
Old 2007-05-28, 23:01   #28 (permalink)
Portal Designer
 
mikael's Avatar
 
Join Date: Apr 2005
Location: Stockholm, Sweden
Age: 23
Posts: 510
Thanks: 86
Thanked 54 Times in 29 Posts


Default

I can't get the colored remote buttons to do anything, want to switch to Google maps. They must be right configurated cause they all work in every other plugin... Anyone?

EDIT: Those functions don't work with the E, R, T or M keys either...
__________________
Skin: SimpleMP Beta 4

Last edited by mikael; 2007-05-28 at 23:09.
mikael is offline   Reply With Quote
Old 2007-05-29, 07:52   #29 (permalink)
Portal Developer
 
lkuech's Avatar
 
Join Date: Feb 2007
Location: Hamburg
Age: 35
Posts: 573
Thanks: 32
Thanked 49 Times in 21 Posts

Country:

My System

Default

Hi!

@sleepycol: The next version will come with a context menu to change the map entry type.

@janbo: "System.TypeLoadException" is something new... can you please take a look in your "MediaPortal.xml" file and post the "Worldmap" section here (most likely at the end of the file, starting with <section name="MyWorldmap"> and ending with </section>). If this problem is Worldmap dependent the only idea I have so far is that the "loadsettings" function may hit some strange values there. You can also try to delete this section.

Bye
Lars
__________________
Using a wide screen and tired of changing the aspect ratio via remote all the time? Use the ViewModeSwitcher Plugin and everything is working automatically.
Are you able to find your home in MediaPortal? Yes you are! With the WorldMap plugin!
lkuech is offline   Reply With Quote
Old 2007-05-29, 09:48   #30 (permalink)
Portal Member
 
Join Date: Jan 2005
Location: Melbourne, Australia
Age: 32
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Send a message via MSN to Downzy Send a message via Skype™ to Downzy
Default

G'day,

Not sure if I missed a bit in the instructions, but I just noticed that if I use the plugin in full screen mode, it doesn't crash. Subsequently, I've gone into window mode and it doesn;t crash either.

Only seems to be if it runs in window mode first time...

Now I'm going to go have a ply with it

Cheers,
David
Downzy is offline   Reply With Quote
Reply

Bookmarks

Tags
earth, google, maps, myworldmap, plugin, virtual

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google earth Plugin?! eggz2004 Plugins 10 2007-04-20 13:15
Add Google Earth !!! sebdj Improvement Suggestions 2 2007-04-08 20:09
Virtual DUb als Plugin? Thrakath Plugins/Erweiterungen 0 2007-01-05 12:34
Latest SVN: Why on earth is date doing a 360*? Spragleknas Skins 10 2006-11-20 13:33
Add other maps to weather plugin jdiffend Improvement Suggestions 1 2005-01-16 10:07


All times are GMT +1. The time now is 04:51.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden