Archive for July 13th, 2008

Coherence Patch

If you’ll see my post from earlier today, i’ve been playing around with coherence. Below is a PATCH for the 0.5.8 distribution to get DivX working. It’s pretty much the same as the tarball posted earlier.


--- fs_storage.py 2008-06-29 22:22:26 +1000
+++ fs_storage_ps3.py 2008-07-13 14:33:43 +1000
@@ -16,6 +16,7 @@
import mimetypes
mimetypes.init()
mimetypes.add_type('video/mp4', '.mp4')
+mimetypes.add_type('video/divx', '.avi')

from urlparse import urlsplit

@@ -556,6 +557,8 @@
'http-get:*:video/x-msvideo:*',
'internal:%s:video/avi:*' % self.server.coherence.hostname,
'http-get:*:video/avi:*',
+ 'internal:%s:video/divx:*' % self.server.coherence.hostname,
+ 'http-get:*:video/divx:*',
'internal:%s:video/quicktime:*' % self.server.coherence.hostname,
'http-get:*:video/quicktime:*'],
default=True)