<div dir="ltr">I know for a fact that the Xbox can play mp4 files no problem. I think that the issue lies with minidnla. Taking care of the root issue is always better than putting together a "fix" that you constantly have to do every time you want to add more media. <div>
<br></div><div><a href="http://sourceforge.net/projects/minidlna/forums/forum/879957/topic/3921557">http://sourceforge.net/projects/minidlna/forums/forum/879957/topic/3921557</a></div><div><br></div><div><a href="https://help.ubuntu.com/community/MiniDLNA">https://help.ubuntu.com/community/MiniDLNA</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 18, 2013 at 10:53 AM, Dave Chiodo <span dir="ltr"><<a href="mailto:megadave@gmail.com" target="_blank">megadave@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Best to test.<br>
<br>
As Michael suggested, use "echo" in place of the "mv" to see what will happen.<br>
<br>
I might suggest you get in the habit of normalizing filenames of stuff<br>
you download to avoid spaces and other "special" characters that can<br>
cause problems.<br>
<br>
There are various utilities than can help with that - search on google.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Apr 18, 2013 at 10:47 AM, Jonathan Jesse <<a href="mailto:jjesse@gmail.com">jjesse@gmail.com</a>> wrote:<br>
> Yeah most of them have space in them so would either one work?<br>
><br>
> Thanks for the quick response guys :)<br>
><br>
><br>
> On Thu, Apr 18, 2013 at 1:08 AM, Dave Chiodo <<a href="mailto:megadave@gmail.com">megadave@gmail.com</a>> wrote:<br>
>><br>
>> Gotta be wary of filenames with spaces though.<br>
>><br>
>> For instance, if files were<br>
>><br>
>> Movie1.mp4<br>
>> Long Movie.mp4<br>
>><br>
>> A for-loop on that could easily end up doing:<br>
>><br>
>> mv Movie1.mp4 Movie1.avi<br>
>> mv Long Long<br>
>> mv Movie.mp4 Movie.avi<br>
>><br>
>> Also gotta watch for .mp4 vs .MP4 - windows f/s are not case<br>
>> sensitive, but *nix are.<br>
>><br>
>> Movie.mp4 and Movie.MP4 are two different files on a *nix system and<br>
>> MOVIE.mp4 is yet a third.<br>
>><br>
>> As far as WHY the xbox doesn't work when the file is called mp4 and<br>
>> does when its avi, its due to MS foolish use of file extensions<br>
>> instead of contents of the file or something more standard to<br>
>> determine what the type of data is.<br>
>><br>
>> For a really long explanation of the issues, that is written from a<br>
>> Mac perspective (OSX is *nix), see<br>
>> <a href="http://arstechnica.com/apple/2001/08/metadata/" target="_blank">http://arstechnica.com/apple/2001/08/metadata/</a><br>
>><br>
>> (Sadly, its one of those spread-across-multiple-pages aticles and I<br>
>> couldn't find a one-page version of it. Its also quite old, but its<br>
>> points are still valid, even if they are now forgone lost-causes)<br>
>><br>
>> On Thu, Apr 18, 2013 at 12:39 AM, Michael Glaske <<a href="mailto:mglaske@gmail.com">mglaske@gmail.com</a>><br>
>> wrote:<br>
>> > This should work..  beware though.. It's untested.. in BASH.<br>
>> ><br>
>> > for file in `find . -name \*.mp4`; do mv $file `echo $file | sed<br>
>> > 's/\(.*\.\)mp4/\1avi/'` ; done<br>
>> ><br>
>> > If you want to test it first, replace 'mv $file' with 'echo'.<br>
>> ><br>
>> ><br>
>> > On Wed, Apr 17, 2013 at 10:39 PM, Jonathan Jesse <<a href="mailto:jjesse@gmail.com">jjesse@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hey GRLUGERS,<br>
>> >><br>
>> >> New to scripting and all that but hoping to get some help out here.<br>
>> >> I've<br>
>> >> been using minidnla on my Ubuntu laptop to stream movies to my xbox and<br>
>> >> things are working very well.<br>
>> >><br>
>> >> However I notice something... If I grab something off bittorent chances<br>
>> >> are it is a MP4 or a MKV file and my xbox can't stream it.<br>
>> >><br>
>> >> For some reason if I rename the same file Big Bang Theory.mp4 to Big<br>
>> >> Bang<br>
>> >> Theory.avi the file will play on my xbox.  Not quite sure what happens<br>
>> >> in<br>
>> >> the rename of the file that makes the magic work but it does.<br>
>> >><br>
>> >> So I'm wondering if there is a script guru that could look at all my<br>
>> >> files<br>
>> >> that either named *.mp4 or *.mkv and rename it to whatever it was .avi?<br>
>> >><br>
>> >> Make sense?<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> grlug mailing list<br>
>> >> <a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
>> >> <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > grlug mailing list<br>
>> > <a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
>> > <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
>> _______________________________________________<br>
>> grlug mailing list<br>
>> <a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
>> <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> grlug mailing list<br>
> <a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
> <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</div></div></blockquote></div><br></div>