Playnite Forums
Is it possible to use 3rd party python libraries for scripts - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Development (https://playnite.link/forum/forum-10.html)
+--- Forum: Extensions (https://playnite.link/forum/forum-5.html)
+--- Thread: Is it possible to use 3rd party python libraries for scripts (/thread-326.html)



Is it possible to use 3rd party python libraries for scripts - loolou78 - 07-17-2020

Hello everyone,

I am making an extension/script in python for playnite, It needs a configuration file, I have been using a json file so far and It works great but I would like to use yaml instead.

But only 3rd party libraries can handle yaml so I was wondering if It was possible to install libraries for the python scripts ?

Thanks.


RE: Is it possible to use 3rd party python libraries for scripts - Crow - 07-18-2020

I have not tried it, but it should work as long as the library is IronPython compatible. However, I would recommend going with PowerShell or C#, since I've been questioning long term Python support and I may remove it if it's going to cause issues when I transition Playnite to .NET 5.


RE: Is it possible to use 3rd party python libraries for scripts - loolou78 - 08-03-2020

Okay thanks.

Shame for considering python's removal, I don't like PowerShell and I don't want to learn C# (not now at least). I might try to stay on an old version of Playnite if the latest doesn't support python.