webOS Nation Forums >  Homebrew >  webOS patches > [patch] swipe to delete music
[patch] swipe to delete music

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/30/2009, 07:38 PM   #1 (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 [patch] swipe to delete music

Spinning off from my video player "swipe to delete video" patch, I've made on Jeffmcc's request:
Quote:
Originally Posted by Jeffmcc View Post
and can you make one like this for the music player??
Basically makes songs in the music app swipable, which brings up a yes/no confirmation for deleting songs.

EDIT: File removed, download from post below

Last edited by Jason Robitaille; 11/01/2009 at 05:18 PM.
Jason Robitaille is offline   Reply With Quote
Old 10/30/2009, 07:42 PM   #2 (permalink)
Member
 
officer140's Avatar
 
Join Date: Oct 2009
Posts: 74
Likes Received: 0
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sounds useful
officer140 is offline   Reply With Quote
Old 10/30/2009, 08:42 PM   #3 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

This wont work with Music Remix will it?
mamouton is offline   Reply With Quote
Old 10/30/2009, 08:45 PM   #4 (permalink)
Member
 
MaxLOL's Avatar
 
Join Date: Aug 2009
Posts: 650
Likes Received: 0
Thanks: 91
Thanked 159 Times in 85 Posts
Default

Quote:
Originally Posted by mamouton View Post
This wont work with Music Remix will it?
good question
MaxLOL is offline   Reply With Quote
Old 10/30/2009, 11:33 PM   #5 (permalink)
Member
 
Join Date: Sep 2005
Location: NJ
Posts: 2,732
Likes Received: 5
Thanks: 189
Thanked 38 Times in 27 Posts
Default

I'm not able to get it to work in Music Remix.
__________________
Jimmie Geddes
JimmieGeddes is offline   Reply With Quote
Old 10/31/2009, 07:49 AM   #6 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

It is not working for me, anyone else?
aparigraba is offline   Reply With Quote
Old 10/31/2009, 07:53 AM   #7 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

I have tried it on two Pres and nothing : - (
aparigraba is offline   Reply With Quote
Old 10/31/2009, 08:42 AM   #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

If you're getting error, please screenshot any errors you get when applying the patch. All I can say is it worked fine with the emulator and is based on the stock files found in the webosdoctor and it works fine for me. Do you guys have any other music player patches applied?

Quote:
Originally Posted by JimmieGeddes View Post
I'm not able to get it to work in Music Remix.
Um, since Music Remix homebrew, why not just ask the developer to add the functionality.
Jason Robitaille is offline   Reply With Quote
Old 10/31/2009, 12:14 PM   #9 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

no errors, and appears as installed, just doesnt function, anyone else try it?
aparigraba is offline   Reply With Quote
Old 10/31/2009, 01:06 PM   #10 (permalink)
Member
 
Join Date: Sep 2005
Location: NJ
Posts: 2,732
Likes Received: 5
Thanks: 189
Thanked 38 Times in 27 Posts
Default

I get no message at all when I swipe, I figured it would be just like the delete video patch.
__________________
Jimmie Geddes
JimmieGeddes is offline   Reply With Quote
Old 10/31/2009, 02:58 PM   #11 (permalink)
Member
 
DanPLC's Avatar
 
Join Date: May 2009
Posts: 4,565
Likes Received: 134
Thanks: 277
Thanked 1,366 Times in 664 Posts
Default

Quote:
Originally Posted by Jason Robitaille View Post
Um, since Music Remix homebrew, why not just ask the developer to add the functionality.
Someone did ask, and I said no for two reasons:

1) I don't want users to be able to delete files unintentionally from their device. My app already uses the "swipe to delete" function on the songs list for deleting songs from a flylist. If I added this functionality, there could be a circumstance when someone might think they are viewing songs on their flylist and swipe a song to delete it when in fact they are on the main song list and delete the file from their device. I really don't want to get a message in my homebrew thread asking why my app deleted their song.

2) I don't want to include any private/undocumented APIs that I'm fairly sure will never be made public.
DanPLC is online now   Reply With Quote
Old 10/31/2009, 04:06 PM   #12 (permalink)
Member
 
Church Punk's Avatar
 
Join Date: Jun 2008
Posts: 110
Likes Received: 1
Thanks: 18
Thanked 7 Times in 6 Posts
Default

if you swipe a song from a currently playing list the music app will remove it from the paylist without notification (not the remix app).
This patch reminds me of the email delete swipe... And I thought webOS worked the same way no matter which app it is. Swipe for delete should always prompt; swipe to remove FROM list shouldn't. But I guess is not like that :/ so how about a patch that fixes this in general? Is it even possible?
__________________
HP Veer
Remastered II Theme
Church Punk is offline   Reply With Quote
Old 10/31/2009, 04:53 PM   #13 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

it doesnt delete it, because when i start the music app again, its still there
aparigraba is offline   Reply With Quote
Old 11/01/2009, 04:39 PM   #14 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

bump
aparigraba is offline   Reply With Quote
Old 11/01/2009, 05:18 PM   #15 (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

Try this one
Attached Files
File Type: patch swipe-to-delete-music.patch (3.5 KB, 93 views) Email Attachment
Jason Robitaille is offline   Reply With Quote
Old 11/01/2009, 06:25 PM   #16 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

Not working : (, no confirmation comes up, and after restarting, the song shows again. Thanks for this patch and I hope it works at some point, i have the one for videos and love it.
aparigraba is offline   Reply With Quote
Old 11/01/2009, 06:30 PM   #17 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

Are you using the original Pre music player?
mamouton is offline   Reply With Quote
Old 11/01/2009, 06:32 PM   #18 (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

k, well, theoretically, both should have worked. They're based off the stock WebOSDoctor files


Could someone with the patch not working please use WebOSQuickInstall. Do a Send File to get both:
/usr/palm/applications/com.palm.app.musicplayer/app/controllers/songs-assistant.js
/usr/palm/applications/com.palm.app.musicplayer/app/controllers/albumsongs-assistant.js

And upload the files in a zip in this thread. Should give a clearer picture why if not working for everyone
Jason Robitaille is offline   Reply With Quote
Old 11/01/2009, 06:58 PM   #19 (permalink)
Forum Leader
 
mamouton's Avatar
 
Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
Default

are you saying the Remix music player should work with this?
mamouton is offline   Reply With Quote
Old 11/01/2009, 07:30 PM   #20 (permalink)
Member
 
aparigraba's Avatar
 
Join Date: Jun 2009
Location: Puerto Rico
Posts: 226
Likes Received: 0
Thanks: 31
Thanked 22 Times in 18 Posts
Default

Yes, I am using the original music player.
aparigraba is offline   Reply With Quote
Thanked By: fiction1990
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0