Here are two links into the wiki that will help.
Tv Shows (Video Library)
Movies (Video Library)
This should be enough to get most people on track, but I will continue with more about how I do it. Is my way the only way to do it, No, it isn't. In fact, its not really my way. Its just one of the ways that the wiki shows how to do it. And I have found that by being willing to name and organize my stuff more to how XBMC wants it, just works, and very well.
Now I am sure some would say "but _____ was able to do it, XBMC should too!" Your right and totally wrong!
If you want XBMC to do it, natively, then you need to make changes to your folder / file names and even folder structure. And before anyone starts to cry about how long it will take to do this, just stop. It doesn't take that long. You can do it manually, or there are programs out there that can aid in doing this.
My movie structure and naming that I have found to work with VIDEO-TS and other file types is:
Movies <main folder for all movies>
-----|_ Movie name (year)<folder for movie> <name should be as exact as possible baring unusable symbols><date (xxxx)>
------------|_VIDEO_TS <folder><movie is here><if you ever export library separately it would be here also> or somefilename.ext <file of actual movie><somefilename = just that, you choose whatever, I use the actual movie name the same as one folder up><.ext = iso or whatever>
Note: This is not how my movies were originally named, or the structure that they were in, again I say, I conformed to the way that XBMC would do best.
And the results of doing mine this way and using themoviedb, yielded about a 95% accuracy for about 1800 movies. Of that 5% that didn't work, more than half of those were naming errors caused by my poor typing. The remainder of movies (- 2 movies) that weren't in the database, I changed to IMDB scraper and scraped them. And the 2 remaining movies, I contributed to the database, and was able to scape once they made them available.
Now for the TV Shows, that is a little different. You really need to look at thetvdb.com and make sure that you get the naming right. It's a little harder than doing the movies, but once you know the how to name and structure folders, it works really well.
My TV show structure for .iso and alike is:
TV <folder that all tv shows are located>
-----|_TV show name <This can be a tough one, it should be the exact (real) name of the show. Example is "House" is the name for the show about Dr. House MD that is easy almost a no brainer. But take a show that is shown on the National Geographic Channel it might need National Geographic in the title or not>
-----------|_Season xx <xx = 00 or 01 and so on>< Do you have to have a season folder, no, do you need it, YES><if thetvdb.com used a year instead of a Season xx then use Season xxxx where xxxx = year>
----------------|_Tv series name sXXeXX episode name.ext <Tv Series name = Series name, but you can use the exact name as in the Tv show name folder> <sxxexx [COLOR="blue"](I have used xx.xx for this also. If the thetvdb.com shows a year instead of a season, then use xxxx.xx where xxxx = year .xx = episode number)this can be simple or tricky, you should already know the season from previous folder. For episode, if your file contains only one episode then xx will be the actual episode number for that season. If your file.ext has multiple episodes then you can do e01e02e03 and so on><episode name = This I have done with and without, on single episode files, I just use them. Multiply episode files not at all><.ext is your file extension. Most work, but VIDEO_TS don't natively.
If you want to use VIDEO_TS in TV shows, then this will be a folder not your TV show file AND you will have to create/modify the advancedsettings.xml to use VIDEO_TS for TV shows. Not to make this larger than need, I will continue with the what if you do want to use VIDEO_TS and you understand that everything before this is still correct except that this is a folder not a file[/COLOR]
---------------------|_VIDEO_TS <folder><TV show is here>
Now you will have to create/modify (if you already have one) an advancedsettings.xml The wiki for advancedsettings.xml and more info about VIDEO_TS for TV is at the bottom here. At this time, I won't go into details on how to create/modify it, just what you need in it to have the VIDEO_TS recognized and used by the TV library.
Here is What you will need inside of the advancedsettings.xml for VIDEO_TS to work:
<regexp>[\._ \-\\/]([0-9]+)([0-9][0-9])([\._ \-][^\\/]*)(?:(?:[\\/]video_ts)[\\/]video_ts.ifo)?</regexp>
Done correctly, any VIDEO_TS that is named correctly as described above will be able to recognized by the TV Show library. Using these will be almost exactly the same as any other file type. And you can do individual episodes or multiple episode. The only thing that I have found so far to differ is with using clear art and logo art. But still early to know if this is skin or what related. Not a actual issue, just that Clear art shows only when viewing seasons, not episodes. And logo doesn't work at all. Again not a big deal.
My results doing TV shows this way is pretty much 100%. Only issues I have had not finding a show has been when I mistyped while I was naming. Always something simple like using letter o instead of zero.
So now I have shown how I have been able to get all of my Movie and TV Shows to show in XBMC. Is it perfect, well no it isn't. But its really close. There are things that I would like to scrape in a better way, and I have figured out how to deal with that too, but that will have to wait for another write-up.
Note about multiple episodes in one:
I use them for a lot of shows, and they work great but they aren't the same as doing with individual episodes. Say you have done a complete disk of House with 6 episodes on it. When you select an episode to watch, it starts playing just like you put the disk in. Any of the 6 episodes that you pick will react and start in the same place.
And if you use the "watched" tags, all 6 will be tagged as "watch" regardless. If you can't live with it being this way, then you want to stay away from using multiple episodes and do them individually. I will say, and not speaking for XBMC team, I'm just a user, but I don't feel that this is a bug, or anything that should or can be fixed. Individual episodes it the proper way to do it.
A little about me, for anyone who says "who are you to tell me..."
I'm just a user of XBMC, not a developer, or anything at this time. I did spent about a month on this forum as a guest, reading and searching the forum and wiki for all that I could. I used a laptop computer during that time to learn and test how to use XBMC and in what way my files would have to be for it to work best. For about the last 4 months, I have been a registered user, and I am on here almost every day, (work is slow for winter). I still consider myself as new to XBMC, and learning as I go. I can't write scripts/python or anything, So I try to post often if I feel I can help.
And that is why I took the time to write this. Hopefully this will be a help to some of you that are having issues with getting your Movies and TV shows in the library.