Skip to content

Commit

Permalink
paplayer: compare musicinfotag-url when testing for cue file
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Sep 18, 2013
1 parent 1cb38f9 commit bdef89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/paplayer/PAPlayer.cpp
Expand Up @@ -317,7 +317,7 @@ bool PAPlayer::QueueNextFileEx(const CFileItem &file, bool fadeIn/* = true */, b

// check if we advance a track of a CUE sheet
// if this is the case we don't need to open a new stream
if (file.GetPath().Equals(m_FileItem->GetPath()) &&
if (file.GetMusicInfoTag()->GetURL().Equals(m_FileItem->GetMusicInfoTag()->GetURL()) &&
file.m_lStartOffset &&
file.m_lStartOffset == m_FileItem->m_lEndOffset &&
m_currentStream && m_currentStream->m_prepareTriggered)
Expand Down

0 comments on commit bdef89d

Please sign in to comment.