View Single Post
Posts: 32 | Thanked: 77 times | Joined on Dec 2011
#330
Hi,

since the package is maintained again: Could you apply the following patch so sbb is working again, too? It is taken from the sailfish version of fahrplan.

Code:
Index: parser_xmlsbbch.cpp
===================================================================
--- parser_xmlsbbch.cpp	(revision 313)
+++ parser_xmlsbbch.cpp	(working copy)
@@ -29,8 +29,9 @@
      connect(http, SIGNAL(dataReadProgress(int,int)), this, SLOT(httpDataReadProgress(int,int)));
 
      baseUrl = "http://fahrplan.sbb.ch/bin/extxml.exe";
-
-     hafasHeader.accessid = "MJXZ841ZfsmqqmSymWhBPy5dMNoqoGsHInHbWJQ5PTUZOJ1rLTkn8vVZOZDFfSe";
+     //baseUrl = "http://fahrplan.sbb.ch/bin/query.exe";
+     //userAgent = "SBBMobile/4.8 CFNetwork/609.1.4 Darwin/13.0.0";
+     hafasHeader.accessid = "YJpyuPISerpXNNRTo50fNMP0yVu7L6IMuOaBgS0Xz89l3f6I3WhAjnto4kS9oz1";
      hafasHeader.prod = "iPhone3.1";
      hafasHeader.ver = "2.3";
 }
 

The Following 2 Users Say Thank You to hypnotoad123 For This Useful Post: