[mythtv-users] How to make the image gallery show MTS files?
Michael T. Dean
mtdean at thirdcontact.com
Tue Feb 19 19:50:11 UTC 2013
On 02/19/2013 02:40 PM, Ronald Frazier wrote:
> OK, so I just went and took a look. It appears to be hard coded. In
> galleryutil.cpp
>
> QStringList GalleryUtil::GetMovieFilter(void)
> {
> QStringList filt;
> filt.push_back("*.avi");
> filt.push_back("*.bin");
> filt.push_back("*.iso");
> filt.push_back("*.img");
> filt.push_back("*.mpg");
> filt.push_back("*.mp4");
> filt.push_back("*.mpeg");
> filt.push_back("*.mov");
> filt.push_back("*.wmv");
> filt.push_back("*.3gp");
> filt.push_back("*.wmv");
> filt.push_back("*.flv");
> return filt;
> }
>
>
> So, If you are compiling your own myth from source, this is where you
> would add it. If you are not, then you are out of luck...
>
> UNLESS...warning: here comes a REALLY BIG hack. You could always pick
> one of those extensions you don't need, and then do a hex edit of the
> executable to replace it with *.mts
Why not just name the file using one of the known extensions? It seems
the least of all evils, especially since--on any proper OS, including
GNU/Linux--file extension is meaningless (basically just being a carry
over from a certain incapable OS that many are used to).
Mike
More information about the mythtv-users
mailing list