Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

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?

Posted
1 hour ago, C-Beats said:

Are you writing 100% external code or are you creating a plugin for LaunchBox? The answer would change the suggestion.

It is not a plugin. Completely external code creating XML files in the LB directory.

Posted

Then should be able to just assign Guid.New() (or whatever the equivalent code is for whatever language you are using). As long as you don't assign the playlist an ID that is already in use you should be fine.

Posted
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.

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...