[RELEASE] The Weather Channel (TWC) - Supplemental Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #41
name your folder "Cloudy twc" - no quotes

then in \scripts\TWC Supplemental\resources\skins\Default\NTSC\script-twc-main.xml

change:
PHP Code:
<imagepath diffuse="twc-fanart-diffuse.png">$INFO[Skin.String(twc-fanart-path)]$INFO[Weather.Conditions]</imagepath
to
PHP Code:
<imagepath diffuse="twc-fanart-diffuse.png">$INFO[Skin.String(twc-fanart-path)]$INFO[Weather.Conditions]twc</imagepath

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #42
Thanx works fine now. Adding twc did the trick.Big Grin

Strange thought that I had the most recent build.Confused

The most recent condition in hour by hour tab decides fanart map I assume.
Cause it's now Partly Cloudy and showing "Partly Cloudy twc" Folder.

Is it possible to fill the screen with the script, so that the fanart also fit in the whole screen ?

Thanx again.
find quote
lolol Offline
Senior Member
Posts: 109
Joined: Jan 2005
Reputation: 10
Location: -
Post: #43
Hello!

Very Nice Script!

German Language:

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="0">The Weather Channel - Zusatzscript</string>
    <string id="1">xbmc media center</string>
    <string id="2">lolol</string>
    
    <string id="10">Lade...</string>

    <string id="50">TAB: Vollbild-Karte</string>
    <string id="51">INFO: Als Standard-Ansicht festlegen</string>
    <string id="52">ESC: Script beenden</string>
    <string id="53">INFO: 36h Vorhersage als Standard</string>
    <string id="54">INFO: Stundenweise Vorhersage als Standard</string>
    <string id="55">INFO: Wochenend-Vorhersage als Standard</string>
    <string id="56">INFO: 10 Tage Vorhersage als Standard</string>

    <string id="100">Hole Karten...</string>
    <string id="101">Hole 36 Stunden Vorhersage...</string>
    <string id="102">Hole Stundenweise Vorhersage...</string>
    <string id="103">Hole Wochenend Vorhersage...</string>
    <string id="104">Hole 10 Tage Vorhersage...</string>

    <string id="200">Karten</string>
    <string id="201">36 Stunden</string>
    <string id="202">Stundenweise</string>
    <string id="203">Wochenend</string>
    <string id="204">10-Tage</string>
    <string id="205">Optionen</string>

    <string id="300">Details</string>
    <string id="301">Aussichten</string>

    <!-- Settings strings -->
    <string id="400">animierte Karten</string>
    <string id="401">Metrisches System</string>
    <string id="402">Wetter Fanart Pfad</string>
    <string id="403">- Fade Level</string>
    <string id="404">- Wetter Bedingung nutzen</string>

    <string id="600">Version</string>
    <string id="601">Author</string>
    <string id="602">Sprachdatei von</string>
    <string id="603">Standard Ansicht</string>

</strings>

Nuka, keep up your great work!

cu lolol
(This post was last modified: 2008-11-22 19:23 by lolol.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #44
thanks lolol, added to svn, can you make sure i didn't screw up the encoding

thanks haken, strings have been added since your post, if you want to update

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jeffbacon Offline
Junior Member
Posts: 11
Joined: Nov 2008
Reputation: 0
Post: #45
Nuka1195 Wrote:ok, i have it working, need to clean it up. so a dfay or two. thanks for the help jeffbacon

No problem! Happy to help where I can.
find quote
Waffa Offline
Posting Freak
Posts: 1,163
Joined: May 2008
Reputation: 7
Location: Netherlands
Post: #46
Wanted to do something back.

Here's the dutch translation.


PHP Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="0">The Weather Channel - Supplemental</string>
    <string id="1">xbmc media center</string>
    <string id="2">Waffa</string>

    <string id="50">TAB: Bekijk Kaart in volledig scherm</string>
    <string id="51">INFO: Stel huidige kaart in als standaard weergave</string>
    <string id="52">ESC: exits script</string>
    <string id="53">INFO: Stel 36 uur vooruitzicht in als standaard weergave</string>
    <string id="54">INFO: Stel uur per uur vooruitzicht in als standaard weergave</string>
    <string id="55">INFO: Stel weekend vooruitzicht in als standaard weergave</string>
    <string id="56">INFO: Stel 10 dagen vooruitzicht in als standaard weergave</string>

    <string id="100">Kaarten ophalen...</string>
    <string id="101">36 uur vooruitzicht ophalen...</string>
    <string id="102">Uur per uur vooruitzicht ophalen...</string>
    <string id="103">Weekend vooruitzicht ophalen...</string>
    <string id="104">10 dagen vooruitzicht ophalen...</string>

    <string id="200">Kaarten</string>
    <string id="201">36 Uur</string>
    <string id="202">Uur per uur</string>
    <string id="203">Weekend</string>
    <string id="204">10-Dagen</string>
    <string id="205">Instellingen</string>

    <string id="300">Details</string>
    <string id="301">Outlook</string>

    <!-- Settings strings -->
    <string id="400">Toon geanimeerde kaarten</string>
    <string id="401">Gebruik metrische eenheden</string>
    <string id="402">Weer fanart locatie</string>
    <string id="403">- Fade-niveau</string>
    <string id="404">- Gebruik Weer condition</string>

    <string id="600">Versie</string>
    <string id="601">Auteur</string>
    <string id="602">Taal door</string>
    <string id="603">Standaard weergave</string>

</strings> 
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #47
thanks waffa

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
lolol Offline
Senior Member
Posts: 109
Joined: Jan 2005
Reputation: 10
Location: -
Post: #48
Nuka1195 Wrote:thanks lolol, added to svn, can you make sure i didn't screw up the encoding

Encoding seems to be fine! (UTF-8 w. BOM)

cu lolol
find quote
haken Offline
Member
Posts: 59
Joined: Jan 2008
Reputation: 0
Location: Poland - Krakow
Post: #49
Polish strings -> www.bizuteria.cc.pl/polish_weather_v2.zip
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,914
Joined: Dec 2004
Reputation: 17
Post: #50
thanks

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Post Reply