I assume that what you do know dor transfer is that you sync the target
player to the existing syncgroup and then remove the source player(s).

I can confirm that my Walk With Me plugin does this - and that it's failing with Groups. And iPeng AFAIK does the same. Alas, I'm not sure iPeng is using my plugin (it does for the Apple Watch version).

What _I_ could do in the plugin, is set the source property of the sync request to something you could filter on (I usually set it to the plugin's module name). When you catch the sync request, you could then check something like:

if ($request->source eq 'Plugins::WalkWithMe::Plugin") { doStuff; }

Setting the source is only possible from within LMS/plugin code, but not from the caller. Therefore pippin cannot use this approach. It _might_ potentially be possible to set a tag on the sync call, as it does accept those. But I'd have to test this first, as it would go beyond what is documented behaviour of the sync command (eg. "sync 00:04... movePlaylist:1").

We should probably take this discussion to its own thread.

--

Michael
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to