Author Topic: QtTV problems  (Read 3599 times)

edo

  • Newbie
  • *
  • Posts: 18
    • View Profile
QtTV problems
« on: January 25, 2004, 10:46:44 pm »
QtTV looks like it is a cool way to view up-to-date TV listings on a Sharp Zaurus (SL-5500 or others). You run XMLTV on your Windows or Linux pc and get a tv.xml file containing a few days worth of listings. You then are supposed to put the tv.xml file into /root/Documents on your Zaurus, to get the software to work.

The software homepage is here:  http://qttv.sourceforge.net/

Problem 1:  /root is not writeable on a standard 3.10 Sharp Rom SL-5500. Is there anything I can do about this (without major troubles)? I realise that / is a cramfs mounted as \"ro\". Maybe rewriting it as \"rw\" and then putting a symlink to /home/root/Documents ?

Problem 2:  I noticed that the qttv_0.0.2_src.tar.bz2 file corrupts when I try to bunzip2 it. This makes it somewhat difficult for me to consider recompiling QtTV and choosing an alternative tv.xml location. Fortunately the qttv_0.0.1_src.tar.bz2 seems not to be broken.

Problem 3:  I\'m no expert on cross-compiling, and don\'t have a Zaurus development environment set up anywhere, so it is a major pain for me to recompile the qttv code anyway! It would be great if someone more experienced could maybe look at the code, and recompile it with a more suitable file location (e.g.  /home/root/Documents/tv.xml ). Obviously,
the fixed application could then be re-released to the Zaurus community for us all to enjoy.

If anyone has suggestions, or can help with the recompile, then please reply to this post.

Regards,
Steven Goacher.

edo

  • Newbie
  • *
  • Posts: 18
    • View Profile
QtTV problems
« Reply #1 on: January 31, 2004, 01:44:02 pm »
Hi All,

Following up my own posting on QtTV, I\'ve been in contact with the author of QtTV, and he has kindly provided me (and the Zaurus community) with the latest tarball of the QtTV source code. I have hosted this for your access at the following website:

http://www.edo.demon.co.uk/feed/

Favour time:  Could someone who has set up a Zaurus development environment, please download this code, and have a go at compiling it. Specifically, if the compile goes well, could you edit the /qttv_0.0.3/qttv/tvGuide.cpp  and find the line containing  /root/Documents/tv.xml  and change the path to  /home/root/Documents/tv.xml

Assuming this goes to plan, then the QtTV binary would be working and could be easily incorporated into an ipk file, for us all to enjoy. Thanks for any help from you developer guys.

Regards,
Edo.

slocaus

  • Full Member
  • ***
  • Posts: 243
    • View Profile
    • http://
QtTV problems
« Reply #2 on: January 31, 2004, 02:26:55 pm »
Have you seen this?
tp://www.killefiz.de/zaurus/showdetail.php?app=1248

Urk, reading closer is states same thing about /root/Documents.
nevermind
Handheld:. Sl-5500 tkcROM 1.0 (defunct) * apps on ext2 Lexar 256 SD
Desktop:. Mandrakelinux 10.2 Cooker * kernel 2.6.11
Both computers run linux, proud to be MS Free

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
QtTV problems
« Reply #3 on: January 31, 2004, 06:46:21 pm »
I gave it a go, but it falls over looking for the X libraries, which I don\'t have on my zaurus.

It compiles nicely on my linux box, but I don\'t have any xml files to throw at it.

It comes up with a file open box prompting for an xml file.

It doesn\'t seem to want to compile on my cross-compiler either, but then again, not a lot does, other than simple stuff.  

Are you in the UK, as you have a demon account? I thought the listings site was broken for the uk.

Quote
tv_grab_uk no longer works because the data source has closed down. A replacement grabber is under development.

taken from :-
http://membled.com/work/apps/xmltv/

I\'m not an expert compiler,  so this error may be trivial to correct.  I also think that this program would be a useful addition to my zaurus.

Peter
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

edo

  • Newbie
  • *
  • Posts: 18
    • View Profile
QtTV problems
« Reply #4 on: January 31, 2004, 07:38:04 pm »
Hi zbones,

Glad you\'ve been taking an interest in this. Before I even attempted to get QtTV running, I made sure I could generate an up-to-date tv listing tv.xml file using XMLTV. I accomplished this by downloading the Windows version of the XMLTV software ( xmltv-0.5.27-win32.zip ) from the XMLTV Sourcefourge development website ( http://sourceforge.net/project/showfiles.p...?group_id=39046 ).

I also spotted the \'tv_grab_uk\' thing doesn\'t work, but went a stage further and tried out the tv_grab_uk_rt script. I unzipped the xmltv-0.5.27-win32.zip to the c:xmltv directory, on my Windows pc. I then configured the software by going in an MS DOS Prompt to c:xmltv and typing:

xmltv  tv_grab_uk_rt  --configure

(Note that this goes through a number of options, and I suggest just choosing a few channels - BBC1, BBC2, ITV, CH4, CH5 for your initial trial)

I then wrote the following batch file to pick up today\'s tv listings:

TVPICKUP.BAT --]
c:
cd xmltv
c:xmltvxmltv.exe tv_grab_uk_rt --days 1 ] tv.xml

When this runs it is rather slow (or maybe that was just for me!) which is the reason I couldn\'t be bothered to go beyond 1 day of listings, the first time round. This should generate the tv.xml file all ready to copy to your Zaurus. On it\'s own this file is a searchable text tv listing, that can be queried using a search feature of any text editor.

I had a go at installing and running XMLTV linux version on my Linux pc, but had problems, and decided to not continue with it until I got QtTV working.

Hope this helps encourage you (and others) further forward with this QtTV compiling request.

Regards,
Edo.

bryguy

  • Newbie
  • *
  • Posts: 3
    • View Profile
QtTV problems
« Reply #5 on: August 12, 2004, 04:27:07 pm »
I have fixed the non-writeable /root problem by hex editing it and changing the part where it says /root to /home. It's working fine on my 5500 with sharp rom. I've attached the executable.