Hi,
I've just released VDRAdmin-0.97-am3.3 at http://andreas.vdr-developer.org
HISTORY 2005-07-12: 0.97-am3.3 - Fixed problems with "$" in templates (Reported by All-Ex). - Updated all help messages. - Added beautified tooltips in at_timer_list, timer_list and prog_timeline. - Changed saving of AutoTimer patterns: ":" -> "|" and "|" -> "|". - Added support for user.css for overwriting style.css (Must be located in same folder as vdradmind.conf). See user.css.example. - Removed obsolete files (e.g. images). - Merged style.css and navi.css. - Reworked templates so that they use a lot of CSS (Tested using Konqueror 3.3.2 and Firefox 1.0.4). - Fixed programming timers with special summary when using EPG_DIRECT (timer didn't get programmed) (Thanks to HolgerAusB for giving vital hints). - Allow browsers to cache all files VDRAdmin sends, except "text/html". This should speed up VDRAdmin but changing the skin or css needs a "shift reload". - Added support for VDR v1.3.25's info.vdr (Submitted by vejoun). - Use localized date formates. - Now using "video/x-mpegurl" MIME type instead of "audio/x-mpegurl" for streaming (Suggested by stefan.h). - Added patches supplied by stefan.h: -> using EPG's subtitle when found for AutoTimer else " " (that's the VDR way). -> New config option VDRVFAT to find recordings if VDR has been compiled with or without VFAT define. - Fixed calling reccmds on recordings in subdirs, manual recordings (@rectitle) and repeating timer's recordings without episode title. - Fixed streaming of manual recordings (@rectitle) and repeating timer's recordings without episode title. - VDRAdmin-AM now uses the required charsets setting in templates, so no need to write "&xyz;" things in .po files. - Reworked templates to make better use of CSS (for example: timeline colours can be set by style.css). - EPG_PRUNE now is the number of channels to fetch from VDR (had been one too less before). - Added "install.sh" and "uninstall.sh" ("./install.sh -h" for help) (Requested by several people). - Made "name" columns in lists wrapping again (Reported by vejoun). - Deleting a single recording works again (Reported by vejoun). - Fixed streaming of recordings in subdirs (Reported by vejoun). - Added missing gray sign on deactivated AutoTimers (Reported by vejoun). - Various other minor fixes.
Have fun! Andreas
Andreas Mair wrote:
Hi,
I've just released VDRAdmin-0.97-am3.3 at http://andreas.vdr-developer.org
This change seems to break live streaming in firefox.
- return(header("200", "audio/x-mpegurl", $data)); + return(header("200", "video/x-mpegurl", $data));
Also, has anyone gotten streaming of recordings to work?
Best Regards, C.
On Thursday 14 July 2005 06:49, C.Y.M wrote:
You simply have to define the "video/x-mpegurl" mimetype to run the app of your choice.
Also, has anyone gotten streaming of recordings to work?
Yes, I'm using Konqueror and setup the mimetype to start a script that calls mplayer with the "-playlist" switch (because mplayer does not recognise a playlist without that switch).
Regards, Andreas
Hi,
No, but you have to configure VDRAdmin correctly: Go to the configuration menu of VDRAdmin. You'll find two settings for Video folder. One for VDR's video folder (e.g. /video) and one for your client PC for streaming. Here you have to supply the path where your PC can access VDR's recording. Please also consider viewing the online help.
Regards, Andreas
Andreas Mair wrote:
Thanks, Andreas. I should RTFM better :). I was just trying to see if I could map a directory to a Windows PC using Samba, but it looks like its using 8.3 (shortname) dir listings which causes it to fail. Thats ok. I appreciate the clarifications. NFS would be the best solution.
Best Regards, C.
Andreas Mair wrote:
To remove the 8.3, I had to add this to [global] in smb.conf:
# Prevent 8.3 directory listings case sensitive = yes preserve case = yes mangle case = no mangled names = no
But, now vdr is using invalid DOS characters which prevents the files from opening. I dont think that ":" is valid. :)
Regards, C.
Hi,
But, now vdr is using invalid DOS characters which prevents the files from opening. I dont think that ":" is valid. :)
That's the VFAT define I was talking about. Set it for VDR in Make.config, recompile and future recording will have a VFAT compatible filename.
Regards, Andreas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Andreas Mair schrieb:
That's the VFAT define I was talking about. Set it for VDR in Make.config, recompile and future recording will have a VFAT compatible filename.
Hi Andreas!
Is there an elegant way to rename old recordings? What characters are not allowed for VFAT?
Lutz
C.Y.M wrote:
I am now able to get this working :). But, I noticed that streaming a recording does not work when VFAT = yes in the configuration of vdradmin. What I did was recompile VDR with VFAT=1 to remove the invalid DOS characters. Then, using Samba, I mapped the shared VDR Recording directory to Windows (using Z:). Next, I put "Z:" in the "Path to VDR's recording directories on the Workstation" in the configuration settings for vdradmin. Finally, I wrote a bat file on windows like this and associated it:
--SNIP--
mplayer -aid 0 -playlist %1 pause
--SNIP--
The only problem is that VDRAdmin does not stream recordings when VFAT is set to true in the vdradmind.conf. It still works when set to false, but I am unsure if that will cause other issues. :)
Best Regards, C.
Hi,
VDRAdmin's VFAT setting is only used for finding recordings. So set it to what works for you ;) I haven't received any bugreports on this issue in the v3.3 pre releases so I thought it works for everybody. Well it worked for my and I've compiled VDR with VFAT define. Maybe you can give me some paths to recordings that do not work with VDRAdmin's VFAT set to yes via PM? I think I have to investigate some more time in this issue...
Regards, Andreas
Hi list.
The attached patch fixes the TV grab function of vdradmin-0.97-am3.2+ in case that VDR doesn't run on a root account.
Cheers,
Udo
diff -ru vdradmin-0.97-am3.2/vdradmind.pl vdradmin-0.97-am3.2-patched/vdradmind.pl --- vdradmin-0.97-am3.2-original/vdradmind.pl 2005-05-12 10:24:16.000000000 +0200 +++ vdradmin-0.97-am3.2/vdradmind.pl 2005-05-23 16:34:39.000000000 +0200 @@ -4049,7 +4049,8 @@ ############################################################################# sub grab_picture { my $size = $q->param("size"); - my $file = new File::Temp("vdr-XXXXX", UNLINK => 1, SUFFIX => ".jpg"); + my $file = new File::Temp(TEMPLATE => "vdr-XXXXX", DIR => File::Spec->tmpdir(), UNLINK => 1, SUFFIX => ".jpg"); + chmod 0666,$file; my $maxwidth = 768; my $maxheight = 576; my($width, $height);
Hello Andreas,
* Andreas Mair Andreas.Mair@linogate.com [13-07-05 11:33]:
Hi,
I've just released VDRAdmin-0.97-am3.3 at http://andreas.vdr-developer.org
thx for this version, but it seems, that all special characters like german umlauts and characters like ' are broken they are all replaced by a ?.
For example: Was l?uft jetzt? Schmeckt nicht, gibt?s nicht~
I start VDR with: LC_MESSAGES=de_DE /usr/local/video/vdradmin/vdradmind.pl
Does anyone know, who to fix this problem?
Hello Andreas,
* Andreas Mair Andreas.Mair@linogate.com [19-07-05 11:14]:
Try running LANG=de_DE /usr/local/video/vdradmin/vdradmind.pl
yes, this solved the problem.
thx a lot!
Lauri Tischler lwgt@iki.fi wrote:
Thanks, that did the trick, wife and kids are silent now.
They'd rather be happy, dad ;-)