projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f835db3
)
[bookmark] fix resume bookmark from a plugin:// of stack:// items, thanks to kit500
author
Jonathan Marshall
<jmarshall@xbmc.org>
Thu, 1 May 2014 20:15:57 +0000
(08:15 +1200)
committer
Jonathan Marshall
<jmarshall@xbmc.org>
Thu, 1 May 2014 20:15:57 +0000
(08:15 +1200)
xbmc/Application.cpp
patch
|
blob
|
history
diff --git
a/xbmc/Application.cpp
b/xbmc/Application.cpp
index
bd90f07
..
203e69d
100644
(file)
--- a/
xbmc/Application.cpp
+++ b/
xbmc/Application.cpp
@@
-3810,7
+3810,10
@@
PlayBackRet CApplication::PlayStack(const CFileItem& item, bool bRestart)
{
// can only resume seek here, not dvdstate
CBookmark bookmark;
- if( dbs.GetResumeBookMark(item.GetPath(), bookmark) )
+ CStdString path = item.GetPath();
+ if (item.HasProperty("original_listitem_url") && URIUtils::IsPlugin(item.GetProperty("original_listitem_url").asString()))
+ path = item.GetProperty("original_listitem_url").asString();
+ if( dbs.GetResumeBookMark(path, bookmark) )
seconds = bookmark.timeInSeconds;
else
seconds = 0.0f;