Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 7 of 11 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 102
  1. #61
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    Using a proxy with the MapDownloaderscript

    Recently, there was a discussion in the Windows Mapdownloaderthread about "how to get your script work over a proxy connection".
    For Linux there are various possibilities to do so, with different consequences.
    Please consider the following options.

    1. Add extra "proxy" parameters to the wget function (inside the MapDownloadscript)

    Pros: all wget requests are pointed to a proxy
    Cons: You will have to adjust the script at several lines. You will have to change these params with every new version of the script.
    Conclusion: A cumbersome solution for using a proxy.

    2. Set wget configuration to use proxy (outside the MapDownloadscript)

    When executed, wget searches for a config file called .wgetrc and takes all parameters from there.
    If it is not already there, create a .wgetrc file. wget will find this file automatically.
    Add the proxy parameters to the .wgetrc like this:

    # You can set the default proxies for Wget to use for http and ftp.
    # They will override the value in the environment.
    http_proxy = [Only registered and activated users can see links. ]

    # If you do not want to use proxy at all, set this to off.
    use_proxy = on

    #
    proxy_user=username
    proxy_password=password


    pros: All http requests by wget are directed to the proxy. Configuration of all wget params are set from one place outside the script.
    cons: All http requests by any wget instances are directed to the proxy (which may be unwanted). Your browser is not aware of a proxy, unless you adjust your browser settings.

    3. Direct all http(s) traffic from you hosts' shellenvironment to a proxyserver.
    Set the system variable for http_proxy as root (system wide) or as a user.

    To set the http_proxy variable you will have to assign a value to it like this:
    http_proxy=http://myproxy.domain.com:8080

    To make this work on all new shells you must export it, and make it a global variable:
    http_proxy=http://myproxy.domain.com:8080; export http_proxy

    Putting this in the ~/.bashrc file it is only going to work for the user who's home directory the .bashrc file resides in.
    To make this a system wide variable for all users place it in the /etc/bashrc file,
    echo "http_proxy=http://myproxy.domain.com:8080; export http_proxy" >> /etc/bashrc or on Redhat-like systems in /etc/profile.d/proxy.
    Now if you request a resource from the internet with any http-client on the command line it will work fine.

    pros: http-requests from every script using wget, curl etc. or apps like Elinks, Links and Lynx are directed to the proxy without having to tell them explicitly.
    cons: Every http-request from the shellenvironment is directed to the proxy, which may be unwanted.
    Last edited by keesdewit; 28th May 2015 at 12:15.

  2.    Advertissements


  3. #62
    Member + salsa's Avatar
    Join Date
    Mar 2015
    Location
    Italy
    Posts
    44
    Rep Power
    2

    Default

    I'm back, i downloaded the LoquendoTTS package plus italian languages, then i installed in the root folder of my SD (not inside the Sygic folder). Sygic doesn't recognize the LoquendoTTS package, it asks me to download from internet.
    In the content.info file i have "tts=yes", how can i enable it?

  4. #63
    GPSPower Helper

    Brown Dog's Avatar
    Join Date
    Mar 2010
    Location
    Madagascar
    Posts
    1,305
    Rep Power
    1312

    Default

    Try here [Only registered and activated users can see links. ] have key.

  5. #64
    Member + salsa's Avatar
    Join Date
    Mar 2015
    Location
    Italy
    Posts
    44
    Rep Power
    2

    Default

    I'm downloading with the script extra italian voices and i'm using your LoquendoTTS from the above post. It works
    I'm investigating and the following languages are missing in the script: spanish, russian, portuguese, italian, german, french, english.
    In fact when i start sygic, off line, it tries to download missing files and it gives me an error.
    The script downloads a licence file too.

  6. #65
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    Quote Originally Posted by salsa View Post
    I'm investigating and the following languages are missing in the script: spanish, russian, portuguese, italian, german, french, english.

    The script downloads a licence file too.
    Hello & welcome back!
    First you 'll need to download the LoquendoTTS basemaps, then you 'll hav to choose and download a specific voice, like "(26) Italian, Marcello".

    The internal structure of LoquendoTTS is one map inside the root of your internal or external device calles LoquendoTTS, and one map inside Sygic/Res/voices, called "TTS Italian", containing a file "info2.ini" (which should already be there).
    What license file does the script download for you?

  7. #66
    Member + salsa's Avatar
    Join Date
    Mar 2015
    Location
    Italy
    Posts
    44
    Rep Power
    2

    Default

    Perhaps you misunderstand me, i downloaded with your script the LoquendoTTS base package and italian voices (from 23 to 26) and put them in the root folder , but in Sygic there weren't any extra voices. So i used the LoquendoTTS base pack of BrownDog and redownloaded only female voices with your script.
    Now with the full/complete base pack, i finally have extra voices. Your script doesn't download the *.ttsconf of above languages.
    You can compare your loquendoTTS pack and the Browndog one.
    The file license is called LoquendoTTsLicence.txt.

  8. #67
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    Quote Originally Posted by salsa View Post
    Your script doesn't download the *.ttsconf of above languages.
    You can compare your loquendoTTS pack and the Browndog one.
    The file license is called LoquendoTTsLicence.txt.
    Thanks for your remarks, Salsa!
    I will repair the script later this week.

  9. #68
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    This is version 0.93b of the Sygic MapDownloader for Linux


    - Fixed: some LoquendoTTS languages did not download


    [Only registered and activated users can see links. ]

    P.S. Catalan was missing too. :-)
    Last edited by keesdewit; 12th June 2015 at 20:12.

  10. #69
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    This is version 0.95 of the Sygic MapDownloader for Linux


    - Added: Maps Tom-Tom 2015.03
    - Improved: Bash, simplified
    - Now only one setting needed for choosing a Maptype & Release

    Thanks to Brown Dog for the heads-up about "2015.03"

    Have fun with this one


    [Only registered and activated users can see links. ]

  11. #70
    GPSPower Helper

    Brown Dog's Avatar
    Join Date
    Mar 2010
    Location
    Madagascar
    Posts
    1,305
    Rep Power
    1312

    Default

    You just wait until next week to see if it would set up a new map for India. Currently, only one is 2014.09. For me downloader no 'scans' files already a folder with maps so I left 2015.03. If you do not set a new map should only add in content.info

    maps=TA:WORLD:2015.03,TA:IND:2014.09
    Last edited by Brown Dog; 21st June 2015 at 08:04.

 

 
Page 7 of 11 FirstFirst ... 56789 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.