Joe Bob, I've been looking at the XM plugin myself this week.
What I'd really like to be able to do is have the plugin cycle through all of the SB clients online at the time an XM stream is started, log them all out, or detect which one is currently logged in then log that one out. Once there are no logged in SB XM clients, it should be safe to start the stream on the current client. What do you think? Issues: The XM plugin only knows about the SB being controlled in SC. It knows that the SB may not be the XM client logged in, but it doesn't know which is the currently logged in SB client. You can see this by having at least 2 SB on the system at one time. Log the first one (A) into XM by playing a stream or logging in from the plugin interface in SC. Then switch to the other SB (B) in SC. Go to the XM Plugin page in SC. The message will be 'Already logged in through client (B)' even though client (A) is the client that is actually logged in. I couldn't find the currently logged in client in the xmplugin code. I don't think the plugin keeps track of that. It looks to me that it only knows whether the current client (whichever client SB is controlling) is loggedin. This is why I wanted to make it easy on myself and log out all clients that *I* know about. (I'm going to hard code these for the time being, as I haven't looked at how to capture user data from the settings yet.) Are the clients identified by MAC address in the plugin? Am I looking at the wrong thing? -- jerrberr ------------------------------------------------------------------------ jerrberr's Profile: http://forums.slimdevices.com/member.php?userid=19400 View this thread: http://forums.slimdevices.com/showthread.php?t=53275 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
