[mythtv-users] something's missing

Nick Rout nick.rout at gmail.com
Mon Feb 22 21:43:27 UTC 2010


On Mon, Feb 22, 2010 at 8:15 PM, sharifah ummu kulthum
<kulthum91 at gmail.com> wrote:
>
>
> On Mon, Feb 22, 2010 at 3:01 AM, Nick Rout <nick.rout at gmail.com> wrote:
>>
>> On Sun, Feb 21, 2010 at 5:58 PM, sharifah ummu kulthum
>> <kulthum91 at gmail.com> wrote:
>> >
>> >
>> > On Fri, Feb 19, 2010 at 2:55 AM, Nick Rout <nick.rout at gmail.com> wrote:
>> >>
>> >> On Fri, Feb 19, 2010 at 2:17 AM, sharifah ummu kulthum
>> >> <kulthum91 at gmail.com> wrote:
>> >> >>
>> >> >
>> >> > i think i have found the cause on why my PC detects the device
>> >> > previously,
>> >> > and why it didn't now. it's because i have upgraded my kernel from
>> >> > 2.6.31-14
>> >> > to 2.6.31-19. when i boot my PC, the default kernel is 2.6.31-19.
>> >> > That's
>> >> > why
>> >> > it does not load the module automatically. I have installed the
>> >> > device
>> >> > driver in kernel 2.6.31-14. but now, i still don't know how i can
>> >> > watch
>> >> > tv
>> >> > using mythtv
>> >>
>> >> It's been made quite clear to you in previous threads that when you
>> >> update your kernel you have to reinstall the driver, and in fact it
>> >> may even break.
>> >>
>> >> As far as watching TV, have you read and followed the manual at
>> >> http://wiki.mythtv.org?
>> >> _______________________________________________
>> >> mythtv-users mailing list
>> >> mythtv-users at mythtv.org
>> >> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>> >
>> >
>> > Yeah. I'm sorry. I kinda missed the part where I don't realise that I'm
>> > actually updating my kernel version. I have changed the GRUB now, so,
>> > the
>> > default kernel is my older kernel. Yes, I have read the manual but I
>> > guess I
>> > did something wrong because it seems like it does not work in my PC
>> >
>> > Thank you anyway.
>>
>> perhaps tell us exactly what you have done and exactly what results
>> you got, with reference to the appropriate logs.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> Ok.
>
> 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
> here. 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:
>
> bitto at 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
>
> but it yielded just this and an mplayer blank screen.
>
> video buffer full - dropping frame
> A:71430.1 V:65485.2 A-V:5944.938 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.2 V:65485.2 A-V:5945.024 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.3 V:65485.2 A-V:5945.110 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.4 V:65485.2 A-V:5945.196 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.5 V:65485.2 A-V:5945.282 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.5 V:65485.2 A-V:5945.368 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.6 V:65485.2 A-V:5945.454 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.7 V:65485.2 A-V:5945.540 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.8 V:65485.2 A-V:5945.626 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71430.9 V:65485.2 A-V:5945.712 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71431.0 V:65485.2 A-V:5945.798 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71431.1 V:65485.2 A-V:5945.884 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> video buffer full - dropping frame
> A:71431.1 V:65485.2 A-V:5945.970 ct:3032.083 881368/881368  0%  0%  0.0% 3 0
> video buffer full - dropping frame
>
> Then, I decided to continue with MythTV.
>
> I found this site which tells how to grab Malaysia's channel. I have
> installed the tools as instructed.
>
>
> bitto at bitto:~$ sudo easy_install BeautifulSoup lxml httplib2 python_dateutil
> [sudo] password for bitto:
> Searching for BeautifulSoup
> Reading http://pypi.python.org/simple/BeautifulSoup/
> Reading http://www.crummy.com/software/BeautifulSoup/
> Reading http://www.crummy.com/software/BeautifulSoup/download/
> Best match: BeautifulSoup 3.1.0.1
> Downloading
> http://www.crummy.com/software/BeautifulSoup/download/3.1.x/BeautifulSoup-3.1.0.1.tar.gz
> Processing BeautifulSoup-3.1.0.1.tar.gz
> 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
> zip_safe flag not set; analyzing archive contents...
> /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
>   symbols = dict.fromkeys(iter_symbols(code))
> Adding BeautifulSoup 3.1.0.1 to easy-install.pth file
>
> Installed
> /usr/local/lib/python2.6/dist-packages/BeautifulSoup-3.1.0.1-py2.6.egg
> Processing dependencies for BeautifulSoup
> Finished processing dependencies for BeautifulSoup
> Searching for lxml
> Best match: lxml 2.1.5
> Adding lxml 2.1.5 to easy-install.pth file
>
> Using /usr/lib/python2.6/dist-packages
> Processing dependencies for lxml
> Finished processing dependencies for lxml
> Searching for httplib2
> Reading http://pypi.python.org/simple/httplib2/
> Reading http://code.google.com/p/httplib2/
> Reading http://bitworking.org/projects/httplib2/
> Best match: httplib2 0.6.0
> Downloading http://httplib2.googlecode.com/files/httplib2-0.6.0.zip
> Processing httplib2-0.6.0.zip
> 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
> zip_safe flag not set; analyzing archive contents...
> Adding httplib2 0.6.0 to easy-install.pth file
>
> Installed /usr/local/lib/python2.6/dist-packages/httplib2-0.6.0-py2.6.egg
> Processing dependencies for httplib2
> Finished processing dependencies for httplib2
> Searching for python-dateutil
> Reading http://pypi.python.org/simple/python_dateutil/
> Reading http://labix.org/python-dateutil
> Best match: python-dateutil 1.4.1
> Downloading
> http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz
> Processing python-dateutil-1.4.1.tar.gz
> 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
> Adding python-dateutil 1.4.1 to easy-install.pth file
>
> Installed
> /usr/local/lib/python2.6/dist-packages/python_dateutil-1.4.1-py2.6.egg
> Processing dependencies for python-dateutil
> Finished processing dependencies for python-dateutil
>
> 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.
>
> bitto at bitto:~$ python grabmy.py -f my.xml
> Traceback (most recent call last):
>   File "grabmy.py", line 236, in <module>
>     main()
>   File "grabmy.py", line 225, in main
>     for elem in grabber.grab(date + timedelta(i), **params_dict):
>   File "grabmy.py", line 102, in grab
>     html = self.get_html(date, **kwargs)
>   File "grabmy.py", line 63, in get_html
>     return BeautifulSoup(content)
>   File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1499, in __init__
>   File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1230, in __init__
>   File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1263, in _feed
>   File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
>     self.goahead(0)
>   File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead
>     k = self.parse_starttag(i)
>   File "/usr/lib/python2.6/HTMLParser.py", line 226, in parse_starttag
>     endpos = self.check_for_whole_start_tag(i)
>   File "/usr/lib/python2.6/HTMLParser.py", line 301, in
> check_for_whole_start_tag
>     self.error("malformed start tag")
>   File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
>     raise HTMLParseError(message, self.getpos())
> HTMLParser.HTMLParseError: malformed start tag, at line 830, column 36
>
> Plus, I have tried ask the script author but she didn't reply yet.

So to cut a long story short you haven't tried the card with mythtv.
When you have done so, ask some mythtv related questions.

I already suggested what to do about your malaysian listings. Post a
message to the list with a relevant subject line and some other
malaysian users are likely to pop up and offer their solutions. Or
look for a local mythtv users group. Or a local xmltv source.

Are you trying for digital or analogue signals?


More information about the mythtv-users mailing list