~hyperair/banshee-community-extensions/master

Viewing all changes in revision 1043.

  • Committer: Dmitrii Petukhov
  • Date: 2014-07-04 09:58:30 UTC
  • Revision ID: git-v1:96b036c7905419f4884aca23a2b54b2555efd462
SongKick.GeoLocation: adapt Provider to use Mozilla & Fedora services

In order to get user's geoposition we call the Mozilla service first
and if it fails then we retry with the Fedora one.
+ We added GeoResult type for more convenient results processing
+ Mozilla service do not provide city name information,
so we use OpenStreetMap API for this purpose.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: