I gave up on OSX. I could not get the media center working the way I wanted. Plex and XBMC have their bugs, as previously posted, twice, preventing predictable functionality. MythTV for OSX simply is not as refined as its native Linux counterpart. It feels like running Windows applications via wine. I just scrapped OSX for Ubuntu Karmic. Out of the box, off of the cd, things work great. Audio works perfect. What didn’t work? The Mac Mini remote control. I tried for a day to get it to work the hard way. I saw that /dev/usb/hiddev1 was working and displaying data; shown with cat. But lirc would not bind to the device. Ultimately I removed the program, and ran a system update. Problem resolved; clearly a bug report was filed and a resolution provided.
Fanart and coverart work fine. The Linux based fronted is seamless compatible with the Linux based MythTV server. I didn’t even need to input the servers ip information manually. I did have to set the repeat feature, for each key in ~/.lirc/mythtv.
Now all I want is to have MythTV sleep the system and wake the system. I get it to sleep the system by making the halt script sudo pm-suspend. Adjust your /etc/sudoers files to allow passwordless sudo for /usr/sbin/pm-suspend. The halt script is configured in setup-general settings. Waking the computer is another thing that I have yet to get working.
The command to set the importance of a running process is called “nice”. The nice rating of a program determine how quicky and the priority in which running processes are handled by the CPU. If a process has a nice value of 19 it will essentially allow any other process to be handled by the CPU before itself. If a process has a nice value of -19 it will take control of the processor at any time. System processes mostly have a nice value of -5. Init and other processes are set at 0. User processeses are also given a 0. I set my virtual machine to the same as regular system processeses, -5. This is because the virtual machine is essential just as important as host system processeses and contain system processeses itself. For my MythTV server I set it at +10; I don’t want it getting in the way of my web server or the host system itself, in any way whatsoever. Even higher I set the Myth frontend to +19 and throw it on another viewport. I use the Myth frontend to schedule recording, not necessarily to watch videos; thats what my Mac mini is for connected to my HD TV If you want to change the nice value of a process use renice. An example of this is: sudo renice -n 19 -p 16151 for -p you must put in the PID of the running process. You can use “ps” to determine the PID of a process. For example use: ps aux | grep mythfrontend.real You can also use “top”. Which gives you an updating realtime list of running processes.
I have been using MythTV for some time now, and it covers all the bases. .21 works great, and I have no doubt .22 will be even better when it reaches stable. I use the backend to capture firewire in HD. It organizes, categorizes, schedules everything in an intuitive way. I used the frontend for some time locally and remotely, but I have come across a superior alternative. XBMC is simply superior. Albeit it is unstable at times, but so it the MythTV frontend. I bought a lowend mac mini a while back and had linux on it to run a remote MythTV frontend. I though “I have mac hardware, why no try and use a native mac application?”. I tried XBMC for mac, but I could not get it to actually load the movies. It would see and create a screenshot of the movies, but they would not play. I then looked into a forked version that actually worked as XMBC should have. OSXBMC worked out of the box; they call their fork Plex. It works with the mac mini remote out of the box. Set your box to sleep instead of shutdown, and you have an instant on low power PVR. Just add a video source:
myth://mythtv:firstname.lastname@example.org Look up your mythtv database password in /etc/mythtv/mysql.txt. Its at the bottom of the file. It can be tricky at first to setup your MythTV backend to serve remote systems. You have to use mythtv-setup as well as bind mysql to the local ip of the computer rather than localhost. Configure mysql in /etc/mysql/my.cnf. Check out OSXBMC/Plex at:
I have integrated Ubuntu Jaunty, Mac Tiger, Windows XP, and a MythTV PVR into my desktop environment using the default compiz in the Ubuntu repositories. Ubuntu is the host operating system, Mac Tiger is a VNC connection on the local network maximized to fullscreen, Windows XP is running in VirtualBox, and MythTV is capturing HD 720P via FireWire from my SA4250HD Optimum cablebox.
The cube also looks nice with these multiple screen, and with a powerful video card you can actually see MythtTV while on the cube. Open /usr/bin/mythtvfrontend and remove the line at the top that prevents it from opening multiple instances. Now you can open a MythTV frontend on each of the cubes viewports. You can actually watch different videos on each side of the cube.
Compiz Screen 4 Desktops - Ubuntu, Mac, Windows, MythTV
The USB iPhone driver is not currently compatible with VirtualBox. It causes an error that does not allows iTunes to connect to the iPhone. Obviously this is incredibly frusterating for all Linux users that own an iPhone. Luckily I had Windows Vista installed on my laptop and was able to activate the iPhone completely. Then I backed up all my music and videos, installed Ubuntu, cloned by backed-up Windows XP guest OS, installed iTunes, and viola no iPhone support. You’ll get some message like 0xe8000001 or something of the sort when you plug your iPhone in. This is extremely frustrating. There is no Linux support by MAC, and VirtualBox is not resolving this issue in a timely manner. It seems that this has been an issue for some months now; this can easily be observed by the frustration in the VirtualBox forums and others.