02/27/2010, 11:18 AM
|
#1 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Yes, yes, I know it's generally best to have 1 patch per release thread, but in this case, these 3 patches are nearly identical.
Basically, webOS 1.4 changed the way the camera works. The old photo naming patches no longer work. Now, filenaming and album creating is done via the camera linux daemon, which is not patchable. However, Palm does allow developers to specify filenames, and using that, I was able to set a custom filename format for photos. So these are the 3 patches and their filename formats:
All images will be saved to the /DCIM/100PALM/ folder Keep in mind, I was unable to set a custom name for videos, which will remain in their usual CIMGxxxxx.mp4 format (which is why I personally prefer the 1st of the 3 patches). Oh, and obviously, only install one of these patches, heh. EDIT: Files removed; updated versions below
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook Last edited by Jason Robitaille; 02/27/2010 at 01:01 PM. |
02/27/2010, 11:43 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 151
Likes Received: 12
Thanks: 17
Thanked 52 Times in 20 Posts
|
Hi Jason,
I´m seeing disappearing videos from the video app, after shooting some random videos my older clips have been overwritten apparently. Do you think your name patch will fix this problem? Can´t seem to find other people having this strange issue. Edit, my bad, I read again, seeing this concerns photos only. Maybe any other idea what causes this strange behaviour? |
02/27/2010, 12:00 PM
|
#5 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
Yea, I believe it was removed from Preware
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
|
02/27/2010, 12:58 PM
|
#6 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
So I've found an issue in the above patches.
Attached is the fixed versions
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
02/27/2010, 03:21 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Jan 2004
Location: UK
Posts: 1,524
Likes Received: 2
Thanks: 54
Thanked 66 Times in 51 Posts
|
AUPT Place-holder inserted until new version is available, so I'll remove it now from my Pre.
__________________
Thought of the day : No sense being pessimistic, it probably wouldn't work anyway |
02/27/2010, 03:22 PM
|
#9 (permalink) |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
if WOSQI is unable to download the postinst/prerm scripts, then the patch can't be applied. It'll create the package on the device which can be uninstalled.
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
03/13/2010, 05:59 PM
|
#13 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
http://forums.precentral.net/canuck-...les-wosqi.html
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
|
03/13/2010, 10:13 PM
|
#14 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Hey Jason, is there an easy way to have the original implementation where the file numbering stayed the simple 0001, 0002, etc, but the prefix is changed? I tried using some of the original camera-control.js code in the new location where you defined your code, basically I put this in instead of all your date calculations:
var imgNum = this.prefs[CameraControl.PREFS.COUNT]; var imgNumStr = "000"+imgNum; imgNumStr = imgNumStr.substring(imgNumStr.length-4); cam.imageDestination = "/media/internal/DCIM/100PALM/" + "PRE" + imgNumStr + ".jpg"; but it appears that the count preference is no longer defined, I guess since the camera daemon is now handling things. So is there anyway to just change the prefix but keep the number, I'm not a fan of the time stamp file names. Thanks
|
03/13/2010, 11:20 PM
|
#15 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
|
03/31/2010, 12:46 PM
|
#17 (permalink) |
|
Member
![]() ![]() Join Date: Aug 2004
Posts: 92
Likes Received: 3
Thanks: 8
Thanked 5 Times in 5 Posts
|
Using WOSQI, I verified that the edits in this patch were not applied. I copied the file onto my PC, edited the file to include the lines from the patch, and then copied it back to the Pre. Now I get the improved file names.
Any idea on why the patch wouldn't be applied? I didn't get any error message. |
03/31/2010, 01:25 PM
|
#18 (permalink) | |
|
Legend
![]() Join Date: May 2005
Location: Winnipeg, MB, Canada
Posts: 3,883
Likes Received: 496
Thanks: 801
Thanked 12,956 Times in 1,495 Posts
|
Quote:
__________________
If you've liked my software, please consider to towards future development.Developer of many apps such as: WebOS Quick Install, WebOS Theme Builder, Ipk Packager, Unified Diff Creator, Internalz Pro, ComicShelf HD, LED Torch, over 70 patches and more. @JayCanuck @CanuckCoding Facebook |
|
04/01/2010, 08:49 AM
|
#20 (permalink) | |
|
Member
![]() ![]() Join Date: Aug 2004
Posts: 92
Likes Received: 3
Thanks: 8
Thanked 5 Times in 5 Posts
|
Quote:
The answer is yes, my PC has an internet connection. I didn't have a chance to try the patch from home last night. Hopefully, tonight. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-patches/232987-3-patches-improved-camera-photo-filenames.html
|
||||
| Posted By | For | Type | Date | |
| dBsooner's webOS-Patches Web Portal | This thread | Refback | 05/21/2010 01:46 AM | |
| dBsooner's webOS-Patches Web Portal | This thread | Refback | 05/20/2010 09:59 PM | |



