Skip to content

Commit

Permalink
Merge pull request xbmc#24156 from xodidox/videoversionfix
Browse files Browse the repository at this point in the history
[VideoVersion] Fixed unexpected VideoVersion dialog in VideoInfo dial…
  • Loading branch information
ksooo authored Nov 30, 2023
2 parents 53101ab + d4555a5 commit 5d44363
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/video/dialogs/GUIDialogVideoInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ class CVideoPlayActionProcessor : public CVideoPlayActionProcessorBase
: ContentUtils::PlayMode::PLAY_ONLY_THIS};

//! @todo get rid of special handling for movie versions
if (m_item.GetVideoInfoTag()->m_type == MediaTypeMovie)
if (m_item.GetStartOffset() != STARTOFFSET_RESUME &&
m_item.GetVideoInfoTag()->m_type == MediaTypeMovie)
{
CGUIDialogVideoVersion::PlayVideoVersion(std::make_shared<CFileItem>(m_item),
[mode](const std::shared_ptr<CFileItem>& item)
Expand Down

0 comments on commit 5d44363

Please sign in to comment.