Author Topic: Corsair - Rss/podcast Aggregator  (Read 45655 times)

tiny ogre

  • Newbie
  • *
  • Posts: 6
    • View Profile
Corsair - Rss/podcast Aggregator
« on: August 30, 2005, 01:16:50 am »
I've recently written and released  Corsair, an RSS and Podcast Aggregator for Qtopia.  If you don't know what that means, follow the link and read the FAQ

It's actually being developed for the Archos PMA400, not the Zaurus, so this may not work at all for most of you, but from what I've read there's some chance that even the binary package will work on Zaurus, so I think this is an appropriate forum.  If not, the source is there and maybe someone will find it useful and portable to the Zaurus too.  I'd love any feedback from anyone who tries it.

It writes all data to $(HOME)/Documents/corsair and subdirectories thereof.  On a PMA, that maps to /media/Documents/corsair.  I don't know what it will map to on a Zaurus, hopefully something sensible!  ("$(HOME)" is actually determined by Qtopia's homePathDir())

Magellan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #1 on: September 11, 2005, 09:45:35 pm »
I can't get it to run on my C750 with Cracko 1.22a.  It just doesn't start after selecting the icon.

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #2 on: September 12, 2005, 11:25:21 am »
It works fine on my C3000 - in fact, it is pretty darn nice for a .2 release.

I'll bet that the problem encountered by Magellan was that he needed libqtopia.  Apparently, QT applications that are built with the 1.7 version of the QT SDK, such as those for the Archos, use this lib, but the Sharp apps, built against version 1.5 of the SDK, do not.

In any case, I was able to find a copy of

qpe-libqtopia_1.6.0-13.arm.ipk at

http://www.apex.net.au/~twalker/qtjournal/

and corsair worked fine after installing that.
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)

Magellan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #3 on: September 14, 2005, 12:23:35 am »
Hmm.  I installed that file, and I still can't get it to work.

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #4 on: September 14, 2005, 01:12:39 pm »
Below is an ldd for corsair. Looks pretty basic except for perhaps libstdc++.

Perhaps you're missing libstdc++2.10-glibc2.2 ?  I think there's a copy in the Cacko feed.


Code: [Select]
ldd corsair
        libqte.so.2 => /home/QtPalmtop/lib/libqte.so.2 (0x40022000)
        libqpe.so.1 => /home/QtPalmtop/lib/libqpe.so.1 (0x40430000)
        libqtopia.so.1 => /home/QtPalmtop/lib/libqtopia.so.1 (0x405c0000)
        libjpeg.so.62 => /home/QtPalmtop/lib/libjpeg.so.62 (0x4061e000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x4064b000)
        libstdc++-libc6.1-2.so.3 => /home/QtPalmtop/lib/libstdc++-libc6.1-2.so.3 (0x40656000)
        libm.so.6 => /lib/libm.so.6 (0x406a1000)
        libc.so.6 => /lib/libc.so.6 (0x406cf000)
        libdl.so.2 => /lib/libdl.so.2 (0x407ea000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x407f5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)

Magellan

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #5 on: September 15, 2005, 10:47:30 pm »
Yep, it works now.  That is the file I needed.  Thanks!

tinyrooster

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.insequence.org
Corsair - Rss/podcast Aggregator
« Reply #6 on: September 22, 2005, 08:11:34 pm »
This looks cool. Any ideas about whether it will work on a 6000?
SL-6000L
Sharp ROM
GANT Theme
Lexar 1GB SD card
Sandisk 512MB CF card

kb7sqi

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://kb7sqi.dyndns.org
Corsair - Rss/podcast Aggregator
« Reply #7 on: September 22, 2005, 10:51:19 pm »
Quote
This looks cool. Any ideas about whether it will work on a 6000?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=96742\"][{POST_SNAPBACK}][/a][/div]

I use it on both my 5500 running TKC Rom & on my C3000 running Cacko.  
Just make sure you install the packages mentioned above.  It's a handy program
for a 0.20 release!  Take care.
Steve,  Sun SSE

http://kb7sqi.dyndns.org
Z's currently using 5500 & 750.  Used to own C3K. 5600, 760 & C1000.

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #8 on: September 24, 2005, 09:36:30 am »
I welcome this program to the Zaurus scene. I've been using my SL-C760 with Sharp ROM 1.40JP to listen to podcasts for the last few months. I usually accomplished this by downloading them from iTunes and then manually copying them to my Zaurus. The best feature is that it can queue downloads of multiple podcasts.
Although the program is functional for downloading and tracking podcasts, the current state of the program has several significant problems.
1. The ability to play downloaded podcasts from within the program does not work. It appears to try to send a command to play the program in some application. My screen will fade to white while it appears to try to launch something in portrait mode.
2. The "info" button pic does not display. I noticed that the ipk does not include a pic file for this button.
3. I usually listen to podcasts with musicplayer, when I downloaded them with iTunes, it automatically appended tag information to the files. I miss not having this tag information in the file, particularly since I am unable to play the files from within Corsair.

Since this program was not written especially for the Zaurus, it would be nice if someone could re-complile and cleanup the code so it is optimized for the Zaurus. I think that would fix most of the problems noted above.
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #9 on: September 25, 2005, 06:19:06 pm »
Attached is an ipk I built that addresses issues (1) and (2).  I was unable to get the musicplayer application to launch and run a file, so it uses kino2 instead.  If someone has some working code that launches musicplayer and plays a file, please post it and I'll incorporate it into a new ipk.  

