Kodi Community Forum
special:// paths and translatePath - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: special:// paths and translatePath (/showthread.php?tid=45051)

Pages: 1 2 3


- althekiller - 2009-02-15

Ah, misquoted as usual... Smile
Quote:14:24:01 < CrashX2> in your logs on top .. you have all maping listed .. special://profile isn't one of them
14:24:13 < CrashX2> maybe it isn't just me
14:24:41 < AlTheKiller> 17:30:52 T:3056043872 M:123043840 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:24:43 < CrashX2> special://masterprofile is listed though
14:25:06 < AlTheKiller> It's not in CSpecialProtocol::LogPaths() for some reason.
14:25:11 < AlTheKiller> So it's listed later.
14:25:48 < CrashX2> yup I see it
14:26:12 < AlTheKiller> *reason is we don't know which profile we're using at that point



- CrashX - 2009-02-15

No i don't have any profiles other than the main one for XBMC. I am currently doing a clean linux build of svn ..

Last build was Feb 6, 2009 ( Revision 17593 )


- CrashX - 2009-02-15

althekiller Wrote:Ah, misquoted as usual... Smile

Again I apologies to you on IRC and now on forum .. Big GrinBig GrinBig Grin


- jmarshall - 2009-02-15

It was fixed in r17632.


- CrashX - 2009-02-16

Confirmed fixed ... thanks ..


- CrashX - 2009-02-16

jmarshall Wrote:translatePath() does NOT convert anything to special://.

It converts FROM special:// (or the old paths, which should ideally not be used) to the actual raw path that the OS should accept. Use translatePath() prior to calling any os command.

See my dev blog for more information:

http://xbmc.org/jmarshall/

Cheers,
Jonathan

Can you please add this information found on the link be a sticky ?