Re: [vdr] vdr-live-plugin
Yes. On 28. Mai 2014 00:52:45 MESZ, jacek burghardt wrote: >Is there patch for vdr live plugin wen using vdr 2.1.6. > > > > >___ >vdr mailing list >vdr@linuxtv.org >http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr -- Diese Nachricht wurde von meinem Nexus 10 mit K-9 Mail gesendet.commit 151c2fbfe46dc52df12e213bf0625c4f93750b2b Author: ingo Date: Thu Oct 31 09:10:23 2013 +0100 fix-2.1.2 diff --git a/pages/recordings.ecpp b/pages/recordings.ecpp index 80f145b..df34c67 100644 --- a/pages/recordings.ecpp +++ b/pages/recordings.ecpp @@ -79,7 +79,11 @@ for (deletions_type::const_iterator it = deletions.begin(); it != deletions.end( deletions.clear(); int FreeMB, UsedMB; +#if APIVERSNUM > 20101 +int Percent = cVideoDirectory::VideoDiskSpace(&FreeMB, &UsedMB); +#else int Percent = VideoDiskSpace(&FreeMB, &UsedMB); +#endif int Minutes = int(double(FreeMB) / MB_PER_MINUTE); int Hours = Minutes / 60; Minutes %= 60; diff --git a/recman.cpp b/recman.cpp index 6a2fc00..ade3d93 100644 --- a/recman.cpp +++ b/recman.cpp @@ -112,7 +112,11 @@ namespace vdrlive { if (found == string::npos) return false; +#if APIVERSNUM > 20101 + string newname = string(cVideoDirectory::Name()) + "/" + name + oldname.substr(found); +#else string newname = string(VideoDirectory) + "/" + name + oldname.substr(found); +#endif if (!MoveDirectory(oldname.c_str(), newname.c_str(), copy)) { esyslog("[LIVE]: renaming failed from '%s' to '%s'", oldname.c_str(), newname.c_str()); diff --git a/tools.cpp b/tools.cpp index c744d06..ddfacd0 100644 --- a/tools.cpp +++ b/tools.cpp @@ -365,7 +365,11 @@ namespace vdrlive { stat(source.c_str(), &st1); stat(target.c_str(),&st2); if (!copy && (st1.st_dev == st2.st_dev)) { +#if APIVERSNUM > 20101 + if (!cVideoDirectory::RenameVideoFile(source.c_str(), target.c_str())) { +#else if (!RenameVideoFile(source.c_str(), target.c_str())) { +#endif esyslog("[LIVE]: rename failed from %s to %s", source.c_str(), target.c_str()); return false; } @@ -461,7 +465,11 @@ namespace vdrlive { size_t found = source.find_last_of(delim); if (found != std::string::npos) { source = source.substr(0, found); +#if APIVERSNUM > 20101 + while (source != cVideoDirectory::Name()) { +#else while (source != VideoDirectory) { +#endif found = source.find_last_of(delim); if (found == std::string::npos) break; @@ -478,7 +486,11 @@ namespace vdrlive { size_t found = target.find_last_of(delim); if (found != std::string::npos) { target = target.substr(0, found); +#if APIVERSNUM > 20101 + while (target != cVideoDirectory::Name()) { +#else while (target != VideoDirectory) { +#endif found = target.find_last_of(delim); if (found == std::string::npos) break; ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] vdr-live-plugin
Is there patch for vdr live plugin wen using vdr 2.1.6. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR-Live plugin
Hello Am Dienstag, 24. März 2009 schrieb Rob Davis: > [...] > I have it working. However, for the next version, is there a way to > select two different streamdev profiles quickly. When I am home I would > like to select streamdev TS, but when away extern? Sorry, that is currently not possible. Unfortunately there is only one 'user' accessing the LIVE plugin - as you can set only one password. There exist thoughts/proposals on implementing a multi-user feature in LIVE. This would enable the addition of individual settings for each user. Kind regards Dieter -- Dieter Hametnerdh (plus) vdr (at) gekrumbel (dot) de live plugin developer http://live.vdr-developer.org ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR-Live plugin
Heinrich Langos ha scritto: > > While you are on your local network go to the live plugins web interface. > > Select "Setup" from the top menue" > > Activate "Use Authentication". Now you should see three more input > fields. Two to change your login credentials and one to set a "Local > net" from which no login will be required. > > I strongly recommend that you use the login. Otherwise everybody from the > internet can access your vdr. (And problably 0wn your whole network. As I > understand it the vdr code has hardly been audited for security and due > to the plugin architecture a buffer overflow in one plugin would compromises > the vdr process that (depending on your setup) may even run as root). > > If you insist on getting hacked you can set the "Local net" to something > like 0.0.0.0/0 > This would disable the password question, no matter where you come from. > > //www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > Thanks Henrick, On further investigation I have sorted it out. In my firewall I'd mistyped the portforward, so it was arriving at vdradmin instead, which uses a different password. I have it working. However, for the next version, is there a way to select two different streamdev profiles quickly. When I am home I would like to select streamdev TS, but when away extern? Also, is there a way to allow a change of language in the vlc plugin, or a way to serve up a file with the url in, for instance stream.m3u with the url in it like a playlist, a bit like a dreambox. This would allow the vlc interface to select language etc. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR-Live plugin
On Tue, Mar 24, 2009 at 09:44:12AM +0100, Rob Davis wrote: > How do you use this from the internet? I have got it working (via > Gentoo) on my lan, but I wan't to use it with the extern function of > streamdev using my dynamic dns name. I have opened the port but it > keeps asking for the username and password (which work at home). > > I can't work out what config options I might need to set. > While you are on your local network go to the live plugins web interface. Select "Setup" from the top menue" Activate "Use Authentication". Now you should see three more input fields. Two to change your login credentials and one to set a "Local net" from which no login will be required. I strongly recommend that you use the login. Otherwise everybody from the internet can access your vdr. (And problably 0wn your whole network. As I understand it the vdr code has hardly been audited for security and due to the plugin architecture a buffer overflow in one plugin would compromises the vdr process that (depending on your setup) may even run as root). If you insist on getting hacked you can set the "Local net" to something like 0.0.0.0/0 This would disable the password question, no matter where you come from. cheers -henrik ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] VDR-Live plugin
How do you use this from the internet? I have got it working (via Gentoo) on my lan, but I wan't to use it with the extern function of streamdev using my dynamic dns name. I have opened the port but it keeps asking for the username and password (which work at home). I can't work out what config options I might need to set. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr