[mythtv-users] MythWeb from URL to modified filenames via utils.php, handler.pl, tv.pl and others
nick.rout at gmail.com
Sun Jan 23 07:15:01 UTC 2011
On Sat, Jan 22, 2011 at 7:00 PM, Stefan Wolpert <mythtv at wolps.com> wrote:
> Hello All,
> In the MythWeb interface, I've added additional icons for different
> stream options for the web-user, but I cannot figure out exactly how
> the MythWeb URLs are translated to filenames on the hard disk. My
> reason is to accommodate additional stream options, I'd like to add
> additional URL to filename translators that point to modified
My understanding is tha both are different representations of the
channel and start of recording time. eg
translates to 2937_201101232130.mpg
The 1295764140 is one of those unixy timestamps that uses the number
of seconds since 1970, whereas 201101231930 is the year, month, date,
> What I'd found:
> $filename on line 53 of /usr/share/mythtv/mythweb/modules/stream/tv.pl
> gets propagated to e.g. line 328 of
> /usr/share/mythtv/mythweb/modules/tv/tmpl/default/recorded.php through
> I think through a couple layers, but I always get lost.
> I've studied the video_url function (for the ASX stream in this case)
> in /usr/share/mythtv/mythweb/includes/utils.php on line 234, but once
> again I can't figure out how the $filename from tv.pl points to a file
> in video_url for ASX or for the direct download in the recordings.php
> I am able to point MythWeb links to modified basenames by modifying
> the $filename output of tv.pl (mentioned above).
> What different stream options (file names) might you ask? e.g.
> In case it helps, I'm running:
> Ubuntu 10.04 LTS 64-bit
> Let me know if any other info would help.
> Thank you in advance!
> mythtv-users mailing list
> mythtv-users at mythtv.org
More information about the mythtv-users