Tabletop Simulator

Tabletop Simulator

Music Player Extension
28 Comments
ViklasTheMad 5 hours ago 
(Continued from previous comment)

We tried different combinations of players to test this, and with every combination of 2-5 players that has me as the host, the extension ran fine. As soon as we would add that 6th player, however, it would begin to fail.

I don't know if any of this helps, but I am hoping that knowing what causes the issue could lead to a solution. Looking forward to hearing back on this.

As a side note, the game room is saved after every session, as this is a weekly TTRPG.
ViklasTheMad 5 hours ago 
So, I wasn't able to get it on video, but I was able to re-create the issue and test some things.

When we started our game, there were only 5 players (myself included) in the room on TTS. Everything was running fine at that time with the music player extension, no issues. This ruled out my first theory, that it was a ping/connection issue caused by geographical distance, as I am in the US midwest, and one of our players that was present is in Poland.

When our late-comer joined (who is in the SW US I might add), making for 6 players in the room, the extension began to struggle and at times fail when attempting to load the next song. It seems player count is the key.
ViklasTheMad 16 Jul @ 10:29am 
No, that's not the issue. I definitely have a playlist saved. Two, in fact. I load up one of them, it plays a song or two, then the readout says "no playlist loaded", as if it forgot what playlist was running. I have to manually reload the playlist (via the "Load Playlist" button), then it will play a couple songs and "forget" the playlist again.

I will record a video of it next time and share it so you can see what it does.
VultureX  [author] 16 Jul @ 8:41am 
Probably a silly question, but did you actually create a playlist? If so, maybe you forgot to save the game after creating a playlist? The game must be saved when you make changes to playlists.

You can check which playlists you have in the Music Player Extension UI:
* Click the 'Home' button to return to the main Music Player Extension menu.
* Click the 'Playlists' button
* In the text window on the right it should list your Playlists and the songs in each of them. Or it will print a message that says 'There are no playlists!'

To load an existing playlist:
* Click the 'Home' button to return to the main Music Player Extension menu.
* Click the second button in the menu, the Load <your playlist> button.
If there are no playlists the button will read 'Load Playlist' and when you click on it you'll get the 'There are no playlists!' message in the text window on the right.
VultureX  [author] 10 Jul @ 2:22am 
Okay that sucks :steamsad: I'm not able to reproduce it myself unfortunately (nor have I any idea what might cause it, it's been a while since I looked at this :D). If you have a video or a save game that I can use, maybe I could take another look ^^'
ViklasTheMad 9 Jul @ 6:55am 
No errors in the chat window. Not using the built-in music player. After a few songs, it just forgets a playlist is loaded.

The extension's UI says "No playlist loaded" after loading a song and playing it. But because it thinks there is no playlist loaded, it does not play the next song.
VultureX  [author] 8 Jul @ 1:41pm 
Hmm, I have no clue tbh :rshocked: Is there any error message in the console/chat window? Are you always using the Music Player Extension to play audio or do you also use the built-in Music Player? It's possible that it can't load or find certain songs in the list. If so, an error should show up in the chat window.
ViklasTheMad 6 Jul @ 7:40pm 
So, I don't know what could be causing this issue, but whenever I am working on a map for one of my games, the player works fine. But the second I load up that same saved room with the music player extension, after one or two songs it "forgets" what playlist is loaded and just stops.

Any idea what might be causing this?
VultureX  [author] 25 Jul, 2023 @ 1:15pm 
Hi Катюша, unfortunately I don't have any good recommendations for external sites. People often use Discord servers and plugins such as Kenku FM to have more flexible audio customization. I personally don't have experience with those tools so I can't tell you more :steamfacepalm:
F3RN 20 Jul, 2023 @ 4:42pm 
I suppose there is no way to play youtube or soundcloud. are there any websites you'd recommend for finding specific music encoded in the format that's allowed for the playlist?
Jimbo_D1 23 Oct, 2022 @ 10:55am 
got it, thank you so much
VultureX  [author] 21 Oct, 2022 @ 2:40pm 
Hi Jimbo_D1, it shouldn't be broken. I've quickly created a video for you to demonstrate how playlists are created to play songs. I hope this helps:
https://youtu.be/XSs5bRM3zIA
Jimbo_D1 20 Oct, 2022 @ 4:50pm 
Is this broken? I subscribed but cannot figure out how to use this.
MT-Pear 10 Dec, 2021 @ 5:10pm 
works like a charm, thanks!
VultureX  [author] 13 Nov, 2021 @ 3:55pm 
Hi MT-Pear, v1.3.0 is out with a toggle to hide song URLs :D:
MT-Pear 3 Nov, 2021 @ 5:11am 
Seems to work now, thanks!

