webOS Nation Forums >  Homebrew >  webOS patches > [Patch] Swipe to Delete Videos
[Patch] Swipe to Delete Videos

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/03/2009, 02:23 PM   #1 (permalink)
Member
 
Join Date: Aug 2009
Posts: 7
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default [Patch] Swipe to Delete Videos

Is there a patch available to do video swipe deletes instead of having to connect the pre into the computer? it would definitely be a great time saver

[Moderator Edit] Yes! See post number 3. It is available through WebOS Quick Install and Preware. For how to install patches see:
http://forums.precentral.net/palm-pr...es-themes.html

Last edited by milominderbinder; 06/10/2010 at 10:14 AM.
dcpony17 is offline   Reply With Quote
Thanked By: Jeffmcc
Old 10/26/2009, 08:35 AM   #2 (permalink)
Member
 
Join Date: Sep 2009
Posts: 13
Likes Received: 0
Thanks: 5
Thanked 1 Time in 1 Post
Default

I haven't seen swipe delete for videos, but you could always use the internalz app and delete it from there without hooking to your computer.
jeffmcdowell is offline   Reply With Quote
Thanked By: Jason Robitaille
Old 10/30/2009, 01:51 PM   #3 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Ask and ye shall receive.

Attached is a patch that adds swipe to delete functionality to the Video app, with a yes/no confirmation.
Attached Files
File Type: patch swipe-to-delete-videos.patch (4.2 KB, 153 views) Email Attachment

Last edited by Jason Robitaille; 10/30/2009 at 07:39 PM.
Jason Robitaille is offline   Reply With Quote
Old 10/30/2009, 02:12 PM   #4 (permalink)
Member
 
ryleyinstl's Avatar
 
Join Date: Jun 2009
Location: The Red Brick Momma
Posts: 4,317
Likes Received: 0
Thanks: 209
Thanked 1,263 Times in 822 Posts
Default

Nice...

Quote:
Originally Posted by Jason Robitaille View Post
Ask and ye shall receive.

Attached is a patch that adds swipe to delete functionality to the Video app, with a yes/no confirmation.
ryleyinstl is offline   Reply With Quote
Old 10/30/2009, 04:35 PM   #5 (permalink)
Member
 
Jeffmcc's Avatar
 
Join Date: Sep 2009
Location: ʎɐʍɐ ɹɐɟ 'ɹɐɟ ʎxɐllɐƃ ɐ
Posts: 636
Likes Received: 8
Thanks: 921
Thanked 243 Times in 85 Posts
Default

can you please put this in preware??.....please....please...
__________________

NOT "HP webOS"!!!
Jeffmcc is offline   Reply With Quote
Thanked By: leadtrumpetdave
Old 10/30/2009, 04:36 PM   #6 (permalink)
Member
 
Jeffmcc's Avatar
 
Join Date: Sep 2009
Location: ʎɐʍɐ ɹɐɟ 'ɹɐɟ ʎxɐllɐƃ ɐ
Posts: 636
Likes Received: 8
Thanks: 921
Thanked 243 Times in 85 Posts
Default

and can you make one like this for the music player??
__________________

NOT "HP webOS"!!!
Jeffmcc is offline   Reply With Quote
Old 10/30/2009, 05:14 PM   #7 (permalink)
Member
 
Join Date: Jul 2009
Posts: 299
Likes Received: 0
Thanks: 7
Thanked 25 Times in 22 Posts
Default

Jason you are a GENIUS!!!...God bless you for all your work in making things so easy for us!!.....as soon as i get paid this month, i'll make sure your hard work is rewarded....REALLY REWARDED!!..hope you have a paypal account?
Dabigappledadon is offline   Reply With Quote
Old 10/30/2009, 07:48 PM   #8 (permalink)
Legend
 
Jason Robitaille's Avatar
 
Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
Default

Quote:
Originally Posted by Dabigappledadon View Post
Jason you are a GENIUS!!!...God bless you for all your work in making things so easy for us!!.....as soon as i get paid this month, i'll make sure your hard work is rewarded....REALLY REWARDED!!..hope you have a paypal account?
I have a paypal donate button in my WOSQI thread (post 1) if you wish to donate, though keep in mind you're in no way obligated to


Oh, and Jeffmcc, I've just posted a "swipe to delete music" patch

Last edited by Jason Robitaille; 10/31/2009 at 08:46 AM.
Jason Robitaille is offline   Reply With Quote
Old 10/30/2009, 08:12 PM   #9 (permalink)
Member
 
officer140's Avatar
 
Join Date: Oct 2009
Posts: 74
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

