diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 64bf867..6674b70 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -195,3 +195,4 @@ Lubo Ville Skyttä for updating the outdated COPYING file and FSF address + for restricting VTP command RENR to liemikuutio patch < 1.32 diff --git a/HISTORY b/HISTORY index 48975f7..37aba04 100644 --- a/HISTORY +++ b/HISTORY @@ -1,6 +1,8 @@ VDR Plugin 'streamdev' Revision History --------------------------------------- +- restricted VTP command RENR to liemikuutio patch < 1.32. Build fails with + newer versions of this patch (thanks to Ville Skyttä) - updated outdated COPYING file and FSF address (thanks to Ville Skyttä) - include SDT and TDT in TS streams - the icy-name HTTP header sent with radio streams makes VLC pick the wrong diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 8224d1d..9ffa540 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1750,7 +1750,7 @@ bool cConnectionVTP::CmdDELR(const char *Option) bool cConnectionVTP::CmdRENR(const char *Option) { INIT_WRAPPER(); -#if defined(LIEMIKUUTIO) +#if defined(LIEMIKUUTIO) && LIEMIKUUTIO < 132 bool recordings = Recordings.Update(true); if (recordings) { if (*Option) { @@ -1790,7 +1790,7 @@ bool cConnectionVTP::CmdRENR(const char *Option) Reply(550, "No recordings available"); } #else - Reply(501, "Rename not supported, please use LIEMIEXT"); + Reply(501, "Rename not supported, please use LIEMIKUUTIO < 1.32"); #endif /* LIEMIKUUTIO */ EXIT_WRAPPER(); }