Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

reset resume point after playing items via the playlist player, so th…

…at when they repeat the start at the beginning. fixes #12811
  • Loading branch information...
commit 87b242f779ed612c96c291061c6602914df0cc14 1 parent 0a0085c
authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  xbmc/PlayListPlayer.cpp
4  xbmc/PlayListPlayer.cpp
@@ -299,6 +299,10 @@ bool CPlayListPlayer::Play(int iSong, bool bAutoPlay /* = false */, bool bPlayPr
299 299
     }
300 300
   }
301 301
 
  302
+  // reset the start offset of this item
  303
+  if (item->m_lStartOffset == STARTOFFSET_RESUME)
  304
+    item->m_lStartOffset = 0;
  305
+
302 306
   // TODO - move the above failure logic and the below success logic
303 307
   //        to callbacks instead so we don't rely on the return value
304 308
   //        of PlayFile()

0 notes on commit 87b242f

Please sign in to comment.
Something went wrong with that request. Please try again.