Sunday, October 25, 2009

Windows Media Player 12 UPNP Client Sucks.

I was impressed when Windows Media Player 12 saw my Mediatomb UPNP server I use to stream video to a Playstation 3. "Now I don't have to use iTunes/mt-daapd to listen to my music library," I thought.

Then I browsed my music. I'm not exactly sure who is at fault, but either way Media Player is pretty stupid in that it has no way I could find to clear it's cache of what it thinks the UPNP server is offering. The only way to start fresh I've found was to go to C:\Users\%you\AppData\Local\Microsoft\Media Player and delete the files that start with "_HME_home" with Media Player not running. Next time you start Media Player, it should re-index all files.

What I can't figure out it why it presents so many duplicate entries unless I remove the artist/album containers that Mediatomb creates.

Wednesday, January 28, 2009

Netapp + Rquotad + NFS + RHEL5

Those mounting volumes via NFS on a Netapp filer wanting to use rquotad on a volume with qtrees may notice that, under some conditions, things do not work.

If you are using qtrees, you can still get rquota to work by mounting each qtree individually, each with the "nosharecache" option. This forces each mounted qtree to have different st_dev values so that remote quota calls are enabled for all mounted qtrees, instead of just the first one. Without "nosharecache", all mounts from a volume on a Netapp filer will have the same st_dev value and any rquota calls will only query the first mounted qtree.

See http://linux.die.net/man/5/nfs for info on the "nosharecache" . . . there are some caveats to using it.

Create Maildir Folders

mkdir -m 700 $MAILBOX/{,tmp,new,cur}

Substitute $MAILBOX for what you want to call your Maildir folder.

(Taken from http://plasmasturm.org/log/81/)