Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-30-2012, 09:35 AM   #1
pwright2
Connoisseur
pwright2 began at the beginning.
 
Posts: 92
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
Podcatcher for KT?

Any projects running that might make a podcatcher for the Touch? Or even just modding the browser so that it can download MP3s and make them available to the MP3 player?
pwright2 is offline   Reply With Quote
Old 05-30-2012, 09:53 AM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by pwright2 View Post
Any projects running that might make a podcatcher for the Touch? Or even just modding the browser so that it can download MP3s and make them available to the MP3 player?
You can do it with wget, piped into the audio player. That works on the K3 as well.
geekmaster is offline   Reply With Quote
Advert
Old 05-31-2012, 02:35 PM   #3
pwright2
Connoisseur
pwright2 began at the beginning.
 
Posts: 92
Karma: 10
Join Date: Dec 2011
Device: Kindle Touch
My heavens, you ARE everywhere, aren't you?

Searching wget gets a lot of references but I haven't found one that is how you install it. Is it one of the K3 Kindlets that are referred to or part of some larger install like optware? And there is reference to a downloader that uses curl instead of wget? Is that worth exploring also?
pwright2 is offline   Reply With Quote
Old 05-31-2012, 02:51 PM   #4
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by pwright2 View Post
Searching wget gets a lot of references but I haven't found one that is how you install it.
It is installed (at least in the k3-v3.2.1) as part of the Kindle's system.
Quote:
Originally Posted by pwright2 View Post
Is it one of the K3 Kindlets that are referred to or part of some larger install like optware?
It is a compiled, utility program, quite common on Linux (any *nix) system.
As such, remember that man(ual) command is your friend.
Embedded systems often do not have the manuals installed, but google knows:
man wget
in google.
Quote:
Originally Posted by pwright2 View Post
And there is reference to a downloader that uses curl instead of wget? Is that worth exploring also?
cURL serves a similar, basic, function as wget.
It is also installed on the k3-v3.2.1 system image.
google: man curl

Both are "command line" oriented utilities, you (or your script, or command launcher, or whatever) will need command line access to use either of them.
knc1 is offline   Reply With Quote
Old 05-31-2012, 02:57 PM   #5
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
It would be nice to package a GUI with a bunch of streaming radio presets, but as I recall somebody put together a simple text-based menu (using eips and perhaps waitforkey) for the launcher.

Last edited by geekmaster; 05-31-2012 at 03:00 PM.
geekmaster is offline   Reply With Quote
Advert
Old 05-31-2012, 03:04 PM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Ah... Another detail I just noticed (on K3-v3.2.1 image):

The wget installed is the minimum function one supplied by busybox.
Which also means that the info googling "man wget" will not describe this busybox version.

The curl installed is the stand-alone utility.
What google: man curl returns is what you have.

A quick reference with examples:
http://curl.haxx.se/docs/manual.html

Note: The Busybox wget does not do SSL (ftps, https) which you might need, the stand alone curl does (as does the stand alone wget).
And/Or: If your pod-site needs user/password entries, I would plan on using the stand-alone curl over the Busybox stripped down version of wget.

Note 2: cURL utility is built against the libcurl.so library - also installed on the kindle.
You can get ambitious and write code for your podcatcher that uses libcurl.so features.
(-lcurl option on your compile command line)

Note 3: There is a Lua binding for libcurl. The pdf reader being worked on here is controlled by Lua scripting.
So there you go, all the parts you need to code up some background music while using the pdf reader (or to let the pdf reader, "read" a pdf file located on a network).

Last edited by knc1; 05-31-2012 at 03:36 PM.
knc1 is offline   Reply With Quote
Reply

Tags
mp3, podcast, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 07:20 AM.


MobileRead.com is a privately owned, operated and funded community.