Weather and subtitles problem

716 views
Skip to first unread message

informir_user3

unread,
Aug 2, 2015, 9:32:51 AM8/2/15
to Stalker Middleware
Hi,

How are you ?

I have these 2 problems in my stalker :

1.The weather widget doesnt do any updates

It shows the same temperatures every day

This is a piece of my custom.ini file

; openweathermap, weatherco
weather_provider = openweathermap

; Default_city_id = 95

default_openweathermap_city_id = 146354
openweathermap_appid = '49d845d3612d6456e29f7d36c2'

Im i missing something here?

The city is working properly but no updates.
i havent touched anything else regarding the weather,the only thing i did was to set the weather to openweathermap and add the apikey in order to do updates.

Do i  need to disable something on the default.ini file ?


Second problem is subtitlles.

I want by default to play greek subtitles, not english.

How can i   make this happen ?

My default language on my custon.ini file is en_GB



default_locale = en_GB.utf8
; Allowed_locales [Russian] = ru_RU.utf8
allowed_locales [English] = en_GB.utf8




Also,as it is now the system when i want to change subtitles from ru to en or other langiage when i press the button to choose the subtitle i get a second window that is asking to select encoding.

Is a way to set default UTF-8 without asking every time ?


Thanks

Aleksey Zhurbitsky

unread,
Aug 20, 2015, 11:18:02 AM8/20/15
to Stalker Middleware
1.The weather widget doesnt do any updates
- Try to run phing 
- Try to update weather manually
cd server/tasks
php ./update_weather_current.php

Second problem is subtitlles.

I want by default to play greek subtitles, not english.
On the STB Settings->Playback->Primary subtitle language 

Is a way to set default UTF-8 without asking every time ?
This requires modifications of the source code. 

Dragon

unread,
Aug 21, 2015, 6:02:30 PM8/21/15
to Stalker Middleware
There is an error when running php ./update_weather_current.php:

PHP Warning:  file_get_contents(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /var/www/stalker_portal-4.9.9/server/lib/weatherco.class.php on line 18

Apperently, domain xml.weather.co.ua cannot be resolved?!
What is solution for that?

JDVU

unread,
Aug 22, 2015, 5:01:58 AM8/22/15
to Stalker Middleware
сменился домен, обновите портал

суббота, 22 августа 2015 г., 1:02:30 UTC+3 пользователь Dragon написал:

Ivan Petrushin

unread,
Aug 22, 2015, 8:55:54 AM8/22/15
to Stalker Middleware
You may just change the domain in "server/lib/weatherco.class.php" (in two places), from  xml.weather.co.ua to  xml.weather.ua
Обновлять весь портал из-за одного адреса не всегда оправданно, я думаю

Dragon

unread,
Aug 23, 2015, 9:01:51 AM8/23/15
to Stalker Middleware
Thank you very much! Changing the domain did the trick until I upgrade the portal.
Reply all
Reply to author
Forward
0 new messages