XBMC: Adding Media Sources

This article was written on May 04, 2012 by CyberNet.

In XBMC one of the things that is probably the most important is to get the software hooked up to your personal media. This includes media from all of your various collections like videos, pictures, and music. If you’re new to XBMC you’ll probably be better off adding your first source or two through the XBMC interface, but after that you can make the changes a little more quickly by directly updating the appropriate configuration file. So we will show you both ways.

We will even take things a step further and explain how you can have all your XBMC instances share the same configuration file. With that in place anytime you add a new source to the configuration file that same source will be added to any XBMC instance using that file.

Note that our tutorials below are going to focus on videos, but a similar process can also be applied to music and pictures.

Adding Sources in XBMC

Here are the steps you need to follow if you want to add your media to XBMC through the built-in interface.

  1. Go to Videos -> Files -> Add Videos
  2. XBMC will let you add sources in one of two ways:
    1. Click the Browse button and browse for your media based on the type of source:
      Xbmc browse shared media
    2. If you know the path to your media source you can just enter it in manually:
      Highlight the None option and press Enter:
      Xbmc manual media 1
      Enter in the path and select Done:
      Xbmc manual media 2
  3. Enter a name for your media source at the bottom of the window and press Enter:
    Xbmc media source name
    1. Select the type of media the folder contains so that it can scrape information from the Internet for each of the files contained within the folder:
      Xbmc media source type

    Adding Sources in the Config File

    If you have a ton of folders that you want added to XBMC then using the interface above may not be the most efficient and practical method. You can speed things up a bit by editing the configuration file directly. For starters go ahead and close out of XBMC, and then navigate to your profile folder:

    • Mac: ~/Library/Application Support/XBMC/userdata/
    • Windows: %appdata%\XBMC\userdata\

    Once in your profile directory find and open up the sources.xml file. If the file doesn’t already exist I recommend adding a source in the XBMC interface first so that you can see what the structure of the file looks like. When it comes to videos you’ll be adding nodes in the <video> section of the file that look like this:

    <source>
    <name>Movies</name>
    <path pathversion="1">smb://192.168.1.10/XBMC/Movies/</path>
    </source>

    In my particular case this will create a source pointing to a shared SMB/Samba/CIFS folder for movies that I had set up. You can also use paths to local folders or any of the supported source types.

    There is one caveat that I should mention about adding media directly through the sources XML file. While any changes you make to the file should be reflected in XBMC once you restart the app you’ll still need to go in and update the type of videos contained in the source. Here’s what you need to do:

    1. In XBMC go the Videos -> Files
      Xbmc video content scraper 1
    2. Highlight the source you just added, and then open the context menu by pressing “C” on the keyboard. Then select the Change Content option:
      Xbmc video content scraper 2
    3. Now you can choose the type of media contained in the source (TV shows, movies, music videos):
      Xbmc video content scraper 3

    Sharing One Config File

    How about we take a look at sharing the XML file now that you have already familiarized yourself with the file itself. The process is pretty simple, and for a more detailed explanation I will refer you to our guide on sharing configuration files in XBMC.

    For more experienced users I will point out that all you need to do is add the following lines to your advancedsettings.xml file:

    <substitute>
    <from>special://masterprofile/sources.xml</from>
    <to>smb://192.168.1.10/XBMC/Settings/sources.xml</to>
    </substitute>

    Just update the path with the shared location of the sources.xml file. Repeat this process for every instance of XBMC you have running in your house and they should all pick up any sources that you add or remove.

    After doing all of this may need to run through the steps mentioned above for setting the content type on each of the sources since that’s not configurable through the sources.xml file, but that’s just a minor step.

    CyberNet’s XBMC Guides:

    Copyright © 2014 CyberNetNews.com

    New gOS Space 2.9 even more Mac-like?

    This article was written on April 08, 2008 by CyberNet.

    Last year Wal-Mart started selling a Linux-powered computer for under $200 called the gPC. After some confusion amongst consumers they decided to boot the budget computers from the store shelves, and offer it solely online. Ever since it looks as though the operating system that powers the low-cost computer, called gOS, has started to go through an identity crisis with Mac OS X.

    The most obviously clone is the dock that is the home of your application shortcuts. The gOS has had that ever since it debuted last year, but it’s worked hard to become even more Mac-like in its latest release dubbed gOS Space 2.9. The goal of the new version was to become more appealing to the 100+ million MySpace users, and thanks to the Avant Window Navigator a feature remarkably similar to Mac OS X’s Stacks has been added to the dock. Not to mention that it includes Compiz Fusion for some added eye candy.

    And as Crunchgear noticed even the gOS site has become remarkably similar to that of Apple’s:

    gOS Website:
    gos site

    Apple’s Mac OS X Website:
    apple site

    So what do you think? Are they smart for trying to grab ideas from an operating system that is often lauded for its great design, or should they be trying to distinguish gOS from the competition?

    The gOS Space 2.9 Linux operating system is freely available for download.

    Copyright © 2014 CyberNetNews.com

    Password Protect Your Photos

    This article was written on January 21, 2008 by CyberNet.

    I’m sure at some point or another you’ve wanted to password protect a photo that you were sending to someone else. Maybe it was a confidential image that you didn’t want to end up in the wrong hands, or a personal photo that you wanted to keep secret.

    A handy tool called LockImage is here to save the day. It’s a free (and open source) program that will let you create an executable file containing a single image. You can then password protect that file so that so that the contents are kept confidential.

    LockImage consists of a single file that is just 32KB after it’s uncompressed… and no installation is needed. It took me a minute to understand just how you create the executable file, but it’s actually rather simple:

    1. Download the LockImage binary (currently labeled LockImage-0.1-bin.zip). Extract the contents of the download, and then run the executable contained inside.
    2. Go to File -> Open, and browse for the image you want to password protect. The image will open up in the viewer.
    3. Go to File -> Save As, choose a file name, and type in the password you want to use to protect the image.

    After completing those steps a new executable file will be created. Upon launching the executable you’ll be prompted for the password before being able to see the image:

     Lock Image

    This is a really new project, and I could see it becoming a great tool for sharing photos with family and friends. One thing that I hope the developer will work on is a way to include multiple images in a single file so that you can send if off as a gallery.

    Note: Many email services and file sharing sites don’t allow executable files to be shared.

    Thanks to Aziz for the tip!

    Copyright © 2014 CyberNetNews.com

    Fix Blurry Images

    This article was written on February 03, 2008 by CyberNet.

    Unshake

    There’s nothing worse than snapping a once-in-a-lifetime photo just to get home and realize that you weren’t holding the camera still enough. Have no fear because there are several different tools that you can use to try and remove the blurry effect. The bad news is that most of them aren’t free, but we did manage to find one that is.

    Unshake is a free Java application that doesn’t require installation. Just download, run the “Launch” shortcut, open the blurry image, and hit the DeBlur button. Unshake will go to work trying to clear up any nasty blurring that may have occurred when the photo was taken. Here’s how it works:

    Unshake analyses correspondences between nearby points in a picture, and if it finds more similarity between points than it expects, it deduces what went wrong with the image and “deconvolves” it, that is, it works out what the original scene looked like.

    The results that I got from the test varied, but in all of the cases the end result was better than the original. As seen in the example on this page you can tweak the various settings to increase the quality of the outputted image. In particular giving Unshake more time to process the image (by increasing the “x1″) will yield way better results, but it will also take a few minutes depending on the size of the image.

    Download Unshake

    Copyright © 2014 CyberNetNews.com

    Aero Glass in Windows XP… Done Right

    This article was written on August 27, 2009 by CyberNet.

    border skin-1.png

    UPDATE: As some commenters have pointed out certain antivirus applications are flagging this application as containing a trojan. My antivirus, NOD32, did not find any virus though. So it’s up to you whether you want to proceed.

    We’ve seen all kinds of Aero glass emulators for XP cross our path. The problem is that the moment they start to show any potential the developers fall off the map and updates are pretty much non-existent. A few weeks ago when I saw one called Border Skin over at Lifehacker I put off trying it because, frankly, I was sick of being disappointed.

    Man, I have to say that I’m sorry I didn’t try this sooner. First off, it’s portable so there’s no installation involved. Just download, extract, and run. The settings are self-contained in the directory you run it from so there’s not a bunch of random files you need to worry about finding should you decide to delete it.

    Second, it looks remarkable. You can turn the blur effect on or off, there are about 15 different colored themes you can choose from (the one pictured above is the Windows 7 style), and overall it just feels like it’s part of the operating system. Over the last few days I’ve been using this full-time on one of my XP machines, and there have been very few times that it even crossed my mind that this wasn’t an integrated part of the operating system. It’s that fluid.

    Lastly, performance. This thing performed so well on my XP laptop that it got me wondering what it would be like on a low-end piece of hardware. I don’t have any old computers lying around, but then I realized that throwing it in a virtual machine would be a really good test considering that Aero glass on Vista or Windows 7 isn’t available in any virtual environment due to graphics restrictions. So I put it on an XP virtual machine with 512MB of RAM, enabled all the effects including blurring, and then took the screenshot you see above. It all worked amazingly well even on a virtual machine with limited resources. The only issues I saw was some slight jumping if I’d drag the windows around really fast, and when closing a window the border would remain visible for about a half a second after the app closed. Definitely not a deal breaker, and these results were much less noticeable on my dedicated machine.

    It also got me wondering what it does with “borderless” windows such as Google Chrome. Good news… it does nothing! I was worried that it may add a border around those applications regardless of whether they need one or not, but it doesn’t. This is because it has an “exclude list” file that can be used to specify windows that shouldn’t be skinned. Common apps like Chrome and Windows Live Messenger are already in this list for you.

    So a big thanks to the developer for coming up with an awesome solution, and I can’t wait to see what else will be added in future versions! This is already the most complete Aero glass emulator for Windows XP that I’ve used, and I don’t think you’ll be disappointed.

    Border Skin Homepage (Windows only; 32-bit only; freeware)

    Copyright © 2014 CyberNetNews.com

    CyberNotes: Browser Performance Comparisons

    This article was written on March 26, 2008 by CyberNet.

    CyberNotes
    Web Browser Wednesday

    browser wars We’ve been asked for quite awhile to provide a performance comparison of the different mainstream browsers out there, and so today we are going to show you the stats from several different areas that users generally find to be the most important. Things like memory usage, page load time, and JavaScript performance will all be covered below.

    One thing that you need to remember with these tests is that the results are all relative to each other. Each browser is running on the exact same machine so that the comparisons are accurate. What we heard the last time we did tests like this is “such and such browser performed a lot better/worse for me.” We appreciate hearing what your results are, but for the sake of accuracy they can’t really be compared to what we get.

    Notes:

    • All of these tests are performed on the same Windows Vista SP1 machine, and is wired into a network to minimize the effects of wireless disturbances.
    • To test both IE7 and IE8 Beta I ran all of the tests in IE 7, installed IE 8, and then reran all the tests again.
    • All browsers started with a clean profile and no add-ons/extensions installed.
    • Caches were cleared before each test was run.
    • Only one browser was open at a time and no other applications (other than standard Vista services) were running.
    • Internet Explorer 8 was always used in the native rendering mode (a.k.a. standards compliant mode).

    –JavaScript Tests–

    We’ve previously run Apple’s SunSpider JavaScript tests, but there was apparently some controversy of using that because people felt that it could be a little biased. We wanted to pick a test that used tools you’ll find in sites you visit everyday. That’s why we went with the MooTools SlickSpeed test which checks the browser against different JavaScript libraries: Dojo 1.0.2, JQuery 1.2.3, MooTools 1.2B2, and Prototype 1.6.0.2.

    Many sites use those libraries, and even we use JQuery for things such as the AJAX commenting. By putting the browsers back-to-back with the SlickSpeed test, we’ll be able to find out exactly which ones will give us the better JavaScript performance (this is what really matters on a day to day basis).

    Pretty much none of the browsers were able to complete all of the tests error-free, and so we’re focusing purely on the speed. We ran each test three times, totaled the runtime (measured in milliseconds) for all four libraries, and then averaged the results. In the parenthesis you’ll see the results of each test we ran before averaging them together (the overall smaller number is better):

    browser wars javascript

    1. Safari 3.1: 447.33ms (407,536,399)
    2. Opera 9.5.9841 Beta: 502.00ms (523,456,527)
    3. Firefox 3 Beta 4: 909.00ms (921,904,902)
    4. Opera 9.26: 1036.33ms (992,1034,1083)
    5. Firefox 2.0.0.12: 1507.67ms (1523,1472,1528)
    6. Internet Explorer 7: 5944.33ms (5965,5998,5870)
    7. Internet Explorer 8 Beta: 6690ms (6245,7206,6619)

    It looks like the new Safari 3.1 takes the crown on this set of tests!

    –Page Load Times–

    I was trying to figure out what the best method would be to measure page load times in all the browsers. Sure some of the browsers report how long it takes for a site to load, but we wanted a universal way that would work across all of the browsers. We figured sitting here with a stop watch just wouldn’t cut it.

    After some searching around I came across the Numion Stopwatch, which is a great tool for measuring how long it takes for a site to load. It’s entirely encased in a website so that there is nothing to install, and it uses JavaScript to notify you exactly how long it takes a page to load. From what I can tell it does a rather superb job!

    We ran the page load test three times on two different sites so that we could really see what the results were like. We used the Official Google Blog and the Yahoo Search Blog for our benchmarks, and there are very good reasons that we chose those sites. Both of those serve up nearly the exact same content every time you load the site. If I chose a site such as ours we would run into the issue of different ads being served in the different browsers.

    For each test the browser started with a cleared cache, and the three results were averaged together to get a single overall load time (measured in seconds). In the parenthesis you’ll see the results of each test we ran before averaging them together (the overall smaller number is better):

    Note: I literally went and deleted each browser’s cache after each refresh just to remove any concern that a Control/Shift refresh was not deleting the site’s cache correctly.

    The Google Blog:

    browser wars googleblog

    1. Opera 9.5.9841 Beta: 2.498s (2.129,2.606,2.760)
    2. Safari 3.1: 2.798s (2.619,2.963,2.811)
    3. Firefox 3 Beta 4: 3.009s (3.167,3.347,2.513)
    4. Opera 9.26: 3.360s (3.606,3.215,3.260)
    5. Internet Explorer 7: 4.235s (4.402,3.800,4.504)
    6. Firefox 2.0.0.12: 4.485s (4.852,4.258,4.346)
    7. Internet Explorer 8 Beta: 4.602s (4.409,4.238,5.158)

    The Yahoo Search Blog:

    browser wars ysearchblog

    1. Safari 3.1: 1.411s (1.547,1.312,1.375)
    2. Opera 9.5.9841 Beta: 1.599s (1.578,1.625,1.593)
    3. Opera 9.26: 1.677s (1.547,1.625,1.860)
    4. Firefox 2.0.0.12: 1.771s (1.797,1.844,1.672)
    5. Firefox 3 Beta 4: 2.055s (2.430,2.143,1.591)
    6. Internet Explorer 7: 2.594s (2.563,2.219,3.000)
    7. Internet Explorer 8 Beta: 3.365s (2.875,3.750,3.470)

    It looks like Safari 3.1 and Opera 9.5 both do really well in these tests, and I would consider it a tie between the two.

    –Memory Usage–

    This is probably one of the areas that interests most of you. Memory usage has become a big concern these days as we’ve seen some browsers (*cough* Firefox *cough*) use up insane amounts of our computer’s resources. So we took each of the browsers seen in the previous tests, developed a list of sites to open in each, and went at it.

    We’re not going to list out all of the sites that we decided to visit, but they are all sites that are extremely popular. Places like MySpace, YouTube, CNN, and others were all included as we chugged through our four different memory usage readings:

    1. Started the browser, and took a memory usage reading.
    2. Loaded 10 predetermined sites in tabs, and took a memory usage reading after all the sites finished loading.
    3. Loaded 15 more predetermined sites in tabs (totaling 25 sites), and took a memory usage reading after all the sites finished loading.
    4. Let the browser sit for 10 minutes with the 25 tabs open, and then took a memory usage reading.

    And now for the results! The table below lists the different browsers and the result from each test mentioned above. The best browser from each test is highlighted in green, and the worst is highlighted in red.

     Startup10 Sites25 Sites25 Sites After 10 Minutes
    Firefox 2.0.0.1214.9MB110.8MB151.6MB172.8MB
    Firefox 3 Beta 421.3MB68.9MB118.2MB124.7MB
    Opera 9.2612.6MB71.9MB127.6MB133.1MB
    Opera 9.5.9841 Beta15.8MB98.3MB184.4MB186.5MB
    Internet Explorer 76.3MB134.1MB248.3MB249.7MB
    Internet Explorer 8 Beta5.6MB141.6MB244.2MB248.7MB
    Safari 3.125.2MB97.1MB191.6MB210.4MB

    For this round it’s clear that Firefox 3 Beta 4 walks away as the clear winner. Mozilla has obviously put some work into making Firefox 3 a more memory efficient browser than it previously was, and this is proof of that.

    I can’t say that I was surprised that some version of Internet Explorer almost always did the worst, but I was quite taken back that Internet Explorer 8 shows little improvement over version 7. Apparently that is not the focus of Microsoft right now.

    –Overview–

    It took us about 6 hours to compile all of the results that you see above, and I would say that doing this on your own is not really for the faint of heart. Things like not being able to run IE7 and IE8 side-by-side is really a time killer, but we wanted to be sure to include both versions in our results. And surprisingly the only browser that crashed on us was Internet Explorer 8 Beta when trying to open the 25 tabs.

    We’d love to hear any comments you may have regarding our results, but remember that what you’ll see on your computer will likely differ from what we see. The important thing to take out of the stats is how each of them relatively rank up against each other.

    Copyright © 2014 CyberNetNews.com

    Firefox 3 RC2… We’re almost there!

    This article was written on June 04, 2008 by CyberNet.

    firefox 3.pngMozilla has released Firefox 3 RC2 today which is right on schedule, and that means we might still be on for a June launch of Firefox 3! It’s even possible that this could be the last Release Candidate before Mozilla shoots for their world record.

    This time around there’s probably nothing that you’ll notice as being different from Release Candidate 1, which is a good thing. At this point they are focusing only on bugs that could keep the user from having a great experience with the browser, and if all looks well in this release it could be signed-off on to be the final version. *cue marching band*

    Mozilla hasn’t officially made the Firefox 3 RC2 announcement yet, but it will be coming in the next day or so. That also means the automatic update to RC2 won’t be available until then, but they have posted the files up on their FTP. Just like with previous releases I’ve put together a downloader for those that want to give the new version a whirl right now. And don’t worry, it balances the load between all of the mirrors unlike some of the sites that post direct links to the FTP:

    For those of you waiting for your favorite add-ons to get upgraded… hopefully you won’t have to wait too much longer! I do have to say that the add-on developers are much more attentive to the release of Firefox 3 compared to that of Firefox 2.

    And once you get Firefox 3 RC2 up and running I highly recommend that you checkout the AwesomeSearch extension. It’s quickly become a must-have for me.

    Thanks to Cody for the tip!

    Copyright © 2014 CyberNetNews.com

    Download Free Windows 7 Themes & Desktop Backgrounds

    This article was written on January 03, 2012 by CyberNet.

    Windows 7 themes

    I know a bunch of people who customize the appearance of their desktop, but many don’t know that Windows 7 supports themes that rotate between desktop backgrounds and automatically adjusts the color of the Aero interface. The thing most users don’t know is that Microsoft actually has a site that offers Windows 7 themes. The themes are broken up into various categories including holidays/seasons, landscapes, automotive, and much more. In all there are about 180 available including a theme for Angry Birds.

    If you’re running an older version of Windows that doesn’t support themes you can always jump on over to Microsoft’s desktop background page that includes over 200 high-quality backgrounds you can grab. Many of them are really amazing and are definitely worth browsing if you haven’t done so already.

    Browse Windows 7 Themes
    Browse Desktop Backgrounds

    Copyright © 2014 CyberNetNews.com

    Firefox Tab Groups – Like Folders for your Tabs

    This article was written on February 26, 2007 by CyberNet.

    This morning when I woke up I noticed that I had more than 20 tabs open in Firefox that I still needed to sort through and read. Most of them were articles that I found the previous day, but never got around to reading. Despite having a 24” monitor I still find that having 20 tabs open takes up a lot of room, and what I really needed was a folder-like structure for my tabs.

    Some of you might be thinking that I should just bookmark the items into a temporary folder to read later on. That’s not a bad idea, but I’ve tried that before and I typically forget about reading them. So I did what every Firefox user does…went and searched Mozilla’s Firefox Extension page for something that would fulfill my needs.

    I was pretty disappointed that I didn’t find anything. I then turned to Google trying to see if I could find something that would do what I was looking for. After about 30–minutes I came across an extension called Tab Groups that was just released three weeks ago. My initial thought was “why didn’t I see this on the Firefox Extension page?” which I later found out was because the developer has not yet submitted this to Mozilla.

    Firefox Tab Groups

    It sounded like exactly what I needed so I went ahead and installed it. As you can see in the screenshot above it creates a new toolbar that essentially adds tabs to your tabs. Here are features it currently offers:

    • Tab Groups: Grouping of tabs into groups with a tab bar to manage groups, only the browser tabs in the currently selected group are shown.
    • New tabs are opened in current group
    • Drag And Drop of tabs between groups
    • Renaming of groups
    • Support for Session Store (Firefox 2 built in session storage) and undo-close tab (again only the one built into FF2). In other words tab groups will be restored along with tabs with restored tabs being placed in the correct group.

    This extension is only for Firefox 2 users which makes sense since it uses the built-in session restore to remember tab groupings. There are some known bugs that you should also consider before getting cozy with the extension, such as a lack of “group overflow” management. That means if you have too many groupings they will extend beyond the edge of your Firefox window and simply run off of the screen without allowing you to scroll and see them.

    I also began thinking about some features that would be pretty cool to see in this extension, such as bookmarking a whole group of tabs. Then I noticed the Planned Features section for the extension which says that particular feature should be in version 0.05 which is currently three releases away (it’s currently at 0.02). Looking at the Planned Features page will make you realize that the developer has a lot of things he/she would like to do with the extension, and I can’t wait.

    I’m currently using this on a Firefox 3 nightly and it is running great, except for a small gap between the grouping tabs and the Tabbar (pictured above), but that is something I can live with. I’m actually not sure if that problem is with Firefox 3 or if it is the visual properties of Vista that’s causing the problem…either way it doesn’t detract from the value that the extension adds.

    Tab Groups Homepage
    Here is a mirror of Tab Groups 0.2 (I recommend downloading from the homepage since it will probably be frequently updated).

    Copyright © 2014 CyberNetNews.com

    Firebug 1.5 Web Development Tool for Firefox Released

    This article was written on January 20, 2010 by CyberNet.

    firebug 15.png

    Firebug is well known to web developers as one of the best tools to have at your side when trying to debug website issues. Many have said that it’s a priceless tool, and at one point Joe Hewitt wasn’t sure if it would remain free. He questioned whether users would be willing to shell out $15-$25 for an extension, but he strayed from the paid route in favor of keeping it open source.

    Here we sit just days after the 4-year mark of the first public release, and this incredible extension has been downloaded well over 21 million times and has roughly 2.5 million people who start up a version of Firefox that is Firebug-equipped. With nearly 800 reviews this extension has an average 5-star rating, which is an incredible accomplishment no matter how you spin it.

    The cherry on top is that Firebug 1.5 was released yesterday after about 6-months of development time. The release notes for this version are quite extensive, and you’ll quickly see that the update touches on just about every area that the extension covers. One of the more important things may be that Firebug 1.5 includes support for Firefox 3.6 that should be available sometime soon (possibly this week from what I’ve read). Here’s a quick rundown on the areas that have been improved upon:

    • Mike Radcliffe’s Inspector. A key feature, now solid as a rock
    • Jan ‘Honza’ Odvarko’s expanded and refined Net panel, with accurate timings
    • Steve Roussey’s reworking of HTML editing and entity support
    • Kevin Decker’s CSS and Style side panel improvements
    • Support for dynamic, graphical breakpoints through out Firebug
    • Tested support for the soon-to-be-released Firefox 3.6

    If you use the add-on stop by and leave a quick review. It never hurts to say thanks for developing such an extensive and free add-on.

    Firebug Homepage (Firefox extension)

    Copyright © 2014 CyberNetNews.com