Skip to content

Commit

Permalink
Gapless (Comment XBMC Playlist dump)
Browse files Browse the repository at this point in the history
  • Loading branch information
showi committed Jan 9, 2012
1 parent 436438c commit 67bd1f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/qobuz/player.py
Expand Up @@ -261,13 +261,13 @@ def watchPlayback( self):
'''
Prefetch next streaming url
'''
self.prefetch_next_url(self.Playlist.getposition())
nextisreplaced = self.prefetch_next_url(self.Playlist.getposition())
if not isNotified and playedTime > 6:
self.sendQobuzPlaybackStarted()
isNotified = True
if math.trunc(math.floor(playedTime)) % 5 == 0:
info(self, 'Played time: ' + str(playedTime))
info(self, "Playlist:\n" + self.Playlist.to_s())
#info(self, "Playlist:\n" + self.Playlist.to_s())
xbmc.sleep(1000)
if playedTime > 6:
self.sendQobuzPlaybackEnded(playedTime)
Expand Down

0 comments on commit 67bd1f1

Please sign in to comment.