Embed plugin inside script
#5
I've read up a bit on pickle and it doesn't seem like passing a network connection in a pickled object will work (the connection to squeezeserver is basically via telnet of all things!!) - certainly in Python3+ they seem to be against it even if it might currently work.

>> If that's not what you're after, and you want to preserve a bunch of framework code, you can include it in a script module and require that from both addons.

Yeah that seems like the more sensible option really. It's not a lot of code and it's probably best to do it that way.

(I don't think a service helps me here but thanks for tha idea too!)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a *full debug log*.
Reply


Messages In This Thread
Embed plugin inside script - by bossanova808 - 2012-05-08, 05:22
RE: Embed plugin inside script - by Bstrdsmkr - 2012-05-08, 05:44
RE: Embed plugin inside script - by Bstrdsmkr - 2012-05-08, 06:44
RE: Embed plugin inside script - by bossanova808 - 2012-05-08, 06:53
RE: Embed plugin inside script - by spiff - 2012-05-08, 08:19
RE: Embed plugin inside script - by Bstrdsmkr - 2012-05-08, 09:02
RE: Embed plugin inside script - by Bstrdsmkr - 2012-05-09, 05:02
RE: Embed plugin inside script - by Bstrdsmkr - 2012-05-09, 05:48
RE: Embed plugin inside script - by Nuka1195 - 2012-05-09, 13:48
RE: Embed plugin inside script - by spiff - 2012-05-09, 14:28
Logout Mark Read Team Forum Stats Members Help
Embed plugin inside script0