2010-05-02, 10:57
Paljas Wrote:Ok, I understand Bas. I read a bit more about this libmms issue. Half of the streams weren't loading, or only loaded after a minute or two, while XBMC freezes. I fixed it on my end as follows.Thanks for that workaround. I added a link to your post in the XOT Faq page.
So I'm running XBMC Live 9.11 (based on Ubuntu), on an Asrock ION 330, and I had issues with streams in Uitzending Gemist script, loading slow or not at all. Here's what I did to fix it:
(may not be 100% accurate, don't have the full history anymore)
* Download libmms 0.5 (http://launchpad.net/libmms/trunk/0.5/+d...0.5.tar.gz), and get it to your XBMC machine (through FTP or whatever);
* Logon to Ubuntu. You can either press Alt-Ctrl-F1 (Alt-Ctrl-F7 to go back to XBMC), or use a program Putty to connect to your machine through LAN. User 'xbmc', pass 'xbmc';
* Log through as root:
sudo -s
(use 'xbmc' as password)
* Unpack it libmms-0.5.tar.gz:
cd /tmp
gunzip (path_to)/libmms-0.5.tar.gz
tar xf libmms-0.5.tar
* Download the patch (http://launchpadlibrarian.net/38341217/t...first.diff)
* Patch the source file:
cd libmms-0.5/src
patch < (location_of_trymmshfirst.diff)
* Get libmms-dev. This will get you an older version of libmms, but also automatically gets you glib-2.0-dev required for compiling libmms. There's probably a better way to get glib-2.0, but this is just how I did it:
apt-get install libmms-dev
* Now go back to where you've un-tarred libmms-0.5.tar and install it:
cd libmms-0.5
./configure --prefix=/usr
./make
./make install
* Reboot xbmc, and streams should load fast now.
Thanks for all the suggestions on this thread. I hope a patched version of libmms is shipped with the next Live release.
The fix is merely a workaround if you ask me, though. It simply reverses the choice between mms and mmsh. I would think you should do something a little more intelligent, some kind of handshake, or check if you will, that finds out which of the two should be used.