A video record app would be nice - did I miss something?
officer140 is offline   Reply With Quote
Old 10/30/2009, 08:24 PM   #10 (permalink)
Member
 
Join Date: Aug 2007
Posts: 163
Likes Received: 0
Thanks: 39
Thanked 42 Times in 15 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Ask and ye shall receive.

Attached is a patch that adds swipe to delete functionality to the Video app, with a yes/no confirmation.
How hard does this man rock?? Thanks!! (I've donated.)
__________________
Want to read new posts on PreCentral without the off-topic garbage? Bookmark this link here:
http://forums.precentral.net/search....tnew&exclude=6 or here for the mobile forums (orange button plus click the link to copy the URL):
http://m.forums.precentral.net/searc...tnew&exclude=6
Galtish is offline   Reply With Quote
Old 10/30/2009, 09:03 PM   #11 (permalink)
Member
 
rlanza1054's Avatar
 
Join Date: Jan 2005
Location: Astoria Queens, NYC
Posts: 1,823
Likes Received: 1
Thanks: 201
Thanked 154 Times in 118 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
I have a paypal link in my WOSQI thread (post 1) if you wish to donate, though keep in mind you're in no way obligated to


Oh, and Jeffmcc, I've just posted a "swipe to delete music" patch
Jason that was awfully fast!

A patch request that you instantly made, wow you are a god!


Rob <grin>
__________________
Robert L
Astoria Queens, N.Y.C
- Palm Pre (Sprint) - formally Palm Treo 650
Version 1.4.1.1
Sprint Configuration 2.3
Model: P100EWW
Hardware Version: A
Firmware: CC1.4(510)

rlanza1054 is offline   Reply With Quote
Old 10/30/2009, 10:36 PM   #12 (permalink)
Forum Moderator
 
Achill3s's Avatar
 
Join Date: Jul 2009
Posts: 2,999
Likes Received: 59
Thanks: 262
Thanked 539 Times in 392 Posts
Default

I see you got bored Jason? Lol

Nice work! I'll be throwing this on my Pre very soon!! Thanks bro, you really rock!
__________________
Achill3s' Palm Pre: Modded and patched to death!!
Achill3s is offline   Reply With Quote
Thanked By: Acvisionace
Old 10/30/2009, 11:13 PM   #13 (permalink)
Member
 
Join Date: Sep 2005
Location: NJ
Posts: 2,732
Likes Received: 5
Thanks: 189
Thanked 38 Times in 27 Posts
Default

Jason is the man!! Thanks.
__________________
Jimmie Geddes
JimmieGeddes is offline   Reply With Quote
Old 12/28/2009, 12:11 AM   #14 (permalink)
Member
 
pixielee's Avatar
 
Join Date: Mar 2007
Posts: 296
Likes Received: 0
Thanks: 77
Thanked 29 Times in 23 Posts
Default

with 1.3.1 and 2.96 I am getting this error when trying to install this patch:

ERROR: An error occured while attempting to run /tmp/scriptFile.sh

patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js

hunk #3 Failed at 85
Hunk #4 Failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej
patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js
Hunk #3 Failed at 85
patch unexpectedly ends in middle of the line
Hunk #4 failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej



any ideas? I would really like it since I am using precorder now THANKS!
__________________
smiles for your day ~ pixielee
In a love/hate relationship w/my PalmPre(s) 6/6/09 3/22/10 4/12/10 and 5/5/10 (ops yes I lost one!)

Its Life - Live it, Love it, PLAY in it
pixielee is offline   Reply With Quote
Old 12/28/2009, 08:12 AM   #15 (permalink)
Member
 
Join Date: Sep 2009
Location: London, UK
Posts: 1,609
Likes Received: 3
Thanks: 383
Thanked 891 Times in 345 Posts
Default

Quote:
Originally Posted by officer140 View Post
A video record app would be nice - did I miss something?
You mean like Precorder?
errade is offline   Reply With Quote
Old 01/05/2010, 10:28 AM   #16 (permalink)
Member
 
Join Date: Aug 2009
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

will not download from preware
cdogg is offline   Reply With Quote
Old 01/06/2010, 11:43 PM   #17 (permalink)
Member
 
Join Date: Nov 2009
Posts: 8
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yeah guys, I have a problem to that I hope can be answered. So I installed this patch and in the video's screen I can swipe a video away and it asks its yes/no, I select yes but it doesn't erase from the viewer. But when you tap on the video you just tried to delete it will bring it up in landscape mode and come up with error "There was an error playing the file". Any ideas on what I can do to fix that?
john.fuston is offline   Reply With Quote
Old 01/07/2010, 07:21 PM   #18 (permalink)
Member
 
Join Date: Jan 2010
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by pixielee View Post
with 1.3.1 and 2.96 I am getting this error when trying to install this patch:

ERROR: An error occured while attempting to run /tmp/scriptFile.sh

patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js

hunk #3 Failed at 85
Hunk #4 Failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej
patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js
Hunk #3 Failed at 85
patch unexpectedly ends in middle of the line
Hunk #4 failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej



any ideas? I would really like it since I am using precorder now THANKS!
I'm having the same issue. And I am using Precorder as well.
Kenton is offline   Reply With Quote
Old 02/19/2010, 11:41 AM   #19 (permalink)
Member
 
Thibaud's Avatar
 
Join Date: Feb 2008
Location: France
Posts: 98
Likes Received: 1
Thanks: 20
Thanked 24 Times in 15 Posts
Default

Sorry, long post.

Quote:
Originally Posted by Kenton View Post
Quote:
Originally Posted by pixielee View Post
with 1.3.1 and 2.96 I am getting this error when trying to install this patch:

ERROR: An error occured while attempting to run /tmp/scriptFile.sh

patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js

hunk #3 Failed at 85
Hunk #4 Failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej
patching file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js
Hunk #3 Failed at 85
patch unexpectedly ends in middle of the line
Hunk #4 failed at 91
2 of 4 hunks FAILED -- saving rejects to file usr/palm/applications/com.palm.app.videoplayer.launcher/app/controllers/browser-assistant.js.rej



any ideas? I would really like it since I am using precorder now THANKS!
I'm having the same issue. And I am using Precorder as well.
Happened to me as well...

Just went checking further into Preware patch packages in index of /feeds/webos-patches/1.3.1/. Found the issue would:
While rev. 6 of the patch is supposed to be (my guess) patch rev. 5 augmented with AUPT technology and SHA1 signing, it looks like patch rev. 6 was updated from the webOS-1.2.1 version of the patch.

Below the patch code of the two failing hunks (extracted from org.webosinternals.patches.video-player-swipe-to-delete-videos_1.3.1-6_all.ipk):
Code:
@@ -56,6 +56,8 @@
 	},
 	
 	activate: function(){
+		this.handleDelete = this.handleDelete.bindAsEventListener(this);
+		this.controller.listen('videoslist', Mojo.Event.listDelete, this.handleDelete);
 		Util.markForeground(true);
 	},
 	
