• WinExtra Blog
  • Member List

Log-in Status

Register or log in - lost password?



Search

WinExtra on Twitter

Follow WinExtra on Twitter

Advertisement

Hot Conversation Tags

Apple avatars bbPress Broadband cat DSL FreeNAS Google Gravatar humor images iPhone Mars mice microsoft NASA new digs notifications obama passwords podcast privacy pun RAM search security Software SSD steven to-do list TSA Twitter Universe utility welcome Win7 Windows Windows 7 WinExtra on Windows

Connecting

Advertisement

Stats and stuff

Members Online Now: Billy
Members Online Today: Billy, PJ, Nate, Garry, Jim Lee, StarLab, EricH, xcarlosx, Pierre, Ron, Infinidean, Callow, David
49,734 posts in 9,847 topics
over 66 months by
87 of 187 members. Latest: kater112, kjones233, josephrettig, hdoegbp, kardelen133
WinExtra Community Forums » Software, Hardware & Web Help Section » Tutorials, FAQs & Other Helpful Stuff

Ubuntu Server and MythTV

Started 2 years ago by PJ

There are 9 posts from 6 people

Latest reply from george.mikal

  • Related Topics:
    1. FreeNAS
    2. Bye bye NAS hello WHS 2011 backup server :)
    3. IRC server?
    4. Server Attention Span
    5. Ubuntu/Linux problem

