webOS Nation Forums >  Homebrew >  webOS homebrew apps > PreTorrent v0.1.0 (7/27)
PreTorrent v0.1.0 (7/27)

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/23/2009, 01:08 AM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 22
Likes Received: 0
Thanks: 3
Thanked 25 Times in 3 Posts
Default TorPredo v0.2.0 (8/3)

I am currently developing an application that takes a category and a string for a search, and gets the resulting rss feed from mininova in that category, sorted by seeds. This much is done...not too bad (see pics).

From there I can easily download the torrent file. My short-term plan is
1. to be able to inject that torrent into the Transmission web interface, and then switch into a webview to manage your host downloads
2. to also be able to connect to the torrelay service (I just requested their api today) so that you can download an album or something directly to your phone.

...down the road
3. add more search sites
4. be able to see comments (shouldn't be hard at all with webview)

If there is a desire for the source code so far, I'll post it soon. Otherwise if you have any suggestions or want to help, let me know. Thanks

...and I definitely need a new name.

Version 0.1.0
This version is able to search Mininova in different categories, and add that torrent to the Transmission web interface. It saves your ip address and port for you. Unfortunately, for me at least, the iphone web interface that Transmission defaults to doesn't work on the pre, so I had to download the Transmission source code and modify a line. Here goes...

The package is attached below. When you hit search, sometimes it takes a little bit, so be patient, the next scene will come. When you then click on a result, it takes you to the Transmission web interface. Click open, and then when you click in the text field, your torrent link will automatically be inserted for you. Click ok and you are good to go.

To fix the web interface...

1. Download the latest Transmission source here, and extract.

2. Go to transmission-1.73/web/, and open up index.html. Change line 12 to
Code:
<link media="only screen and (max-device-width: 480px)" href="./stylesheets/common.css" type= "text/css" rel="stylesheet" />
...all we did here was link the normal css file instead of the iphone one.

3. Learn how to build it here. Not hard.

I would love to have someone help me avoid this...I am sure it can't be too hard. I have already tried using the virtual page size options on the webview widget, and they didn't work for me.

Let me know of suggestions and bugs. Thanks especially to the Habla app by taalibeen and for providing the source code for the RSS reader.

Version 0.2.0
Added the ability to download the torrent file to a location of your choosing. Now when you click on a result, you have the option to either send it to the Transmission web interface, or to download the torrent file so that rTorrent can find it and download the torrent for you directly on your phone. rTorrent has been confirmed to work on the pre, and you can set it to watch folders for torrent files, and to download those files to whatever folder you want, so we finally have true torrent downloading on the pre. Unfortunately, rooting is required, and there is no monitoring the torrent currently. You just have to trust that it is downloading basically.

Set up rTorrent on the Pre

This app is still very much in development.

Thanks to xImtc for the name suggestion.

Oh and I also fixed the icon being 6 times bigger than anyone else's. Truthfully I'm a little disappointed, it made my app stand out haha.

I had to rename the app to use palm's services, so you need to uninstall the previous version.



As requested...
Donate
Attached Images
File Type: jpg pretorrent_2009-27-07_174002.jpg (31.9 KB, 1242 views) Email Attachment
File Type: jpg pretorrent_2009-27-07_174038.jpg (33.9 KB, 1168 views) Email Attachment
File Type: jpg pretorrent_2009-27-07_174045.jpg (73.0 KB, 1278 views) Email Attachment
File Type: jpg pretorrent_2009-27-07_174125.jpg (26.8 KB, 1116 views) Email Attachment
Attached Files
File Type: ipk com.aaron.pretorrent_0.1.0_all.ipk (214.5 KB, 509 views) Email Attachment
Download URL:

Last edited by fordaaronj; 08/03/2009 at 09:30 AM. Reason: Had to remove the attachment until I get something fixed. Does anyone know how to specify a name for a downloaded file using the downloadmanager service?
fordaaronj is offline   Reply With Quote
Old 07/23/2009, 07:08 AM   #2 (permalink)
Member
 
Join Date: May 2009
Posts: 128
Likes Received: 0
Thanks: 72
Thanked 8 Times in 7 Posts
Default

Awesome! Can't wait to see it when its finished!
chezbi is offline   Reply With Quote
Old 07/23/2009, 07:42 AM   #3 (permalink)
Homebrew Developer
 
fain's Avatar
 
Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
Default

Sweet!!! I would like to see demonoid.com in there.
fain is offline   Reply With Quote
Old 07/23/2009, 08:38 AM   #4 (permalink)
Member
 
Join Date: Mar 2009
Posts: 80
Likes Received: 0
Thanks: 1
Thanked 6 Times in 6 Posts
Default

I've been looking for something like this... Looking good. That's the only thing keeping me from getting rid of my Touch Pro (well that and downloading from Rapidshare, Megaupload, etc.)

Last edited by steb0ne; 07/23/2009 at 10:11 AM.
steb0ne is offline   Reply With Quote
Old 07/23/2009, 09:25 AM   #5 (permalink)
Member
 
TMed_ATL's Avatar
 
Join Date: May 2009
Location: ATL/ Athens, GA
Posts: 413
Likes Received: 0
Thanks: 61
Thanked 27 Times in 24 Posts
Default

very cool. will this have access to private sites like demoniod and blackcats?
__________________
SCK Manager
TMed_ATL is offline   Reply With Quote
Old 07/23/2009, 09:45 AM   #6 (permalink)
Member
 
Join Date: Sep 2007
Posts: 337
Likes Received: 0
Thanks: 4
Thanked 53 Times in 31 Posts
Default

Sounds good maybe interface it with utorrents web feature they have
atlanta is offline   Reply With Quote
Old 07/23/2009, 09:47 AM   #7 (permalink)
Member
 
Join Date: Jul 2009
Location: London
Posts: 46
Likes Received: 0
Thanks: 5
Thanked 2 Times in 1 Post
Default

Finally, Pre's iTunes Store competitor :P

(mods, I'm joking! :P)
PalmPre1337 is offline   Reply With Quote
Old 07/23/2009, 10:02 AM   #8 (permalink)
Member
 
gollyzila's Avatar
 
Join Date: May 2009
Posts: 1,003
Likes Received: 0
Thanks: 343
Thanked 95 Times in 70 Posts
Default

Will this app automatically download files to the USB directory? Then that way we can just dl an mp3 file and listen to it in Music without ever connecting to a computer
gollyzila is offline   Reply With Quote
Old 07/23/2009, 10:12 AM   #9 (permalink)
Member
 
Join Date: Mar 2009
Posts: 80
Likes Received: 0
Thanks: 1
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by gollyzila View Post
Will this app automatically download files to the USB directory? Then that way we can just dl an mp3 file and listen to it in Music without ever connecting to a computer
That would be great!!!
steb0ne is offline   Reply With Quote
Old 07/23/2009, 10:17 AM   #10 (permalink)
Member
 
Leke's Avatar
 
Join Date: Jan 2007
Posts: 602
Likes Received: 0
Thanks: 8
Thanked 59 Times in 36 Posts
Default

Whoa!! Awesome
Leke is offline   Reply With Quote
Old 07/23/2009, 10:27 AM   #11 (permalink)
Member
 
Join Date: Jul 2009
Posts: 89
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
Default

mininova
Muyiwafly is offline   Reply With Quote
Old 07/23/2009, 10:36 AM   #12 (permalink)
Member
 
Join Date: Jun 2007
Posts: 1,305
Likes Received: 0
Thanks: 8
Thanked 98 Times in 62 Posts
Default

demonoid.com would be nice
dkotoric is offline   Reply With Quote
Old 07/23/2009, 11:47 AM   #13 (permalink)
Member
 
Join Date: Jul 2009
Posts: 68
Likes Received: 0
Thanks: 11
Thanked 9 Times in 7 Posts
Default

Quote:
Originally Posted by dkotoric1 View Post
demonoid.com would be nice
sniff I dont have access to demonoid
Joesmith_fromchat is offline   Reply With Quote
Old 07/23/2009, 11:57 AM   #14 (permalink)
Homebrew Developer
 
fain's Avatar
 
Join Date: Jun 2009
Location: Lexington KY
Posts: 836
Likes Received: 0
Thanks: 69
Thanked 122 Times in 84 Posts
Default

Quote:
Originally Posted by gollyzila View Post
Will this app automatically download files to the USB directory? Then that way we can just dl an mp3 file and listen to it in Music without ever connecting to a computer
Well the built in mp3 player only rescans the drive on a usb eject. So with the mp3 player in its current default state, no it is not possible.

What you could do though, because you need a webserver to serve transmissions web interface. Have transmission set to download to a web directory then just browse to that directory through the pres browser and stream it directly from your server.

You could even use .htaccess to password protect the web directory if security is a concern.
fain is offline   Reply With Quote
Old 07/23/2009, 04:39 PM   #15 (permalink)
Member
 
Join Date: Sep 2008
Location: Naval Station Norfolk
Posts: 211
Likes Received: 0
Thanks: 6
Thanked 11 Times in 8 Posts
Default

wow i would love this app... if you get it up and running i hope you have a paypal account cause i would definitely donate to your app!!!!
knightflores is offline   Reply With Quote
Old 07/23/2009, 09:22 PM   #16 (permalink)
Member
 
Join Date: Sep 2008
Location: Naval Station Norfolk
Posts: 211
Likes Received: 0
Thanks: 6
Thanked 11 Times in 8 Posts
Default

is there an ETA for the app??
knightflores is offline   Reply With Quote
Old 07/24/2009, 01:09 AM   #17 (permalink)
Member
 
I_Ryan's Avatar
 
Join Date: Jul 2009
Posts: 91
Likes Received: 0
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Joesmith_fromchat View Post
sniff I dont have access to demonoid
I do, would you like an invite?
I_Ryan is offline   Reply With Quote
Old 07/24/2009, 01:55 AM   #18 (permalink)
Member
 
Join Date: Jun 2009
Posts: 22
Likes Received: 0
Thanks: 3
Thanked 25 Times in 3 Posts
Default

Hey sorry about taking awhile to get back to you guys...here are some answers...

Quote:
very cool. will this have access to private sites like demoniod and blackcats?
That is a possibility down the line, but not in very current plans.

Quote:
is there an ETA for the app??
I am hoping for a week or two, I have a little traveling that needs to happen first.

Quote:
Will this app automatically download files to the USB directory? Then that way we can just dl an mp3 file and listen to it in Music without ever connecting to a computer
As answered above, unless someone corrects me, I am not sure if this is possible yet. I know it is not an optimal solution, but I don't think a mod of the mp3 player would be extremely difficult to scan this program's download directory.

Quote:
Sounds good maybe interface it with utorrents web feature they have
Definitely a plan after I get a working version out, but truthfully I'm a little biased against utorrent since they don't have an ubuntu version for me haha.

Thanks for the response this far, I'll keep you updated.
fordaaronj is offline   Reply With Quote
Old 07/24/2009, 02:59 AM   #19 (permalink)
Member
 
oc80z's Avatar
 
Join Date: Jun 2009
Posts: 21
Likes Received: 0
Thanks: 1
Thanked 2 Times in 2 Posts
Default

outstanding.
oc80z is offline   Reply With Quote
Old 07/24/2009, 03:09 AM   #20 (permalink)
Member
 
jack87's Avatar
 
Join Date: Jun 2009
Location: Salt Lake City, Ut
Posts: 1,225
Likes Received: 9
Thanks: 78
Thanked 179 Times in 128 Posts
Default

very nicely done and elegant. keep us posted.
__________________
MatterOfFactJack
jack87 is offline   Reply With Quote
Thanked By: cambo2121
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0