background preloader

How to Sync Your Media Across Your Entire House with XBMC

How to Sync Your Media Across Your Entire House with XBMC
XBMC is an awesome media center solution but when you’re using it all over your house your library updates and watched-media lists get out of sync. Read on as we show how to keep all your media centers on the same page. Note: This how-to guide was originally published in September of 2011 and detailed how to set up whole-house media syncing for XBMC “Dharma” 10.0. Why Should I Care and Who Is This Guide For? XBMC has a built-in library system and it keeps track of media you’ve already watched. As a result if you watch some of your TV shows in the living room and some in the bedroom then the marked-as-watched function in XBMC will only show you what you watched on that specific television set. Wouldn’t it be nice if you could stop watching a movie in the living room and resume watching it in the proper location somewhere else in the house? Before we get to that, however, let’s clear up who will benefit from this the most and who can skip over it. You should skip this project if… Success!

Sync multiple libraries For simple library sharing see: HOW-TO:Share libraries using UPnP Introduction If you have more than one XBMC device on your local network then you might want to synchronize them using a MySQL library. Using a MySQL library allows you to store information about your whole video library in a central database, so that multiple XBMC devices can access the same information at the same time. This gives you the ability to do things like: Share watched and unwatched status for your media on all devices Stop watching a movie or TV show in one room then finish watching it in another room automatically Only one library to maintain for all devices

LM Gestion : LM Remote KeyMap : Customize or disable the MCE Remote green button On a Media Center enabled Windows like XP Media Center, Vista Ultimate, Vista Home Premium, 7 Ultimate, 7 Home Premium, pressing the green button on your MCE Remote will bring up Media Center. If you don't use Media Center this can be a problem (The same thing happens for the Guide button, Live TV button, Recorded TV buttons and some other buttons on all the variations of the MCE Remote) With LM Remote KeyMap it is very easy to disable the native action of the MCE Remote green button (and all other buttons that seems unable to customize like the Power button). 1 - Install LM Remote KeyMap If not already done, download LM Remote KeyMap and install it. 2 - Run LM Remote KeyMap and set up your MCE Remote Open LM Remote KeyMap and in the main window choose "Customize your remote" Choose to use a MCE Remote, click on the arrow buttons to flip through the remotes LM Remote KeyMap support until you get the MCE Remote, click on the remote to select it. This will open the remote settings dialog.

databases XBMC uses SQLite, an open source light-weight SQL database-engine, to store all its library related data (Music, Video, and Program databases). By default, the database files (*.db) are stored in The UserData Folder, specifically in userdata/Database. In addition to indexing media files when activated by user-selected Content settings, XBMC also puts a video in its database if you change any OSD setting while watching it. 1 Using the Databases The XBMC databases are automatically maintained whenever you use XBMC. Since XBMC maintains the databases on its own, the only time a developer really needs to access the databases is for display information. 1.1 Building SQL Queries SQLite queries can be incredibly powerful (and extraordinarily complicated). For most XBMC development projects, you're going to be doing select statements. A list of all the data fields (columns in the database table) you want for each row. Below are a few sample select statements, so you can see how it works.

