Scripting to call "Play Last" from arbitrary node/playlist

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Scripting to call "Play Last" from arbitrary node/playlist

Re: Scripting to call "Play Last" from arbitrary node/playlist

by Teknojnky » Sat Jul 11, 2009 1:57 pm

yea it is a little confusing, there is one for the player (now playing) and one for playlists objects.

Re: Scripting to call "Play Last" from arbitrary node/playlist

by twinbee » Sat Jul 11, 2009 1:25 pm

Thanks - that does the trick!

I think originally I saw that, and thought it meant adding tracks to an MM Playlist rather than the "Now Playing" view...

Re: Scripting to call "Play Last" from arbitrary node/playlist

by Teknojnky » Sat Jul 11, 2009 1:09 am

if you have a songlist object, you simply

player.playlistaddtracks

Scripting to call "Play Last" from arbitrary node/playlist

by twinbee » Fri Jul 10, 2009 8:52 pm

There's two ways I'm trying to solve a problem, so I'll try this one first to see if I have any luck...

I've looked throughout the Wiki, but I can't seem to find out how to script something to "Play Last" . I'm using my own custom node, rather than a playlist. I'm guessing it can't be too hard, considering that MM scripting has the power to allow one to add one's own menu items etc.

In a nutshell, I want all the custom node's tracks to add to the end of the "Now Playing" section, which is of course what "Play Last" does.

Top