restricted VTP command RENR to liemikuutio patch < 1.32 (fixes #786).

Build fails with newer versions of this patch. RENR was introduced for XBMC
which is no longer using streamdev at all, so the impact should be low.
This commit is contained in:
Frank Schmirler 2011-11-07 17:15:10 +01:00
parent 9cb72968f6
commit 6c9c6ca77f
3 changed files with 5 additions and 2 deletions

View File

@ -195,3 +195,4 @@ Lubo
Ville Skyttä Ville Skyttä
for updating the outdated COPYING file and FSF address for updating the outdated COPYING file and FSF address
for restricting VTP command RENR to liemikuutio patch < 1.32

View File

@ -1,6 +1,8 @@
VDR Plugin 'streamdev' Revision History 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ä) - updated outdated COPYING file and FSF address (thanks to Ville Skyttä)
- include SDT and TDT in TS streams - include SDT and TDT in TS streams
- the icy-name HTTP header sent with radio streams makes VLC pick the wrong - the icy-name HTTP header sent with radio streams makes VLC pick the wrong

View File

@ -1750,7 +1750,7 @@ bool cConnectionVTP::CmdDELR(const char *Option)
bool cConnectionVTP::CmdRENR(const char *Option) bool cConnectionVTP::CmdRENR(const char *Option)
{ {
INIT_WRAPPER(); INIT_WRAPPER();
#if defined(LIEMIKUUTIO) #if defined(LIEMIKUUTIO) && LIEMIKUUTIO < 132
bool recordings = Recordings.Update(true); bool recordings = Recordings.Update(true);
if (recordings) { if (recordings) {
if (*Option) { if (*Option) {
@ -1790,7 +1790,7 @@ bool cConnectionVTP::CmdRENR(const char *Option)
Reply(550, "No recordings available"); Reply(550, "No recordings available");
} }
#else #else
Reply(501, "Rename not supported, please use LIEMIEXT"); Reply(501, "Rename not supported, please use LIEMIKUUTIO < 1.32");
#endif /* LIEMIKUUTIO */ #endif /* LIEMIKUUTIO */
EXIT_WRAPPER(); EXIT_WRAPPER();
} }