Posts: 5
Joined: Apr 2011
Reputation:
0
Setup: XBMC Eden iOS, browsing file share mounted via SAMBA.
Play video, on file server add a file (with a name that sorts before the video being played), stop video and the selected video is not the one playing.
Posts: 1,011
Joined: Apr 2010
Reputation:
16
So you want the cursor where you left it before you added a video file. Surely it's just moved by one position ?
Flirc now has a forum: forum.flirc.tv
Posts: 5
Joined: Apr 2011
Reputation:
0
usually it has just moved by one position, but it is annoying.
i'm usually watching a video that gets interrupted b/c of a network glitch and i quickly hit play to restart it and wind up playing a different video.
should be an easy fix?
Posts: 31,445
Joined: Jan 2011
XBMC might believe it has come to the end of the file (since the data stopped abruptly, despite the timestamps) and selects the next item?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
No, it's because we keep only the index into the list of items, not the path (or other characteristics). If someone wants to take a look, see GUIMediaWindow.cpp
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Thanks teaguecl - looks like I dropped the ball on this one. I'll pull the patch up to date and see if anything else is needed.
Cheers,
Jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Thinking through it a bit it's not as simple as the patch makes out unfortunately (relying on path alone fails for cases where the path is the same for multiple items - .cue sheets for example). Will branch and start work, but I don't expect it to be completed quickly.
I'll push the branch up to github once done in case someone else has time.
Cheers,
Jonathan