diff --git a/pymediaserv b/pymediaserv index 8b8983e..f293b69 100755 --- a/pymediaserv +++ b/pymediaserv @@ -25,7 +25,9 @@ def tryloadmodule(mod): pass # ZipStorage w/ tar support should be last as it will gobble up empty files. -modules = [ 'dvd', 'mpegtsmod', 'shoutcast', 'ZipStorage' ] +# These should be sorted by how much work they do, the least work the earlier. +# mpegtsmod can be really expensive. +modules = [ 'shoutcast', 'dvd', 'ZipStorage', 'mpegtsmod' ] modmap = {} for i in modules: modmap[i] = tryloadmodule(i)