Quote
I welcome this program to the Zaurus scene. I've been using my SL-C760 with Sharp ROM 1.40JP to listen to podcasts for the last few months. I usually accomplished this by downloading them from iTunes and then manually copying them to my Zaurus. The best feature is that it can queue downloads of multiple podcasts.
Although the program is functional for downloading and tracking podcasts, the current state of the program has several significant problems.
1. The ability to play downloaded podcasts from within the program does not work. It appears to try to send a command to play the program in some application. My screen will fade to white while it appears to try to launch something in portrait mode.
2. The "info" button pic does not display. I noticed that the ipk does not include a pic file for this button.
3. I usually listen to podcasts with musicplayer, when I downloaded them with iTunes, it automatically appended tag information to the files. I miss not having this tag information in the file, particularly since I am unable to play the files from within Corsair.

Since this program was not written especially for the Zaurus, it would be nice if someone could re-complile and cleanup the code so it is optimized for the Zaurus. I think that would fix most of the problems noted above.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=96876\"][{POST_SNAPBACK}][/a][/div]
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #10 on: September 25, 2005, 11:57:23 pm »
Thanks to mistermix for making improvements to this program! It is really looking great.
However, a new problem has arisen in this version--it is unable to download. The podcasts that I downloaded with the previous version appear and play in Kino2 (Excellent!), but I cannot now download new podcasts. When I initiate a new download the progress bar appears and completes the download, but no file is present in /home/zaurus/Corsair/shows for the new download. I ran the program from the console, and it prints a long series of the following errors before concluding the download:

QFile::writeBlock: File not open
QFile::writeBlock: File not open
QFile::writeBlock: File not open
Download::complete(0)
downloadComplete(/home/zaurus/Corsair/shows/NBC News _ Meet the Press/pd_mtp-09-25-2005-074233.mp3)
~Download()    

Even though it reports the download complete, there is no new directory or file in /home/zaurus/Corsair/shows. Unlike the SL-C3000, I do not have an internal hard drive. Could it possible be a problem related to the file partition?
Finally, the new version has added a new icon at the top with options for File (Load & Exit), and View (Downloads and Preferences), and Help. Except for Help and Exit, none of these options appear to work. Any chance that the "cancel" key can quit the program instead of having to cycle through the menu to the Exit option?
« Last Edit: September 26, 2005, 12:05:41 am by jagrka »
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #11 on: September 26, 2005, 02:56:18 pm »
Hmm...download works for me on my 3000.  Can you please post the URL of the RSS feed that you're trying to download (or send it to me in a message) so I can test it?  Hopefully, the issue is the RSS, not some obscure difference between the 3000 and the 760.

The empty menu entries that you mention are still to-be-built.  I usually quit the program by hitting the X in the upper-right-hand corner (i.e., the "close window" button). Does that work on the 760?    I thought that this was standard on all Qtopia boxen.
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)

jagrka

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://
Corsair - Rss/podcast Aggregator
« Reply #12 on: September 26, 2005, 09:28:27 pm »
I don't believe that it is related to a particular RSS since I experience this with all of my podcasts feeds, which worked in the original 0.2.0 version. For the record, these are some podcasts that I have tried:

<outline text="Battlestar Galactica"  brokenXML="false"  xmlUrl="http://www.scifi.com/battlestar/downloads/podcast/podcast.xml"/>
      <outline text="this WEEK in TECH"  brokenXML="false"  xmlUrl="http://leo.am/podcasts/twit"/>
      <outline text="On The Media from NPR/WNYC"  brokenXML="false"  xmlUrl="http://www.onthemedia.org/index.xml"/>
      <outline text="ABC News Nightline"  brokenXML="false"  xmlUrl="http://abcnews.go.com/xmldata/xmlPodcast?id=868748"/>
      <outline text="NBC News - Meet the Press"  brokenXML="false"  xmlUrl="http://podcast.msnbc.com/audio/podcast/MSNBC-MTP.xml"/>
      <outline text="The Al Franken Show"  brokenXML="false"  xmlUrl="http://www.sundancechannel.com/al/podcast.php"/>
      <outline text="NewsHour with Jim Lehrer Podcast | PBS"  brokenXML="false"  xmlUrl="http://www.pbs.org/newshour/rss/podcast.xml"/>

I appreciate any assistance in determining the cause of the problem. It would be great if others could post their experiences using the new 0.2.2 version, especially those on SL-C7X and SL-C860.
In the meanwhile, I switched back to the old 0.2.0 version and patched in the pic files from the 0.2.2. It now displays correctly and can download, but I'm still stuck without being able to play the podcasts from within Corsair.
I can also quit by tapping the top-right (X), I was just looking for a non-stylus solution for quitting the application. Thanks again.
« Last Edit: September 26, 2005, 09:33:56 pm by jagrka »
Zaurus SL-C760/Sharp ROM 1.40 JP
Linux Kernel 2.4.18-rmk7-pxa3-embedix, Tetsu Special Kernel 14e
Transcend 2GB SD Card (with SD-Link11b driver)
Planex Communications GW-CF11H Wi-Fi CF Card
Kwins for PDA KW-H128C2 PHS Communications CF Card

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #13 on: September 27, 2005, 10:25:59 am »
Thanks--I'm able to replicate the problem with your podcasts.  For some reason, it was working with the few I had.  I will look into it and post when I find a solution.

Just to be clear, the 0.2.2 designation is mine - the original author has not posted a new release since 0.2.0.
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)

mistermix

  • Newbie
  • *
  • Posts: 19
    • View Profile
Corsair - Rss/podcast Aggregator
« Reply #14 on: September 27, 2005, 01:19:19 pm »
Here is a new ipk that solves the problem of feeds not downloading. I broke that while trying to get playing feeds to work.  Doh!

Also, the Z cancel key will now shut down the application.

Please report any and all bugs on this thread.   Thanks.
SL-3000  1.11 JP ROM
Linksys WCF12 802.11b
TrendNet TE-CF100 Ethernet
Fellowes Stowaway Keyboard (Not Fully Functional)