Modify

Opened 16 years ago

Closed 16 years ago

#973 closed defect (fixed)

Cannot playback wav files if timestamp is correct

Reported by: anonymous Owned by: framm
Priority: critical Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

Cannot playback .wav files when the time-tag is correct (see http://www.w3.org/TR/xmlschema-2/#dateTime):

<wpt lat="XX" lon="YY">

<ele>ZZ</ele>
<name>voice</name>
<time>2008-06-27T16:02:10Z</time>
<link href="20080627_180205.wav" />

</wpt>

I get the error: "this is after the end of recording"

But it works when it is wrong:

<wpt lat="XX" lon="YY">

<ele>ZZ</ele>
<name>voice</name>
<time>2008-06-27T16:02.10Z</time>
<link href="20080627_180205.wav" />

</wpt>

Attachments (2)

josm.zip (140.7 KB ) - added by anonymous 16 years ago.
mark.patch (1.5 KB ) - added by anonymous 16 years ago.
The Patch for Filename checking

Download all attachments as: .zip

Change History (9)

comment:1 by anonymous, 16 years ago

Unreproducable. Add more information (e.g. the wav file and the gpx file).

by anonymous, 16 years ago

Attachment: josm.zip added

comment:2 by Ldp, 16 years ago

JOSM does accept both the correct hh:mm:ss notation in trackpoints as the incorrect hh:mm.ss notation.

It doesn't accept the correct hh:mm:ss in voice waypoints, producing the popup notice mentioned earlier. Omitting the <time> tag inside <wpt /> gives playable voice waypoints, leading to tools putting the time in a <desc> or <cmt> tag to circumvent this bug.

comment:3 by anonymous, 16 years ago

the Problem is the Timezone tag at the end of your datum.
I try to fix it.

comment:4 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

ok I fixed it.
I added another SimpleDateFormater with Timezone. So it should work fine now.

comment:5 by anonymous, 16 years ago

Resolution: fixed
Status: closedreopened

arg after the change it accepts Timezones but it is an error from the AudioPlayer

comment:6 by anonymous, 16 years ago

oh, I got it.

by anonymous, 16 years ago

Attachment: mark.patch added

The Patch for Filename checking

comment:7 by framm, 16 years ago

Resolution: fixed
Status: reopenedclosed

Filename checking patch commited for r942.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.