Author Topic: GgWeather Plugin  (Read 9124 times)

0 Members and 1 Guest are viewing this topic.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
GgWeather Plugin
« on: October 17, 2011, 08:22:29 PM »
Hello James, when I tested new plugin Google Weather, forecast days, ok, return values ok, but when press test, in Current Weather Format, i receive same text " {condition} and {temp_c}, in the box info, this is a bug???
or i don´t know how to use this for current weather format.
Any tip, is you have example command for use, please put in the topic, this help alot..
« Last Edit: March 09, 2012, 11:31:16 AM by jitterjames »
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
GgWeather Plugin
« Reply #1 on: October 17, 2011, 08:39:14 PM »
not exactly a bug, but the default settings are wrong.  Put the attached file "Options.xml"  in .\plugins\GgWeather

current:
Code: [Select]
Current weather: {c.condition}, {c.temp} degrees, wind blowing from the {c.wind} km/h
0:
Code: [Select]
Today: {0.condition}, High of {0.high} degrees, Low of {0.low}
1:
Code: [Select]
Tomorrow: {1.day}, {1.condition}, High of {1.high} degrees, Low of {1.low}
2:
Code: [Select]
{2.day}:  {2.condition}, High of {2.high} degrees, Low of {2.low}
3:
Code: [Select]
{3.day}: High of {3.high} degrees, Low of {3.low}
Remember to click "Save Options"!

Sorry, I meant to upload some more explanations on this but I got sidetracked.  I have also attached a sample group.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
GgWeather Plugin
« Reply #2 on: October 17, 2011, 09:13:12 PM »
thanks, work great now.. ;D ;D

How i have info humidity data? other situation: how i remove after c.wind info the english word "at" X Km/h, this word "at" is no necessary in other languages I believe, because tts read in my native language Portuguese...






« Last Edit: October 17, 2011, 10:04:09 PM by Wanilton »
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
GgWeather Plugin
« Reply #3 on: October 17, 2011, 10:21:19 PM »
{c.humidity}  but it is only available for current day.

you can't remove the "at" in the weather plugin itself (yet).

You can use another action though

Results.Replace  at   :

(first parameter is at and the second parameter is : or you could use - or , )  It does not work to use a space as the second parameter, I must check this.  I think VC considers this as a missing parameter.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: GgWeather Plugin
« Reply #4 on: October 17, 2011, 11:50:47 PM »
Try this new version of the weather plugin.  You can enter custom find/replace values at the bottom of the plugin settings.  ;D

mparks

  • $upporter
  • Contributor
  • *****
  • Posts: 93
  • Karma: 0
    • View Profile
Re: GgWeather Plugin
« Reply #5 on: October 18, 2011, 09:58:08 AM »
This is working well for me, one small step for VC one giant step closer to my dream, or star trek ;D

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: GgWeather Plugin
« Reply #6 on: October 18, 2011, 10:07:58 AM »
One thing to note about using replacements, although really this is probably common sense.

Replacements are performed after your string has been created, and the data values {var} filled in.
Replacements are performed in order starting with the first row of the table.

you should do your "big" word replacements first, and if you are going to replace a small word like "at" it is probably wise to include the spaces around it " at ", otherwise you will also be replacing the at in  Sat or  Saturday

You are allowed to replace a string with nothing, though you will often want to replace it with a space instead.  Both are allowed.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: GgWeather Plugin
« Reply #7 on: October 18, 2011, 12:56:42 PM »
James, in city when I put Florianópolis, Santa Catarina, and refresh after ok, I save, restart vox, when I return to plugin setting, i have this Florian?polis, any problem here or it´s fine?

Thanks...
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: GgWeather Plugin
« Reply #8 on: October 18, 2011, 01:22:05 PM »
that's a bug.  I guess I need to check my character encoding when I save / load settings.  THanks.

I will see what I can do.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: GgWeather Plugin
« Reply #9 on: October 18, 2011, 01:30:03 PM »
try with this...

I gotta say, it's GREAT to be able to just update a plugin and not the whole program !!!

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Re: GgWeather Plugin
« Reply #10 on: October 18, 2011, 01:55:53 PM »
thanks, work fine now...
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: GgWeather Plugin
« Reply #11 on: October 18, 2011, 04:20:40 PM »
James, that plugin is a very good thing. It is also funny, when we use it with Logic blocks in editor. GREAT JOB  ::bow  :clap  I like this plugin - please more of this things

Kalle
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: GgWeather Plugin
« Reply #12 on: August 28, 2012, 10:05:14 AM »
Google does it again!  They have now closed down their weather api so our weather plugin is broken now too! >:( >:( >:(

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: GgWeather Plugin
« Reply #13 on: August 28, 2012, 10:43:15 AM »
 ::yikes ::yikes ::club ::yikes ::yikes
Google does it again!  They have now closed down their weather api so our weather plugin is broken now too! >:( >:( >:(
::yikes ::yikes ::club ::yikes ::yikes
***********  get excited and make things  **********

Siutsch

  • $upporter
  • Contributor
  • *****
  • Posts: 53
  • Karma: 0
    • View Profile
Re: GgWeather Plugin
« Reply #14 on: August 28, 2012, 11:36:29 AM »
Same with Eventghost Weather and Sintracker Plugin.   ::confused