It is currently January 20th, 2019, 12:07 pm

Writting a plugin, how do I retrieve the current skin path ?

Report bugs with the Rainmeter application and suggest features.
neuroverflow
Posts: 7
Joined: August 2nd, 2011, 9:27 am

Writting a plugin, how do I retrieve the current skin path ?

neuroverflow » January 1st, 2019, 8:36 pm

Hi Everyone and happy new year !

I'm writting a plugin (C#, a kodi current playing plugin ...) and how can I retrieve the path of the current skin (I mean the path of the skin who called the dll method) ?

I would like to write the cover image of the current file playing in Kodi ....

Thank you for your help !
User avatar
balala
Rainmeter Sage
Posts: 7446
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Writting a plugin, how do I retrieve the current skin path ?

balala » January 1st, 2019, 8:50 pm

neuroverflow wrote:
January 1st, 2019, 8:36 pm
I'm writting a plugin (C#, a kodi current playing plugin ...) and how can I retrieve the path of the current skin (I mean the path of the skin who called the dll method) ?
Although I don't have experience with C# (and just extremely little with C++), I think you should have to try to get the #CURRENTPATH# and the #CURRENTFILE# built-in variable and use that ones. You should have to read those variables from the skin, if this is possible.
User avatar
Brian
Developer
Posts: 1828
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Writting a plugin, how do I retrieve the current skin path ?

Brian » January 3rd, 2019, 8:17 am