Announcement

Collapse
No announcement yet.

Adding to a Playlist

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

  • sp1ff
    replied
    Just to close this out: I ended up just writing directly to the .m3u files under Plugins/ml. Note: if you've got a given playlist selected in the ML, write a new song to it's file, and then change the selection, the ML will overwrite your changes.

    Leave a comment:


  • sp1ff
    replied
    Well, I looked around a bit. I can see how to walk the ml tree to find out what playlists are there easily enough. But I dunno how to actually modify them.

    I tried ML_IPC_ADDTREEITEM with no luck...

    Leave a comment:


  • Joel
    replied
    Maybe somewhere in ml.h from the Winamp SDK?

    Leave a comment:


  • sp1ff
    replied
    I'd like to know, too

    I'm trying to solve this problem, too. Anyone have any ideas?

    Leave a comment:


  • DrChek
    started a topic Adding to a Playlist

    Adding to a Playlist

    I'm trying to write a plug-in that will respond to a keystroke command by sending the currently playing song to a playlist, just like the Send To submenu does.
    I've got the part about responding to the keystroke and getting the currently playing file, but how can I add the currently playing song to a playlist in the media library?

    Thanks.
Working...
X