Skip to content

Commit

Permalink
Merge pull request #13874 from angelblue05/getPlayingFile
Browse files Browse the repository at this point in the history
Use GetDynPath for getPlayingFile
  • Loading branch information
FernetMenta committed May 12, 2018
2 parents c7869ef + 25f8ab2 commit 63bd256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/interfaces/legacy/Player.cpp
Expand Up @@ -362,7 +362,7 @@ namespace XBMCAddon
if (!g_application.GetAppPlayer().IsPlaying())
throw PlayerException("XBMC is not playing any file");

return g_application.CurrentFile();
return g_application.CurrentFileItem().GetDynPath();
}

InfoTagVideo* Player::getVideoInfoTag()
Expand Down

0 comments on commit 63bd256

Please sign in to comment.