kilokeith/soundcloud-soundmanager-player

Is it possible to delete entire playlist, add new playlist?

Closed this issue · 9 comments

Hey Keith,

Just wondering if there is an easy way to delete tracks (all tracks would be great, too). We're working on a feature whereby users can select genre-specific playlists at a click, and the destroy() function seems to make the player inoperable (I lose the ability to add tracks dynamically).

Still loving your script. Cannot wait to show you the project my team is using it for. Since I'm guessing you're a dubstep fan, for now I'll just tell you it's Skrillex/Owsla related. ;) I also hope we impress you with the styling and integration.

Sure, anything is possible. But it doesn't have that functionality yet because I've never needed to. In the short term, you could try calling the destroy() method on the player and initializing a new one. That should do what you need it to.

On Sep 27, 2013, at 4:44 PM, denitto notifications@github.com wrote:

Hey Keith,

Just wondering if there is an easy way to delete tracks (all tracks would be great, too). We're working on a feature whereby users can select genre-specific playlists at a click, and the destroy() function seems to make the player inoperable (I lose the ability to add tracks dynamically).

Still loving your script. Cannot wait to show you the project my team is using it for. Since I'm guessing you're a dubstep fan, for now I'll just tell you it's Skrillex/Owsla related. ;) I also hope we impress you with the styling and integration.


Reply to this email directly or view it on GitHub.

Cool. Thank you for the quick reply! Trying that now

Hey Keith:

Getting an error when I try to do the following:

scplayer.destroy();

I get this error:

Uncaught TypeError: Cannot convert null to object sc-player.js:342

Hey keith: going to hold off on playlists till the next version, but wanted to show you the project for Skrillex/OWSLA my team used your player on (since you seem to be a dubstep fan ;). We skinned the hell out of it and added some custom Add to Playlist, Play Now, and Get Track Info code. http://nesthq.com

Would love to hear your thoughts! Thanks for sharing your work--we're going to launch a credits page soon, and I'd like to mention you, if you're cool with it. Also, if you're ever in LA, let me buy you a beer.

Last thing: there's a small bug I found where EP or multitrack links add to the player automatically for some reason... no idea why, but just wanted to share. We figured out a workaround for now, but we have big plans for the player next version: add/delete tracks, save playlists to your user name, and genre playlists (if we can figure out how to delete then add whole playlists).

Thanks again.

0910 commented

@denitto Awesome work on Nest! Could you share the code you are using to Add new tracks and groups?

Thanks!

Hey Emanuel:

Really stoked you are interested.  I’m happy to share the code!  Will do so asap today or tomorrow.

— 

Nicholas DeNitto / Technical Director
213-613-1246 / manufactur.co

DISCLAIMER : This message contains information which may be confidential and/or privileged and is intended only for the use of the addressee(s). Any use, disclosure or copying of this message or any part thereof by any person other than such addressee(s) is unauthorized and strictly prohibited. If you have received this message in error, please notify the sender by return e-mail and delete the message. Thank you for your cooperation.

On March 1, 2016 at 5:25:11 AM, Emanuel Dobao (notifications@github.com) wrote:

@denitto Awesome work on Nest! Could you share the code you are using to Add new tracks and groups?

Thanks!


Reply to this email directly or view it on GitHub.

0910 commented

oh cool @denitto , I'll be very grateful :)

Hey @0910:

So, not sure what you needed, but here are two functions I wrote to add tracks - #1 (and lists of tracks - #3):

custom-sc.js

Is this what you wanted to see?

0910 commented

@denitto That's exactly what i was looking for. Thanks man!