Category: Network

Using your iTunes xml file with Linux PlexMediaServer

My home network setup consists of a Linux box (running Linux Mint), a “Hackintosh” (a hp compaq 6000 pro small form factor pc running macos sierra), a mac mini (macos sierra also hacked to install on a 2009 mac mini), and then a laptop running RHEL6.  I also have a 2 disk buffalo NAS and a 2 disk lenovo NAS with a 4 bay SATA enclosure with 2x2TB disks hanging off it.

My Linux server runs several different background services for my primary source of streaming video to my roku – these consist of sabnzbd+, sonarr, and plexmediaserver.  On my buffalo NAS I have almost 18000 mp3s which are mounted as /Volumes/Music and added to my itunes library on the mac mini. This same NAS share is mounted as /Music on the Linux Mint machine.

Here’s how I got them into the iTunes channel in plex.

  1. First you need to set the option in iTunes to share its library via an XML file.
  2. This will put a file called iTunes Music Library.xml in your “Music” folder.
  3. via cron or something, set up a process to copy this file over to the /Music share on the linux server and post process it to change the Location tag  – /Volumes/Music/Music needs to become just /Music/Music :
    # scp mini2:Music/iTunes*.xml /Music/itunes_temp.xml
    # cat /Music/itunes_temp.xml | sed ‘s%/Volumes%%’ > /Music/iTunes\ Music\ Library.xml
  4. In the server settings for Plex Media Server, there is option under Server -> Channels (click “Advanced”) and you can enable the iTunes channel.  Enter /Music/iTunes Music Library.xml in the box “
  5. Restart plexmediaserver :
    # sudo systemctl restart plexmediaserver.service

Enjoy your itunes music in plex.  Now just to figure out how to get Alexa to play it back 🙂


Using gvfs to access remote servers via FTP/SFTP

Using the Gnome virtual file system (gvfs) packages allows us to access remote servers from the linux userspace GUI environment via FTP/Obex/SSH/WebDAV/WebDAVS/Samba Read the Rest…

Linux Networking

Tips and tricks on how to enable network features on Linux, such as network bonding, VPN, firewall, IPv4 vs. IPv6

Configure a cPanel system to do Subject: tagging with SpamAssassin and Exim

By efault, on a cpanel system, Spam Assassin doesn’t allow the subject line rewriting.  I find it a quick short cut to be able to glace at the subject line and tell if the email is junk or not … Here is how to enable it.  Requires root level access on the server.

Read the Rest…

Tweaking the Evolution Menu Bar

If you are like me, you have a ton of different email addresses, some for work, some for play, etc…

Most times, you don’t want to take a chance to mixing these, and sending your personal signature on a business email, so if you do what I do, you sent up a couple different email clients.


Read the Rest…