Hi guys<br><br>Ok. <br><br>This is what I have done so far. I have installed Mythbuntu
9.10 32-bit on my PC. After that I have installed avertv volar ax
driver which i got from <a href="http://www.avermedia.com/avertv/Support/Download.aspx?Type=Software&id=182&tab=APDriver" target="_blank">here</a>.
The installation went fine. Right now, Mythtv has detected my capture
card. I am trying to figure out how can I make mythTV scan for channels
as the list grabbers does not include my country. I'm based in
Malaysia. My mentor said that I have to test the card first using other
tools to make sure that it works. I ran this command:<br>
<br><span style="font-family: courier new,monospace;">bitto@bitto:~$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:alsa:adevice=hw.1,0:amode=1:audiorate=48000:forceaudio:volume=100:immediatemode=0:normid=0:freq=147250:outfmt=YUY2<br>
<br>but it yielded just this and an mplayer blank screen.<br><br>video buffer full - dropping frame<br>A:71430.1 V:65485.2 A-V:5944.938 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br>
<br>video buffer full - dropping frame<br>A:71430.2 V:65485.2 A-V:5945.024 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.3 V:65485.2 A-V:5945.110 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>
video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.4 V:65485.2 A-V:5945.196 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>
A:71430.5 V:65485.2 A-V:5945.282 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.5 V:65485.2 A-V:5945.368 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>
video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.6 V:65485.2 A-V:5945.454 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>
A:71430.7 V:65485.2 A-V:5945.540 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.8 V:65485.2 A-V:5945.626 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>
video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71430.9 V:65485.2 A-V:5945.712 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>
A:71431.0 V:65485.2 A-V:5945.798 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71431.1 V:65485.2 A-V:5945.884 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>
video buffer full - dropping frame<br><br>video buffer full - dropping frame<br>A:71431.1 V:65485.2 A-V:5945.970 ct:3032.083 881368/881368 0% 0% 0.0% 3 0 <br>video buffer full - dropping frame<br><br><span style="font-family: arial,helvetica,sans-serif;">Then, I decided to continue with MythTV. </span><br style="font-family: arial,helvetica,sans-serif;">
<br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">I found this </span><a style="font-family: arial,helvetica,sans-serif;" href="https://sayap.com/blog/2008/12/30/mythtv-s-xmltv-grabber-for-malaysia-channels" target="_blank">site</a><span style="font-family: arial,helvetica,sans-serif;"> which tells how to grab Malaysia's channel. I have installed the tools as instructed.</span><br>
<br><br>bitto@bitto:~$ sudo easy_install BeautifulSoup lxml httplib2 python_dateutil<br>[sudo] password for bitto: <br>Searching for BeautifulSoup<br>Reading <a href="http://pypi.python.org/simple/BeautifulSoup/" target="_blank">http://pypi.python.org/simple/BeautifulSoup/</a><br>
Reading <a href="http://www.crummy.com/software/BeautifulSoup/" target="_blank">http://www.crummy.com/software/BeautifulSoup/</a><br>Reading <a href="http://www.crummy.com/software/BeautifulSoup/download/" target="_blank">http://www.crummy.com/software/BeautifulSoup/download/</a><br>
Best match: BeautifulSoup 3.1.0.1<br>Downloading <a href="http://www.crummy.com/software/BeautifulSoup/download/3.1.x/BeautifulSoup-3.1.0.1.tar.gz" target="_blank">http://www.crummy.com/software/BeautifulSoup/download/3.1.x/BeautifulSoup-3.1.0.1.tar.gz</a><br>
Processing BeautifulSoup-3.1.0.1.tar.gz<br>Running BeautifulSoup-3.1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NIe9do/BeautifulSoup-3.1.0.1/egg-dist-tmp-CJHgRR<br>zip_safe flag not set; analyzing archive contents...<br>
/usr/lib/python2.6/dist-packages/setuptools/command/bdist_egg.py:422:
UnicodeWarning: Unicode equal comparison failed to convert both
arguments to Unicode - interpreting them as being unequal<br> symbols = dict.fromkeys(iter_symbols(code))<br>
Adding BeautifulSoup 3.1.0.1 to easy-install.pth file<br><br>Installed /usr/local/lib/python2.6/dist-packages/BeautifulSoup-3.1.0.1-py2.6.egg<br>Processing dependencies for BeautifulSoup<br>Finished processing dependencies for BeautifulSoup<br>
Searching for lxml<br>Best match: lxml 2.1.5<br>Adding lxml 2.1.5 to easy-install.pth file<br><br>Using /usr/lib/python2.6/dist-packages<br>Processing dependencies for lxml<br>Finished processing dependencies for lxml<br>
Searching for httplib2<br>Reading <a href="http://pypi.python.org/simple/httplib2/" target="_blank">http://pypi.python.org/simple/httplib2/</a><br>Reading <a href="http://code.google.com/p/httplib2/" target="_blank">http://code.google.com/p/httplib2/</a><br>
Reading <a href="http://bitworking.org/projects/httplib2/" target="_blank">http://bitworking.org/projects/httplib2/</a><br>Best match: httplib2 0.6.0<br>Downloading <a href="http://httplib2.googlecode.com/files/httplib2-0.6.0.zip" target="_blank">http://httplib2.googlecode.com/files/httplib2-0.6.0.zip</a><br>
Processing httplib2-0.6.0.zip<br>Running httplib2-0.6.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-k_pRgj/httplib2-0.6.0/egg-dist-tmp-vd_vpU<br>zip_safe flag not set; analyzing archive contents...<br>Adding httplib2 0.6.0 to easy-install.pth file<br>
<br>Installed /usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg<br>Processing dependencies for httplib2<br>Finished processing dependencies for httplib2<br>Searching for python-dateutil<br>Reading <a href="http://pypi.python.org/simple/python_dateutil/" target="_blank">http://pypi.python.org/simple/python_dateutil/</a><br>
Reading <a href="http://labix.org/python-dateutil" target="_blank">http://labix.org/python-dateutil</a><br>Best match: python-dateutil 1.4.1<br>Downloading <a href="http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz" target="_blank">http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz</a><br>
Processing python-dateutil-1.4.1.tar.gz<br>Running python-dateutil-1.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-hCozoR/python-dateutil-1.4.1/egg-dist-tmp-2nvRYb<br>Adding python-dateutil 1.4.1 to easy-install.pth file<br>
<br>Installed /usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg<br>Processing dependencies for python-dateutil<br>Finished processing dependencies for python-dateutil<br><br><font face="arial,helvetica,sans-serif">Then,
I tried running the script that the site provided, but I got this
error. I don't understand it as I've never learned python and right now
I am trying to figure out what the script and error say. <br>
<br><span style="font-family: courier new,monospace;">bitto@bitto:~$ python grabmy.py -f my.xml</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Traceback (most recent call last):</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "grabmy.py", line 236, in <module></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> main()</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "grabmy.py", line 225, in main</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> for elem in grabber.grab(date + timedelta(i), **params_dict):</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "grabmy.py", line 102, in grab</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> html = self.get_html(date, **kwargs)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "grabmy.py", line 63, in get_html</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> return BeautifulSoup(content)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1499, in __init__</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1230, in __init__</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1263, in _feed</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> self.goahead(0)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> k = self.parse_starttag(i)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib/python2.6/HTMLParser.py", line 226, in parse_starttag</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> endpos = self.check_for_whole_start_tag(i)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib/python2.6/HTMLParser.py", line 301, in check_for_whole_start_tag</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> self.error("malformed start tag")</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> File "/usr/lib/python2.6/HTMLParser.py", line 115, in error</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> raise HTMLParseError(message, self.getpos())</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">HTMLParser.HTMLParseError: malformed start tag, at line 830, column 36<br>
<br>Plus, I have tried ask the script author but she didn't reply yet.<br><br>Ummu<br></span></font></span>