Another feature I would like to see: posibility to hide the link to the song (not realy interested in it).

BR MT-Pear
VultureX  [author] 31 Oct, 2021 @ 4:57pm 
Additional notes: it's now also possible to press space bar when the 'Jump to song' button is selected to jump to a song. If you try to type letters, the input box is cleared.
VultureX  [author] 31 Oct, 2021 @ 4:51pm 
Version 1.2.2 is now released with bug fixes and minor changes, please read the 1.2.1 and 1.2.2 release notes for more details. I hope your issues are fixed ;)
VultureX  [author] 30 Oct, 2021 @ 4:08pm 
Hi MT-Pear, I took a look, and I noticed that it is now impossible to type in a number with more than 1 decimal. I'll fix it in a patch when I have some time. I'm not certain if you had any other problems. Here's an explanation for the 'Jump to song' feature should anyone need it:

The jump to song feature works as follows:
1. Click the 'Jump to song #...' button in the main menu to bring the text input into focus.
2. Type the number of the song you want to jump to, note that the button's text adjusts itself
3. Click the tiny '#'' button in the lower tool-bar to actually jump to the selected song, note that a playlist must already be loaded.

I realize it would be easier to just press enter on this button or something, but I'm not sure at the moment if that's possible. Maybe also something to look into for a patch :)
MT-Pear 29 Oct, 2021 @ 4:02pm 
Hey VultureX, seems broken at the moment, could you take a look on it?

cheers
VultureX  [author] 17 Oct, 2021 @ 3:10pm 
Thanks Vangoich! I've noticed your message and updated the tool with a 'Jump to Song' feature. Hopefully it does what you need ;)
Vangoich 4 Oct, 2021 @ 2:37pm 
Such an excellent tool, just what I've been looking for. It's been a while but I hope there is a chance that this may still see some features. If anything it could really do with a 'Jump To Song #' with the other playlist buttons :steamthumbsup:
El Pijurro 17 Jan, 2020 @ 4:48pm 
thank you for the informations

thanks to what you said, i noticed that i could load a save game with the playlist i made, then change the game (by loading a workshop map, for example) and the music files would still be there

cheers mate
VultureX  [author] 17 Jan, 2020 @ 2:43pm 
Okay, I tried this out really quick and it's actually possible to copy the music player to another world! See the Q&A I've added to the description ;)
VultureX  [author] 17 Jan, 2020 @ 2:35pm 
Yeah, as soon as you create a new game with a music player, you'll need to create a new playlist for it. Any changes to it will be saved in the save-game for that particular game. It's probably possible to copy the playlist from one save game to a different save game manually by editing the saves as text files, so you can use the same playlist in a different game without having to recreate it from scratch. I'm not sure if TTS already has some functionality to copy objects between games, if so, then you would be able to transfer your playlists between different games.
El Pijurro 16 Jan, 2020 @ 4:26pm 
oh, i see

so, it would still need a new playlist for every saved game, right?
VultureX  [author] 16 Jan, 2020 @ 3:19pm 
Playlists are saved in auto-save as part of the save-game. I'm not sure whether you can transfer the playlists between boards, though... I've been meaning to include a menu that would allow for easy exporting and importing of play-lists, but I ran out of time ^^
El Pijurro 16 Jan, 2020 @ 2:54pm 
does this allow you to save your playlists or do you have to make them from scratch everytime you play, like with the standard music player?