mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user