It is currently March 29th, 2024, 9:04 am

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 ?

Post by neuroverflow »

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: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

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

Post by balala »

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: 2674
Joined: November 24th, 2011, 1:42 am
Location: Utah

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

Post by Brian »