Announcement

Collapse
No announcement yet.

have RR??? Want Traffic cams??? Check here

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • have RR??? Want Traffic cams??? Check here

    EDIT
    Livetraffic1.2 released
    -Modified program to use RR's COM interface, this means no more fixed drive paths
    -Fixed the array bug

    EDIT
    Livetraffic1.1 Released
    -Added SETLABEL command so the date/time the images were downloaded can display as an RR label. Check the readme for setup


    EDIT
    Livetraffic1.0 Released!

    www.sonicxtacy.com/livetrafficsetup.rar

    Report any bugs/additional feature requests please



    I'll go ahead and point out right there that for the time being this only works in the Washington DC/Baltimore metro area

    i've FINALLY figured out a way to download webcam feeds from trafficland.com. Using a php script i found here, i simply pull the images via an autoit script and save them to the skin folder. Then i use LOADIMG the same way it's done with the radar skin and there ya go . Any interest in this? Obviously you must have internet in the car to have this work. The boxes are clickable in my skin so they can be expanded. This is done via skin though, not in the script.

    Note that in the screenshot the "NO VIDEO" boxes are live feeds, the feed is just down cause its raining here.

    I'm sure this will work with other areas at some point I've requested the actual .php so i can see if i can modify it for other areas, but for now.. only the listed area works.
    Attached Files
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  • #2
    I think you should pull the camera names and put them underneath those images as well.
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

    Comment


    • #3
      could easily do that. Thanks for the suggestion.
      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
      Follow Me on Twitter or Facebook
      Live mp3Car Facebook Chat

      Comment


      • #4
        will this work in UK? With the right URL
        My Nissan 200SX @ Silverstone
        NOW SADLY WRITTEN OFF!

        My Car's spec list + pics

        Stealth CarPC fab'ing...

        Comment


        • #5
          link me some sites in the uk that give you traffic cams and i'll see what i can do. I know in parts of AUS its just as easy as pulling the image, maybe you'll luck out too
          mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
          Follow Me on Twitter or Facebook
          Live mp3Car Facebook Chat

          Comment


          • #6
            How do you know which cams to pull the feeds from though? Do the CAM ID's stay the same?
            iGMon - Integration between iGuidance and Road Runner
            CFX - Skin for Road Runner

            Comment


            • #7




              Thanatos.
              Attached Files
              RexBruMet Skin for FrodoPlayer

              Nissan Aux-in MOD


              Originally posted by bgoodman
              We're an international forum, post in whatever langauge you like.

              Comment


              • #8
                Originally posted by b8bboi View Post
                How do you know which cams to pull the feeds from though? Do the CAM ID's stay the same?
                cam id's stay the same, the pubtoken portion of the web address i pull from changes hourly. That was always the problem. Today i stumbled on a tivo traffic app that uses the php script above to query the pubtoken for the baltimore/washington area cam. Then i use inetget to save the .php data to a .txt file. I believe there is around 400 different cams to choose from. My script pulls the ENTIRE area even though i only use 6 cams. I'll show you my .au3 later if you want. I have to run to an appt now.


                Thanatos.. u lucky bastard! I wish i could integrate something that easily.
                mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                Follow Me on Twitter or Facebook
                Live mp3Car Facebook Chat

                Comment


                • #9
                  You want to see more?... tune in FP forums in a couple of days.

                  Thanatos.
                  RexBruMet Skin for FrodoPlayer

                  Nissan Aux-in MOD


                  Originally posted by bgoodman
                  We're an international forum, post in whatever langauge you like.

                  Comment


                  • #10
                    Sweetness Sonic... can't wait to see more. I'd def love to get my hands on this :-)

                    Comment


                    • #11
                      ok i need someone to test this out for me. Its working on my end. Download the .rar. Put the livetraffic folder in C:\program files\road runner\. Open the .ini in the folder and change the skinpath to whatever skin your using (change mc2.5 to the name of your skin folder). After that run the exe. It SHOULD put cam images in your skin folder. Once i've confirmed this works, i'll come up with a solution to allow users to select there own cameras.
                      Attached Files
                      mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                      Follow Me on Twitter or Facebook
                      Live mp3Car Facebook Chat

                      Comment


                      • #12
                        Originally posted by Sonicxtacy02 View Post
                        ok i need someone to test this out for me. Its working on my end. Download the .rar. Put the livetraffic folder in C:\program files\road runner\. Open the .ini in the folder and change the skinpath to whatever skin your using (change mc2.5 to the name of your skin folder). After that run the exe. It SHOULD put cam images in your skin folder. Once i've confirmed this works, i'll come up with a solution to allow users to select there own cameras.
                        I'll test for ya. I'm off for the next 3 days too (not that that has any bearing this... lol)

                        Comment


                        • #13
                          ok, well I had to rename the folder from livetrafficTEST to livetraffic, so the the exe would run, but it only ran for a second, creating only a trafficland.txt file in my livetraffic folder. No pics in my skin folder. Did I miss something?

                          edit... the text file is in XML format if that helps...

                          Comment


                          • #14
                            there's a folder inside of the livetrafficTest folder called livetraffic. That folder goes in your rr folder. Then go into that folder and open the ini. should read like this:

                            [livetraffic]
                            filepath=C:\Program Files\Road Runner\livetraffic
                            skinpath=C:\Program Files\Road Runner\skins\MC2.5

                            if filepath is something different, change it as it says above. Then change skin path to name of your skin folder. Do not put the "\" after the name.

                            The text file should just be a text file, not an .xml. Please confirm its .xml, if it is there's a problem
                            mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                            Follow Me on Twitter or Facebook
                            Live mp3Car Facebook Chat

                            Comment


                            • #15
                              Originally posted by Sonicxtacy02 View Post
                              there's a folder inside of the livetrafficTest folder called livetraffic. That folder goes in your rr folder. Then go into that folder and open the ini. should read like this:

                              [livetraffic]
                              filepath=C:\Program Files\Road Runner\livetraffic
                              skinpath=C:\Program Files\Road Runner\skins\MC2.5

                              if filepath is something different, change it as it says above. Then change skin path to name of your skin folder. Do not put the "\" after the name.

                              The text file should just be a text file, not an .xml. Please confirm its .xml, if it is there's a problem
                              got the ini.. that's edited as should.
                              Code:
                              [livetraffic]
                              filepath=C:\Program Files\Road Runner\livetraffic
                              skinpath=C:\Program Files\Road Runner\skins\CobraSkin_07
                              the text file is trafficland.txt, but if you open the file, the file structure is xml. Attaching first few lines:
                              Code:
                              <?xml version="1.0" encoding="utf-8"?>
                              <!-- City: DC - Baltimore-Washington Area (430 cameras) -->
                              <!--  Schema: v100.0.  Report data errors to [email protected] . -->
                              <Region>
                                      <RegionID>20000</RegionID>
                                      <Subregions>
                              		<Subregion>
                              			<SubregionName>DC - Washington (City)</SubregionName>
                              			<Cameras>
                              				<Camera>
                              					<CameraID>200111</CameraID>
                              					<CameraName>12th St  NW and Constitution Ave  NW</CameraName>
                              					<CameraURL>http://pub.camera.trafficland.com/trafficimage.php?system=pub&amp;webid=200111&amp;pubtoken=5fe8245d2447dca9690ecf6a5f467b29</CameraURL>
                              				</Camera>
                              And like I said, the program only runs for a second, just long enough to create the text/xml file, then it closes without warning.

                              Comment

                              Working...
                              X