@@ -60,6 +60,7 @@
 	},
 	
 	deactivate: function(){
+		this.controller.stopListening('videoslist', Mojo.Event.listDelete, this.handleDelete);
 		Util.markForeground(false);
 	},
and the diff of browser-assistant.js from webOS 1.2.1 to 1.3.1:
Code:
--- webosdoctorp100ewwsprint-1.2.1/resources/webOS/nova-cust-image-castle.rootfs/usr/palm/applications/com.palm.app.videoplayer/app/co
ntrollers/browser-assistant.js      2009-09-30 02:48:39.000000000 +0200
+++ webosdoctorp100ewwsprint-1.3.1/resources/webOS/nova-cust-image-castle.rootfs/usr/palm/applications/com.palm.app.videoplayer/app/co
ntrollers/browser-assistant.js      2009-10-10 01:23:02.000000000 +0200
@@ -48,19 +48,19 @@
        },
        
        _onBlurHandle: function(){
-               Util.markForeground(false);
+               Util.markForeground(this.controller, false);
        },
        
        _onFocusHandle: function(){
-               Util.markForeground(true);
+               Util.markForeground(this.controller, true);
        },
        
        activate: function(){
-               Util.markForeground(true);
+               Util.markForeground(this.controller, true);
        },
        
        deactivate: function(){
-               Util.markForeground(false);
+               Util.markForeground(this.controller, false);
        },
        
        showNoVideosDiv: function(){
the patch issue being in the Util.markForeground() function call in activate and deactivate...

Besides, the patch file's header for org.webosinternals.patches.video-player-swipe-to-delete-videos_1.3.1-6_all.ipk says it all (incorrect version):
Code:
Name: Swipe to Delete Videos
Version: 1.2.1-1
Author: Jason Robitaille
Description: Adds the ability to swipe to delete videos
Anyone (Jason?, Rod?, Eric?) willing to fix this? I know 1.3.1 is way behind, but I'm currently stuck to patch rev. 5 (no AUPT) while patch rev. 6 (AUPT-aware) would help me jump safely to webOS 1.4...
__________________
Palm Pilot Pro -> M505 -> T|X -> (franken) Pre & Pixi
Linphone port to webOS (1.4.x -> ...)
Thibaud is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0