HOW-TO get my Home videos, documentaries etc into the XBMC video library - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: HOW-TO get my Home videos, documentaries etc into the XBMC video library (/showthread.php?tid=61779)
HOW-TO get my Home videos, documentaries etc into the XBMC video library - sho - 2009-11-16 20:34
A common complaint, especially amongst those that have migrated from other applications is the relative inflexibility of the XBMC Video library.
While it does some things brilliantly, such as presenting your movie or TV show collection, it lacks somewhat when it comes to user generated content or off-beat fetishes (home made soap operas anyone?).
This is not going to be addressed in the near-term (see Jonathan's plans for a library rewrite), so until then the following, relatively easy procedure can be used as a workaround.
For the purposes of this example I will use Home videos, but the basic premise holds for any type of content you want to add to your video library and not mix with the existing movie, TV show and music video content.
What we are going to do is to create a second user profile to store library data for the type of content you wish to separate from your movie, TV show etc content and switch between it and the master profile (containing all your 'regular' media) transparently.
1.) Note that this tutorial assumes that you are using the default Confluence skin, I would suggest that you switch to it before going any further.
Also make sure that the location of your home videos is available as a source before you begin (called 'home videos' below).
2.) Go to Settings, press right to have a sub-menu blade pop up -there select Profiles and proceed to create a new profile (via add profile.. let's call it Home). Let us go with the defaults, inheriting Media Sources from the default profile and separate media info. Just press OK when prompted to Browse for folder.
3.) To switch between profiles we will create a custom keymap, the letter b on the keyboard doesn't seem to be used much.
Create a text file called keyboard.xml, containing the following:
This simple keymap change, tells XBMC to use the b key to switch profiles. Put this file in the keymaps subfolder of userdata
Similarily create another text file called keyboard.xml, containing the following:
Put this file in the keymaps subfolder of the profile folder (userdata\profiles\Home\keymaps).
If you use other control methods to operate XBMC such as a remote, this procedure can later be adapted to that. But that's beyond the scope of this tutorial.
Alernatively you can add buttons to the Home menu to switch between the profiles, a good tutorial can be found here.
Now we should have two profiles you can switch between at will using the b key.
4.) Now on to populate the video library of the Home profile with all your home videos.
Let's say you have n video files from two different vacations (2008 and 2009) and you want to create a category for each in the movie library node of the new Home profile.
The video files are stored in a folder called 'home videos' with subfolders called v2008 and v2009, the filename of the first file from 2008 is v2008-001.avi, second v2008-002.avi etc.
You create an nfo file for the first 2008 vacation file (again this is just a simple text file). Call it v2008-001.nfo (it's imperative that the nfo filename matches the video filename).
This data can be extended to include anything supported by XBMC.
Now repeat this for all the video files in your collection, making sure to include the correct data (year etc) in the appropriate nfo files.
5.) Proceed to set contents on the 'home videos' folder as you would do with any other folder. Choose Movies and any old scraper (just the one you use normally).
Check 'Run automatic scan', 'Scan recursively' and select OK, XBMC should read all the nfo files and populate the library with your media.
After a while when you feel comfortable with the profiles and have the one button switch working to your liking, you can disable the login screen in Settings- Profiles.
Then the only way to switch will be via the one button action (until you re-enable the login screen).
- jmarshall - 2009-11-17 01:05
One presumes that the profiles (and keymapping) trick is being used so that your home movies are not distributed among the actual cinema-released movies. Nice trick.
How do you get to the profile though - do you alter the keymap for the master profile as well?
Regarding 3: It should instead be named keyboard.xml and put in the profiles/Home/keymaps folder. If this doesn't work we need to fix it
- sho - 2009-11-17 10:51
jmarshall Wrote:One presumes that the profiles (and keymapping) trick is being used so that your home movies are not distributed among the actual cinema-released movies.That's the idea, yes.
jmarshall Wrote:How do you get to the profile though - do you alter the keymap for the master profile as well?Step 3 above is actually twofold, to switch back and forth.
jmarshall Wrote:Regarding 3: It should instead be named keyboard.xml and put in the profiles/Home/keymaps folder. If this doesn't work we need to fix itBe my guest
- biggles - 2009-11-17 11:23
This sounds great! Really needed a special library for all my children series and movies! I am going to try it out! Thanks!
- xm41907 - 2009-11-19 00:30
How I do it is to label my home videos with their own genre. Another thing you can do is to not input them in the library and switch library mode off, then navigate to their source folder.
- sho - 2009-11-19 02:26
Without library there is no point to the tutorial, is there? (I hope most people can figure out to put home videos in a separate folder.)
This is guide is intended for the anal of us, who want everything structured and shiny!
With a genre, they are mixed with movies in titles.... and I would just HATE that
- wimpy - 2009-12-10 00:57
sho Wrote:Without library there is no point to the tutorial, is there? (I hope most people can figure out to put home videos in a separate folder.)
would it be a easy 'hack' to opt a single genre out of the normal Movies list ? like the files i'd want in a 'home misc videos' list.. i'd also hate to see those mixed with Movies in "titles view".
For example i have alot of standup and documentaries i'd like to browse in a seperate list (just like Movies are now). If I could have a "if $genre != mymiscvideos" then display all the Movies with genre other than mymusicvideos.. and then have another where I do "if $genre == mymiscvideos" to display the others.. would that be possible ? If yes.. how ? :$
- wimpy - 2009-12-10 01:01
going a bit further with my questions..
does the current "Movies" link on Home screen have any SQL somewhere which I can change ? does it do for example "select * from ..." when grabbing Movies from the lib? If yes that should make it doable to add a "where genre not 'standup'" ?
- TeknoJnky - 2009-12-10 01:11
I wonders why there isn't a 'filename' scraper that can be selected to generate titles and info based on filename and/or path.
- sho - 2009-12-10 01:34
Wimpy, neither are possible as far as I know, but in theory at least you should be able to have a skin element load a profile (and have that profile start up at a certain location, say videos - movies - title)
The secondary profile could store standup as movies and documentaries as TV shows (or vice versa).
TeknoJnky Wrote:I wonders why there isn't a 'filename' scraper that can be selected to generate titles and info based on filename and/or path.
Someone made one, not sure how it works
This also springs to mind