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 2005-11-02, 16:10   #21 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by egonspengleruk
At the minute you need to change the source. Im using this plugin as my project to learn C# so its a lots of small steps at a time.
If I need to modify strings.xml then im starting to think that this may need to be commited into the main CVS tree at some point as I am already changing the fonts.xml to enable extra characters. I have tried to keep the plugin sandboxed so it doesnt effect too many outside (main) files. I think this may be a long way off.....
Hi Egon,

Thanks for the reply! Maybe you could make the button label configurable within the mystocks.xml file for now? I tried changing the following section, but it only changed the label within the MyStocks module, not the initial button label.

Code:
<control>
<type>label</type>
<description>My Stocks text label</description>
<id>1</id>
<posX>160</posX>
<posY>78</posY>
<label>Check the STOCK QUOTES</label>
<font>font16</font>
<textcolor>ffffffff</textcolor>
</control>
Maybe you could make the above control the button text as well?

Regards,
Aaron
__________________
nMediaPC HTPC100S ยท ECS K8M800-M2 ยท AMD Athlon 64 2800+ ยท 1GB DDR400 ยท GIGABYTE GeForce FX5200 ยท Western Digital 160GB SATA150 ยท Hauppauge WinTV-PVR 500MCE ยท Sharp LC-37HV4U ยท nMediaPC Remote ยท nMediaPC Wireless Keyboard/Mouse
civikdude is offline   Reply With Quote
Old 2005-11-02, 16:24   #22 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

Quote:
Originally Posted by tkortell
Quote:
Originally Posted by egonspengleruk
Shouldnt matter what page they come from as ticker names are per stock exchange and not per webpage....but I pull all the data from finance.yahoo.co.uk
Ok, thanks. Do you know of a good list of "ticker" names then? It's hard to know what stock has what "ticker" name. (As I said I'm not that familiar with stocks in general)

R / tk
Easiest way to find them is to have a scan at the news items on the financial sections of websites....but I know what you mean. I had to think initially of things to test the code with...and they dont just into your head.
Try some of the following.....
GOOG = Google
EBAY = Ebay
MSFT = Microsoft
YHOO = Yahoo Inc
INTC = Intel
AMD = AMD

You would never guess I work in the high tech field would you
egonspengleruk is offline   Reply With Quote
Old 2005-11-02, 16:26   #23 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

Quote:
Originally Posted by civikdude
Quote:
Originally Posted by egonspengleruk
At the minute you need to change the source. Im using this plugin as my project to learn C# so its a lots of small steps at a time.
If I need to modify strings.xml then im starting to think that this may need to be commited into the main CVS tree at some point as I am already changing the fonts.xml to enable extra characters. I have tried to keep the plugin sandboxed so it doesnt effect too many outside (main) files. I think this may be a long way off.....
Hi Egon,

Thanks for the reply! Maybe you could make the button label configurable within the mystocks.xml file for now? I tried changing the following section, but it only changed the label within the MyStocks module, not the initial button label.

Code:
<control>
<type>label</type>
<description>My Stocks text label</description>
<id>1</id>
<posX>160</posX>
<posY>78</posY>
<label>Check the STOCK QUOTES</label>
<font>font16</font>
<textcolor>ffffffff</textcolor>
</control>
Maybe you could make the above control the button text as well?

Regards,
Aaron

I see where you are coming from....will have a look at the code when I get in tonite....

Egon
egonspengleruk is offline   Reply With Quote
Old 2005-11-02, 21:37   #24 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

I have just uploaded the latest version.

New Stuff
=======
Error messages are now cleared
Plugin name is now configurable via the Plugin menu in Configuration.exe


To Do
=======
Fix remote control issues - which is going to be awkard as I dont have one...and my test MP server doesnt respond to my keyboard for unknown reason.
Sort out the Stocks list box to allow reordering of items. Nosed around the site and several other modules need this code...so might work on that one.
Progress bar. Was trying to ignore the fact that the progress bars dont progress.....personally im happy with it as is it as it shows the plugin is downloading stuff. Low priority.
New stock pictures. Personally I find the current ones hard to read...so may change data source to find better ones.


