Skip to content

Commit

Permalink
Version 3.0.7
Browse files Browse the repository at this point in the history
• Turkish cities updated. Thanks to atsiz77
• Debug state noted in log file
  • Loading branch information
JuSt611 committed Nov 26, 2012
1 parent ccef151 commit 3812ec3
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 7 deletions.
61 changes: 60 additions & 1 deletion plugin/City.cfg
Expand Up @@ -20828,27 +20828,86 @@ Switzerland/Zug
Switzerland/Zurich
--------------------------------------------------------------------
Turkey/Adana
Turkey/Adiyaman
Turkey/Afyonkarahisar
Turkey/Agri
Turkey/Aksaray
Turkey/Alanya
Turkey/Amasya
Turkey/Ankara
Turkey/Antalya
Turkey/Ardahan
Turkey/Artvin
Turkey/Aydin
Turkey/Balikesir
Turkey/Bartin
Turkey/Batman
Turkey/Bayburt
Turkey/Bilecik
Turkey/Bingöl
Turkey/Bitlis
Turkey/Bolu
Turkey/Burdur
Turkey/Bursa
Turkey/Canakkale
Turkey/Cankiri
Turkey/Corum
Turkey/Denizli
Turkey/Diyarbakir
Turkey/Düzce
Turkey/Edirne
Turkey/Elazig
Turkey/Erzincan
Turkey/Erzurum
Turkey/Eskisehir_Ili
Turkey/Gaziantep
Turkey/Gümüshane
Turkey/Hakkari
Turkey/Hatay
Turkey/Igdir
Turkey/Isparta
Turkey/Istanbul
Turkey/Izmir
Turkey/Kahramanmaras
Turkey/Karabük
Turkey/Karaman
Turkey/Kars
Turkey/Kastamonu
Turkey/Kayseri
Turkey/Kilis
Turkey/Kirikkale
Turkey/Kirklareli
Turkey/Kirsehir
Turkey/Kocaeli
Turkey/Konya
Turkey/Kütahya
Turkey/Malatya
Turkey/Mercin
Turkey/Manisa
Turkey/Mardin
Turkey/Mersin
Turkey/Mugla
Turkey/Mus
Turkey/Nevsehir
Turkey/Nigde
Turkey/Ordu
Turkey/Osmaniye
Turkey/Rize
Turkey/Sakarya
Turkey/Samsun
Turkey/Sanliurfa
Turkey/Siirt
Turkey/Sinop
Turkey/Sirnak
Turkey/Sivas
Turkey/Tekirdag
Turkey/Tokat
Turkey/Trabzon
Turkey/Tunceli
Turkey/Usak
Turkey/Van
Turkey/Yalova
Turkey/Yozgat
Turkey/Zonguldak
--------------------------------------------------------------------
Ukraine/Dnipropetrovs'k
Ukraine/Donets'k
Expand Down
4 changes: 2 additions & 2 deletions plugin/control
@@ -1,11 +1,11 @@
Package: enigma2-plugin-extensions-foreca
Version: 3.0.6
Version: 3.0.7
Description: Weather forecast for the upcoming 10 days
Section: extra
Priority: optional
Maintainer: Bauernbub
Architecture: all
OE: enigma2-plugin-extensions-foreca
Depends: enigma2 (>= 2.6git20090615), python-html
Depends: enigma2 (>= 2.6git20090615), python-html, python-twisted-web
Homepage: http://www.aaf-digital.info
Source: https://github.com/E2OpenPlugins/e2openplugin-Foreca
12 changes: 9 additions & 3 deletions plugin/plugin.py
Expand Up @@ -11,9 +11,9 @@
#
# We wish all users wonderful weather!
#
VERSION = "3.0.6"
VERSION = "3.0.7"
#
# 11.10.2012
# 25.11.2012
#
# Source of information: http://www.foreca.com
#
Expand Down Expand Up @@ -76,6 +76,8 @@
# 3.0.6 Weather data in Russian version obtained from foreca.com instead of foreca.ru due
# to structural discrepancy of Russian web site
# Code cosmetics
# 3.0.7 Turkish cities updated. Thanks to atsiz77
# Debug state noted in log file
#
# Unresolved: Crash when scrolling in help screen of city panel
#
Expand Down Expand Up @@ -165,6 +167,8 @@
THUMB_PATH = resolveFilename(SCOPE_PLUGINS) + "Extensions/Foreca/thumb/"
deviceName = HardwareInfo().get_device_name()
DEBUG = config.plugins.foreca.debug.value
if DEBUG: print pluginPrintname, "Debug enabled"
else: print pluginPrintname, "Debug disabled"

# Make Path for Slideshow
CACHE_PATH = "/var/cache/Foreca/"
Expand Down Expand Up @@ -209,7 +213,7 @@
FILTERidx += 1
FILTERin.append(regel[7:15].strip())
FILTERout.append(regel[17:].strip())
file.close
file.close

#---------------------- Skin Functions ----------------------------------------------------

Expand Down Expand Up @@ -1696,6 +1700,8 @@ def save(self):
config.save()
global DEBUG
DEBUG = config.plugins.foreca.debug.value
if DEBUG: print pluginPrintname, "Debug enabled"
else: print pluginPrintname, "Debug disabled"
self.close()

def cancel(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -3,7 +3,7 @@

pkg = 'Extensions.Foreca'
setup (name = 'enigma2-plugin-extensions-foreca',
version = '3.0.6',
version = '3.0.7',
description = 'Weather forecast for the upcoming 10 days',
packages = [pkg],
package_dir = {pkg: 'plugin'},
Expand Down

0 comments on commit 3812ec3

Please sign in to comment.