[mythtv-commits] Ticket #4177: Streaming in mythweb doesn't work for files with special characters
MythTV
mythtv at cvs.mythtv.org
Thu Nov 15 06:40:25 UTC 2007
#4177: Streaming in mythweb doesn't work for files with special characters
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythweb | Version: head
Severity: medium | Mlocked: 0
-----------------------+----------------------------------------------------
I use contrib/mythrename.pl to rename recordings, this breaks streaming in
mythweb if the resultant filename has spaces or other special characters.
This is because the invocation of ffmpeg is a simple call to open() which
invokes ffmpeg in a shell. Using the 'list form' of open fixes this by
invoking ffmpeg direct.
The attached 1-line patch fixes this. This will not affect streaming for
people not using mythrename.pl.
Note: my perl (v5.8.8) claims that this list form of perl isn't supported
on all platforms, but is supported on all platforms supporting fork and
that if you're running a Unix variant you'll be OK. I've only tested this
on Linux.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4177>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list