Playlist Send to... example please
Moderators: Gurus, Addon Administrators
Playlist Send to... example please
Can anyone point me to an example of a script that operates on a playlist and is launched by right-clicking on that playlist and clicking on a new "Send to ..." menu item?
Thanks.
Thanks.
Chris
-
- Posts: 14163
- Joined: Sat Oct 25, 2003 7:57 am
- Location: (Texas)
- Contact:
Re: Playlist Send to... example please
let me see if i can understand what you want?
or
you want to have a script run in conjunction with the now playing playlist, and when you right click and click on send to. you want that script to auto execute its commands by having the click on send to be the trigger for its auto execute, on that selected song?
not that i can do it just that i want to know cause it might be a good deal for me to use also?
you want a script to pick a song from a playlist automaiticly and then it to another playlist?by chrisjj on Sat May 08, 2010 9:02 am
Can anyone point me to an example of a script that operates on a playlist and is launched by right-clicking on that playlist and clicking on a new "Send to ..." menu item?
or
you want to have a script run in conjunction with the now playing playlist, and when you right click and click on send to. you want that script to auto execute its commands by having the click on send to be the trigger for its auto execute, on that selected song?
not that i can do it just that i want to know cause it might be a good deal for me to use also?

roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Re: Playlist Send to... example please
No, I want a script that operates on the right-clicked playlist.
Chris
Re: Playlist Send to... example please
Try my Randomise Playlist script.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Playlist Send to... example please
Thanks TM, but that script's method of accessing a playlist (Set list = SDB.PlaylistByTitle(node.Caption) can operate on the wrong playlist if there is more than one with the same child name e.g. if there is fred/child and jim/child. Do you know a fix?trixmoto wrote:Try my Randomise Playlist script.
Chris
Re: Playlist Send to... example please
Well I've never done it, but my thought would be to traverse to the parent node, get it's caption, and then use that for confirmation. Without looking at the API I don't know exactly how I'd do the confirmation though.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Playlist Send to... example please
Thanks. I would have thought the API would directly provide a playlist node's playlist object, but I can find no such property. Anyone here know if it exists?
Chris
Re: Playlist Send to... example please
No, it doesn't exist, that's why we use "SDB.PlaylistByTitle" and don't always get the right one.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Re: Playlist Send to... example please
OK, thanks, I'll file a wish.trixmoto wrote:No, it doesn't exist, that's why we use "SDB.PlaylistByTitle" and don't always get the right one.
Chris
Re: Playlist Send to... example please
This discussion is sufficient as a wish, just file it in Mantis in the Wishlist section and link between here and Mantis. I wonder though can you guarantee that no script, plugin, addon, user will be effected by the requested change?
Download MediaMonkey ♪ License ♪ Knowledge Base ♪ MediaMonkey for Windows 2024 Help ♪ MediaMonkey for Android Help
Lowlander (MediaMonkey user since 2003)
Lowlander (MediaMonkey user since 2003)
Re: Playlist Send to... example please
> This discussion is sufficient as a wish, just file it in Mantis in the Wishlist section and link between here and Mantis.
OK.
> I wonder though can you guarantee that no script, plugin, addon, user will be effected by the requested change?
Good point! But the change should be just an additional method or perhaps class, so would not affect the existing API. But of course since there will be change to the code, there is teh same as always possibility of disturbing any existing unstable code.
I don't have sufficient understanding of the the API to suggest how the best solution. What would you propose? E.g. what is the best precedent in the API for referencing a node property that is an object other than a collection of tracks?
OK.
> I wonder though can you guarantee that no script, plugin, addon, user will be effected by the requested change?
Good point! But the change should be just an additional method or perhaps class, so would not affect the existing API. But of course since there will be change to the code, there is teh same as always possibility of disturbing any existing unstable code.
I don't have sufficient understanding of the the API to suggest how the best solution. What would you propose? E.g. what is the best precedent in the API for referencing a node property that is an object other than a collection of tracks?
Chris
Re: Playlist Send to... example please
@Chris
Search Mantis I'm certain that I filed similar wish already.
Search Mantis I'm certain that I filed similar wish already.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Re: Playlist Send to... example please
Thanks - I don't see it. E.g. Category: Framework: Scripts/Extensions Search playlist finds only closed/resolved.Peke wrote:@Chris
Search Mantis I'm certain that I filed similar wish already.
PS Is there any way to get a link to a Mantis search?
Chris
Re: Playlist Send to... example please
Have you checked Resolved?
? Search link ?
? Search link ?
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying



How to attach PICTURE/SCREENSHOTS to forum posts