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!
Bug: Broken symlinks
danielsson
Junior Member Posts: 5 Joined: Feb 2008 Reputation: 0 Location: Sweden |
2008-02-25 04:11
Post: #1
|
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2008-02-25 09:59
Post: #2
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. |
| find quote |
danielsson
Junior Member Posts: 5 Joined: Feb 2008 Reputation: 0 Location: Sweden |
2008-02-25 13:56
Post: #3
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: Code: stewie:test twan$ ls -lThen I remove the source-file (e): Code: stewie:test twan$ rm e![]()
|
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2008-02-25 14:12
Post: #4
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 a b c d e Inside xbmc, if I delete e only a b c 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? If you have problems please read this before posting 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. ![]() "Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#." |
| find quote |
danielsson
Junior Member Posts: 5 Joined: Feb 2008 Reputation: 0 Location: Sweden |
2008-02-25 14:40
Post: #5
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. Code: stewie:test twan$ ls -lAnd 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. |
| find quote |
danielsson
Junior Member Posts: 5 Joined: Feb 2008 Reputation: 0 Location: Sweden |
2008-02-25 14:47
Post: #6
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. Code: stewie:test twan$ ls -l |
| find quote |
topfs2
Team-XBMC Developer Joined: Dec 2007 Reputation: 8 |
2008-02-25 17:33
Post: #7
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.
If you have problems please read this before posting 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. ![]() "Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#." |
| find quote |



![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)
Search
Help