Resolve VFS path to 'real' one
#1
Hi!

Searching but did not find a way to get the file system path for a thumbnail given via JSON RPC.
Lets say i get special://Thumbnails/... and I want to access the files I got there with python. Is there some kind of function that translates this path into an accessible one?

thnx
Croaker
Reply
#2
xbmc.translatePath does what you want.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
perfect! thanks a lot man!
Reply

Logout Mark Read Team Forum Stats Members Help
Resolve VFS path to 'real' one0