Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
make it special://home/ please in the patch you obviously plan to submit since you opened a thread in the dev forum
Posts: 13
Joined: Sep 2008
Reputation:
0
2009-01-03, 07:20
(This post was last modified: 2009-01-03, 07:23 by countzero.)
I am happy to bollocks up xbmc code, but as I don't know python and am not familiar with xbmc coding style I don't think you would want me in there.
If someone could hint me in the right direction (i.e. which files are likely to refer to drive letter code) I would be happy to give it a go and tinker with the svn code myself.
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
We'll plan to change from drive letters to special path but I dunno if this address your problem. Even the special paths will be resolved to absolute path in the DB afaik. I would say this is a principal question on how we wanna store the paths in the DB.
Posts: 13
Joined: Sep 2008
Reputation:
0
2009-01-03, 14:55
(This post was last modified: 2009-01-04, 00:36 by countzero.)
Hmmm...I see.
Conceptually it would be polite if XBMC would allow for both relative and absolute paths. If I were to move XBMC to a different folder on the same hard disk, should things then still work or should this require reinstallation / rebuilding the database ? Having "home://" or "special://home" or the internal drive letters says "relative", but having the DB resolve paths says "absolute".
Also implementing a relative-to-absolute-path translator should leave all other code untouched.
(Thanks for having me on this forum + you are doing a great job + I can't code C++ and therefore should basically shut up :-)