Jump to content
LaunchBox Community Forums

How to generate new PlaylistId's?

Recommended Posts

Or... are PlaylistId's even needed in playlists? LB seems to be able to load playlists that don't have a PlaylistId.

I'm writing external code to generate playlists and am wondering what to do about the PlaylistId for each playlist.

Any suggestions?

Link to comment
Share on other sites

18 minutes ago, C-Beats said:

should be able to just assign Guid.New()

As long as you don't assign the playlist an ID that is already in use you should be fine.

And, of course, it's easy as in Python. Thanks.

I'll have to have a look at the object to see if need to check for uniqueness.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...