Is there anything else folks want?


Egon
egonspengleruk is offline   Reply With Quote
Old 2005-11-03, 00:36   #25 (permalink)
Portal Member
 
Join Date: Mar 2005
Location: U.S.A.
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by egonspengleruk
Plugin name is now configurable via the Plugin menu in Configuration.exe
Awesome!! I will try this out shortly...

Quote:
Originally Posted by egonspengleruk
Progress bar. Was trying to ignore the fact that the progress bars dont progress.....personally im happy with it as is it as it shows the plugin is downloading stuff. Low priority.
Maybe you could use the "spinning wheel" from the MyWeather module to indicate that something is happening.

Quote:
Originally Posted by egonspengleruk
Fix remote control issues - which is going to be awkard as I dont have one...and my test MP server doesnt respond to my keyboard for unknown reason.
Use the keyboard's arrow keys to simulate remote control. Oh wait, your keyboard's busted. Do you need us to send you a new one? :lol:

Quote:
Originally Posted by egonspengleruk
Is there anything else folks want?
Ability to make graph fullscreen!! Either via 'x' key or mouse click (same as keyboard right-arrow to highlight, then Enter key).

Regards,
Aaron
__________________
nMediaPC HTPC100S ยท ECS K8M800-M2 ยท AMD Athlon 64 2800+ ยท 1GB DDR400 ยท GIGABYTE GeForce FX5200 ยท Western Digital 160GB SATA150 ยท Hauppauge WinTV-PVR 500MCE ยท Sharp LC-37HV4U ยท nMediaPC Remote ยท nMediaPC Wireless Keyboard/Mouse
civikdude is offline   Reply With Quote
Old 2005-11-09, 18:42   #26 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Germany: Stuttgart
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hello Egon,

any News regarding bugfixing?
cool71 is offline   Reply With Quote
Old 2005-11-09, 19:56   #27 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

No new work on it at the minute. Having trouble since MP switched over to Visual C# Express Edition as its stopped me using the latest source until I get that up and running.
egonspengleruk is offline   Reply With Quote
Old 2005-11-14, 14:07   #28 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

New version for you all

New Stuff
=======
I have fixed the way the code handled displaying Tickers or Company Names in the button list. This version now correctly downloads the right files so you shouldnt see that "Image not available" display again.

For some reason my Dev machine is now working properly so I can replicate the remote control problems with the keyboard.....but dont know how to fix it. All the source is included in the download file so if anyone has a couple of minutes? Im sure its going to be nice and simple

Egon
egonspengleruk is offline   Reply With Quote
Old 2005-11-15, 10:46   #29 (permalink)
Retired Team Member
 
Join Date: Jun 2005
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via Yahoo to egonspengleruk
Default

Latest and greatest just put up.
Now you can move around the screen with the remote control. Pressing left when you are in the Ticker buttons takes you down to the Refresh and Range Select buttons
egonspengleruk is offline   Reply With Quote
Old 2005-11-15, 23:01   #30 (permalink)
Portal Member
 
Join Date: Oct 2005
Location: Germany: Stuttgart
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Hi Egon,

downloading the stock rates and graphs seems now OK. Remote control is also working.

I tested on my PC with RC 0.2 but on my media center with 0.1.3 your new version is not working. Did you change anything?
cool71 is offline   Reply With Quote
Reply

Bookmarks

Tags
plugin, stocks

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
IPTV@UT Plugin moiristo Plugins 116 2008-10-06 22:32
Stocks plugin and MP 0.2.2.0 kwirk Plugins 3 2007-01-08 09:48
Gathering topical infos about plugins (To: authors & use tomtom21000 Plugins 2 2006-02-05 00:20
Plugin example doesnt show in list Anonymous Plugins 5 2005-08-13 12:12


All times are GMT +1. The time now is 05:37.


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