Discussion:
[BitPim-devel] LGNewIndexedMedia
Simon C
2005-10-21 14:24:10 UTC
Permalink
I have to make some modifications to this class for the 5200 to work
correctly.

1) The 5200 does not have a ringtonesize.dat file, just ringtone.dat. The
change is for LGNewIndexedMedia to check for an empty string as the size
filename before creating the size file.

2) There is a new field in the index file that is only set in the ringtones
(not wallpaper) that controls the icon that the user sees in the phone (It
is also present on the 8100 but has not visible effect). I need to add this
to the ringtonelocation and wallpaper locations. It will involve modifying
the location tuples on the 7000 and 8000 as well code to pass a zero value
for this new field and the media index packet to add the new field

3) adding mp3 to the audio minor_typemap.





Simon
Joe Pham
2005-10-21 16:43:41 UTC
Permalink
Post by Simon C
have to make some modifications to this class for the 5200 to work
correctly.
You may want to consider subclassing this for the 5200 instead.

-Joe Pham



______________________________________________________________________
Revolutionize the way you surf the Web!
Try NetZero HiSpeed 3G.
Visit http://www.netzero.com to sign up today!
Simon C
2005-10-21 19:09:18 UTC
Permalink
Post by Simon C
Post by Simon C
have to make some modifications to this class for
the 5200 to work
Post by Simon C
correctly.
You may want to consider subclassing this for the
5200 instead.
I have a feeling that this change could/should be
applied to the 7000/8000 as well (the only other users
of the clase), but without a phone I cannot be sure,
in this case a subclass would not be approapriate. The
reason I feel this is that on the 8100 the icon field
is set if the phone creates the ringtone.dat, but it
does not seem to make a difference to the phone if it
is actually set in the file. Adding it will make the
file produced by bitpim more similar to the one the
phone produces for the 8100. (there are additional
fields that are not set the same as the phone which do
not cause a problem).
If someone can send me the ringtone.dat from a
vx8000/vx7000 that has been created by the phone
(delete the existing file along with ringtonesize.dat
and reboot and the phone will regenerate it) I can see
what the real situation is. You will have to mail it
directly to me as I don't think sourceforge lets you
mail binaries.

Loading...