Kodi Community Forum

Full Version: Not work rss and weather if xbmc start before internet
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use wifi, and when i start system (archlinux), xbmc is launched faster then internet. Thus not work rss and weather, but samba work.
I think, if xbmc at start can't see network, rss and weather not work.
How this fix ?
uhm, make sure the network is around before xbmc starts?

we can't come up with a random rss and a random weather. the info is read from the internet...
some people experince this on wifi with wicd.
Most simple solution is to put a delay in the xbmc start script, a better solution is of course to have the script to wait for internet up to x sec.

You could also test if using a fixed IP will fix the problem.
I have this problem with ethernet too, if to connect a cable after xbmc, rss and weather not work, it'a a problem with xbmc. Can check up it on the computers?
No, this is not an issue with XBMC. If you do not have internet when XBMC starts, the RSS and Weather will be disabled due to the simple reason that if you do not have an internet-connection, XBMC cannot pull RSS and Weather-Information. It gets disabled so no unnecessary requests are made...

So - activate your internet-connection before you start XBMC, it is as simple as that.
How to activate rss and weather after Internet connection, but without restarting xbmc?
log:
Xbmc start
Code:
12:57:51 T:3000875888 M:1968418816   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
12:57:51 T:3000875888 M:1968418816   DEBUG: FileCurl::Close(0xb2dda078) http://news.yandex.ru/world.rss
12:57:51 T:3000875888 M:1968291840   DEBUG: Thread 3000875888 terminating
12:57:51 T:2941193072 M:1963339776   DEBUG: DoWork - took 215 ms to load special://skin/backgrounds/videos.jpg
12:57:51 T:2967808880 M:1965371392   DEBUG: DoWork - took 212 ms to load special://skin/backgrounds/videos.jpg
12:57:51 T:3012720512 M:1964490752   DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
12:57:51 T:3012720512 M:1964490752   DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
12:57:51 T:3012720512 M:1964511232   ERROR: GLX: Same window as before, refreshing context
12:57:51 T:3012720512 M:1964511232    INFO: GL: Maximum texture width: 8192
12:57:51 T:3012720512 M:1962893312   DEBUG: UPower: Recieved an unkown signal NameAcquired

Internet start

Code:
12:58:21 T:2984717168 M:1963479040   DEBUG: Thread 2984717168 terminating (autodelete)
12:58:21 T:3012720512 M:1963479040    INFO: CheckIdle - Closing session to http://xoap.weather.com (easy=0x9f3de50, multi=0x9f19d50)
12:58:21 T:3012720512 M:1963479040    INFO: CheckIdle - Closing session to http://news.yandex.ru (easy=0x9f630a0, multi=0x9f1a1d8)
12:58:21 T:2941193072 M:1963479040   DEBUG: Thread 2941193072 terminating (autodelete)
12:58:21 T:2967808880 M:1963606016   DEBUG: Thread 2967808880 terminating (autodelete)
12:58:21 T:3012720512 M:1963630592   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
12:58:21 T:3012720512 M:1963630592   DEBUG: Unloading: ImageLib-i486-linux.so
12:58:51 T:3012720512 M:1963401216   DEBUG: SECTION:UnloadDll(libcurl.so.4)
12:58:51 T:3012720512 M:1963401216   DEBUG: Unloading: libcurl.so.4
I don't think its possible...
its very bad...
??
Quote:Most simple solution is to put a delay in the xbmc start script, a better solution is of course to have the script to wait for internet up to x sec.

You could also test if using a fixed IP will fix the problem.
xbmc should update itself rss and weather when the network is up
XBMC has no way of knowing wether your network is up or down without sending requests... which is probably something noone wants.
So... either leave it as it is, use the solution posted or leave it alone. You are not even saying thanks for anything, we tried to help you but instead you just say "XBMC should..." - you know that people are trying to help? If you don't want help in the first place, why bother posting?
thanks, but i think xbmc should! I learn python to help xbmc!
I wanted to know, why xbmc it isn't able, now i know, thanks!
aivs Wrote:xbmc should update itself rss and weather when the network is up

exactly, think so too,

i am facing this problem on every SSD HTPC I build.

See boot vid here...

http://www.youtube.com/watch?v=iWocoBzHt_s

And i am using cabel, but XBMC is up so fast using XBMC live, that my already in router fixed IP for HTPC cannot be loaded that fast.

And no, i dont think its possible to do a delay (with crazy scripts) on every startup because internet is not ready. Maybe XBCM should try to get internet every second in Main Menu and if ready, all internet using skrips can be loaded then, no error message is needed.

Would be perfect.

Thanks a lot!

@Henry..

why. One ping to google / second should be fine.
And you can do it for the first 10 seconds after boot, no need to send it all day long.