[mythtv-users] Mythweb support for downloading additional file types beyond mpg and nuv
Zarthan South
zarthan at gmail.com
Thu Apr 5 22:50:56 UTC 2012
What would the process be to ask to have other file types added to mythweb
for downloading from the recorded listing. There is a ticket Ticket #7730
but it shows as "closed enhancement: wontfix"
The patch was missing several braces. If this isn't something other people
use I will go away quietly and keep patching my own every time there is an
update.
elsif ($basename =~ /\.mkv$/) {
$type = 'video/x-matroska';
$suffix = '.mkv';
}
elsif ($basename =~ /\.avi$/) {
$type = 'video/x-msvideo';
$suffix = '.avi';
}
elsif ($basename =~ /\.mov$/) {
$type = 'video/quicktime';
$suffix = '.mov';
}
elsif ($basename =~ /\.mp4$/) {
$type = 'video/mp4';
$suffix = '.mp4';
}
elsif ($basename =~ /\.xvid$/) {
$type = 'video/mp4';
$suffix = '.mp4';
}
elsif ($basename =~ /\.ogv$/) {
$type = 'video/ogg';
$suffix = '.ogv';
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120405/f4e7a8df/attachment.html>
More information about the mythtv-users
mailing list