Announcement

Collapse
No announcement yet.

Plugin for bookmarks, rating and pois - Beta

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin for bookmarks, rating and pois - Beta

    Hi!

    I've made some progress with my plugin.
    The plugin has different functionalities implemented:

    - management of pois (save and display in order to current location)
    - rate songs (write rating to song in the id3v2 tag and create rating playlists)
    - extract file information (id3v2 tag, etc)
    - bookmark handling (creates ext3mu playlists with 2 additional tags for current song and position; ex: "#EXTBMKSNG:3 #EXTBMKPOS:0" ; winamp ignores these tags so the playlistfiles are directly usable in winamp...)

    the last point has the problem that i cannot get rr to refresh the custodl of the bookmark files. I hope this issue will be handled soon...

    For the rating and playcount i use the id3v2 tag - the frame is called popularimeter. To save different opinions it uses the email address of the user. This address must be changed in the plugin ini file.

    Installation: unpack and register .dll and ocx - change ini file.

    Commands:

    -poisave;lat;long;poiname;category
    ex: "poisave;45.332;54.753;Radar20060912;Radar"
    save the current position

    -poiposi;lat;lon
    ex: "poiposi;45.332;54.753"
    sets the position for distance calculation

    -loadfileinfo;filename
    ex: "loadfileinfo;c:\test.mp3"
    defines the file for fileinfo reading

    -saverating;songordir;rating;filename
    ex: "saverating;1;3;c:\test.mp3"
    saves the rating to the file
    songordir = 1: rates only the file
    songordir = 2: rates the directory where the file is located

    -writeratinglist;rating;filename;playlistpath;songo rdirectory
    ex: "writeratinglist;3;d:\prince-shhh.mp3;c:\playlists;1"
    adds the file to the according playlist - 5 levels (ex: _2_Rating.m3u)
    songordir = 1: adds only the file
    songordir = 2: adds all songs of the directory where the file is located

    -savebookmark;songnumber;playingpositioninsec;winam ppath;bookmarkname
    ex: "savebookmark;3;57;c:\winamp;c:\sherlock.m3u"
    creates ext3mu playlist with 2 additional entries for current song and playing position

    -loadbookmark;winamppath;bookmarkname
    ex: "loadbookmark;c:\winamp;c:\sherlock.m3u"
    loads the bookmark and restores song and position

    Labels:

    -poides
    poi description

    -poiname
    poi name

    -poicat
    poi category

    -poidis
    poi distance

    -poilat
    poi latitude

    -poilon
    poi longitude

    -id3rating
    id3v2 rating

    -id3playcount
    id3v2 playcount

    -id3artist
    id3v2 artist

    I've also added some screenshots showing the plugin screens.

    Edit:
    Source included - bookmarks are now working, thanks to guino
    Not as many others here, i release the source - i have nothing to hide, not even the bugs
    Please also share your changes and ideas...

    Edit2:
    removed...
    Attached Files
    monschein.org

  • #2
    I've posted back on your playlist path issue, please check on the BUG threads. Also, any special reason why you read ID3 tags here instead of uding the TAGxxxx info from RR ? Just curious.

    I was going to make a suggestion to allow executing a command when getting within a range of a POI and perhaps another command when leaving this "range", even started working on something like that based on a previous version of your plugin's code. Just got a little side-tracked.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      thanks for the hint with "setpath" - i will try it out today.

      about the poi range command:
      i decided to do the command handling in the skin - all infos are provided by the plugin. For me its enough to play some sound, when entering a certain distance, but if you have a special wish, i can integrate it in the plugin...

      about id3v2:
      - rr can not handle all the features of id3v2 tags i think.
      - i'm getting garbage characters when using v2 with rr.
      - the plugin will be extended so that it can provide also info for other filetypes.
      monschein.org

      Comment


      • #4
        Ok, this is from a non programmers point of view

        I downloaded the file, and noticed there are no instructions, or readme in the archive. So I am just using the first post as a guide. I realize this is an early Beta, so I know it is not complete, and just a preview of things to come.

        First, dosen't the plugin need to be defined in the skin with "X,Reflex" or somehting to work correctly?

        Reading the first post, it appears that you can set a button in a skin to save the current location to a file. In your example you have:
        -poisave;lat;long;poiname;category

        Where do the poiname and catagory come from, or how are they defined when pressing the button?

        Also the poiposi command loads a saved location, then what is needed to compare that to the current GPS location?

        I guess the easiest way to explain, is what I am trying to use it for:

        When I drive by a location, I want to press a button, have that pull the LAT and LON from RR, and then be able to enter the name of the "POI" with the OSK.

        In the future, when I get say, 5 miles from that location, to have an audible/pop-up or some sort of warning, thats if the plugin actually monitors the current position at a timed interval. Otherwise, one would have to keep pressing a button on the screen to see if some sort of POI is within range



        I'm Sorry, a lot of questions I know, just trying to figgure this all out, and try to put it to good use!
        Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

        My Fiero Build Thread

        Comment


        • #5
          Originally posted by JohnWPB View Post
          Ok, this is from a non programmers point of view

          I downloaded the file, and noticed there are no instructions, or readme in the archive. So I am just using the first post as a guide. I realize this is an early Beta, so I know it is not complete, and just a preview of things to come.

          First, dosen't the plugin need to be defined in the skin with "X,Reflex" or somehting to work correctly?

          Reading the first post, it appears that you can set a button in a skin to save the current location to a file. In your example you have:
          -poisave;lat;long;poiname;category

          Where do the poiname and catagory come from, or how are they defined when pressing the button?

          Also the poiposi command loads a saved location, then what is needed to compare that to the current GPS location?

          I guess the easiest way to explain, is what I am trying to use it for:

          When I drive by a location, I want to press a button, have that pull the LAT and LON from RR, and then be able to enter the name of the "POI" with the OSK.

          In the future, when I get say, 5 miles from that location, to have an audible/pop-up or some sort of warning, thats if the plugin actually monitors the current position at a timed interval. Otherwise, one would have to keep pressing a button on the screen to see if some sort of POI is within range



          I'm Sorry, a lot of questions I know, just trying to figgure this all out, and try to put it to good use!

          i have all the same questions he does.. the POI feature could be a nice feature if done correctly. Once the feature is developed to send lat and lon to iguidance u could have ur plugin map to that location if need be.
          mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
          Follow Me on Twitter or Facebook
          Live mp3Car Facebook Chat

          Comment


          • #6
            Originally posted by JohnWPB View Post
            First, dosen't the plugin need to be defined in the skin with "X,Reflex" or somehting to work correctly?
            yes, you need that definition

            Originally posted by JohnWPB View Post
            Where do the poiname and catagory come from, or how are they defined when pressing the button?
            from the skin...

            Originally posted by JohnWPB View Post
            Also the poiposi command loads a saved location, then what is needed to compare that to the current GPS location?
            the plugin loads all pois - to compare them, you must tell the plugin the current position...


            Originally posted by JohnWPB View Post
            When I drive by a location, I want to press a button, have that pull the LAT and LON from RR, and then be able to enter the name of the "POI" with the OSK.
            thats exactly what it does

            Originally posted by JohnWPB View Post
            In the future, when I get say, 5 miles from that location, to have an audible/pop-up or some sort of warning, thats if the plugin actually monitors the current position at a timed interval. Otherwise, one would have to keep pressing a button on the screen to see if some sort of POI is within range
            thats very easy to do - at least in a flash skin...

            I forget on the label description that the poi labels end with a number, which indicates the order of the poi to the given position. ex: "poidis1" gives the distance of the nearest poi - poides2 gives the description of the 2nd nearest poi, etc, etc
            monschein.org

            Comment


            • #7
              Originally posted by Sonicxtacy02 View Post
              i have all the same questions he does.. the POI feature could be a nice feature if done correctly.
              please note that i posted the source, so you can do it "correctly"

              Originally posted by Sonicxtacy02 View Post
              Once the feature is developed to send lat and lon to iguidance u could have ur plugin map to that location if need be.
              I dont use iguidance, so i will not implement this.

              things to be implemented (until now):
              - tripmeter, fuel consumption, etc
              - simple rss reader
              - more id3v2 tags including lyrics and albumart
              - extended albumart (show all pics in the folder as slideshow)
              monschein.org

              Comment


              • #8
                Quote:
                Originally Posted by JohnWPB
                Where do the poiname and catagory come from, or how are they defined when pressing the button?

                from the skin...

                just "From the skin"? Well, thats not much help




                Originally posted by ReflexNPG View Post

                thats very easy to do - at least in a flash skin...
                I personally am not using a flash skin, and I am sure most others are not either. So in a non-flash skin, how can I implement the POI warning, given a set distance? The second part of this is what event will occur when the POI is within "range" so I can then trigger TTS, Pop-up, .Wav file ect. My end result would be to have TTS, that would say something to the effect of "Approaching Toll Plaza in 2 miles".

                It might help to explain why, as this seems kinda strange to know when a POI is within range. I do a lot of traveling in Florida, and the Toll system here is pretty complex on some of the highways. The speed goes from 70MPH, to have to stop and pay a toll, and would be a good reminder to start digging for change in the seats
                Also there are only certain places to get gas through the desolate center of Florida. I have all the GPS coordinates of these locations already as "Favorites" in iGuidance. But a limitation of iGuidance, is you would have to select one of these favorites to drive to manually, for each and every one... and every time you set out on a new trip.

                With this plugin, I am looking to have it "watch" those saved POS's continuously in the background, and issue a warning/reminder, if I am approcahing a Toll Booth, Last gas for a while, rest area ect.


                On another note, could you post the skins that you previewed above? This would help immensly in trying to figgure out the button codes, labels and other syntax. I have been been trying to get just a piece of this working for 2 hours, and have had absolutely no luck. Again, I am not a programmer, but but I do learn fast by example.



                .
                Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                My Fiero Build Thread

                Comment


                • #9
                  Originally posted by JohnWPB View Post
                  just "From the skin"? Well, thats not much help
                  hmm, somebody must enter the category and the poi name - this will usually happen in the skin and this information you send with the command: "poisave;45.332;54.753;Radar20060912;Radar"

                  sorry, but i dont see your point...

                  Originally posted by JohnWPB View Post
                  With this plugin, I am looking to have it "watch" those saved POS's continuously in the background, and issue a warning/reminder, if I am approcahing a Toll Booth, Last gas for a while, rest area ect.
                  Thats its purpose, but you know that its only the direct disctance between the points - not the distance on the road.

                  Originally posted by JohnWPB View Post
                  On another note, could you post the skins that you previewed above?
                  Sure, a beta of the skin will be posted in the next days...

                  Originally posted by JohnWPB View Post
                  I have been been trying to get just a piece of this working for 2 hours, and have had absolutely no luck.
                  I am sorry for that
                  monschein.org

                  Comment


                  • #10
                    Originally posted by ReflexNPG View Post

                    sorry, but i dont see your point...
                    Sorry I guess the question was kind of vague.
                    you say to send the following command:
                    "poisave;45.332;54.753;Radar20060912;Radar"

                    Ok, WHERE does that command come from, does someone have to enter it in that format ect? (Obviousally not, but thats the way it seems the way it's described) What would be the sequence, and button code used to save a single POI, for reference

                    What is the code, in the skin, for the button to press to save a POI? When that button is then pressed, does it prompt twice with the OSK for the POIName & then the POICatagory, or is the Catagory itself part of the button code. For instance a button for GAS, TOll PLAZA, REST STOP ect?

                    This looks like a really powerful plugin, but I just cant make sence of the sysntax, button code syntax ect to test it out.

                    Thus far I have created a VERY simple test skin that I will expand on when I figgure it out a step at a time, with just a single button, to save the POI when pressed. I also created a lable to show the closest POI (Sorry, again, what is the EXACT code to show the Closest POI in a lable on the skin, minus the coordinates of course ) I have Registered the OCX & DLL, and declared the Plugin in the menu.skin file. I just cant figgure out the code to use on that button or lable. I have tried unknown combinations and syntax based on the first post with no luck.

                    I do appreceiate your help, and look forward to this plugin moving forward, as I can see a LARGE audience for something like this. I just have to get past my current brain cramp, and all will be better!
                    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                    My Fiero Build Thread

                    Comment


                    • #11
                      if you press the "save" button, you send the command with "fscommand("poisave;45.332;54.753;Radar20060912;Ra dar")". This is for flash and i dont know how to do it in non-flash skins.
                      It's clear that it can only calculate the distance, when you send the current position to the plugin with "fscommand("poiposi;45.332;54.753")"

                      About the label: To show the name of the nearest poi the label must be called: "poiname1", the distance is called "poidis1" and so on.

                      i include the main screen of my skin, maybe this helps
                      Attached Files
                      monschein.org

                      Comment


                      • #12
                        Originally posted by ReflexNPG View Post
                        please note that i posted the source, so you can do it "correctly"

                        I dont use iguidance, so i will not implement this.

                        things to be implemented (until now):
                        - tripmeter, fuel consumption, etc
                        - simple rss reader
                        - more id3v2 tags including lyrics and albumart
                        - extended albumart (show all pics in the folder as slideshow)
                        its not a feature that needs to be put in your plugin its a feature being added to rr that ur program could use mapping lat and lon coordinates.
                        mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                        Follow Me on Twitter or Facebook
                        Live mp3Car Facebook Chat

                        Comment


                        • #13
                          Originally posted by ReflexNPG View Post
                          if you press the "save" button, you send the command with "fscommand("poisave;45.332;54.753;Radar20060912;Ra dar")". This is for flash and i dont know how to do it in non-flash skins.
                          It's clear that it can only calculate the distance, when you send the current position to the plugin with "fscommand("poiposi;45.332;54.753")"

                          About the label: To show the name of the nearest poi the label must be called: "poiname1", the distance is called "poidis1" and so on.

                          i include the main screen of my skin, maybe this helps
                          Ok, I think I got it!!!! I was trying to figgure out the button code, from a standard Road Runner skin point of view, NOT from a Flash standpoint! Thats why it did not make sence to me.

                          That ends it right there, and I will not be able to take advantage of your plugin I do not use flash based skins, so I will have to find another way to go about doing this. Sorry for all the confusion.
                          Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

                          My Fiero Build Thread

                          Comment


                          • #14
                            so i want to clarify this, does this plugin only work if you are using FLASH SKINS ?

                            So far i cant get anything to work. Im most interested in the bookmark feature. Ive tried a few of the label codes but non of them show anything.
                            01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
                            01101101 01101111 01101011 01100101

                            beer replenishment fund
                            http://www.mp3car.com/vbulletin/forumdisplay.php?f=93
                            mp3car live search

                            i have joost invites, just hit me up for one.

                            Comment


                            • #15
                              there's nothing that flash can do from a command standpoint that a non-flash skin can't do. In fact, alot of rr commands cannot be run directly thru flash. The way to get around this is to use exectbl.ini.

                              Everyone here is confused on how pressing the POISAVE button takes the LAT and LON coordinates and enters them into the button command so rr can process it.
                              mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
                              Follow Me on Twitter or Facebook
                              Live mp3Car Facebook Chat

                              Comment

                              Working...
                              X