Custom Registry settings 4 MCE Remotes On a side note It's better to have the latest XBMC release installed, your Remote installed and functional before you start. If you want to check your remote compatiblity then check this Wiki Are you using Windows XP and you can not find/install the ehome Driver for your remote, then I can't guarantee that my setup will work for you. Actually it might not work at all! If you can not make your setup work and you want to get help then please check out the Support page first! Do not forget to go through the troubleshooting questions as well :-) Any one new to this and do not know how to open the windows registry Editor, then do this: 1- Click Start & select Run [if you can't see it search for it] or press on your keyboard without the brackets. 2- Type in the field [regedit] without the brackets. 3- Press OK, now the Registry Editor will open. Check that you have the Registry Path as shown below: Is to keep your XBMC Keyboard.xml. to (Skip Next Language Track). %AppData%\XBMC\userdata\keymaps

Write Python Scripts for XBMC This article was originally a copy of a python HOW-TO tutorial was prepared by Nelson Minar. The article have since then been reformatted, restructured, modified and updated several times. Note that this article was written with ease of understanding in mind so experienced python developers may be irritated by how much this article been simplified and dumbed down, but this tutorial was not written for them. 1.1 Python is not a snake 1.2 Some basic rules - be careful of the snake! Some features are added with time and so I really advice you to have the very latest version of XBMC or else some python scripts may not work. The script launcher is based in the parameters settings of XBMC so go there to launch scripts. Keyboard : if you have ran you script return to the Scripts screen and press 'i'. You may need internet access to run some scripts so configure XBMC correctly and do not forget to edit the name server (a.k.a. 1.3 Always notice the snake behavior 1.4 the real work begins 1.4.1 Window

Log file At some point during your foray into XBMC, you will likely come up against a problem that isn't made 100% clear from errors in the GUI. This is where the log file comes into play. XBMC writes all sorts of useful stuff to its log, which is why it should be included with every bug/problem report. Log file/Easy - Did someone send you to this page or ask for the debug log, xbmc.log, or log file? You'll probably want to use this easy guide! HOW-TO customize the home menu with custom categories “I am a big fan of Anime, how can I create a home menu item for it? I don’t like how it sits in the same list as my TV Shows”. “I have a lot of Disney movies for my kids. How can I make it so they appear in a different list than my regular movies?”. Many have asked these questions and many others have answered. My wishes What I wanted was to create a home menu with the following items: Anime: For my many anime series. I’ll mostly be talking about the Anime, Anime Movies, Movies and TV Shows folders. 1. I have files on the local drive of my player, but most of it is located on a media server. Secondly, we also need different folders to hold our background images for each categorie. /share/Anime/Anime Movies/backdrops/Anime/Anime Movies/Comedy/Documentaries/Movies/Music/Pictures/Other/Settings/TV Shows/Comedy/Documentaries/Movies/Music/Pictures/Other/TV Shows/2. Intermission 1 As it is now we actually have a basic setup and configuration of XBMC. 3. Code: <? Now, some explanation:<? <? <? <?

Access Your Media Collection From Any Browser With Zumocast Let’s say you have a media center computer. Maybe it’s running Boxee, maybe it’s running a different media center program; the point is, you’ve filled it with tons of goodies. You’ve ripped all your DVDs, and have a massive media collection. You love watching it when you’re home, but your netbook or iPhone can’t store it all. Check out Zumocast, that’s what. Installation First thing you need to do is install it. Tell the program where to find your media and you’re done. Magic Head back to Zumocast and sign in. Click a video and it will start playing. The music browser takes a more iTunes-like approach to management. Want to listen to that album or watch your movie offline, later? iPhone/iPad App Wish your iPhone worked the same way? You’ll find Zumocast in the app store, so download it after you’ve set up your Windows computer or Mac with the program. Creative Uses Stream media from your console! Conclusion

[WINDOWS] Using XBMC as a DLNA/UPNP remote! Hi Cluis, Great work! I want to play video and audio and pictures on my tv which is network connected (dlna compatible) to my windows 7 computer (running xbmc and serviio), in another room. To control xbmc remotely I can use constellation or soulmote, or the web interface of xbmc, from my Ipad. So I select media with my Ipad, but the streaming occurs from the pc. For those who asked in this thread how to do it: edit playercorefactory.xml in the system folder in the xbmc folder. I also found out: When I change <hideconsole> in the .xml file to false I see a window on my pc which tells me that the server and renderer are found and after that it starts searching for file. So that leads to my request to Cluis for help: Why does it last that long? Jos My playercorefactory.xml looks like this now: <playercorefactory> <players> <!

HOW-TO share folders over SMB using Windows 7 Introduction As has been documented elsewhere, XBMC's scrapers and library work best when full access to video and audio files is provided to them via an SMB share. However, MS is making it more and more difficult to share using SMB in Windows. You have to turn off Homegroup and do all sorts of other messy things. The following is a guide to quickly and easily turn SMB sharing on in Windows 7. Preparation As a initial step, you should be connected to your network. The Process Step one: Click the "Network Internet Access" icon at the bottom right of your screen, next to your clock, speaker icon, and possibly power icon. Step two: Locate and click "Choose homegroup and sharing options." Step three: You are now presented with a page labeled "Share with other home computers running Windows 7." Step four: You are now at the "Change sharing options for different network profiles" page. Network Discovery: turn on network discovery File and printer sharing: turn on Step five: Click Save changes.

Keyboard.xml Keyboard.xml is a XML base keymap file that define the mappings of keys (keyboard keys, mouse/remote/joysticks buttons and more) to XBMC actions. Keyboard.xml was first introduced in XBMC 10 ("Dharma"), in versions prior to that it was called Keymap.xml. 1 Location of keymaps Keymap configuration files are stored in the "keymaps" folder in the userdata folder: 1.1 Android location Sometimes the exact path will differ from device to device. 1.2 Defaults The keymap configuration files that ship with XBMC are stored in the "/system/keymaps/" folder within the XBMC root directory. All *.xml files in these folders are applied as keymaps. By default there will be no files in these locations, so grab one from the link below to make a new one/over-ride: Default keymaps shipped with XBMC 2 101 on keymaps For a full guide, see: HOW-TO:Modify keyboard.xml 3 Structure There is one global keymap and several window-specific keymaps. The format of keymapping files is as follows: <Home> [...] 4 Keynames Example:

Adding videos to the library/Naming files/Movies Important: THIS IS THE MOST IMPORTANT STEP TO A SUCCESSFUL LIBRARY SCAN! In order for the media scrapers to pick up the correct information your file names must follow a certain format: 1 Naming conventions In order to be scanned correctly, movie file names should only have the title and the year (optional) followed by the file extension. Media source flags can also be added via file names to indicate source/quality of the movie (see link for more info). To improve matching add the year within parenthesis to the end of the file or foldername, depending on your scanning method and folder structure (before the extension, if filename), this naming standard seems to yield the best results. Note: If the wrong movie is picked up even if foldername or filename is correct, the movie can have an earlier original title. \Movies\Pulp Fiction (1994).avi \Movies\Reservoir Dogs (1992).avi \Movies\The Usual Suspects (1995).avi \Movies\Avatar (2009)-cd1.mkv \Movies\Avatar (2009)-cd2.mkv 2 File stacking

Related: