Bug: Broken symlinks - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Mac OS X support (/forumdisplay.php?fid=56)
+---- Thread: Bug: Broken symlinks (/showthread.php?tid=31473)
Bug: Broken symlinks - danielsson - 2008-02-25 04:11
When browsing files in a directory containing a broken symlink, the following files doesn't show.
OSX's "Alias" doesn't seam to be affected.
Possibly this is a *nix-problem...
Thank's for the good job!
- topfs2 - 2008-02-25 09:59
How do you mean? if we have a nbr of files in a folder say a - d and a symlinked e.
When "e" is broken a - d shows but not e?
Or does some of the other ones also dissapear?
if the latter could you post an easy way to reproduce.
- danielsson - 2008-02-25 13:56
My english isn't very good, so I'll try to explan it in "pictures"
Like this everything looks as it's supposed to in XBMC:
Then I remove the source-file (e):
- topfs2 - 2008-02-25 14:12
But if you remove the source, it doesn't link to anything. The if this is a movie it wouldn't play because it isn't on the HD anymore...
I still haven't gotten why it should show it. when a symlink gets broken it's usually because linux can't access the file, and if linux can't acess it then XBMC wouldn't either. Thus the file wouldn't play anyway
At me when the symlink works I get
Inside xbmc, if I delete e only
Gets shown, these are the only files which actually work.
Does only d show at you when you delete e? even if a b c are still present?
- danielsson - 2008-02-25 14:40
Topfs2 Wrote:Does only d show at you when you delete e? even if a b c are still present?Exactly. Only the d-file is shown in my case inside xbmc.
And of course, if the source is removed the symlink doesn't work , but the rest of the files (and the symlink) should still be shown in xbmc's file-list.
And note again: I run XBMC in OSX, but this thred was moved here by some admin.
- danielsson - 2008-02-25 14:47
Hmm, isn't it possible to edit your own posts in this forum?
I added another file (f), and now both d and f shows up in xbmc.
- topfs2 - 2008-02-25 17:33
I moved you back because I don't run XBMC osx but it is a bug if it does what you are describing. Works in linux though.