Tags:

  • FreeNAS
  • home media server
  • MythTV
  • MythVideo
  • MythWeb
  • Transmission
  • TV tuner card
  • Ubuntu server
  • Webmin
  • Webmin Ubuntu

  1. PJ

    offline
    Member

    This is part 2 of my continuing saga of trying to create my own home media server. The first part can be found in the post titled "FreeNAS".

    After having given FreeNAS a run I figured it was time for me to give Ubuntu Server 9.10 Karmic Koala (32-bit flavor, thank you very much) and MythTV a spin. FreeNAS was a relatively easy setup. Karmic and MythTV has been everything short of a nightmare. Getting Karmic to install was the easy part. To ease things even more, I installed an awesome program called Webmin. Webmin is a network admin's knight in shining armor. You can find it here. In their own words:

    Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the screenshots.

    At the risk of sounding like I'm raving about a program I will add this: there are frequent updates, tons of administrative modules, it's free, and I couldn't even begin to tell you what the support section is like because I've never needed it - it's one of those awesome programs that simply does what it's supposed to do. Fantastic stuff.

    Through Webmin I was able to setup Samba and Windows networking and get my network folders published to my home network in less than 15 minutes. From that point, I uploaded all my music, videos, pictures and what not to the network folders. Network attached storage has never been easier.

    I even was able to install Transmission, a BitTorrent add-on that lets me drop a torrent link into one of my network folders and a few minutes later the download auto-magically appears in the networked torrent download folder. Awesome stuff!

    Then I installed MythTV, follow this link for more info, and my life suddenly became an odd mixture of heaven and hell.

    Again, in their own words:

    MythTV is a Free Open Source software digital video recorder (DVR) project distributed under the terms of the GNU GPL. It has been under heavy development since 2002, and now contains most features one would expect from a good DVR (and many new ones that you soon won't be able to live without).

    There's much more that's not said in that description but we'll address that later.

    The initial setup was quite easy:

    sudo apt-get install mythtv

    The amount of configuration that followed was a nightmare. My shared media resided in folders on a separate drive which meant I had to change all of the settings in MythTV to point to the correct locations. Should have been easy. On the MythTV forums they claim it should be easy. "Should be...." Except there's several places where the changes need to be made and several more where they can be made and even a couple where they might be made if the code had been kept up to date. Do I modify the .config files directly or should I use the frontend interface? How about the backend interface? What about all of them? Well, all of them is what I ended up using. And yet, the settings never seem to stick. For example: one of the plugins is called MythVideo. MythVideo manages all of your movie or video files. MKV is welcome here. So is AVI, DIVX, M4V, M4P, ISO and a whole slew of other formats. Thank the fates above that there's finally a program that speaks all of those formats! Except, in this version there are some problems.

    ISOs don't play if you're using the "Storage Groups" but there's no instructions of how NOT to setup the Storage Groups. In other words, I was essentially led down the primrose path to establish Storage Groups (dynamic meta-groups that can include several storage areas) without being informed of the consequences. So, all that work and I couldn't get ISOs of my DVDs to work. That led me off to do research. A week later and I finally understand: get rid of the storage groups and I can play ISOs. So, how do I get rid of these storage groups. Not sure because apparently everyone knew not to set them up or once set up, nobody wanted to get rid of them. So now I'm waiting for the next version to come out which is supposed to resolve this issue. BTW, the current version is 0.22. The next version to come out will be 0.23. Not sure when that's going to happen though.

    Ah, yeah, almost forget the MythVideos section. I love it. A movie or video collection manager. Upload your video file to the storage folder and you simply hit the "scan for changes" button. The movie shows up right away in the index. Two more buttons on the movie window allow you to look up information about the movie on IMDB or edit the meta-data to your heart's content. Automatic population of the fields and images related to the movie is awesome! Check out the screen shot:


    This is a picture of the frontend manager. Frontend, in this case, being on the Ubuntu computer.


    This is a picture from the MythVideo web page on my Windows computer.

    They look pretty similar and pretty good. From the webpage, clicking on the title of the video causes it to be played in your web browser in awesome glory and sound! You can't control the video though. It's a play or not play affair. Unless you're watching from a Mac or an iPod Touch. Their embedded players have controls that will show up. Haven't tried my PS3 yet but I'm gonna get there. Have to re-terminate my LAN cables to the PS3....

    So.... What do I mean by heaven and hell? The heaven part is when MythTV works. The hell part is just getting it TO work. Installation of my TV tuner card is a prime example. I bought a Hauppauge HVR-1600 TV tuner card. A classic stand-by card that always works. Except under Linux. The drivers aren't really up to snuff yet. That meant I had to build my own from several different locations. Me. Build my own. From different locations. RRRRIIIIGGGHHHHTTTTT. What a joke that was. Three days in the making but I finally got it done. And the card still didn't work. I had to re-arrange card slots and re-install MythTV a few times to get it all done. And still, it doesn't work because I have Verizon FIOS which requires I use a cable TV box. And IR Blaster support for FIOS in MythTV doesn't exist yet. I'm screwed. Oh, yeah, MythTV used to stream TV over the network but that plugin broke with the introduction of version 0.20.... Go figure.

    For the moment, MythTV doesn't do it for me but I'm not ready to dump the Ubuntu install yet because it's working so damn well. I guess I just need to keep looking for other Media Center possibilities.

    Posted 2 years ago #
  2. James

    offline
    Member

    Linux = PAIN. It always seems to be one step behind the latest technology...

    Thanks for the write up. Very in depth and informative.

    Posted 2 years ago #
  3. Pierre

    offline
    Member

    James said:
    Linux = PAIN. It always seems to be one step behind the latest technology...

    It's not necessarily true. When a product is in version 0.something, you should expect problems, whether it's a Linux or a Windows program. At least with the Linux community, you can hope for faster response to your woes than with commercial Windows software.

    As for hardware drivers, Windows is so hugely prevalent – and the Vista fiasco so present to memory – that most hardware manufacturers bend over backwards releasing working drivers for W7. Unfortunately, it isn't so with Linux drivers…

    "If those who say bad things about me knew what I think of them, they'd say even worse." (Sacha Guitry)
    ------------------------------------------------
    "Earth is the cradle of mankind. Nobody can live in the cradle forever" (Constantin Tsiolkovski)
    Posted 2 years ago #
  4. PJ

    offline
    Member

    Pierre said:
    At least with the Linux community, you can hope for faster response to your woes than with commercial Windows software.

    That is one thing I purposely did not do; go to the Linux community for help aside from what I could read on the internet. With my luck, I'd find the one Linux guru that would talk me through everything and I'd be insufferably happy with the final install. What's wrong with that?, you may ask.... I'd never be able to replicate the installation on my own without a Linux guru at hand. One crash and I'd be back at square one. That's why the whole process of investigation and understanding is a major aspect of the installation.

    The two extremes of Linux exist here.
    1. Webmin, with it's polish and ease of installation/use, is one of those programs that makes Linux shine.
    2. MythTV really serves to bring to light all of the problems and nightmares that exist with Linux. The documentation is far below sub-standard. Many of the Wiki pages refer to MythTV versions that are two or three .x versions old which could easily mean you're reading about an unrelated version. The updates are unpredictable, at best. The plug-ins are reliant upon other programs that may or may not be installed. Often, only once the plug-in is installed will you find out if you are missing other plug-ins, modules, programs or libraries. But then, that's only after wading through reams of error messages....

    As Pierre indicated, 0.x versions of software require caution. Sadly, MythTV has been in 0.x status for a couple of years and will probably stay there for several more. That fact alone makes me reconsider using it as my primary media server.

    Allow me to re-iterate something: I'm extremely pleased with my Ubuntu Server install and am loathe to tear it down. Indeed, everyday I'm more convinced than ever that if I do tear it down it'll be to replace it with a more powerful machine running a 64-bit version.

    Posted 2 years ago #
  5. phreeBase

    offline
    Member

    I'll never forget the time I had trouble with a linux app, that was in a case weirdly similar to yours, the whole reason that I had installed linux on that particular machine.

    After a few days I asked for the help of a guru, who helped me set things up perfectly. The guru was the author of the app, which was a very well known one in the linux world at that time.

    Posted 2 years ago #
  6. Nate

    offline
    Member

    Thanks, PJ. I just installed Webmin on Ubuntu which runs as a virtual machine under Parallels on my iMac. I screwed up in one spot but was unable to recover.

    What matters is not the years in one's life but the life in one's years.

    Adlai Stevenson - more or less.
    Posted 2 years ago #
  7. PJ

    offline
    Member

    Nate said:
    Thanks, PJ. I just installed Webmin on Ubuntu which runs as a virtual machine under Parallels on my iMac. I screwed up in one spot but was unable to recover.

    You're very welcome.

    I am sorry to hear that you couldn't recover. From what I understand you can do a simple

    sudo apt-get remove webmin

    and then reissue a

    sudo apt-get install webmin

    to reinstall. That should give you the opportunity to reselect all of your options, if there were any.

    For anybody else that's interest and just in case I didn't make sense the first go around, Webmin is a web-based front end to configure a server. In this case, my Ubuntu server was headless, meaning no monitor, keyboard or mouse. I conduct server administration functions through SSH or a web page. Typically something like entering "https://machinename:10000" as the address in Internet Explorer. From there you have a nice and easy to understand method of setting up options as well as updating Ubuntu packages and a whole slew of other things.

    Posted 2 years ago #
  8. Nate

    offline
    Member

    Thanks, I did recover but not quite as I wanted and didn't know how to uninstall. I'll re do it this evening.

    Posted 2 years ago #
  9. george.mikal

    offline
    Member

    yes agreed with PJ

    george
    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

WinExtra Community Forums » Software, Hardware & Web Help Section » Tutorials, FAQs & Other Helpful Stuff
[ Top ]

WinExtra Community Forums is proudly powered by bbPress. | Theme by Braincell Soup | Stats: Web Analytics