I'm currently working on a Rainmeter Teamspeak Skin.
I found a LUA-Plugin for Teamspeak that maintains a TXT-File with people in a channel. I modified this script to hook into the channel join/leave event and also include the channel name and got rid of the talker function (I found RM to become very laggy, especially when the talker was only talking for a fraction of a second and rainmeter update was set to 1000.) My modified code for this TS LUA-Plugin is here: https://pastebin.com/81V9nVJp
This textfile is always in this format (1st line = name of channel, rest of the lines = players in the channel):
Name of Channel
Player X
Player Y
Player Z
Player ...
So far so good, I then tried to create a skin for Rainmeter which reads this text file and outputs it in a formatted way, but I have several problems:
- First I tried using the reader from https://forum.rainmeter.net/viewtopic.php?t=6998 but this made my Rainmeter freeze up every few seconds (not sure why) - even when the txt-file didn't change at all
- Then I moved over to the "Quote" Plugin and just read the whole text file only when it updates. This makes it a bit more responsive, but it still freezes up sometimes... I don't know why - there's no CPU/IOPS peak visible in my taskmanager.. it just kinda freezes. The only other Skins I use are the ModernGadgets HWINFO Skins... (CPU, GPU, Clock, Network, Disk Meter)... As soon as I unload my TS Skin, RM is completely responsive again without hickups.
- Since a lot of channels on my TS are German, there's quite some characters like öäü etc. On Rainmeter these show up wrong, e.g. "für" will be "für" etc. The characters get parsed correctly to my txt file, so the problem seems to be somewhere in the quotes plugin? Is there a flag I can set so those chars show up correctly?
My skin so far (I used a design from a skin I found on the board which I liked and tried to put my info in there):
In a perfect world, I'd like to have my skin set up as follows:
TS-Icon ............ Name of Channel (instead of "Who's online?)
-------------------------------------------
List of n Users in channel
Is it possible to parse the textfile in a way that I can split the first line and use it as channel name?
Thanks in advance for any help, it's greatly appreciated.