EDU: Stream your HD Videos, music, and pics to your TV, for HALF the cost of an HTPC!

Discussion in 'OT Technology' started by Blazed Monkey, Jun 16, 2009.

  1. Blazed Monkey

    Blazed Monkey It puts the lotion on its skin....

    Joined:
    Oct 30, 2002
    Messages:
    15,569
    Likes Received:
    0
    Still watching all your HD Movies and Videos on you PC? Fuck that shit, who wants to sit at their computer for 2 hours just to watch a movie, when you can watch it on your big ass HDTV in the comfort of your recliner. How about having a totally SILENT device that can stream all your videos, music, and pictures, play any HD format that you throw at it, and be HALF the cost of an entry level HTPC. Well, I'm gonna teach you how :wavey:


    Mmmmmm, sexy:

    [​IMG]
    [​IMG]







    It's time to get yourself a Popcorn Hour: http://www.popcornhour.com/onlinestore/




    Now, just follow the EDU. Yeah, I know it looks long and complicated, but I assure you, it will take you less than 30 minutes. I spend a lot of time explaining the 'WHY' behind things, that way you know not only 'how' it works, but you know 'why', that way if you have a problem, you are more likely to be able to fix it yourself :wavey:





    30 minutes to HD Awesomeness - A Quick and Dirty tutorial for YAMJ:

    NOTE: As of 6/19/09, this EDU has changed drastically. If you used it previously, please uninstall everything you did before, and start back from square 1. myiHome is ABSOLUTELY NOT NEEDED, and caused more problems than it was worth. Please follow the new EDU, sorry for the inconvenience.





    This is what we will be doing, it is all very simple, but because there are so many ways to set things up, and each person organizes their files differently, some steps with have multiple options. Choose what works best for your situation:


    Overview:
    1. Set up your video files properly so that all the movie posters, plot info, fan art, trailers, etc., will be downloaded automatically for you.
    2. Install Java
    3. Download YAMJ (this manages your shares)
    4. Download the Graphic User Interface for YAMJ
    5. Download MediInfo (this downloads all the imdb, plot info automatically)
    6. Group your files with Winbolic Link so that you have 1 big library
    7. Setup your share with YAMJ so the Popcorn Hour can see it
    8. Enjoy HD Awesomeness :run:









    1. Your files need to be set up properly for YAMJ to be able to get the imdb info correctly. There are 2 ways that I know of to do this:


    Option A:
    Create a NFO file for each video file you have:
    http://code.google.com/p/moviejukebox/wiki/NFO_Files
    For instance if you had the file twb_blood.mkv for "There Will Be Blood" MovieJukebox will try to search IMDB for a match, but in this case the closest match will be "Town Bloody Hall (1979)" which is clearly not what you want.

    How do you create an NFO file, you ask? Easy:

    Open notepad. (click Start->Run->notepad)
    Copy the full imdb URL of the movie into notepad (http://www.imdb.com/title/tt0469494/)
    Save the file with a name that exactly matches your movie file name, but end it in .nfo (if your movie file is named 'twb_blood.mkv', your NFO file will be named 'twb_blood.nfo')
    Make sure that the movie file and the nfo file are in the SAME folder.


    See, easy stuff :)



    Option B:
    Rename your movies files (this is so that YAMJ can index them properly and download the correct info):
    [​IMG]

    What is important here is the naming convention (Movie Name.4DigitYear.VideoSource.FileExtention, for example: A Christmas Story.1983.DVDRip.avi). It should not matter if you have each movie in a seperate folder, or if they are multipart files (2-cd rips), only that they follow the proper naming conventions. (In reality, the naming conventions don't even matter if you have the proper .nfo files that correspond to your video files.

    IMPORTANT NOTE: With YAMJ filenames, the minus "-" character is a special character used to delimit the episode/part title in filenames. Anything after this character is ignored, so please ensure multipart video tags are BEFORE any "-" in the filename. This hold true for long movie titles as well, like so:

    Incorrect: Dragon - The Bruce Lee Story.1993.DVDRip.avi
    This will index the wrong movie name, because YAMJ will search for the movie named 'Dragon' that came out in 1993, and it will get the wrong imdb info and cover art.

    Correct: Dragon The Bruce Lee Story.1993.DVDRip.avi

    (In my picture above, Aladdin 2 - The Return of Jafar.1994.DVDRip.avi DOES pull the correct IMDB info, but that is ONLY because there is no other movie named Aladdin 2 on imdb. Normally, this will not work out, so it is not a good habit to get into)

    Proper naming conventions for movies:
    http://code.google.com/p/moviejukebox/wiki/FileNaming
    http://code.google.com/p/moviejukebox/wiki/MultiPartVIdeos
    http://code.google.com/p/moviejukebox/wiki/VideoSources







    2. Download and install the latest Java Runtime Environment (the default installation options should be fine):
    https://cds.sun.com/is-bin/INTERSHO...[email protected]_Developer






    3. Download the latest version of YAMJ:
    http://code.google.com/p/moviejukebox/downloads/list

    Install YAMJ in the BASE of a drive. If you have any kind of space in your path name, this can potentially cause issues with Java playing nicely and it may not find your files. Also, make sure that the drive you put it on uses NTFS, and not Fat32 (i.e. NOT the drive you have Windows installed on). This will become VERY important later when we create our shares.
    Correct: D:\YAMJ
    Incorrect: D:\Program Files\YAMJ




    4. Download the latest version of YAMJ GUI Config:
    http://omertron.com/pch/YAMJ_GUI_Config
    (The download link is at the very bottom of the page underneath 'Attachment')

    Extract the files. For this tutorial, on my PC the location is: D:\YAMJ\




    5. Download MediaInfo:
    Windows 32bit users: http://sourceforge.net/project/down...iaInfo_CLI_0.7.16_Windows_i386.zip&a=92842140
    Windows 64bit users: http://sourceforge.net/project/down...diaInfo_CLI_0.7.16_Windows_x64.zip&a=16933690
    Other (find the file that matches your system): http://sourceforge.net/project/showfiles.php?group_id=86862&package_id=90612

    In your YAMJ install directory, create a new folder, and name it 'Mediainfo'.
    Extract MediaInfo to the path: \YAMJ\Mediainfo\



    At this point, if you have done everything correctly, you should have a folder that looks exactly like this:
    [​IMG]




    6. Defining your shares so that they all show up in the same place and you can use a single Library:

    Download and install the latest version of Winbolic Link:
    http://www.pearlmagik.com/winbolic/


    We are going to be using Winbolic Link to make Windows see all of our shared hard drives and folders in 1 single location, that way, no matter how big your video library is, or how many hard drives and folders it is spread across, you will only ever have to use 1 setup of YAMJ, and 1 folder to manage your entire collection in

    Start by creating a folder where you want all your stuff to be located. Make sure that if you have a large video collection, the spot where you create this folder has a LOT of free space, because this is where all your cover art, index files, movie posters, etc. will be stored. To give you an idea: If I scan just 1 of my movie hard drives, with 167 movies in it, this takes up about 110MB of space with all the data it downloads.

    For this example, I will be calling my folder 'Shares' and I will be placing this folder in my YAMJ directory. On my machine, it looks like this:

    D:\YAMJ\Shares\


    Now we do a little quick prep work:
    Go to all the folders or hard drives that you want to include in your library, and share those folders (This does NOT include the share folder you just created, we will do that one later). I want to share 2 folders for now:
    F:\MovieTest1
    K:\MovieTest2

    Navigate to the first folder you want to share. Right-click on it, then click 'Properties'. Select the 'Sharing' tab at the top. Put a check in the 2 boxes in the 'Network sharing and security' pane, and give your share a name, then click OK to close the window:
    [​IMG]


    If you did it right, it should now have a little hand holding the bottom of the folder to indicate it is shared, like this:
    [​IMG]



    Go through and do this with all the folders or hard drives that you want to include in you Library (remember, do NOT do your 'Shares' folder yet, that comes in a minute)



    Now, start Winbolic Link:
    [​IMG]


    You see the 2 windows? In the LEFT side window, browse to your 'Share' directory, and click on the 'Shares' folder. You will see at the top of that window that the path is displayed: D:\YAMJ\Shares indicating that this is the folder you selected. In the RIGHT window, browse to the first directory that you want to add to your library and click on the folder. Look at the top of that window and verify that the path is correct: F:\MoviesTest1

    Now, in the bottom left corner, where it says 'Name of link:', you will create a name for the link you are about to create. I named mine 'MoviesTest1'. This name will be what is displayed as the folder name for the junction we are about to create. It should look like this:
    [​IMG]

    Now, click the button that says 'Create NTFS Junction'. You will see a red folder be created under your 'Shares' folder in the left side window, labeled MoviesTest1 --) F:\MoviesTest1\, this is the junction you just created.

    _____________________________________________________________________
    PAUSE FOR WARNING: What we have just done is to create a junction between the folders we want to share, and the single folder that we want windows and our Popcorn Hour to see the shares in. You need to be EXTREMELY CAREFUL when you do this, and keep in mind that, if you delete something from the D:\YAMJ\Shares\MoviesTest1 folder, it is ACTUALLY being deleted from it's real location, at F:\MoviesTest1. You can remove this junction at any time by running WinbolicLink, choosing the red folder you want to remove the junction from, and clicking the 'Remove Link' button. The only safe way to remove this junction is to use WinbolicLink.
    _____________________________________________________________________

    Now, go through and do the same exact thing for all the other folders you want to be part of your library, with the left side window always pointing to your 'Share' folder. When you are done creating your junctions, go ahead and click the 'Quit' button in WinbolicLink to close the program.

    If you have done everything correctly, your 'Shares' folder should now look like this:
    [​IMG]


    If you navigate inside one of your folders, you will see this:
    [​IMG]

    Pay specific attention to the address bar, how it says: D:\YAMJ\Shares\MoviesTest1
    In reality, we are ACTUALLY looking at the contents of the folder: F:\MovieTest1



    What is actually happening here is that we have tricked Windows (and subsequently, the Popcorn Hour) into seeing it this way, which is what really allows us to keep our whole library in 1 place. Because Windows doesn't know any better, it thinks we are looking at the contents of a single folder, when in reality, we could do this for 50 different hard drives or folders, and Windows would see it as a single location.

    _____________________________________________________________________
    I'm gonna go ahead and repeat my warning here: BE CAREFUL! Simply deleting one of the folders you have created will not remove the junction, you will actually be deleting the contents of the REAL drive. If you want to remove the junction, use Winbolic Link.
    _____________________________________________________________________




    Now that we are done getting everything in 1 place, we can finally go ahead and right click on the 'Shares' folder, and use windows to share the folder on your network. The reason we couldn't do this before is because Winbolic won't allow you to add an NTFS junction to a folder that is currently being shared. Go ahead and do this now. For this tutorial, I have given this folder a "Share Name" of 'YAMJShares', so that I can find it easily later.







    7. Building your Library with YAMJ

    This is a 2 part process. First, we will tell our Popcorn Hour where our share location is. Second, well will use YAMJ to build our movie library for us so it can be displayed on our Popcorn Hour.


    Turn on your Popcorn Hour. On the left side menu, go into 'Setup', then go to 'Network Share'. Go over to the button that says "Browse" and click enter on your remote. This should bring up a list of your network with any workgroups that are part of your windows network. My windows workgroup name is 'BlazedM', and my computers name is 'Blazed'. On my TV, it looks like this:

    [​IMG]


    Find your 'YAMJShares' folder, and click enter on it. This should send you back to the final setup screen, where you will give this share a name that the Popcorn Hour will use to identify it. I have named mine 'OT, but you can name yours whatever you want, just keep in mind that this is CASE SENSITIVE when you go to use it in the next part. 'OT' is not the same as 'ot' or even 'Ot'':

    [​IMG]


    If you require a username and password for your network, enter that as well, than click 'Save'.


    If you click the 'Source' button on your remote, you should now see this new network source that you created in the list of sources.




    Now go back to your computer. Open the file called 'moviejukebox.properties' located in the YAMJ folder. You can do this with Notepad.

    Go the following line:
    # Default NMT path
    mjb.nmtRootPath=file:///opt/sybhttpd/localhost.drives/HARD_DISK/Video/

    Change this to read:
    # Default NMT path
    mjb.nmtRootPath=file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/OT/


    The 2 important parts you are changing are what comes after 'localhost.drives'. It should be /NETWORK_SHARE/OT/. If you named your Network Share something different than 'OT', than make sure you put that instead, remembering that this is CASE SeNsiTive. Save the file, then close it.


    In your YAMJ folder, double click on 'YAMJ GUI Config v0.43.exe' to run the program.


    You should now be looking at this:
    [​IMG]


    'Location of your movie directory to scan':
    Here, you want to click 'Select Dir', then navigate to the NETWORK PATH of your 'YAMJShares'.

    On my computer, to get there, I go to: My Network Places->Entire Network->Microsoft Windows Network->BlazedM->Blazed->YAMJShares, then click OK:
    [​IMG]


    'My video files are on:'
    click the radio button that says: 'on a Network Path on the NMT'
    A box should pop up asking you to input the IP Address of your Popcorn Hour.

    (If you don't already know what this is, you can find it by going to your Popcorn Hour, going into the 'Setup' menu, then going to 'Network', it will be listed at the bottom.)

    Input the IP address, then click OK. This should cause the drop down box on the right to automatically change to the correct Popcorn Hour Share name that we created earlier (OT). It will also update the 'NMT Path' line.



    'Location of where you want the jukebox to be stored:'
    Click 'Select Dir' and navigate to the LOCAL path of your 'Shares' folder and click OK. On my PC, this would be D:\YAMJ\Shares\


    Lastly, click the 'Add' button in the bottom left. A popup box will appear asking if you want to add a description to the Library, just click OK.

    If you have done everything correctly, another popup will appear telling you that the entry has been added to the library, go ahead and click OK.

    Your screen should now look like this:
    [​IMG]


    Click the 'Save' button, and select the YAMJ Install directory that contains the 'MovieJukebox.bat' file, and click OK. On my computer, this is located at: D:\YAMJ\


    A window will pop up asking if you want to go to this folder now, click Yes, and you will be taken to the folder. (At this point it is safe to close the YAMJ GUI Config)



    Double click on My_YAMJ.cmd, and a black window will come up and scan all your files. This will take quite a while depending on how big your library is. When it is done, it will tell you "press any key to continue", it is safe to close the window now.

    [​IMG]






    8. If you followed this tutorial correctly, you should now be able to enjoy your HD goodness. Go to your popcorn hour and turn it on. Go the the Media Sources page, and choose the Popcorn Hour Share that you created earlier (OT). You should be taken directly into the jukebox, should look something like this:

    [​IMG]


    Any time you add a new movie to one of your share folders and you want to update, simply run the My_YAMJ.cmd file again, and it will update the library. It will only touch the files that are new, so it doesn't take NEARLY as long as the very first time you run it.






    Everything should be working properly ( :x: ), so sit back, relax, and enjoy your awesome new media player :wavey:
     
    Last edited: Jun 20, 2009
  2. Blazed Monkey

    Blazed Monkey It puts the lotion on its skin....

    Joined:
    Oct 30, 2002
    Messages:
    15,569
    Likes Received:
    0
    this space reserved for part 2 of the EDU :run:


    For now, some sexiness using Dynamic YAMJ (part 2 of the EDU, coming tomorrow)

    Ability to group movies as box sets, or break them out into individual movies, with the click of 1 button:
    [​IMG]
    [​IMG]




    Interior menu:
    [​IMG]
    [​IMG]




    You can also toggle the sidebar menu to show different categories, or remove it completely if you want, and change the number of covers shown per page, on the fly:
    [​IMG]
    [​IMG]
     
    Last edited: Jun 16, 2009
  3. Jim311

    Jim311 New Member

    Joined:
    Jul 7, 2002
    Messages:
    100,368
    Likes Received:
    0
    Location:
    Gainesville, FL
    I still think I'd rather have an HTPC :o
     
  4. nitrane

    nitrane OT Supporter

    Joined:
    Apr 28, 2004
    Messages:
    43,228
    Likes Received:
    4
    Location:
    oz
    Page one of the clusterfuck :wackit:
     
  5. Charliesc

    Charliesc Pain is an illusion

    Joined:
    Dec 16, 2003
    Messages:
    8,953
    Likes Received:
    0
    Location:
    New Orleans
  6. Grape_Ape

    Grape_Ape OT Supporter

    Joined:
    Sep 1, 2003
    Messages:
    63,412
    Likes Received:
    29
    Location:
    The A
    seems like too much work
     
  7. adamfd3s

    adamfd3s OT Supporter

    Joined:
    Sep 7, 2004
    Messages:
    11,177
    Likes Received:
    0
    Location:
    Falls Church, VA
    didnt read throughly, but does the newest version of myihome support .iso .mkv and dvd files?
     
  8. FunkyMonks

    FunkyMonks OT Supporter

    Joined:
    Aug 7, 2003
    Messages:
    9,968
    Likes Received:
    0
    Location:
    Rocky Hill, CT
    RT @BlazedMonkey :mamoru:

    :bigthumb:
     
  9. charger90

    charger90 OT Supporter

    Joined:
    Aug 1, 2007
    Messages:
    28,518
    Likes Received:
    47
    Location:
    San Diego
    having my HTPC inside my closet connected to my tv>*

    XBMC :bowdown:
     
  10. ebr0t

    ebr0t You do. I agree with that. That's deep and true. T OT Supporter

    Joined:
    Sep 8, 2003
    Messages:
    164,561
    Likes Received:
    8
    Location:
    West Palm Beezy
    oh snap
     
  11. lump

    lump New Member

    Joined:
    Jan 18, 2006
    Messages:
    17,629
    Likes Received:
    0
    Location:
    Oklahoma
  12. Blazed Monkey

    Blazed Monkey It puts the lotion on its skin....

    Joined:
    Oct 30, 2002
    Messages:
    15,569
    Likes Received:
    0
    .mkv and DVD files are supported natively, take a little setting up to get the .iso's going, but yes, they will play with full menu's and all.
     
  13. Chaser

    Chaser New Member

    Joined:
    Feb 15, 2006
    Messages:
    15,596
    Likes Received:
    0
    Location:
    Nashville
    hmmmmm
     
  14. ebr0t

    ebr0t You do. I agree with that. That's deep and true. T OT Supporter

    Joined:
    Sep 8, 2003
    Messages:
    164,561
    Likes Received:
    8
    Location:
    West Palm Beezy

    from another thread.
     
  15. Meat Popsicle

    Meat Popsicle What's that smell? OT Supporter

    Joined:
    Apr 26, 2002
    Messages:
    121,942
    Likes Received:
    185
    Location:
    The Middle
    yeah, I'll just stick with the HTPC. :hsugh:
     
  16. Teneight

    Teneight Guest

  17. HoodRich

    HoodRich Professional Street Nigga OT Supporter

    Joined:
    Feb 2, 2004
    Messages:
    75,660
    Likes Received:
    412
    hoodrich in, i've been delaying getting PCH because i like the way xbmc lays the artwork out
     
  18. Mugatu

    Mugatu Ask me about market research. OT Supporter

    Joined:
    Oct 21, 2001
    Messages:
    245,192
    Likes Received:
    0
    But you can use almost any old computer as an HTPC and that is cheaper still.
     
  19. drake

    drake OT Supporter

    Joined:
    Jul 10, 2002
    Messages:
    4,622
    Likes Received:
    3
    Location:
    East Bay
    :cool: took me about 2 days to get my stuff working after unboxing.
     
  20. Blazed Monkey

    Blazed Monkey It puts the lotion on its skin....

    Joined:
    Oct 30, 2002
    Messages:
    15,569
    Likes Received:
    0
    no, you don't have to have a HDD installed to reskin. I don't have a HDD in mine, and I've totally reskinned it.


    A HDD comes into play if you want to do BitTorrent or Newsgroups natively on the PCH, or if you want to use it like a mobile media device: throw a giant HDD in there, move over your movie collection, and you can take it anywhere you go with you, the thing is TINY, and totally silent.
     
  21. adamfd3s

    adamfd3s OT Supporter

    Joined:
    Sep 7, 2004
    Messages:
    11,177
    Likes Received:
    0
    Location:
    Falls Church, VA
    decoding in hardware
     
  22. Blazed Monkey

    Blazed Monkey It puts the lotion on its skin....

    Joined:
    Oct 30, 2002
    Messages:
    15,569
    Likes Received:
    0
    negative ghostrider
     
  23. drake

    drake OT Supporter

    Joined:
    Jul 10, 2002
    Messages:
    4,622
    Likes Received:
    3
    Location:
    East Bay
    and play 1080p? My old computer is the one I'm still using so the PCH was a great way to get 1080p to my tv. Plus when I get around to picking up a harmony remote, I'll have a 1TB+ setup for less than $500. Can't say the same for an HTPC capable of 1080p plus storage plus remote.
     
  24. RoudyruffKK

    RoudyruffKK OT Supporter

    Joined:
    Jan 22, 2004
    Messages:
    55,321
    Likes Received:
    0
    Location:
    Seal Beach, CA
    i still prefer an xbmc htpc :)
     
  25. SpyderMonkey

    SpyderMonkey OT Supporter

    Joined:
    Sep 26, 2003
    Messages:
    4,568
    Likes Received:
    0
    Location:
    Miami, FL

Share This Page