Moto Hell - The Motorola Modding Community
November 22, 2024, 03:43:41 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: FOTOren??  (Read 8438 times)
Nyte2
Guest
« on: January 14, 2008, 06:19:48 am »

hello... i really want somebody to help me on using Fotoren mpkg...i've tried it so many times but i noticed it wont and never change my photo's name...i mean it didnt rename my photo at all.. can somebody teach me how to use this software...
Logged
Taurnil
Guest
« Reply #1 on: January 14, 2008, 06:32:33 am »

man.... u open a new thread for everything.....
fotoren has its own thread.
PS: fotoren only works when you name your photos or media as moto*
Logged
Nyte2
Guest
« Reply #2 on: January 14, 2008, 06:36:20 am »

ow..thx a lot taurnil.. Smiley and sorry too coz opened a new thread for this ...im just a noob...  Sad Smiley
Logged
Taurnil
Guest
« Reply #3 on: January 14, 2008, 07:18:40 am »

lol don't take me seriously... it's only an observation... check the proper thread Wink
I can mod the fotoren script and remove the moto* filter, if you want. May you post the .lin script file?
Logged
fich
Guest
« Reply #4 on: January 14, 2008, 07:17:28 pm »

I've ever create script to set camera defaultName as date system, YYYY-MM-DD_xxxx

attachment file consist 2 files :
- cam.lin
- camera

place those 2 files (cam.lin dan camera) into folder /MY_FAVOR/
edit your autorun.txt by adding this code
Code:
   if [ -f $MYFAVOR/cam.lin ]
   then
      mount --bind $MYFAVOR/cam.lin /usr/SYSqtapp/camera/camera
   fi

restart phone
Logged
Nyte2
Guest
« Reply #5 on: January 14, 2008, 11:39:48 pm »

this is fotoren.lin :

!/bin/bash

export QTDIR=/usr/lib/ezx
my_alert='/usr/SYSqtapp/phone/alertprocess'
my_mid_ok='/mmc/mmca1/.system/QTDownLoad/fotoren/done.wav'

find /mmc/mmca1/MyPhoto /ezxlocal/download/mystuff/MyImages -name 'moto_*' -printf "mv %p %h/%TY.%Tm.%Td_%TH%TM%TS.jpg\n" | sh
sleep 1
find /mmc/mmca1/MyVideo /ezxlocal/download/mystuff/MyVideo -name 'moto_*' -printf "mv %p %h/%TY.%Tm.%Td_%TH%TM%TS.3gp\n" | sh
sleep 1
find /mmc/mmca1/MyVoice /ezxlocal/download/mystuff/MyVoice -name 'Voice*' -printf "mv '%p' '%h/%TY.%Tm.%Td_%TH%TM%TS.amr'\n" | sh
sleep 1

$my_alert -playvol 4 -playfile $my_mid_ok
Logged
Nyte2
Guest
« Reply #6 on: January 15, 2008, 12:34:43 am »

thx fich..  Smiley
Logged
CyberPunk
Guest
« Reply #7 on: January 17, 2008, 01:39:22 am »

I just did what finch said, but it doesn't work for me. Another indications? must the default name of the pics in the setup be "moto_"? :S

thanks anyway
Logged
Taurnil
Guest
« Reply #8 on: January 17, 2008, 02:31:20 pm »

maybe your FW doesn't have setted the $MY_FAVOR variable.
change the variable to full path (/ezxlocal/....)
Logged
CyberPunk
Guest
« Reply #9 on: January 17, 2008, 09:30:28 pm »

It still doesn't work...

Is this ok in cam.lin?

#! /bin/bash

#---------Filename Setting Camera---------#
#-------------YYYY-MM-DD_xxxx-------------#
#------------------by fich----------------#
#-------------28 Desember 2007------------#
#-------http://www.motolovers.or.id-------#


   tgl=`date -I`_   
   a=`cat /ezx_user/download/appwrite/setup/ezx_camera.cfg | grep 'defaultName = '`
   b=${a:14}
   if [ $b != $tgl ]
   then
      setconfig /ezx_user/download/appwrite/setup/ezx_camera.cfg defaultName "$tgl"
   fi
   exec $MYFAVOR/camera




I mean for the # at start, isn't that for comments?


and what's that fotoren.lin code for?

thanks..!
Logged
fich
Guest
« Reply #10 on: January 17, 2008, 10:56:02 pm »

@CyberPunk
you can place cam.lin & camera at SD Root
but you must change your code

cam.lin
Code:
#! /bin/bash

#---------Filename Setting Camera---------#
#-------------YYYY-MM-DD_xxxx-------------#
#------------------by fich----------------#
#-------------28 Desember 2007------------#
#-------http://www.motolovers.or.id-------#


   tgl=`date -I`_   
   a=`cat /ezx_user/download/appwrite/setup/ezx_camera.cfg | grep 'defaultName = '`
   b=${a:14}
   if [ $b != $tgl ]
   then
      setconfig /ezx_user/download/appwrite/setup/ezx_camera.cfg defaultName "$tgl"
   fi
   exec /mmc/mmca1/camera

add autorun.txt
Code:
if [ -f /mmc/mmca1/cam.lin ]
   then
      mount --bind /mmc/mmca1/cam.lin /usr/SYSqtapp/camera/camera
   fi
Logged
CyberPunk
Guest
« Reply #11 on: January 17, 2008, 11:18:06 pm »

oh how dumb, I just replaced the variable $MYFAVOR on autorun.txt, but not in cam.lin.

I kept the files in /My_FAVOR, but replaced $MYFAVOR in cam.lin for the full path...

anyway it doesn't work... I'll try it with the files on SD root now...


thanks, and sorry for being this noob -.-"

EDIT: Still doesn't work :@
« Last Edit: January 18, 2008, 12:30:28 am by CyberPunk » Logged
keaglez
Indonesian Motolover
PHD modder
***

Karma: 61
Offline Offline

Posts: 2562


http://jeffri.net


View Profile WWW
« Reply #12 on: January 18, 2008, 12:38:43 am »

Try to run your cam.lin script with telnet, see if an error appear...
Logged

Best regards,
Jeffri H.

fich
Guest
« Reply #13 on: January 18, 2008, 01:46:25 am »

what MP did you use?
I use EXTREME
Logged
CyberPunk
Guest
« Reply #14 on: January 18, 2008, 03:31:37 am »

what MP did you use?
I use EXTREME

48P Titanium
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines