diff --git a/ChangeLog b/ChangeLog index 72b23ca7..4cf5c8eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24174,3 +24174,6 @@ 2023-05-25 Fred Gleason * Fixed a bug in the podcasting subsystem that could cause SFTP operations to fail due to unknown SSH host certificates. +2023-05-25 Fred Gleason + * Fixed a bug in rdvairplayd(8) that caused spurious 'sent + unrecognized command "TS -1"' messages to be sent to the syslog. diff --git a/lib/rdlogplay.cpp b/lib/rdlogplay.cpp index 48941541..fede40a8 100644 --- a/lib/rdlogplay.cpp +++ b/lib/rdlogplay.cpp @@ -2,7 +2,7 @@ // // Rivendell Log Playout Machine // -// (C) Copyright 2002-2022 Fred Gleason +// (C) Copyright 2002-2023 Fred Gleason // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -242,7 +242,9 @@ void RDLogPlay::setChannels(int cards[2],int ports[2],QString labels[2], play_label[i]=labels[i]; play_start_rml[i]=start_rml[i]; play_stop_rml[i]=stop_rml[i]; - play_cae->requestTimescale(play_card[i]); + if(play_card[i]>=0) { + play_cae->requestTimescale(play_card[i]); + } } }