Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first FOUR Region Playlists accessible by actions. Would love to see actions for more playlists! #1822

Closed
JasonTurkMusic opened this issue Jan 25, 2024 · 4 comments

Comments

@JasonTurkMusic
Copy link

I would love to be able to start more than the first four Region Playlists using actions.
Only the first four are exposed:
image
I want to use region playlists in a live situation and I need more than four of them. The dropdown to select them from a list is exceptionally tiny and far too close to the [-] button that will delete the current playlist with no prompt!!
image
I tried calling _'S&M_PLAY_RGN_PLAYLIST5' from in a ".lua" script but that didn't work (_S&M_PLAY_RGN_PLAYLIST1 to 4 does).

I would love to be able to access at least the first 20x playlists from nice big buttons on a button toolbar. It seems a lot of work has gone into the Region playlist functionality but the UI is to small to be useable in a live situation. No problem for me as long as more functionality is accessible from actions.

Is this likely to happen? Or is there a workaround I'm missing? I have a certain amount of coding ability and had a look at "SnM_RegionPlaylist.h" and "SnM_RegionPlaylist.cpp". It looks like I need to call
void PlaylistPlay(int _playlistId, int _itemId); with a playlistId of more than 4 but I'm not sure how to!
Any help would be much appreciated!

@JasonTurkMusic JasonTurkMusic changed the title Only first FOUR Region Playlists accessible by actions. Please add more actions for more playlists! Only first FOUR Region Playlists accessible by actions. Would love to see actions for more playlists! Jan 25, 2024
@cfillion
Copy link
Member

cfillion commented Jan 25, 2024

Edit the line with S&M_PLAY_RGN_PLAYLIST=4 in <resource path>/S&M.ini.

@cfillion cfillion closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
@JasonTurkMusic
Copy link
Author

Thanks cfillion. That worked perfectly. Thanks so much for the quick response. I bought you a coffee and donated towards SWS as well.
One small thing I find unexpected /annoying is that empty region playlists get deleted on reopening the project.
If I'm making a playlist for 5 songs on a setlist and want to start with song 5 the logical thing is to add five playlists and edit the 5th. But when you restart the project then playlists 1-4 get deleted unless you have at least one region into them. This obviously means that the button that played playlist 5 now does nothing and your playlist 5 is now 1, and can't be reordered back to 5 (I'm aware of copy paste but that only copies to a new playlist not an existing one so is very limited).

Not a deal breaker but I'd be worried that I'd get distracted while working on a playlist and accidentally remove all of the regions then all my buttons would be wrong the next time I went to the project!

Thanks again for your help!

@cfillion
Copy link
Member

Thanks! Empty region playlists are outright skipped when saving the project. Deleting those without warning seems a bit surprising so I've patched it in #1823.

@JasonTurkMusic
Copy link
Author

Hi @cfillion sorry for pestering you, I'm not sure if you saw my other issue #1826 with region playlists. Is there anything I could do ? I have a Céilí coming up on Monday and I haven't been able to get my regions to play back smoothly! :-/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants