play: Log exception from os call more accurately

Depending on raw or not, we do not necessarily play a 'playlist'. Use 'query' generically instead.
This commit is contained in:
nath@laptop 2015-12-31 21:49:03 +01:00
parent f685a59e71
commit 775ac4ed83

View file

@ -129,7 +129,7 @@ class PlayPlugin(BeetsPlugin):
try:
util.interactive_open(open_args, command_str)
except OSError as exc:
raise ui.UserError("Could not play the music playlist: "
raise ui.UserError("Could not play the query: "
"{0}".format(exc))
def _create_tmp_playlist(self, paths_list):