Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Plugin for bookmarks, rating and pois - Beta

  1. #1
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145

    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 Images Attached Images   

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    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."

  3. #3
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    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.

  4. #4
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    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

  5. #5
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,173
    Blog Entries
    53
    Quote 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.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  6. #6
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Quote 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

    Quote 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...

    Quote 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...


    Quote 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

    Quote 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

  7. #7
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Quote 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"

    Quote 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)

  8. #8
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    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




    Quote 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

  9. #9
    Constant Bitrate
    Join Date
    Mar 2006
    Posts
    145
    Quote 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...

    Quote 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.

    Quote 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...

    Quote 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

  10. #10
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Quote 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

Page 1 of 3 123 LastLast

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
  •