Results 1 to 3 of 3

Thread: How to get the full path of a customdl list item?

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

    Question How to get the full path of a customdl list item?

    as in the topic:

    I have an extension plugin and would need the full path of the currently selected dl list item.

    The same for the playlist would also be nice - currently i can retrieve it from the winamp.m3u file....

    Any help would be appreciated...
    Thx!

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    This is a relatively advanced topic. From the extension plugin, you have access to the Calling Screen's objects when a button/command is executed from it. So you CAN access that data directly when processing button codes. An example of this method would be (from the ProcessCommand function):

    case "plugin_showpath"
    msgbox frm.DL.Path + frm.DL.GetItem(frm.DL.Value)

    Add the above and make a button in the audio browser with that code and when pressing it, a messagebox with the path to the item selected will show. You'd have to look at RR's frmSkin's objects and their properties to know what all you can/can't do.. this does not

    However, if you wish to access such information on a timer basis, you can request "DLPATH" and "DLTEXT" via SDK's request commands -- this would require you to add a form (even if hidden), to implement the SDK support to receive messages from RR.
    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 quick answer!

    Is there also a way to get the path of an item in the playlist? It seems that the playlist array is not visible from the plugin...

Similar Threads

  1. CENTRAFUSE BETA 2 [1.4] Requests
    By veetid in forum Centrafuse
    Replies: 431
    Last Post: 10-10-2007, 10:15 AM
  2. Replies: 11
    Last Post: 06-08-2006, 11:43 PM
  3. NMEA extraction AppleScript need help
    By zapwizard in forum MacCar
    Replies: 15
    Last Post: 05-05-2006, 01:10 AM
  4. Help w/XM list box not appearing
    By Viscouse in forum RR Skins
    Replies: 2
    Last Post: 02-15-2006, 10:44 PM
  5. thumbnail view for folder and list view for file?
    By civic5zigen in forum Road Runner
    Replies: 9
    Last Post: 11-01-2005, 12:55 AM

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
  •