Posts: 1,509
Joined: Dec 2008
Reputation:
28
This is an excellent stepping stone and hope to see this integrated into XBMC officially.
Expanding on this idea, you could use the location to automatically configure other location-based settings as well, basically all the settings in Appearance > Location among others.
Going even further, one could see this possibly getting integrated into location-based addon sources. Things like Hulu, which is only available in the United States, would only appear to those inside the US. This would help new users to XBMC from downloading addons that aren't usable in their current location.
Posts: 2,944
Joined: Dec 2010
Reputation:
291
garbear
Team-Kodi Developer
Posts: 2,944
wifi and gps based geolocation (pretty much any addon *not* ipinfodb.com) aren't affected by proxies. quick and easy, no need for advancedsettings.xml
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
Having something like this in core would probably help alot. It would make xbmc less to setup and it could be used, as said here, to filter addons.
If a solution would be integrated in core it would need to be a) possible to turn off (perhaps even off by default). By turning off you set the location manually (or not at all). Filtering by addons must be toggle-able, if someone wants to get a plugin they need to be able to! b) it should be done in c++ and possibly extended via python.
If you want to do this integration that would be most welcomed.
Cheers,
Tobias
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 2,944
Joined: Dec 2010
Reputation:
291
garbear
Team-Kodi Developer
Posts: 2,944
Here's how I handed it for weather,
Auto location is essentially a zeroith weather area code (the other three are blank by default and the weather screen's location spinner is disabled). If you add more area codes, you can switch between them and XBMC remembers the active one. So disabling current location is as simple as spinning to a manual one and forgetting about it.
I can help integrate location into the core, and I would need some guidance as to how to envision this integration. For instance, currently location is a property in the weather settings. Why not turn that upside down? "Location" would replace "Weather" on the settings page. All location-based settings, including addon-filtering, language, region, character set, nearby theater showtimes, and even weather would be a property of *where you are*
Guide away.
Posts: 814
Joined: Jul 2009
Reputation:
1
I'm actually working on another integration of this that I think will be a neat addition to the music secion... bandsintown.com supports finding local concerts by geolocation. How cool to be able to listen to an artist and being prompted with their upcoming concerts in your area?