1. 19 Jan, 2018 1 commit
    • Stefan Roellin's avatar
      db/upnp/Directory: fix parsing of durations with fractions of seconds · 187cc573
      Stefan Roellin authored
      The duration of a song can have fractions of seconds
      (quote from http://www.upnp.org/schemas/av/didl-lite-v2.xsd):
      
          The format of the duration string is:
          H+:MM:SS[.F+], or H+:MM:SS[.F0/F1]
          Where:
          +H              one or more digits to indicate elapsed hours,
          MM              exactly 2 digits to indicate minutes (00 to 59),
          SS              exactly 2 digits to indicate seconds (00 to 59),
          F+              any number of digits (including no digits) to indicate fractions of seconds,
          F0/F1   a fraction, with F0 and F1 at least one digit long,
                          and F0 < F1.
          The string may be preceded by an optional + or - sign, and the
          decimal point itself may be omitted if there are no fractional  seconds digits.
      
      Until now, a duration with fractions of seconds could not be parsed and
      resulted in an unknown duration. Only durations in the format "H+:MM:SS"
      were feasible. This commit enables to read durations in the first format,
      i.e. "H+:MM:SS[.F+]"
      187cc573
  2. 18 Jan, 2018 1 commit
  3. 17 Jan, 2018 9 commits
  4. 16 Jan, 2018 10 commits
  5. 15 Jan, 2018 3 commits
  6. 12 Jan, 2018 3 commits
  7. 11 Jan, 2018 13 commits