XBMC can be set up to look up the metadata for movies, television shows, music videos, and music; but before lookups are possible, XBMC needs a way to recognize what to look up. For movies, music, and television shows XBMC uses the filename and date as a basis for the lookup. Music needs to be tagged properly with a tag editor for XBMC to be able to understand what to look up. You also need a way to get your media files from your computer to your XBMCbuntu system. We'll be sending files over a network using FileZilla, an FTP/SFTP program, and by using Samba (drag-and-drop) shares. Lastly, we'll add your copied data to your movie, TV show, or music library.
Before you dive into adding your movies, television shows, and music, it's important to have properly formatted media. XBMC can automatically download (scrape) information about movies, television shows, and music videos, but it needs to have a consistent way of figuring out what the name of the movie or TV show is. Movies and television shows need to be named in a particular way and music needs to be tagged with a proper ID tag, in order for XBMC's scrapers to correctly identify each media.
Movies should be named with their name, followed by parenthesis containing the year when each movie was released. For example:
MoviesThe Odessa File (1974).mp4
MoviesThe Day of the Jackal (1973).mp4
MoviesShrek (2001).mp4
Television shows are normally kept in subfolders and each show is named with its name, the season, and the episode number. The format is DirectoryShowname.s##.e##.file extension
. For example:
TVFuturamaFuturama.s03e01.mp4
TVFuturamaFuturama.s03e02.mp4
TVFuturamaFuturama.s03e03.mp4
In order for XBMC to correctly scrape information about a song, the song needs a proper ID tag. ID tags are metadata about the song information, such as the artist, album title, song title, and song number. Programs like iTunes, Winamp, or EasyTAG (shown in the following screenshot) can be used to tag songs before they're uploaded/added to your XBMC library.
If you've installed XBMC on a computer you use on a regular basis for ripping your music and video collection, you can skip to the Step 3 – adding files to your movie, TV show, or music library section. If you've installed XBMCbuntu to a separate computer, you need a way to get files from your desktop computer to your XBMCbuntu Media Center. Remember the computer name, username, and password you used during the XBMCbuntu installation? We're about to use that information. Because XBMCbuntu is based on Linux, there are several ways we can transfer files to our media server: NFS, Samba, SFTP, FTP, and a host of different services. For simplicity, we'll concentrate on SFTP and Samba.
You can see what IP address your XBMC media center is using by selecting System | System Info | Summary. Using your IP address you can send files to your XBMCbuntu via SFTP using a program like FileZilla or WS_FTP. But if you use DHCP, this gets a bit tedious when your IP address changes. Normally, you want to just use your XBMCbuntu computer name for SSH/SFTP and file sharing activities. Setting up DNS is beyond the scope of this Instant guide, but there are a couple of things you can do to help with name resolution. Most routers have an option to assign a name to a system with a particular MAC address (which you can see on XBMC by navigating to System | System info and Network). In the following screenshot, I've added a static DHCP reservation for my XBMCbuntu machine called xbmc. I found the MAC address by checking my router's Device list menu. If you're comfortable with the Linux command line, you can also obtain the MAC address of your network card by typing ifconfig
(on Windows machines you can do the same at the command prompt by typing ipconfig
). A router's menus and options vary depending on the router you use, but many have a section where you can assign DHCP reservations to a particular computer so it always gets the same address.
You can make Windows computers see your XBMCbuntu system with one simple modification to your XBMC system. Edit the file /etc/nsswitch.conf and on the line that begins with hosts, add the word wins
.
FileZilla is a cross-platform, multiprotocol client for sending and receiving files from servers. Other clients exist, but FileZilla is licensed under the GPL license and available for Windows, Linux, and Mac OS X. Download FileZilla from https://filezilla-project.org/, or if you're using a Debian-based flavor of Linux, just type in the following command in the console:
sudo apt-get install filezilla
Once FileZilla is installed, navigate to File | Site Manager (or just click on the Site Manager icon, the first icon). Enter the hostname you gave your XBMCbuntu machine in the Host section. Select SFTP | SSH File Transfer Protocol from the Protocol section. Select Normal from Login Type. In the User field enter the username you used when setting up XBMCbuntu. In the Password field enter the password. Click on Connect.
Once connected, local files default on the left-hand side of the screen and remote files on the right. Navigate to the files and folders you want on each side. To send a file, simply right-click the file and select Upload. You can upload multiple files using Ctrl and clicking on the filenames, and then right-clicking and selecting Upload.
One of the reasons to use XBMCbuntu is that it sets up movies, music, TV shows, downloads, and system folders in your home directory and adds them to the Samba smb.conf
configuration file. Samba is a suite of tools for interoperating with Windows systems. Samba is not a part of a normal Linux install, so if you're setting up XBMC manually under Linux, you'll need to install Samba, create a Samba password for your account, and set up each Samba share for movies, television shows, and music. This is one of the things that comes preconfigured on XBMCbuntu. XBMCbuntu saves you the steps of having to download Samba, create accounts, and configure shares. Linux understands Samba too; you can open a nautilus or nemo session, hold down Ctrl and press L, and type smb://yourservername/
to open a session. If you cannot see your XBMCbuntu Samba shares from your Windows system, make sure you've added WINS to the /etc/nsswitch.conf
file; check to see that the NETBIOS name is the name you gave your XBMCbuntu system, and that the workgroups are the same on your Windows and XBMCbuntu machine.
To send a file to the XBMCbuntu system from a Windows 7 machine, perform the following steps:
Depending on how much data you're copying, the process may take from a few seconds to several hours.
Once your music, movies and shows have been copied to your entertainment system, you need to tell XBMC what type of content you've added, and where to look for it.. XBMC's 10 foot interface makes adding content simple.
For pictures and music, perform the following steps:
For television shows and movies, perform the following steps:
XBMC now attempts to add the content to its video library. If the content is correctly named, XBMC will add it to the library.
To play a movie, simply click on the movie menu option and choose the movie you want to play.
XBMC can display media in a variety of ways. Using the left arrow on your keyboard or remote control brings up the View Options menu. In this menu you can choose how you want video content displayed: Poster Wrap, Fanart, Media Info, Media Info 2, Media Info 3, List, Big List, or Thumbnail. Experiment with each and find out what looks best to you.
You can combine the display of photographs with music. This is useful when entertaining or when you simply want to mellow out with music and a visual display.
To play music and create a photo slideshow, perform the following steps.
Playing music and photo slideshows is just a small part of what's possible with XBMC.
Want to watch an entire season of a television show? Queue (Q) the second show in the season and all the other episodes; then on the first show of the season select the Play from here option from the GUIDE button (C context) menu. A good resource for XBMC keyboard mappings is the XBMC wiki: http://wiki.xbmc.org/index.php?title=Keyboard.
XBMC's default Confluence skin looks great, but like many media programs it can be skinned to look differently. A number of professional skins are available for download right within XBMC.
To download and change the current skin, perform the following steps:
Changing the skin sometimes moves some of the options from one menu to another. So if you change skins, be aware some of the menu items might be different from what's shown here. We'll use the Confluence skin throughout this book.
3.129.25.217