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

    Default

    This is really funny to add to the MapDownloader script as a future function to let webmasters unravel their logging: assign a different User-Agent with every GET request in the same TCP session. :-)

    list=$'Dalvik/1.6.0 (Linux; U; Android 4.0.4; T970 Build/IMM76D)100.48.122; Profile/MIDP-2.1 Configuration/\nDalvik/1.6.0 (Linux; U; Android 4.2.2; A850 Build/JDQ39) Configuration/CLDC-1.1; Opera Mini/att/4.2.\nDalvik/1.4.0 (Linux; U; Android 2.3.6; GT-S5570 Build/GINGERBREAD)\nDalvik/1.4.0 (Linux; U; Android 2.3.6; HUAWEI Y210-0100 Build/HuaweiY210-0100)\nDalvik/1.6.0 (Linux; U; Android 4.2.1; Lenovo A766 Build/JOP40D)\nDalvik/1.6.0 (Linux; U; Android 4.4.4; GT-S5570 Build/KTU84Q)\nDalvik/1.6.0 (Linux; U; Android 4.4.2; ASUS_T00Q Build/KVT49L)/CLDC-1.1\nDalvik/1.6.0 (Linux; U; Android 4.4.2; ASUS_T00Q Build/KVT49L)UNTRUSTED/1.0C-1.1; Opera Mini/att/4.2\nDalvik/1.6.0 (Linux; U; Android 4.1.2; GT-S6310 Build/JZO54K)kman)\n'

    while read -r user_agent; do $WGET -U "$user_agent" $URL/$FOLDER/$MAPNAME.$f 2>&1 -N -P Sygic/Maps/$FOLDER; done <<< "$list"

  2.    Advertissements


  3. #32
    Junior Member
    Join Date
    Apr 2015
    Location
    Here
    Posts
    7
    Rep Power
    0

    Default

    Hi Ppl

    Just to let you all know that the only issue I've had with this marvellous script came from the bash script path declaration at 1st line. I'd changed from

    #!/opt/bin/bash
    to

    #!/bin/sh
    Running Xubuntu 14.10

    Nice regards.


    EDIT: Syntax Error (it's pointing to the commas

    Code:
    Please Login or Register to see the links
    The download is performed correctly.

    .
    Last edited by AllBB; 30th April 2015 at 18:04. Reason: Syntax Error

  4. #33
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    This is version 0.87 of the Linux MapDownloader for Sygic

    What is new?

    - Added Voices
    - Fixed calculation error
    - Rerouted menu


    Previous versions 0.8 and 0.85 have been withdrawn

    [Only registered and activated users can see links. ]

    @ AllBB

    Thanks for testing.
    Syntax is OK.
    True cause: awk was stored in a faulty variable
    Last edited by keesdewit; 1st May 2015 at 08:00.

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

    Default

    I'm testing the script but the downloaded file content.info.tar is empty, instead if i directly download it there is a content in the rar file.
    When i select voices nothing happens.
    Thank you

  6. #35
    Junior Member
    Join Date
    Apr 2015
    Location
    Here
    Posts
    7
    Rep Power
    0

    Default

    Quote Originally Posted by salsa View Post
    I'm testing the script but the downloaded file content.info.tar is empty, instead if i directly download it there is a content in the rar file.
    When i select voices nothing happens.
    Thank you
    Hi salsa

    It's not .tar but .rar.

    If you select the "Manual" option at this wonderful script, you will read the following:

    Code:
    Please Login or Register to see the links
    Anyway, here is mine content.info
    Code:
    Please Login or Register to see the links
    Nice regards.

    .
    Last edited by AllBB; 1st May 2015 at 14:40. Reason: removing annoying jumping emoticon

  7. #36
    Master
    Join Date
    Mar 2015
    Location
    127.0.0.1
    Posts
    159
    Rep Power
    52

    Default

    Hi Salsa,

    Thanks for your feedback!

    I noticed that the Linux' "unrar" program has a problem with unpacking this content.info.rar file.
    I have replaced the content.info.rar with content.info.tar on line 1780.
    Unpack with "tar xvf content.info.tar"

    As for the voices, I cannot reproduce your problem.
    I just downloaded this:

    2015-05-01 16:16:28 (59.2 MB/s) - 'Sygic/Res/voices/spanish_latin_woman/info2.ini' saved [10259/10259]

    --2015-05-01 16:16:28-- [Only registered and activated users can see links. ]
    Resolving cdn.sygic.com... 93.184.221.133
    Connecting to cdn.sygic.com|93.184.221.133|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1407325 (1.3M) [application/octet-stream]
    Saving to: 'Sygic/Res/voices/spanish_latin_woman/alphanumeric.pak'

    100%[=====================================================================================================================================================================>] 1,407,325 156KB/s in 9.0s

    2015-05-01 16:16:37 (153 KB/s) - 'Sygic/Res/voices/spanish_latin_woman/alphanumeric.pak' saved [1407325/1407325]

    bash-3.2$ cd ../Res/voices/
    portuguese_woman/ spanish_latin_woman/
    bash-3.2$ cd ../Res/voices/spanish_latin_woman/
    bash-3.2$ ls -al
    drwxr-xr-x 2 kees users 4096 May 1 16:16 .
    drwxr-xr-x 4 kees users 4096 May 1 16:16 ..
    -rw-r--r-- 1 kees users 1407325 Jan 23 2014 alphanumeric.pak
    -rw-r--r-- 1 kees users 10259 Jan 23 2014 info2.ini
    -rw-r--r-- 1 kees users 1508522 Jan 23 2014 navigation.pak
    -rw-r--r-- 1 kees users 21144 Jan 23 2014 test.wav


    Please inspect the script on errors.
    Turn on logging inside the script to find errors.
    When things go wrong, Linux always lets you know!

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

    Default

    Just uploaded version 0.88 of the Linux MapDownloader for Sygic,
    A.K.A. The Salsa-Release.

    - Fixed: downloading content.info.tar (which can be unpacked with "tar").
    View line 1780



    [Only registered and activated users can see links. ]

  9. #38
    Junior Member
    Join Date
    Apr 2015
    Location
    Here
    Posts
    7
    Rep Power
    0

    Default

    @keesdewit & @salsa

    Just to confirm that voices download is working properly here:

    18
    voice is portuguese_br_woman
    Downloadsize of voice portuguese_br_woman is
    6.4228 MB
    Do you want to download the voice of portuguese_br_woman? y/n
    y
    --2015-05-01 11:02:25-- [Only registered and activated users can see links. ]
    Resolving cdn.sygic.com (cdn.sygic.com)... 72.21.81.253
    Connecting to cdn.sygic.com (cdn.sygic.com)|72.21.81.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 27677 (27K) [audio/x-wav]
    Saving to: `Sygic/Res/voices/portuguese_br_woman/test.wav'

    100%[======================================>] 27,677 --.-K/s in 0.006s

    2015-05-01 11:02:26 (4.20 MB/s) - `Sygic/Res/voices/portuguese_br_woman/test.wav' saved [27677/27677]

    --2015-05-01 11:02:26-- [Only registered and activated users can see links. ]
    Resolving cdn.sygic.com (cdn.sygic.com)... 72.21.81.253
    Connecting to cdn.sygic.com (cdn.sygic.com)|72.21.81.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1823346 (1.7M) [application/octet-stream]
    Saving to: `Sygic/Res/voices/portuguese_br_woman/navigation.pak'

    100%[======================================>] 1,823,346 137K/s in 13s

    2015-05-01 11:02:39 (133 KB/s) - `Sygic/Res/voices/portuguese_br_woman/navigation.pak' saved [1823346/1823346]

    --2015-05-01 11:02:39-- [Only registered and activated users can see links. ]
    Resolving cdn.sygic.com (cdn.sygic.com)... 72.21.81.253
    Connecting to cdn.sygic.com (cdn.sygic.com)|72.21.81.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 7651 (7.5K) [application/octet-stream]
    Saving to: `Sygic/Res/voices/portuguese_br_woman/info2.ini'

    100%[======================================>] 7,651 --.-K/s in 0.003s

    2015-05-01 11:02:40 (2.17 MB/s) - `Sygic/Res/voices/portuguese_br_woman/info2.ini' saved [7651/7651]

    --2015-05-01 11:02:40-- [Only registered and activated users can see links. ]
    Resolving cdn.sygic.com (cdn.sygic.com)... 72.21.81.253
    Connecting to cdn.sygic.com (cdn.sygic.com)|72.21.81.253|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1508698 (1.4M) [application/octet-stream]
    Saving to: `Sygic/Res/voices/portuguese_br_woman/alphanumeric.pak'

    100%[======================================>] 1,508,698 137K/s in 10s

    2015-05-01 11:02:50 (144 KB/s) - `Sygic/Res/voices/portuguese_br_woman/alphanumeric.pak' saved [1508698/1508698]
    Running Xubuntu 12.04 Oracle VM Image from inside Windows 7.

    Nice regards.


    EDIT: @keesdewit just noticed that the download size is miscalculated

    Code:
    Please Login or Register to see the links
    .
    Last edited by AllBB; 1st May 2015 at 15:10. Reason: download size

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

    Default

    I see.
    It is exactly double the size.

    Empty your logfile /tmp/map.log
    Uncomment lines 160 and 203 $RM -f $LOG

    Then you 're set.
    Last edited by keesdewit; 1st May 2015 at 15:41.

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

    Default

    Ops!!!!!!!!!!!!!!!!!!
    My mistake. Voices are working perfectly, i haven't seen the choosing menu in the console .
    Good job as ever

    Current version downloads the base package but it doesn't download the content.info.tar file.

 

 
Page 4 of 11 FirstFirst ... 23456 ... 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.