Join Brad Wheeler for an in-depth discussion in this video Play local content, part of Build a Raspberry Pi Media Server.
- [Voiceover] Once OSMC is all set up on your Raspberry Pi, it's time to play some content. The simplest kind to play is local content, that is, content stored on your Raspberry Pi's SD card or on an attached USB drive. To play videos, select videos from the home screen and hit enter. Then choose files and hit enter. This will open up a new list which will display previously added video locations, or allow you to select a new one. Choose add videos. The next screen allows you to browse for a video folder.
Choose browse. In the list of files that appears, you'll need to navigate to wherever your files are stored. In my case, I'll attach a USB drive with some videos on it. The USB drive isn't listed as an option in this list, so I'll have to navigate to it manually. Attached USB drives are located in the root file system, then media. I'll highlight the name of my USB drive, which in this case is New Volume and hit enter. Then I'll scroll down to the movies folder, hit enter, then scroll down and hit OK.
OSMC will automatically create a name for the media source, so I'll scroll down and hit OK. Then I'll hit enter to identify what type of content is in the media source, in this case, movies. I'll scroll down and hit OK again. Next, OSMC will ask whether I want it to try and identify the content in the media source. I'll hit yes, and you can see in the lower right OSMC is scanning that content. If the videos are recognized, they'll be displayed on the home screen under a new movies menu option.
If not all of them are recognized properly, you can go back to videos, go to files, go into your new media source, then highlight the unrecognized titles and press the C key to bring up the context menu. Then highlight movie information and hit enter. If the content is not recognized, you may get a list of movies that OSMC thinks might be appropriate. If you don't see it in the list, then either the movie as not in the film database you've selected, or the file name needs to be changed. We'll go back to the home screen and play a movie.
How about Plan 9 from Outer Space? Now that the film is playing, OSMC has an enormous number of keyboard shortcuts to control playback. The most useful ones to know are that space plays and pauses. The arrow keys move forward and backward. Enter invokes a menu with more controls, escape closes that menu, and then tab is used to cycle between the home screen and the playing film. For more controls visit the Kodi Wiki, it shares all keyboard commands with OSMC.
If you want to play music instead, everything is handled exactly the same way. Highlight music, then hit enter. Highlight files, hit enter. Highlight add music, hit enter, then browse for your music location. Now on the home screen, my recently added album. If you want to remove a source of any kind, go back into the files list, highlight the source, then press C to bring up the context menu, and highlight remove source and hit enter.
For now, I'm gonna leave this source here. There are two things to note about video playback, whether played from a local or remote location. Fist, OSMC can not play MPEG2 or WMV files without the appropriate licenses. These licenses are not included with the Raspberry Pi to reduce the unit price. However, you can purchase them for about $5 each at the Raspberry Pi Store. You can enter them by going down to the My OSMC menu, then Pi Congfig, then GPU Mem and Codec.
You'll enter the purchased licenses under enter MPG2, or enter WVC1 license. Second, did you notice how OSMC automatically found the cover art and details for the movies I selected? It does that by searching public movie databases, which it can only do if it recognizes the name of the movie you want play. To maximize the chances of OSMC being able to find metadata for your movie, just follow the official naming guidelines. In short, that means the name of the video file should be either just the movie name or the movie name plus the release year in parentheses.
You can also organize TV shows into seasons for more efficient viewing. For full details, check the Wiki.
Note: These instructions work with the Raspberry Pi 1, 2, and 3 models. OSMC does not support Netflix, Hulu, or HBO Go.
- Installing and configuring OSMC
- Backing up OSMC settings
- Playing local content
- Streaming remote and third-party content
- Controlling OSMC
- Using an IR remote