O'Reilly Builds a MythTV Box
enrico_suave writes "While the Broadcast Flag battle continues, it's still legal to put together your own HDTV PC HTPC/PVR. O'Reilly has posted part 1 in a series of articles describing the ins and outs of Building a MythTV Box" From the article: "For now, the good news is that it is still legal to put together your own home-theater PC. Parts are now cheap enough that it is no longer ridiculous to build a PC specifically to handle TV for you, much like the VCR in Douglas Adams's Dirk Gently's Holistic Detective Agency..."
I am still waiting on the CVS camera!
RTFA again for the best results.
Hi,
How is Myth's firewire support for DTV cable boxes shaping up? Preferably HDTV. Is there a DTV howto yet, with tips for receivers generally and particular models particularly?
I'd consider swapping my TiVo out (given its really crappy slow performance lately, lack of digital audio or video, and monthly fees) but it's easy to use and having to go thru config hell wouldn't be worth it for me if I didn't get anything nifty in terms of features..
Is it just me, or is this some sort of geeky, nerdy analogy that nobody here is going to get? I wonder if it is just me.....
Hmm....
maybe.
It will be interesting to see how it turns out. This is what initially brought me to the linux fold, and I'm working on my own project, which is following a lot of the same hardware paths as the author.
insert inflammatory anti-microsoft comment here
I've been thinking lately about building a simple computer a couple of firewire and USB2 ports, a norton commander-type interface, a good video encoder, and a bunch of good video decoders. Seems to me that's all you'd need.
Bah. The broadcast flag will not make it illegal for you to build your own home-theater. How could they stop you from doing it? You just won't be able to record (or watch?) anything.
---
"Follow the links," he said.
Man is a slave because freedom is difficult, whereas slavery is easy.
Given the good enough performance and price ($5/month) of my Tivo, I just can't justify the time and effort. My brother-in-law (aka the King of DIY) made one and he is constantly wrenching that thing.
Systm had a video how-to of building a MythTV box. Having seen the short segment (and having assembled a PVR before it), I am surprised that the article is "Part 1."
Until then, I'm stuck with consulting the massive tome of Myth links I've collected over the years, half of which are out-of-date, or unmaintained (although the official docs are a good effort). Would be nice if O'Reilly brought their professionalism to it.
One thing I've never figured out - why aren't there more companies mass-marketting and selling these? How come say, Phillips or some other company hasn't picked this up and prettified it to sell to the end consumer who's never heard of Linux? (It's not like companies haven't taken Linux and put it inside devices to sell to the "Just Works" crowd - all that embedded stuff, for example, a lot of routers/firewall products etc.)
Looking at the article, I'd have to say it rates 5 out of 5 - truly up to O'Reilly's normal standards - well set out, doesn't talk down to users, and pretty pictures...*in colour* (man...talk about innovation...I have *never* seen a colour O'Reilly article/book...althought since this is /., I give it 5 mins before somebody finds one, in some random alternative universe somewhere).
This is the second article in as many days about something that that already has had 2,000 articles written about it.
"Results 1 - 10 of about 30,400 for build mythtv box. (0.28 seconds)"
Interestingly enough, the O'Reilly article is the #1 Google hit, and it has a publication date of 6/22. Today is 6/28. Wow, that's pretty fast!
The article fails to mention why Bill O'Reilly decided to build a MythTV box, and why I should care.
Oh wait, it was the other O'Reilly? Nevermind...
I'm currently building a MythTV system on a P4 1.5GHz. I've got it running pretty well so far in Gentoo under EvilWM. The instructions I'm trying to follow are here. They're pretty complete, and even though they don't match my setup exactly, I've only run into a couple hiccups so far. It involves using Zap2It or XMLTV to download the listings, setting up your IR remote, configuring X, and more. I highly suggest using it if you want to set up your own MythTV box.
I am scientifically inaccurate.
"Douglas Adams's Dirk Gently's Holistic Detective Agency"
I bet he calls it HDTV PC HTPC/PVRbert. HAHAHAHA!!!!!11 (ala Catbert, Dogbert, etc)
ohh shit. i just realized that was Scott Adams. I'm a 'tard. i'll save you guys the time and punch myself in the nuts....
Everyone eelse has and it worked for me.
http://wilsonet.com/mythtv/
"Not all chemicals are bad. Without chemicals such as hydrogen and oxygen, for example, there would be no way to m
So, what's the difference between this story of someone setting up yet another MythTV box and the previous dozen? The story was rather pointless in the first place... This is making me wish for yet another case mode "review" instead...
While I don't have a color O'Reilly book, my copy of Practical PostgreSQL, which I bought at Barnes & Noble, has the wrong spine colors. The black part at the top is pink and the large pink area is white with pink writing.
No one gives a shit
You must be new here ... wow that's the second time i've said that today! I'm on a roll
I am Spartacus
Bill O'Reilly: Linus, haven't you... I mean... let's take it from the top here. You make a program, for lack of a better term, that enables people to use computers without paying for any software whatsoever. Isn't that considered illegal in the court system? Isn't that piracy by any modern standard?
Linus: Well, the system is an operating system that is maintained by many people. I just make the kernel. The userland is built by academics ar...
Bill O'Reilly: Wait a second! Wait a second! You are saying that academics build this, and trying to give it away for nothing, for the purpose of running commercial entities out of business?
Linus: No, that's not true at all... we build software to give it away to anyb...
Bill O'Reilly: And what's this I hear about writing software to enable pirating of television programs? You understand that we have men and women, DYING OVERSEAS, to protect our way of life, and our way of life is CAPITALISM... where's the logic in what you are doing?
Linus: Bill, I don't think it's a matter of capitalism but rath...
Bill O'Reilly: Awwww come on! COME ON! You're just... you know, you smug academics elites are all alike. You just want to take and take and take... and give away at the expense of the America pulbic! Well, I'll tell you -- we AIN'T buying it on the Factor. We ain't buying it one bit. And if you're smart, you'll wise up... next up on the Factor, some people claim that liberals eat live human fetuses. We'll investigate and show you how they're right and what you can do to stop it.
It will STILL be legal to build your own DVR even with the broadcast flag, you'll just have to purchase a broadcast flag enabled TV card. Don't let facts stand in the way of your warped reality though. What's illegal now, and still will be even without the broadcast flag, is distributing digital recordings on the internet. The broadcast flag simply adds a layer of enforcement not currently present.
Here is a good mythTV on FreeBSD howto:
http://mythtv.son.org/tiki-index.php
Personally, I use xdtv for watching/recording tv on my FreeBSD machine.
I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
In my recent quest to build a MythTV box, I have discovered that building the system is not the difficult part. The challenge has been to get MythTV running smooth and stable.
;)
[rant mode ON]
I think that it's a terrific project, I just wish that there was a little more consensus and standards between all these different components for the project. MythTV's compile reference system is Debian. The drivers for the HD-3000 are Red Hat/Fedora. Knoppmyth, Gentoo, Ubuntu, Mandriva, all seem to have their little quirks - can't we all just get along?
[rant mode OFF]
"What do you think?" "I think 'What, do you think?!'"
1394 from cable boxes is a no-go. Basically, the cable companies are encrypting the signal with 5C so you can't get at the picture. Different providers are doing different amounts. Mine blocks the lot. :(
Heh, hasn't the author ever heard of a rheostat?
He is frentic about the sound of his system but is using a case with a bunch of little buzzy fans.
And he didn't notice that the motherboard had a fan? Ha, I can tell he researched real hard.
But he does make a valid point, all of these nifty entertainment center type cases that I have seen use little noisy fans. For that reason I ended up going with an Antec Sonata for my mythtv box, it has 120 mm fans and a special molex connector off of the power supply that is just for fans and auto slows with a temp sensor.
Plus he spends extra on a gig of ram which is of no use to mythtv but then admits saving ten bucks for 40 gigs of hd space, the most important thing to mythtv. What a moron...
For those impatient, there is KnoppMyth - a Knoppix based Live CD that runs MythTV. Link here It looks good, but it doesn't run so well on my P3 450 Mhz. ;-)
AFAIK, not with comcast. Their HD DVR box at least transfers the video through firewire unencrypted. Not sure about other boxes, but I would not call firewire a "no-go".
Judging by the number of digits in your userid #, you're not exactly an old timer, either.
I hate to be the barer of bad news... however more and more cable companies, at least here in the US are moving towards having most, if not all of their digital offerings encrypted.
Buying a QAM demodulator is easy, getting it to decode an encrypted cable network is not, and such cards that are capable of this sort of work on cable are... really non existent.
While such a PVR is nice, if you want HD programming, you are effectively limiting yourself to OTA ATSC stuff, which as we know is pretty feeble and will remain that way, just as OTA analog tv was feeble, as an encouragement to have you spend a few bucks a month for more channels through your local cable company.
Don't even get me started on the subject of QPSK (the modulation method used for digital satellite television).
Help Brendan pay off his student loans
So far, the guy has video working, but his audio stutters and he doesn't have a remote. The article doesn't even mention which MythTV distribution he uses (or if he's rolling his own from the packages). In short, this article should have been titled "Here's Some Stuff I Thought Would Make a Low Noise Box (and I Was Even Wrong About That) That I Could Slap a Couple of Tuner Cards Into and Watch TV With (and Maybe Someday I Will Be Able To, But Until Then, I'm Keeping My Tivo Plugged In)".
This has got to be one of the most disappointing articles I've seen on the subject. You'd do better sticking with the MythTV FAQ's.
That is all.
How much does this thing cost?
The video cards are $180, +new high end processor, mother board, etc. Wouldn't this run over $2000? I don't think 2 TIVO boxes are anywhere near that expensive.
Ya, it's a hobby, but I wouldn't call that cheap enough, I think it's still ridiculous
Local OTA channels only. Here, out of the 15 or so HD channels, I get 4-5 unencrypted. All the cable networks, premium channels, INHD1 and INHD2 are encrypted.
1)Uses less power than most PC solutions.
2)Cheaper. I got it for $250 with lifetime subscription. Admittedly, the MSRP is much higher. But it still isn't as much as putting together a system, even if you get one of the $200 Dells to start it.
3)It just works. No messing with drivers, LIRC, etc.
Now, some of your points for DIY just don't hold.
You can purchase PVRs with lifetime subscriptions. You can't rely on Zap2It to always give you free listings for MythTV!My ReplayTV 5040 still has Commercial Advance. Newer models don't, but they have "Show|Nav." You press a single button & it skips the commercials.Ditto most PVRs. You can network them & pull content onto a computer or you can drop in a larger harddrive or two.Both ReplayTV and Tivo have this.ReplayTVs store images. You can upload video. It is space-inefficient, but you can upload audio encoded as video with whatever moving images you want.This is a good point. But I think the bottom-line is that features may become illegal (which could take them out of the project's trunk). You can also prevent firmware upgrades on PVRs you buy.
The bottom-line is that we need to promote legislation to keep the features we want LEGAL.
the LC10M come in silver too...
Because then you would be competing with TiVo. I've got a myth setup going and it's fecking awesome. It also took a ton of time to get working, but that was mostly because I'm using a shitty old Compaq and had non-MythTV related setup problems.
So even if these systems were all set up nicely by, say, Phillips, there are still tons of maintenance issues with MythTV. First off, there is the problem of channel listings. In North America Zap2It has been nice enough to offer free (with registration) listings to Myth users, and many other countries are left to scrape webpages for their listings with XMLTV. Then you come to the problem of tuners for different signal types... e.g. North America vs. Europe...and last but not least, cost. You are using generic components for a very specific task, this does not make things cheap. It is almost impossible to get TiVo size, style, and functionality for the price of a TiVo, starting from scratch...but for many geeks, and Do It Yourselfers, it's quite rewarding and worth it in the long run.
The support is fine with MythTV itself (MythTv user myself for a long time now).
The issue of it working solely resides with your cable provider. Alot of them cripple that port.
"why don't you just slip into something more comfortable...like a coma!"
Philips was one of the two original manufacturers of TiVo boxes.
In other news, the Food Network shows you how to make a souffle, while it's still legal.
Don't blame me, I didn't vote for either of them!
Does this work outside the US? I've tried to get a TIVO for my parents in Europe, but I could not find any, except with a Sky package.
What are others using?
get 7 free Japanese lessons.
A bloody brilliant string of links that spell out a shaving cream jingle. But yes, it does end in something that shouldn't be seen, not even on Slashdot.
On the plus side, the picture it's based on will, when viewed by any man questioning his heterosexuality, scare him straight for a very long time. http://bash.org/?42262
It must be Windows. It needs half a gig of RAM and a hardware-accelerated graphics card just to run Solitaire.
HD through Firewire works perfectly with my Comcast box. And with OS X there is already software in the developer kit that allows me to (manually at least) capture it. All I need to do now is work on using Automator and Applescript to schedule it and I'll have my very own HDPVR with most of the hardware and software work already done for me.
The pursuit of absolute tolerance leads to the most rigorous and ludicrous intolerance. - REX MURPHY
i like my decision i upgraded the HD of my first unit within the first week of buying i. i paid the lifetime subscription free soon after which by now has paid off when compared to paying per month. however, i have a second unit that i've been paying 6.95/mo (discount from the regular 12.95 for single unit owers b/c i have multiple units) for a few months now. i've been lazy about picking up the phone to get the lifetime subscription (if it were 12.95/mo i would have gotten the lifetime sooner). now, i can't seem to justify paying for lifetime of $299 when i can a SageTV with a dual tuner and remote for my PC...at less than that. This product seems to be (i haven't tried it myself yet) a cleaner setup than MythTV or FreeVo. SageTV also offers its service with no subscription required....so yeah that's the conflict i have now.
radiotimes (bbc) offers the listings in xml format for free in the uk (hooya!)
Im wondering how this will compare to fios once its rolled out here? And whether or not there will be any port blockage, caps. I tend to take speed claims with a grain of salt. Im even on Business Class optonline and they also institute caps and port blocks on 25 and 80
At this point, we have an article about what the guy bought down at frys, and deatiling his ability to shove two pci cards into slots.... impressive
Parts are now cheap enough that it is no longer ridiculous to build a PC specifically to handle TV for you, much like the VCR in Douglas Adams's Dirk Gently's Holistic Detective Agency... Just don't connect your electronic monk to it!
How do you integrate MythTV with your cable or satelite provider? Anything above a certain channel I need to use their setup box...
"Thanks to the remote control I have the attention span of a gerbil."
There's one little snag for those of us who would like to get more than the broadcast channels on our PVR boxen. "5C" copy prevention (so called because five companies worked on it) prevents your untrusted device from communicating over firewire (IEEE-1394) to receive your cable company's digital signal. Each 5C-compliant firewire device must negotiate with the devices they communicate with to ensure that they are operating in a trusted fashion (meaning that the signal that one device sends another must comply with the 5C flag that is specified by the TV network, indicating whether the signal can be copied or not). Compliance is mandated by causing an upstream device not to transmit to noncompliant downstream devices.
The end result is that what the broadcast flag failed to achieve over-the-air is currently a fact of life in the cable arena, due to the puny content distributors pressuring the gigantic electronics manufacturers for some form of DRM, without legislation and without public comment. If you want to record digital media from your cable company at the resolution you receive it at, without going through the "analog hole" to get to it, you'll have to use the cable company's PVR. There's no way that you can trust your cable company not to cave in to the content providers - they can easily make it impossible to do things like watch a show more than once or to skip commercials, essentially rendering the PVR concept pointless.
Please, enough about Jarod already. Yes, yes, he lost a lot of weight eating those stupid sandwhiches. I'm impressed. But I don't understand why that qualifies him to be a motivational speaker or why I should take his advice when building my own MythTV box! Next thing you know, Subway will be giving away a "Jarod's Home Manicuring Set" with the purchase of a party sub! Stop this insanity, people!
"For now, the good news is that it is still legal to put together your own home-theater PC"
The bad news are having a legal system that make the above sentence make sense.
... and are willing to do some hacking, I've always thought that the Roku Photobridge and Prismiq Media Player would make nice little MythTV front ends due to their hackability, wireless support, hardware decoders and digital outs.
Don't know much about the Roku (except that they're pretty open with developer support), but as administrator for a project that does open source for the Prismiq it should be doable to port mythfrontend to the box. Particularly since Prismiq released the source.
(plus, you can probably get one dirt cheap on eBay).
KnoppMyth has an option to capture video from a range of sources, including FIREWIRE. The included docs don't really say much about how that works. The IR Blaster route is klunky, and looks kinda tacky. Firewire is certainly a bi-directional standard. Why would the set top box not allow you to capture video via firewire, and also use firewire to send channel commands?
This is the kind of question that we need answers to. There is limited documenation on the inner workings of many set top boxes. Hell, the cable companies barely give you instructions for programming your remote.
"Well, since my employer has given me a blank check for this project, I'll be using the best stuff I can lay hands on.."
Come on you jerks, how about building one on a budget, something that the little people that WORK for their money can afford.
See link in previous comment to yours, page 50. It actually says IEEE 1394.
A Myth.
Maybe I'll buy the book since I'v tried everything else to get mythtv to work in the past, including knoppmyth, which won't even give error messages.
I still say gates is behind this... no wonder it's called *MyTh..*
Use recommended hardware,stick a Knoppmyth CD in it and boot.
I don't run Knoppmyth myself, I'm running MDK 10.2, but have set up several systems for family that way, as well as using it to troubleshoot MY system to see what the audio setup SHOULD be when it works.
(Before I had it memorized)
It tends to JUST WORK. OR NOT.
I just found a great *new* way to record tv stuff!!
I was rooting through my attic just today, and found this old electronics looking device with tons of dust on it, with av outputs and inputs for tv's!
I'll let everyone know what happens after tapping bushes bologna tonight!!
Oh yea, it was made by a company called: Betti Max,i think :)
Kevin Rose and Dan Huard did a nice 14 min episode on systm.org http//systm.org/ that demonstrates how to build MythTV box for about $350. They walk you through the entire installation as well as demonstrate some of the features.
Enjoy
You know, when I see "MythTV" and O'Reilly in the headline together, it's hard not to think about Fox News.
"MythTv user myself for a long time now"
The author of the article set up a pretty high-end box for his project. But it was unclear to me what would be, say, the minimum system you would find acceptable for a MythTV box. Do you have any experience you'd like to share on that?
MythTV builds YOU!
After month of research both on hardware and software i decided to try to get mythtv to work. After 20 hours of work and mutch googling i got ivtv and lirc to work. After 20 hours more work i still didnt get tvout from my hauppage 350 to work. I found lots and lots of working X configs, but no one worked for me.
So i installed windows, 10 hours later i had a complete working system. Now, thats why people still uses windows. I still think that windows shouldnt be used as servers, but thats another story.
GB-PVR is free and supports most Hardware encoding PVR cars (In my case the PVR-250). It's free to use and has quite a few plug-ins and a TV guide.
I currently run it under win2k but I'll be upgrading to XP soon to take dvantage of some of the other features.
Cost of PVR - £240
Cost of DVD R to store films £12
Recording TV with out VCR resolution loss and in digital Stereo with free Bleb TV guide to boot.
Priceless.
In the not too distant future, next Sunday A.D.
I built one myself, and for HDTV I'd say you'd need ~2.5GHz+ if you have a combined front-end and back-end. If you separate the 2 systems, the back end doesn't need that much requirements, probably just a decent speed Hard Drive, because all it does is writes the data streams to the Hard Disk. The front-end on the other hand (The part that actually decodes and displays the data) would need a decent processor to decode the HDTV signal and the usual video card picked for Myth boxes is a GeForce 5200 because they are a decent card with no fan (quiter). If you are trying to build one that just does analog TV signals the requirements drop a lot. A great source for information is http://mysettopbox.tv/
~Belly
Can anyone point out some good sites that review/give options on which video cards to get? Was gonna jump on a HD-capable capture card earlier this year just because of the mess with the Broadcast flag, then it was okay again, then it was a mess again, etc.
I understand that tuner cards encode to MPEG as well as tune, but couldn't this be done cheaper with a decent CPU and a video card with video in?
Its funny but this question has kept me from moving forward on PVRs.
Building your PVR is much easier if you are using VDR with one of the numerous VDR distributions that are based on Debian, Gentoo or SuSE. Check out the English version of the VDR-Wiki for information on hardware, installations etc.
Lio
I think there is a business opportunity there.
The challenge of a software-only solution is, of course, the hardware compatibility issue. So maybe it should be a $xx bundle of software and a cheapie PCI encoder card, perhaps ideally having the encoder card handle NSTC output as well as tuning, remote control, etc.
The "commercial" aspect of this might also benefit from the ability to handle cablecard, which an OSS project seems less likely (or in much longer timeframes) to be able to use.
Perhaps a commercial version of Myth could even be used as a for-profit arm of a non-profit foundation to support Myth development.
*I* don't have the time to build HTPCs anymore -- work, wife, house, other hobbies eat my time up. But I would consider doing it if the right software + hardware solution were easily available.
Are you able to capture all HD programming via firewire, or is just the OTA coming through? AFAIK, all they're required to provide unencrypted is the stuff that would come OTA.
Now a cable company could probably put the code (with all the nice plugins for music, weather, etc.) into their DVR offerings as an easy way to add value. However, they'd have to remove the non-content-industry-friendly features to avoid litigation, and they'd have to make it difficult to put on your own firmware (to prevent people from taking the provided source, adding the features back in, and using the full-featured version).
The HD-3000 drivers you're talking about (the old ones) were written by the company that makes the HD-3000. They chose the distribution to support. The new DVB drivers are included in the 2.6.12 kernel and work just fine for me.
As for the little quirks for each and every distribution : Myth does its best to support as many distributions as possible, but until they all handle shared libraries, udev/modprobe, locations for user compiled source, etc, in a reasonably similar fashion, there will be some differences.
And really, in the end, Myth compiles and runs on just about anything (my Macs, even), it's just the drivers for capture cards, video out, remotes, etc, that have problems in different environments.
This is where Jarod's guide (wilsonet.com) comes in handy. It's thorough, regularly updated, handles a wide range of hardware and can be used by even the newest Linux user. Why try anything else when this one works?
Sounds like a good use for a P2P-type protocol. It could gather listing in a bittorrent-like format, wherein the first few are seeded from the main server and then share the listing with new clients.
If there is such a software, where can it be downloaded?
Thanx
I dont use Myth TV or Linux for that matter. my equipment predates Windows media Ctr edition's creation. I built the first edition of my box in October of 2002. I built it because i was tired of watching movies, music videos and tv shows id downloaded on my small computer monitor, and my tv was too far away to lace in. so i built a cheap box and served all the videos accross my network. there generally isnt all that much tv thats on that i want to watch. I download almost all the TV i watch from BitTorrent. its easier that way, and saves me alot of money on my cable bill.
That, and i also rent movies from blockbuster, rip them with DVD Decrypter, and encode them into Xvid with Auto-Gordian Knot. Oh, yeah, between my two machine im now up to 1.2 terabytes of HD space.
This would make an excellent home theater PC (HTPC) or gaming machine. The case is very elegant looking and would be at home on your desk, or in with your other stereo components. The Tira infrared (IR) transmitter/receiver has been mounted inside the front plexiglas panel of the case (invisible from the outside), allowing you to use a standard IR remote control with the computer. With its 64-bit processor, this is sure to be a very good machine for a long time! It will scream through modern 3D games, or serve you very well as a HD PVR.
The parts:
1 Silverstone SST-LC04 Lascala Series HTPC Case - black
1 MSI "K8T NEO-FSR" K8T800 Chipset Motherboard for AMD Socket 754 CPU
1 AMD Athlon 64 2800+
1 Viking 184 Pin 512MB DDR PC-2700
1 pcHDTV HD-3000 High Definition Television Card
1 eVGA nVIDIA GeForce FX5200 Video Card, 128MB DDR, 64-bit, DVI/TV-Out, 8X AGP
1 Seagate 7200.8 400GB 7200RPM IDE Hard Drive, Model ST3400832A-RK
1 Lite-On 16X, DVD Dual Layer DVD+/-RW Drive, Model SOHW-1673S Black
1 Nexus 80mm Real Silent Case Fan
1 extra ATA-133 Cable - 24in
1 Tira USB IR Transmitter/Receiver (remote control your computer!)
1 IR Blaster
1 flexible PCI riser card that allows the use of larger PCI cards with the system (i.e., TV cards).
I will ship the computer double-boxed via insured USPS mail. The inner shipping box will be the Silverstone case's original shipping box and the motherboard box will contain all of the original paperwork and a few extra parts.
Video card: Model "e-GeForce FX5200(128-A8-N304-LX)"
chris at beefstew dot net
Since the author didn't mention cost I checked around for the components he mentioned and here's what I came up with, not trying to get the absolute best price on anything:
video capture card $169
case $226
power supply $55
cpu $183
mbo $140
graphics card, couldn't find the 1Gb version, best guess $160
optical drive $60
memory $90
hard drive $90
remote $24
grand total $1197