1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 00:12:06 +02:00

Custom error messages.

This commit is contained in:
Uwe L. Korn 2013-06-18 20:20:32 +02:00
parent 33473d469a
commit ea8fec15d3

View File

@ -87,7 +87,7 @@ Api_v2_0::playback( QxtWebRequestEvent* event, const QString& command )
}
else
{
JSON_ERROR( event, "Skipping to the next track failed." );
JSON_ERROR( event, "Starting the playback failed." );
}
}
else if ( command == "pause" )
@ -98,7 +98,7 @@ Api_v2_0::playback( QxtWebRequestEvent* event, const QString& command )
}
else
{
JSON_ERROR( event, "Skipping to the next track failed." );
JSON_ERROR( event, "Pausing the current track failed." );
}
}
else if ( command == "stop" )
@ -109,7 +109,7 @@ Api_v2_0::playback( QxtWebRequestEvent* event, const QString& command )
}
else
{
JSON_ERROR( event, "Skipping to the next track failed." );
JSON_ERROR( event, "Stopping the current track failed." );
}
}
else if ( command == "lowervolume" )
@ -120,7 +120,7 @@ Api_v2_0::playback( QxtWebRequestEvent* event, const QString& command )
}
else
{
JSON_ERROR( event, "Skipping to the next track failed." );
JSON_ERROR( event, "Lowering volume failed." );
}
}
else if ( command == "raisevolume" )
@ -131,7 +131,7 @@ Api_v2_0::playback( QxtWebRequestEvent* event, const QString& command )
}
else
{
JSON_ERROR( event, "Skipping to the next track failed." );
JSON_ERROR( event, "Raising volume failed." );
}
}
}